Skip to main content

Transparent Proxy (AI Routing)

The agent can transparently route a developer’s AI traffic — for example Claude Code — through the SecureAI gateway. This brings coding-assistant usage under the same governance, cost tracking, and policy as the rest of your AI estate, without the developer changing their tools.

How it works

Routing is configured per policy via claudeCodeRouting: When routing is enabled, SecureAI mints a per-device API key and injects it into the endpoint’s environment (e.g. as ANTHROPIC_AUTH_TOKEN) via the transparent-proxy configuration. Usage is billed to the linked developer’s points bucket, so make sure the device is linked to an owner user (see Enrollment & Packages).

Fleet-wide defaults

Gateway defaults can be set once for the fleet — anthropicBaseUrl, openaiBaseUrl, the auth token, and a lock — and inherited by devices. The agent reports whether the proxy is currently on or off, and those transitions are audited.

Why route instead of block

For sanctioned developer AI, routing through the gateway is usually preferable to an egress block: the developer keeps working, while you gain policy enforcement, cost attribution, and audit on that traffic. Reserve blocking/lockdown for unsanctioned providers.