Govern · AI Gateway

Governance that lives outside the agent.

Guardrails compose across scopes and only ever tighten. Credentials resolve here, so the agent holds an id. Every request becomes a signed tape you can verify.

Credential custody

Credentials stay where you put them.

A session references a vault and the agent is handed an id. The gateway resolves it and injects the real credential on the way out.

The agent holds only a credential id. The gateway resolves it against a vault and injects the real credential on the way out.
Revoke the vault entry and every agent referencing it loses access at once.
  • The agent holds a credential_id and never a secret.
  • The agent passes that id to the AI Gateway.
  • The Gateway resolves the id against a vault — AWS, Azure, GCP, Kubernetes or env.
  • The Gateway injects the real credential when it calls the upstream model or tool server.
  • The secret never enters the Agent Engine, so the agent cannot leak what it never held.
Enterprise-grade

Controls your security team can sign off on.

Credential custody

Real provider and tool credentials live in a vault (AWS, Azure, GCP, Kubernetes, or env). Agents get short-lived tokens — never the secret.

Short-lived session tokens

Every session is authorized with a TTL-bound token scoped to its workspace and agent. Revocation is instant; a leaked token expires on its own.

Governed MCP egress

Tool calls route through the gateway with per-server allowlisting and per-call authorization — not a raw outbound connection from the agent.

Full audit trail

Every model and tool request is written to a per-workspace audit stream — a complete, attributable record of AI spend and activity for finance and security.

# Credentials resolve here. The agent only ever sees the name.
vaults:
  - name: anthropic-key
    resolver: env
    env_var: "ANTHROPIC_API_KEY"

# A guardrail that fails closed: if it cannot answer, the call does not happen.
guardrails:
  - name: pii-redact
    kind: pii_regex
    required: true
    failure_mode: deny

# Budgets are enforced where the spend happens, not where the agent is written.
rate_limits:
  - match:
      scope:
        workspace_id: "ws_42"
    budget_usd_per_day: 50.0
In practice

The limit lives in the gateway's configuration, not the agent's. Whoever writes the agent cannot relax it.

Governance

Limits that hold.

Per-tool permissions live in the agent's own configuration, so whoever writes the agent can relax them. Orca's checkpoints sit outside it.

Where agent limits live: usually inside the agent, which can rewrite them; with Orca, in two checkpoints outside it.
  • What usually happens: the agent holds its own limits and can rewrite them.
  • With Orca, the agent's actions pass two checkpoints that sit outside it.
  • Before it acts: may this run, and is there budget left?
  • Before it leaves: may this data go out, and to whom?
  • The agent cannot reach either checkpoint.

Rules only get stricter

Allow, ask and deny as a staircase that only climbs.
Organization · Workspace · Agent · Session — any level can tighten a rule, none can loosen one.
  • Each guardrail answers allow, ask or deny.
  • Scopes compose by taking the strictest answer, so a verdict only moves up the staircase.

Your record

The record as a chain of sealed entries, one of them altered.
Every call is sealed into the record as it happens.
  • Each call is sealed into the record in order, hash-chained to the one before.
  • An altered entry breaks the chain, so tampering shows.

A limit holds when it lives outside the agent.

Capabilities

What ships in AI Gateway

Everything below carries a status — available now, in preview, or on the roadmap. No roadmap item is dressed up as shipped.

Governance

Apply consistent policies across models and agents.

  • Guardrails (allow/ask/deny)Now
  • Credential vaultNow
  • Session tokens (TTL)Now
  • MCP egress controlNow
  • Signed tapeNow
  • Session budgetsNow

Model routing

Switch or mix providers without touching agent code.

  • AnthropicNow
  • OpenAINow
  • Azure OpenAINow
  • BedrockNow
  • VertexNow
  • OpenAI-compatibleNow
The platform

Explore the rest of the stack

Run

Agent Engine

The declarative runtime for any harness and any model.

Learn more
Record

Eval & Observability

Session logs as OpenTelemetry traces, in your own stack.

Learn more