The ultimate local firewall for autonomous AI coding agents. Guardian intercepts every prompt and response to enforce strict FinOps budgets, prevent secret leaks, and compress token payloads all before your data ever leaves your machine.
Autonomous coding agents operate in infinite loops. A single stuck agent repeatedly fetching massive files can quietly rack up a $100+ API bill overnight, leaving you with zero visibility until the invoice arrives.
AI coding assistants require deep, unrestricted access to your local workspace. Without an outbound
firewall, an agent will silently upload your .env files, AWS credentials, and
proprietary internal IP directly to third-party LLM providers.
Feeding production database dumps or unauthorized Personally Identifiable Information (PII) into public LLM endpoints severely violates modern privacy regulations like GDPR, HIPAA, and DPDP.
Guardian acts as an HTTP proxy or a native Python SDK, integrating effortlessly with modern AI tools without modifying their internal code.
analytics command.
policy.yaml file.
If using the Proxy, developers see the block instantly inside the UI of their tool
(e.g. Claude Code chat) and in the background proxy logs.
If using the SDK, it surfaces in their standard Python server logs.
Zero crashes. In Proxy mode, Guardian cleanly returns a standard Local Error
error. This ensures CLI agents display an error message gracefully instead of crashing their
process.
In SDK mode, it raises a standard Python Exception.
No obscure stack traces. They see a completely transparent, actionable string telling them exactly
what policy they violated.
Example: 🚨 [BUDGET_EXCEEDED] Daily budget of $10.00
exceeded.