docs/tools/prompt_firewall
AgenticSecurity

Prompt Firewall & Sanitizer Proxy

Tool Name: prompt_firewall

The Prompt Firewall intercepts outbound AI agent prompts, preventing confidential data and secrets from leaving your machine. Acting as a proxy for clients like Claude Code, it uses deterministic PII data filters and offers optional local LLM integration for complex prompt scanning and optimization.

Agentic Store Architecture with Prompt Firewall

Agentic Store Architecture — Data stays protected before reaching third-party APIs.

Demo: The Prompt Firewall in action.

Features & Capabilities

  • Deterministic PII Filters: Uses rules-based pattern matching to instantly identify and redact highly sensitive data such as keys, tokens, and standard PII.
  • Local LLM Scanning: Wire the proxy to an optional local inference engine (like Ollama or llama.cpp) to contextually inspect and optimize unstructured prompt content for maximum privacy.
  • Universal Compatibility: Works entirely outside the core AI agent logic by acting as a native HTTP/HTTPS proxy. Out-of-the-box support for any standard AI HTTP client, including Claude Code.
[note]
Please ensure your AI client's proxy environment variables (HTTP_PROXY, HTTPS_PROXY) are configured to route through the Prompt Firewall's listening port to enable interception.

Explore other tools

Frequently asked questions