how should passkeys work for ai agents?

Passwords can be copied and replayed. Passkeys provide a better boundary because an agent can receive a signed assertion without ever receiving the private key that created it.

a passkey is not a password replacement string

The website sends a challenge for a relying party. The authenticator verifies the relying party, checks user presence and signs the challenge. The resulting assertion proves possession of the private key without revealing it.

An agent integration should preserve this ceremony instead of attempting to export or emulate the private key.

every sign-in is allowed on the phone

With Decoy, an agent that can read an account may ask to sign in with its passkey. Each time, the person sees the agent and the account on their phone and taps Allow once, confirmed with Face ID, or Don’t Allow. Nothing standing is granted: the next sign-in is asked again.

The phone signs the exact challenge the page asked for, and the signed assertion goes back to the browser to finish the login. Agents never add or remove passkeys.

passkeys reduce one risk but not every risk

The agent cannot copy the private key, but a person can still allow a mistaken sign-in. The phone names the agent and the account; the agent must forward only the sign-in it started, never a background request the page made on load.

After login, the agent may hold an authenticated session. The browser or runtime must still control what actions that session can perform.

common questions

does the AI agent ever receive the passkey private key?

No. The phone signs the challenge and returns only the assertion.

does a standing grant silently approve passkeys?

No. Decoy asks you for every passkey sign-in, per use.

can an agent add or remove my passkeys?

No. Only you add or remove passkeys.

give your agent the info it needs. not your whole life story.

Keep memories, accounts and personal info in one Decoy vault. Give each agent the context and account access its task needs through MCP or the API.