Developer docs · 2 of 4

Let an agent use a pass login

about 8 minutes · beta, checked against the code on 13 November 2026

The idea: use, not reveal

An agent that needs to sign in somewhere shouldn't be handed your password. With pass, the agent asks to use a login. You approve, and the pass browser extension fills it into your own browser tab. The password never goes to the agent, and the receipt records that nothing was disclosed.

Using a login is the only thing an agent can do today. Revealing, editing and sharing are not offered to agents.

Before you start

  • A pass account and the pass extension from the Chrome Web Store (Chrome 109 or later).
  • A coding agent, such as Claude Code, Codex or Cursor, and a browser with the pass extension installed.

Coming soon. Connecting a coding agent to pass isn't open yet. This guide shows how it works so you can plan for it. Join the waitlist from the Agents screen in pass and we'll tell you when it opens.

Step 1: Connect the app

  1. Install the extension, sign in and unlock it. In the extension, turn on AI access.
  2. Add pass to your coding agent, sign in to pass when asked, choose which agent this is and press Allow. We'll publish the exact command when connections open.

The agent name you pick is a label for permissions, not proof of who the agent is. Its access is tied to that agent and your account, short-lived, and never passed on to anyone else.

Step 2: Give access to one login

Connecting gives the app nothing by itself. In pass, go to Agents → Give access and choose:

  • Agent and login (or a whole vault, if you really mean it).
  • How long: 1 hour, 24 hours, 7 days or 30 days. The default is 7 days.
  • Purpose: a sentence on why, which shows up on approvals and receipts.
  • Max uses: 20 by default. One is a fine answer.
  • Ask me before every use: on by default. Leave it on.
  • Optional limits: a spend cap per use and per day, and Only send to a list of sites.

An agent can never create or widen its own access.

You can also set an agent's passport: a standing list of logins or vaults, each marked Allowed, Ask or Never. Never is a hard no. Making a passport looser (adding a row, or moving Never to Ask) asks you to sign in again.

Step 3: Approve the request

Open the site in your browser first. pass only fills when the tab is an exact match: same scheme, host and port as the saved login, with no subdomain stand-ins. The page has to be HTTPS (a localhost page you are developing is the one exception), and pass has to be turned on for that site. Lookalike (punycode) addresses always need a person.

When the agent asks to use the login, approve it in pass under Agents → Approvals or in the extension popup (Approve once or Deny). The request shows the agent, the login, the purpose and the most it could cost you. Each approval works once. If you don't answer within 10 minutes, the agent's request lapses.

The extension checks the tab again just before it fills.

Step 4: Read the receipt

Every use, and every refusal, leaves a receipt. See them under Agents → Audit log, grouped by run or as every event, filtered by agent and date. Export CSV downloads them.

A receipt records the grant, the agent, the run, what was asked, the purpose, the outcome, which use number it was, and plaintextDisclosed: false. Receipts are signed (Ed25519) and chained, so each one commits to the one before. Changing an old receipt would break the chain. The public key is at /api/agent/v1/receipt-keys.

Step 5: Stop access

  • One grant: Access map → Revoke.
  • One agent: revoke its grants, or its whole credential, in the Agents screen. Removing the credential ends its tokens too.
  • Everything: Stop all agents in the Agents screen or the extension popup. You sign in again, then every grant, pending approval and agent credential is revoked in one go. Nothing switches itself back on.

pass checks the live state on every use, so a use either finished before you stopped it or is refused after. A login already filled into a page can't be un-filled.

Rebirth Lock

Domains change hands. Rebirth Lock is an opt-in check for HTTPS sites: it compares the site's public registration record with what it was when you turned the check on. If the record has changed, agents can't use that login until you look at it yourself.

It is a warning sign, not proof of who owns a site. It sends only the domain name to pass.

Troubleshooting

  • “Primitive Pass is locked”: unlock the extension.
  • “The active tab does not match the saved login origin”: open the exact site the login is saved for.
  • “Primitive Pass is not enabled for the active site”: turn pass on for that site.
  • “Agent credential use requires HTTPS or localhost”: the page isn't secure.
  • Result unknown: check recent activity before letting the agent try again.
  • The grant shows used up or expired in the Access map: give access again.

← Connect an agent to paperGrants, scopes and revoking →