Skip to main content
An AI agent at the centre of a ring of tools, each behind a policy gate, with an audit log beneath
Agentic AI

Your AI Agents Need Their Own Identity: Access Control and Audit for Agentic AI

Most teams run AI agents on a shared service account, so nobody can say which agent did what, or for whom. Here is what agent identity, scoped access and audit need to look like.

6 min read

Picture a refund agent at a retailer. A customer writes in, the agent checks the order, and it issues a refund of 4,200 rupees through the payments API. A week later finance asks who approved it. The payments log shows one caller: svc-ai-prod.

That caller is the shared service account every agent in the company uses. The reporting agent uses it. So does the onboarding agent, and so does a developer's test script. The log is accurate and no help at all.

This is how many agent pilots start. The agents work. The access model underneath them was built for people and for single-purpose services, and agents are neither.

Why a shared service account stops working

A service account assumes a fixed job. An agent does not have one. It reads a ticket, decides it needs the order system, then the payments system, then sends an email, and the path changes with every request. It may also hand work to other agents, which call their own tools.

Three problems follow.

  • Attribution. When twelve agents share one credential, a log line cannot tell you which one acted.
  • Over-permission. The shared account ends up with the union of everything any agent needs, so a prompt injection against your lowest-risk agent inherits the access of your highest-risk one.
  • Revocation. You cannot switch off one misbehaving agent without switching off all of them.

Four things every agent needs

1. Its own identity

Each agent gets a distinct, verifiable identity, with a named human owner and a stated purpose. Treat it like a new employee's account, not like a config value. When an agent is retired, its identity is retired with it.

2. Scoped, short-lived access

Grant the permissions for the task in front of the agent, not for everything it might ever do. A refund agent can read orders and issue refunds up to a set limit. It cannot export the customer table. Tokens expire in minutes, and anything above the limit asks a person to approve it.

3. A record of who it acted for

Agents usually act on behalf of someone. Carry that person's identity through the call, and carry the whole chain when one agent hands work to another. Without it, a log can say an agent read a file but not whose request led there. That is the first question a privacy or security review will ask.

4. An audit trail you can replay

For every action, record who acted, for whom, which tool, with what inputs, what came back, and what approved it: a policy rule or a person. Store it somewhere the agent cannot edit. If you cannot replay a bad decision from the log, you cannot fix its cause.

If you cannot replay a bad decision from the log, you cannot fix its cause.
Flow diagram: a person's request passes to an agent with its own ID, through a policy check, to a tool, with a delegation chain and an audit trail recorded along the way
One request, checked at each hop. The same record answers the question: who did this, and for whom?

What MCP and A2A do and do not solve

The protocols agents use to reach tools and each other are maturing quickly. In December 2025 the Linux Foundation announced the Agentic AI Foundation, with Anthropic's Model Context Protocol (MCP), Block's goose and OpenAI's AGENTS.md as founding projects. The aim was neutral, open governance for the plumbing of agentic systems.

MCP's authorization guidance builds on OAuth 2.1 and OpenID Connect. The 2026-07-28 revision, as the foundation describes it, makes discovery of authorization servers more explicit, asks clients to validate the issuer in authorization responses, and says clients should keep earlier scopes when they ask for more access. That is real progress on how an agent proves who it is to a server.

It is not a policy layer for your business. A protocol can tell a server that a valid client is asking. It cannot tell you that this agent should not issue refunds above a limit on a Sunday night, or that an answer to one customer must never contain another customer's data. Reporting from AGNTCon + MCPCon 2026 put the remaining open problems in identity, attestation, audit and payments. Those are the areas where enterprises still have to build.

A checklist you can run this week

  • List every agent in production or pilot, with an owner. If an agent has no owner, switch it off until it does.
  • Find every shared credential your agents use today and note which agents sit behind each one.
  • Give each agent its own identity, and start with the highest-risk one: anything that moves money or touches personal data.
  • Replace standing permissions with task-scoped, expiring tokens for that agent.
  • Set a limit above which the agent must ask a person, and test that the request really blocks the action until someone answers.
  • Log the delegation chain, not just the last caller, for every agent-to-agent and agent-to-tool call.
  • Run a tabletop exercise: pick one agent action from last week and try to reconstruct who asked for it and why, using only the logs.

Where we come at this from

At Liberin we treat agent access as part of the product, not an add-on. Four parts keep coming back in our work: a verifiable identity for each agent, access that is scoped to the task and can be withdrawn without redeploying the agent, controls for agents that call other agents and tools over MCP and A2A, and an audit trail that security and compliance teams can read. We have filed four patents in this area, covering how agents are identified, what they may do and how their actions are checked.

If you are putting agents into banking, insurance or government workflows, where an unexplained action is a regulatory problem and not just an annoyance, this is the part to get right before you add more agents. Our AI Security and Access service page describes how we work on it.

Frequently asked questions

Is a separate API key per agent enough?

It is a good first step, because it fixes attribution and lets you revoke one agent at a time. It does not fix over-permission, and it does not record who the agent acted for. Treat it as step one, not the finish line.

Do MCP and A2A handle agent authorization for me?

They handle how an agent authenticates and how requests and scopes are carried. Your own rules about what each agent may do, within which limits, and when a person must approve, sit outside the protocol and need a policy layer that you control.

What should an AI agent audit log contain?

At minimum: the agent's identity, the person or system it acted for, the tool it called, the inputs, the result, and what authorised the action. Keep it in storage the agent cannot modify, and keep the full delegation chain when one agent calls another.

Sources: Linux Foundation announcement of the Agentic AI Foundation (9 December 2025); Agentic AI Foundation blog post on authorization in MCP 2026-07-28; InfoQ report on AGNTCon + MCPCon 2026 (October 2026).

BringUsOneWorkflowThatNeedsFixing

Send us a process, a dataset or a customer journey. In a 30-minute call we will tell you whether AI is the right tool, what it would take, and what we would build first.