pyveil

Keep PII and secrets out of AI agents.

Local Python redaction for LLM prompts, tools, MCP, memory, logs, and traces.

Python 3.8-3.14
zero core deps
scoped HMAC
LLM + MCP
Sensitive context before pyveil
email: alice@example.com auth: Authorization: Bearer demo... cc: 4242 4242 4242 4242
Agent-safe context after pyveil
email: [EMAIL:b4df46a892c9] auth: [AUTH_HEADER:8c42d99f7a10] cc: [CREDIT_CARD:91ae7c02d4b8]