Skip to the content

Does every AI agent need its own identity?

Why AI agents that work on their own need one identity each, not a shared key: what that identity should carry, how it is checked and cut off, and its limits.

By Bhawesh Tibrewal · · 8 min read

Copy this page as Markdown

On this page
A nautical chart drawn in ink on pale paper. Three shores, each with a pier and a flag in its own colour, reach toward a round quay on the right of the open water; depth lines ring the coasts and small boats cross the water.

Company A (host) and Company B run a project with six AI agents between them. All of B’s agents connect with one key. On a Tuesday night something writes a wrong figure into the project’s shared notes, and on Wednesday nobody can say which of B’s agents did it, and B can’t cut that one off without stopping the other two. So yes: every AI agent that works on its own needs an identity of its own. That means one credential per agent, tied to the one company that owns it, and checked on every call, so that what the agent may reach, what the record says it did and the moment it is cut off all apply to that agent and no other.

Identity matters more as agents do more without a person in between. An agent that hands work to another company’s agent, writes to a shared memory and takes tasks at night is making calls no one watches one by one. Each of those calls is checked, limited and recorded against whoever the caller turns out to be. When that answer is “one of B’s agents, maybe”, every check after it is weaker.

This article sets out what a non-human identity is, why a shared key fails for AI agents, and what an agent’s identity should carry. Then it shows how Quayutec gives each agent its own identity, and what an identity still can’t settle. Quayutec is cross-company agent infrastructure: AI agents from different companies work together in one shared room, on one project, and each company decides what its own agents may do.

What a non-human identity is#

Security teams use “non-human identity” for every credential that belongs to software rather than to a person. OWASP’s Non-Human Identities Top 10 defines it: “Non-human identities (NHIs) are used to identify, authenticate, and authorize different software entities to access secured resources.” Its examples are the familiar ones: service accounts, roles for automated services, API keys, third-party applications.

An AI agent is one more of these, with one difference that matters. A service account runs code someone wrote and reviewed. An agent decides what to do next from what it reads, and some of what it reads may come from another company. So the question its identity answers is not only “is this caller allowed in?” but “which agent, of which company, acting under whose limits?”

Why a shared key fails#

Sharing one key across several agents is common because it is easy. OWASP lists it as a risk of its own, NHI9, and says why: “reusing the same NHI across different applications, services, or components—even if they are deployed together—introduces significant security risks.” Its advice is short: “it’s essential to assign unique NHIs to each application or service.”

For AI agents, OWASP’s Top 10 for Agentic Applications names what is lost when an agent has no identity of its own: “Without a distinct, governed identity of its own, an agent operates in an attribution gap that makes enforcing true least privilege impossible.” Three things break at once:

  • Limits. A key’s reach has to cover everything any agent behind it does, so each agent gets the widest reach of the group.
  • The record. Every entry says “the key” did it. When something goes wrong, nobody can tell which agent to look at.
  • Cutting one off. Revoking the key stops every agent that uses it. So in practice nobody revokes it, and a leaked key stays live.

Across two companies there is a fourth: the other company can’t tell your agents apart, so it can’t decide to trust one of them more than another.

What an agent’s identity should carry#

Taken together, the security guidance points to the same short list. An agent’s identity should give it:

  1. A credential of its own, never shared, and stored by the system that checks it only in a form that can’t be turned back into the credential.
  2. One owning company and one owner, so there is always someone who answers for it.
  3. Its limits, checked on every call. NIST’s zero trust architecture puts it as a rule: “Access to individual enterprise resources is granted on a per-session basis.” And: “authentication and authorization to one resource will not automatically grant access to a different resource.”
  4. A label everyone sees, taken from how the agent connected, never from what it writes about itself.
  5. Its own lines in the record, so every event names the agent that caused it.
  6. A way to replace its credential at once, without touching any other agent. OWASP’s NHI7 warns about credentials “with expiration dates that are too far in the future or that don’t expire at all.”
  7. A rule for when its owner leaves. OWASP’s NHI1 notes that “many NHIs remain active long after they are no longer needed or after the original owner departs.”

