Back to articles
// Engineering

Your AI agent is logging in as you. Give it its own identity.

Most agents act through a person's account, token or API key, so nobody can tell their actions apart, limit them or switch them off cleanly. An agent needs credentials of its own.

Benjamin Duck, IT Content Specialist
November 29, 2026 · 6 min read
  • AI agents
  • Agent identity
  • Access control
  • Security

The quickest way to get an AI agent working is to lend it your access. You connect your mailbox, paste your CRM API key into its configuration or click through an OAuth screen with your own account, and the agent does in minutes what used to take an integration project. Most of the agents we find inside companies were set up exactly like this, usually by the person who wanted the agent most.

It works, which is why it stays. Picture the same token six months later. It now runs three agents, one of them built by someone who has since moved to another team, and the CRM history says a single sales rep updated four hundred records on a Sunday night.

Two actors, one name

When an agent uses your credentials, every system it touches sees you. The CRM logs your user, the email leaves from your address, the ticket is closed by you. As far as those systems know there is one actor, and it is not the one doing the work.

That has consequences long before anything goes wrong. You cannot ask what the agent changed this week, because nothing in the logs separates it from the person. You cannot give the agent less access than the person has, because it is the person's access. And you cannot switch the agent off without also locking out the human whose token it borrowed, so in practice nobody switches it off.

Identity standards have had words for this for years. OAuth 2.0 Token Exchange, published as RFC 8693 in January 2020, distinguishes impersonation from delegation. With impersonation, the party acting is still identified as the user it acts for. With delegation, the token carries both: the user, and the separate actor to whom that user has handed some of their rights. An agent logging in with your password is impersonation. What most companies actually want is delegation, where the agent acts for you and every system can see that it was the agent.

What a borrowed login hides

The problems are not exotic. They are the routine questions an operations or security lead asks, and a shared identity makes them impossible to answer.

The first is scope. A person's account is shaped around a person's job: reading and editing customer records, sending email, approving discounts, opening the commission report. An agent that follows up on deals needs a small slice of that. OWASP's guidance on Excessive Agency in LLM applications gives, as an example of excessive permissions, an extension meant only to read data that connects "using an identity that not only has SELECT permissions, but also UPDATE, INSERT and DELETE permissions." A borrowed human login has that problem from day one.

Then attribution. When a customer complains about an email, the first thing anyone asks is who sent it. If the answer is "Marta, technically", Marta has to show she did not, and nobody can say which agent, which version of its instructions or which input produced the message.

And revocation. People change roles, leave the company or have an account compromised. Each of those should be a clean cut. When agents run on their credentials, each one turns into a small outage nobody planned for, or into a token nobody dares to revoke.

Prompt injection raises the stakes on all of it. An agent that reads incoming email or call transcripts can be steered by what it reads, and whatever it is tricked into doing, it does with everything its borrowed account can reach.

What an agent identity looks like

Giving an agent an identity of its own does not need a new protocol. It means treating the agent like a new hire with a narrow job, which comes down to a handful of decisions:

  • The agent has its own account or service principal in every system it uses, created on purpose and owned by a named person.
  • Its credentials belong to it, ideally short-lived and issued for the task, instead of a long-lived key pasted into a configuration file.
  • When it acts for a specific user, the token records both the user it represents and the agent doing the work.
  • Its permissions match its job and are enforced by the systems it calls, not described in its prompt.
  • Its actions are logged under its own name, so "what did this agent do last month" is a single query.

Channels need the same care. An agent that sends email or makes calls needs an address or a number that identifies it, or at least an explicit rule for when it may write under a person's name. Customers should know who they are dealing with, and your team should be able to tell which messages a colleague actually wrote. We touched on this from the sending side when we looked at what a sales agent should be allowed to send.

There is a cost. Every new identity has to be created, reviewed and retired, and teams that already struggle to offboard people will feel it. Skipping that work only postpones it to the middle of an incident, without the logs that would have helped.

Start with the agents you already run

Few companies need to design this from scratch. The useful first step is to list the agents already running and ask one question about each: whose credentials is it using? Where the answer is a person, the fix is usually small. Create a dedicated account with the minimum access, move the agent onto it and revoke the old token. The next time someone asks what that agent changed, the answer takes a minute instead of an afternoon.

That is the layer we are building at Recordari with Mitto: each agent gets its own identity and channels, and the rules about what it may do live outside the model, where the agent cannot rewrite them. The agent does the work; a system it does not control decides what it is allowed to do and keeps the record.

If your agents run on someone's personal access today and you want to plan how to move them onto their own, talk to us at recordari.ai.

More on this

Start using Recordari

500 free credits when you create your organization.

  • 500 free credits
Let's talk?