Skip to content
Install

Docs

Keep detected secrets out of AI requests while local tools can still use them.

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.

Launch your agent through Pentect:
pentect codex · pentect claude · pentect opencode · pentect pi

Detection runs locally, but may miss secrets.
Your agent's permissions and sandbox still apply. Security limits.

OS
Method
irm https://pentect.dev/install | iex

Clients ​

Pentect currently focuses official support on four AI coding clients: Codex CLI, Claude Code, OpenCode, and Pi.

Explore ​

Common tasks ​

Pentect is open source.