How Agent Authority works
See which controls govern each tool call and each model call, and how each is audited.
Agents do two things that need control: they call tools in your apps, and they call AI models. Agent Authority sits in front of both, so one place decides, filters, limits and records what your agents do. Endpoint telemetry covers the agents that never go through it.
Two request paths
Agents send tool calls to /gateway/mcp and model calls to /gateway/llm.
On each path the gateway checks who is asking and whether the rules allow the call, applies data protection and usage limits, and records the call.
The order of data protection and usage limits differs by path, so each overview below gives its own.
| Step | Tool calls (MCP Gateway) | Model calls (AI gateway) |
|---|---|---|
| Identity | The agent and the user it acts for | The agent and the user, from the call's credential |
| Access rules | Policy rules, with conditions and approvals | Model access rules, which allow or deny a model, and Model Routing |
| Data protection | Filters over the tool response | Filters over the prompt and the response |
| Usage limits | Caps on tool calls | Caps on model calls and tokens |
| Audit | Every call in Agent Trail | Every call in Agent Trail, with the prompt when an audit policy covers it |
Both paths record denied calls too. The detail of each path is in MCP Gateway overview and AI gateway overview.
Agents that skip the gateways
Some agents run on a laptop and talk to models directly. Two sources still show them to you:
- Telemetry – coding agents report their model usage over OpenTelemetry.
- Endpoint Controls – the device sensor reports the agents it sees on managed machines, listed as Shadow Agents.
Next steps
You can now tell which controls apply to a tool call and which to a model call. Start with Getting started to set up the MCP Gateway, then send model calls through the AI gateway with Connect Claude Code and Codex.