pii_redactionPII Redaction
Scrub emails, phone numbers, credit cards, and SSNs from tool responses before the agent sees them. International phone numbers via libphonenumber validation.
Config
patterns[]Policy catalog
Every policy below ships with the gateway. Each runs in shadow first (observe), then flips to enforce (block) on a single column write — no agent restart, no upstream redeploy. Together they form the documented risk-management catalog the EU AI Act’s Article 9 calls for.
hygiene
Scrub PII and prompt-injection payloads before they reach the agent or upstream.
pii_redactionScrub emails, phone numbers, credit cards, and SSNs from tool responses before the agent sees them. International phone numbers via libphonenumber validation.
Config
patterns[]injection_guardBlock prompt-injection attempts and suspicious control strings in tool arguments before the call reaches the origin.
Config
patterns[]modeidentity
Restrict who and what can call. Header allowlists, basic auth, agent identity.
allowlistRestrict the agent to an explicit set of tool names. Everything outside the list is rejected at the gateway.
Config
tool_names[]basic_authRequire HTTP Basic credentials on inbound gateway calls. Fails closed when the header is missing or malformed.
Config
realmusers_hashclient_idRequire an `x-client-id` (or custom header) and allowlist specific values. Fails closed on missing header.
Config
allowed_ids[]header_nameip_allowlistAccept gateway calls only from specific IPv4 CIDR blocks. Useful for VPN-only or on-prem agent deployments.
Config
allowed_cidrs[]agent_identity_requiredRequire verifiable agent-identity headers on every call. Closes the Meta confused-deputy attack class.
Config
require_headers[]verify_signaturekill-switch
One-flag stops. The Replit "code freeze" that should have been a guard.
write_freezeKill switch: block all writes (POST/PUT/PATCH/DELETE) with a single flag. Scope per server or org-wide.
Config
enabledtime
Time-window gates. Business hours, maintenance freezes, weekend writes.
business_hoursOnly allow calls during business windows. Supports multiple windows, per-window timezones, overnight wraps, and DST.
Config
timezonewindows[]rate
Cap calls per minute to protect downstream systems from runaway agents.
rate_limitCap calls per minute to protect downstream systems. Scope per tool, per client, or per org.
Config
max_rpmwindow_secondsresidency
Data-residency gates. EU AI Act geo-fence hooks for cross-region calls.
geo_fenceRestrict tool calls to allowed regions. EU AI Act data-residency hook, block US routing from EU agents.
Config
allowed_regions[]sourceidempotency
Require idempotency keys on writes; dedupe replays inside the TTL window.
idempotency_requiredRequire an idempotency key on write calls and dedupe replays within the TTL window.
Config
ttl_secondskey_source