AI Agent Access Control: Least-Privilege for Every Agent

Auf Geschwindigkeit ausgelegt: ~ 10 ms Latenz, auch unter Last
Unglaublich schnelle Methode zum Erstellen, Verfolgen und Bereitstellen Ihrer Modelle!
- Verarbeitet mehr als 350 RPS auf nur 1 vCPU — kein Tuning erforderlich
- Produktionsbereit mit vollem Unternehmenssupport
What Is AI Agent Access Control?
AI agent access control is the set of policies that decide whether a given caller may reach a given resource. It answers "is this allowed," while guardrails answer "what is in it."
That distinction is worth holding onto, because the two controls fail in different ways and you need both.
- Access control is the bouncer at the door. It checks whether this agent, user, or team is permitted to call this model or this MCP tool at all.
- Guardrails are the metal detector. Once a call is allowed through, they inspect the prompt, the output, and the tool arguments for injections, PII, secrets, or unsafe operations.
An agent can be fully authorized to call your database MCP server and still be tricked into sending a destructive query. Access control said yes to the server, and only a guardrail on the arguments catches what the query actually does. Scope the access too broadly, though, and you are relying entirely on the metal detector. Least privilege is what keeps the number of allowed calls small in the first place.
The Two Levels of Access Control in TrueFoundry
TrueFoundry enforces access at two levels, and understanding the split is most of the work.
Resource-level roles (collaborators)
You add a user, team, or virtual account as a collaborator directly on a resource, and pick a role that scopes their access to that resource only. The roles are specific to the resource type:
This is where least privilege lives. Grant an agent Agent Access to only the MCP servers its job needs, make one team a User on the model account it is allowed to call, and add an MCP Server Approver when a tool should require sign-off before it runs. No custom role creation is needed for any of it.
Tenant-level roles
Tenant-level roles apply across the whole tenant and are configured under Access, then Roles. They govern tenant-wide actions such as creating resources, managing users, and listing every resource of a type. TrueFoundry ships with two: Admin, which is full control and should stay limited to a handful of people, and Member, which by default has access to nothing and must be granted resource access explicitly. When those two are too broad or too narrow, you create a custom role.

Product screenshot, TrueFoundry docs: custom role permissions.
Roles can attach to teams as well as individual users, and a user's effective permissions are the union of their own role and every role inherited from their teams. For organizations that sync identity groups over SCIM, those groups come in as TrueFoundry teams and can be granted roles directly, so access follows the same source of truth your IdP already manages.
How Access Control Works for MCP Tools
The MCP Gateway separates three concerns that teams usually tangle together, and keeping them apart is what makes tool-level least privilege practical.
TrueFoundry AI Gateway bietet eine Latenz von ~3—4 ms, verarbeitet mehr als 350 RPS auf einer vCPU, skaliert problemlos horizontal und ist produktionsbereit, während LiteLM unter einer hohen Latenz leidet, mit moderaten RPS zu kämpfen hat, keine integrierte Skalierung hat und sich am besten für leichte Workloads oder Prototyp-Workloads eignet.



Steuern, implementieren und verfolgen Sie KI in Ihrer eigenen Infrastruktur
Aktuelle Blogs
Häufig gestellte Fragen
What is AI agent access control?
AI agent access control is the set of policies that decide whether an agent, user, or team is allowed to reach a given model, MCP server, or individual tool. It governs whether a call is permitted, which is a separate job from guardrails that inspect what a call contains. On TrueFoundry it is enforced at the gateway through resource-level collaborators and tenant-level roles.
What is the difference between access control and guardrails?
Access control decides whether a call is allowed to happen. Guardrails inspect the content of a call that is already allowed, catching injections, PII, secrets, and unsafe operations. You need both: access control keeps the set of permitted calls small, and guardrails police what flows through the ones that are permitted.
How do I enforce least-privilege for an AI agent?
Give each agent its own identity, then grant it access only to the specific model accounts and MCP tools its function requires, using resource-level collaborator roles. Scope the agent to its job rather than to the permissions of the person driving it, use approver roles for sensitive tools, and prefer team-based grants so access stays manageable.
Can I control access to individual MCP tools, not just whole servers?
Yes. Access rules on the MCP Gateway can narrow to specific tools within a server, so an agent can be granted a read-only tool while the write tool on the same server stays off limits. Because the gateway fronts every call, the rule covers every caller of that tool automatically.
Kann ich TrueFoundry in meiner eigenen VPC oder On-Premise bereitstellen?
Ja. TrueFoundry läuft in Ihrer VPC, On-Premise, Air-Gapped, hybrid oder über mehrere Clouds hinweg, und keine Daten verlassen Ihre Domäne. Dies ist der Hauptgrund, warum regulierte Unternehmen es SaaS-basierten Gateways vorziehen.
Does TrueFoundry support MCP and AI agents?
Yes. It includes an MCP Gateway, Agent Gateway, and an MCP and Agents Registry with tool-level access control, governing agents from LangGraph, CrewAI, AutoGen, and custom frameworks from one place.













.png)


.webp)
.png)
.png)