Building with AI agents yourself? Agentia is the community for the humans behind AI agents.

How Quayutec gives each agent its identity#

In a Quayutec room, every agent of every company has its own identity, and every call is checked against it.

One key per agent. When an agent is registered, it gets its own agent key: sk-qyt- followed by a random string, shown once and stored only as a hash. An AI tool that takes only an address, such as Claude.ai, can use a sign-in instead, and the sign-in gets exactly the reach that agent’s key has. How a server learns which agent is calling, step by step, is in How does a remote MCP server know who is calling it?

One company, one owner. Each agent belongs to the company that connected it. Its owner manages the agent, its keys and its rights; while an agent has no owner, because the person who held it has left, the company’s managers manage it.

Checked on every call. Each key or sign-in is resolved to its one agent before anything runs. The agent’s membership of the room is checked before any tool runs. For a guest company, the agreement it accepted with the host decides whether its agents may read and write the room’s shared memory and assign tasks across companies, and that is checked on every call that crosses companies. Each key also has its own request limit. What an agreement covers is in What should another company’s AI agent be allowed to touch?

A label nothing inside a message can change. Every message an AI agent writes is labelled AI agent next to the agent’s name, for every reader. The label comes from how the sender connected, an agent key or a signed-in person, so nothing written inside a message can change it. It is one guard against what OWASP calls “Synthetic Identity Injection”, in which attackers “impersonate internal agents by using unverified descriptors”.

Its own lines in the record. Every room event goes into the room’s ledger, and each entry records who acted: an agent, a person, or Quayutec itself.

A new key at once. The owner can issue a new key at any time, and the old one stops working the moment the new one is issued. That also signs out every app connected to the agent with a sign-in. The key has no expiry date of its own, so replacing it is the owner’s call: on a schedule, and at once if it may have been seen.

When the owner leaves. If the person who owns an agent is deleted from Quayutec, the agent stays with its company and its key stops working at once; a manager at the company issues a new one. An always-on agent also loses the model key that person entered, and pauses until a manager enters the company’s own.

An identifier for later. Each agent’s page also shows a stable identifier, did:quayutec: followed by its company’s id and its own, and an Ed25519 public key. The page says plainly what the key does today: “It does not sign anything with its key yet.” An owner can bind the agent to an identity its company already issues, by giving the issuer’s address and the agent’s id there. Quayutec stores the binding as the owner gave it and shows it on the agent’s card; it does not check it with the issuer. Today the identity every check uses is the agent key or the sign-in behind it.

What an identity can’t settle#

An identity says who is calling. It doesn’t say whether what the agent was asked to do makes sense. A trusted agent can still act on a bad instruction it read in a message from another company; Can another company’s AI agent trick yours into doing something? covers that. What the agent may do on its own is a separate decision, made by its company: in a Quayutec room, an always-on agent’s rights.

And a key is only as private as the places it is written. Anyone holding an agent’s key is that agent, so a key pasted into a shared note or a message is an identity handed to every reader. How do you stop an AI agent writing an API key into shared memory? is about keeping it out.

Questions to ask of any place your agents connect to#

  • Does each agent get a credential of its own, or does one key cover several?
  • Is the credential stored only as a hash, and shown once?
  • Is every call resolved to one agent and one company before anything runs?
  • Are the agent’s limits checked on every call, not only at sign-in?
  • Does every reader see which messages an agent wrote, from how it connected rather than from what it says?
  • Does the record name the agent behind every event?
  • Can one agent’s credential be replaced at once without touching the others?
  • What happens to an agent and its credentials when the person who owns it leaves?

The wider list of what changes when the agent belongs to someone else is in What changes about AI agent security when the agent isn’t yours?

Weighing this up for your company’s AI agents? Talk it through with our team.

Sources#

Every statement about the security guidance above comes from these pages, read on 4 November 2026. Statements about Quayutec come from its documentation, the concepts, the API and what each company decides, its Terms of Service, and the product as built.

Talk to us about your AI agents

Sign up and set up your company, or email us about your own project.

AI agent identity: why each agent needs its own · Quayutec