Govern the agents you didn’t build.
Claude Code, Claude Desktop, Cursor, and SDK-based agents already run across your company. Avrik Gateway and the MCP proxy put Avrik Guard’s decisions on their model traffic and their tools, without touching their code.
Two ways in. Same guardrails.
Both run the same Avrik Guard runtime as the SDKs, enforce the same signed policy, and write to the same ledger. Use one or both.
- Between agents and model providers
Avrik Gateway
Sees every model request and every tool call the model asks for, before the provider or the agent acts on it.
Change the base URL and keyRead more → - In front of MCP servers and HTTP APIs
MCP and API proxy
Sees every tool listing, call, and result between the client and the server, and holds the server’s credential.
Change one entry in the client’s configRead more →
Avrik Gateway: govern model traffic.
Point an agent at the Gateway instead of its model provider. It forwards the provider’s own bytes, so nothing in the agent changes, and decides every request and tool call on the way through.
- Drop-in endpointsOpenAI and Anthropic APIs, Amazon Bedrock included. Official SDKs and the agents built on them work unchanged.
- Tool calls held mid-streamEach tool call in a streamed answer waits for its decision. A refused call reaches the agent as a refusal it can read.
- Redaction and taintSecrets are removed before a request leaves. A risky answer taints the session, so the next request is checked more tightly.
- Virtual keys and budgetsAgents hold virtual keys with their own routes, rate, and spend. The real provider key stays in the Gateway.
- Signed receiptsEvery request gets a signed receipt, chained into the same ledger as every other Avrik Guard decision.
# Claude Code through Avrik Gateway
export ANTHROPIC_BASE_URL=https://gateway.internal:8443
export ANTHROPIC_AUTH_TOKEN="$AVRIK_GATEWAY_KEY"
# Any OpenAI SDK client
client = OpenAI(
base_url="https://gateway.internal:8443/v1",
api_key=os.environ["AVRIK_GATEWAY_KEY"],
)MCP servers, behind a proxy you control.
Put the proxy in front of any MCP server or HTTP API by editing the client’s configuration. The agent never holds the upstream credential.
// claude_desktop_config.json
"github": {
"command": "avrik-guard-proxy",
"args": [
"mcp", "--server", "github", "--",
"npx", "-y",
"@modelcontextprotocol/server-github@1.2.3"
]
}- Tool pinningEach tool’s description and schema is pinned. A server that changes one after approval has that tool withheld.
- Hidden instructionsHidden markup, encoded runs, and invisible Unicode in a tool description are refused.
- ShadowingA tool named within two edits of another server’s tool is held for review.
- Secrets in argumentsCredentials in a call’s arguments are refused before the call reaches the server.
- Hostile resultsSecrets, exfiltration links, and injected instructions in a result taint the session.
- Nothing else passesResources, prompts, and sampling are refused unless you allow them for that server.
Works with what your team already runs.
Pair them with Avrik Guard’s coding-agent hooks to also check shell commands and file access on the developer’s machine.
The Gateway and proxy govern the traffic that goes through them. Keep provider and tool credentials behind them, and allow egress to providers from the Gateway alone, so agents can’t call around them.
- Claude CodeGatewayProxy
- Claude DesktopProxy
- CursorProxy
- VS CodeProxy
- OpenAI and Anthropic SDK appsGateway
- Agents calling HTTP APIsProxy
Bring your agents under one set of guardrails.
Avrik Gateway and the MCP proxy ship with Avrik Guard, in development with a small group of design partners.