Pentect is an open-source, local protection layer for AI coding agents. It replaces detected credentials and sensitive data with opaque handles before supported requests reach the model provider, then restores known values for supported local tool calls.
Keep your usual coding workflow: launch with pentect codex, pentect claude, pentect opencode, or pentect pi. Detection runs locally. Pentect does not replace your agent's permissions or sandbox, and it cannot guarantee that every secret will be detected. Understand the security boundary.
Install
All optionsirm https://pentect.dev/install | iexUpdated for v0.0.85
Version 0.0.85 fixes excessive masking when source code contains a sensitive assignment. Ordinary code is no longer treated as an environment-variable dump for that reason alone; detected secrets remain protected. Update Pentect or troubleshoot excessive masking.
Clients
Pentect currently focuses official support on four AI coding clients: Codex CLI, Claude Code, OpenCode, and Pi.

