AgentPass, explained
How Identvia implements AgentPass v0.1: discovery, the approval inbox, single-use holder-bound passes and continuous checks.
Identvia Team · · 2 min read
AgentPass is an open protocol for letting an AI agent act for a person at a third-party site. It's at version 0.1, a draft that may change. Identvia implements it as a federated Authority, pinned to a specific revision of the specification.
The three parties
- The harness is the software running the agent. It holds a key pair.
- The Service is the site the agent wants to use. It publishes a DNS record and an AgentPass configuration.
- The Authority is Identvia, where the person has an account and approves requests.
A request, step by step
- The harness asks Identvia for a pass: which site, which person, what task, which kind of credential (an API token or a browser session), and the harness's public key.
- Identvia discovers the site through its
_agentpassDNS record, and asks the site which permissions exist. - The request lands in the person's inbox. They see the site, the agent and how trusted it is, the agent's own description of the task (clearly marked as unverified text), and the permissions. Identvia suggests the smallest set; the person decides. Approving needs a passkey or authenticator app.
- The harness picks up a pass that works once, for that site only, within two minutes, and only together with a proof signed by the harness's key. A stolen pass is useless on its own.
- The site redeems the pass with Identvia, verifies the proof, and issues its own credential to the agent.
- The site keeps checking. While the agent works, the site re-checks the delegation at least every 60 seconds and fails closed if it can't reach Identvia. Revoking in Identvia stops the agent within about a minute.
Trust tiers
Agents are attested (vouched for by a harness provider the administrator trusts), registered (the person registered the agent's key themselves) or unverified. Unverified agents get shorter maximum durations, and the inbox says which tier a request comes from.
For site owners
The identvia/agentpass-php library serves the Service endpoints, handles DNS discovery, validates passes, verifies holder proofs and runs the continuous checks. Two rules matter most: show "via agent" in your interface and logs, and treat the task description as untrusted text.
Because AgentPass is still a draft, keep irreversible or high-value actions out of reach of delegated agents for now.