Why AI agents need delegated identity
Sharing your password or session with an agent gives it everything, forever. Delegation gives it something specific, for a while, that you can take back.
Identvia Team · · 2 min read
The quickest way to let an AI agent do something for you on a website is to give it your credentials. It's also the worst.
What goes wrong with shared credentials
- All or nothing. A password or session cookie carries all of your authority. The agent can do anything you can, including things you never meant to ask for.
- No end date. Credentials keep working until you change them, long after the task is done.
- No attribution. The site sees you. If something goes wrong, neither you nor the site can tell what the agent did and what you did.
- No clean way back. Revoking means changing your password and signing out everywhere, breaking everything else at the same time.
Agents make all of this worse because they read untrusted text. A web page, an email or a document can contain instructions aimed at the agent. Whatever authority the agent holds is what an attacker gets if those instructions work.
What delegation looks like instead
Delegated identity separates who you are from what you let an agent do:
- The agent asks. It names the site, the task and the permissions it needs.
- You decide, in a place the agent can't reach, with a factor the agent doesn't have. In Identvia that's the Agents inbox, and approval needs a passkey or authenticator app.
- The agent gets something narrow: specific permissions, at one site, for a limited time.
- The site knows it's an agent. Tokens say who is acting for whom, so the site can label actions "via agent" and apply its own limits.
- You can take it back. Revoking stops the agent without touching anything else.
Standards, not one-offs
None of this needs to be invented from scratch. OAuth 2.0 token exchange (RFC 8693) defines the act claim for "this token is used by X on behalf of Y". Rich Authorization Requests (RFC 9396) let a request describe a specific task instead of a broad scope. OpenID CIBA lets an app ask for approval out of band, which suits agents with no browser. The IETF is also actively working on profiles for agents; we keep a list of the drafts we follow in our docs.
Identvia supports these alongside AgentPass, a newer protocol designed specifically for agents acting at third-party sites. The principle is the same everywhere: an agent should hold the least authority, for the shortest time, with the person clearly in charge.