Skip to main content
AgentOnboard lets an AI Agent prove which User it represents without pasting long-lived secrets into prompts or stopping for browser OAuth screens.

Instead of

What AgentOnboard replaces and what each alternative costs:

Request flow

Key properties of this flow:
  • Private keys stay on AgentOnboard. Your server verifies signatures locally against https://agentonboard.xyz/.well-known/jwks.json. AgentOnboard is never in the request path when an agent calls your API.
  • Tokens are bound to your Domain. The aud claim holds your normalized hostname (such as notes.com). A token minted for another app fails with AUDIENCE_MISMATCH.
  • Tokens expire in 5 minutes. Each JWT sets exp = iat + 300. Serve endpoints over HTTPS and never write raw tokens to logs. See Token Verification for the full JWT structure.
  • Verification runs in your process. @agentonboard/sdk depends only on jose, and agentonboard-sdk in Python depends only on httpx and PyJWT[crypto].

Identity vs. permissions

AgentOnboard owns identity. Your application owns permissions.
Verification answers who the User is by checking the signature and reading the verified email claim. Your backend answers what they can access by looking up that email in your database. Both sides meet in resolveAccount({ email }):
  • resolveAccount receives { email } only. It never receives cookies, IP addresses, or internal AgentOnboard user IDs.
  • Returning a user ID or record runs your route handler as that user.
  • Returning null or undefined causes the SDK to return 403 ACCOUNT_REQUIRED.

AgentOnboard does not show per-domain OAuth consent popups. Once a User connects their MCP Client to the Remote MCP server, their agent can mint a 5-minute token for any allowed Domain automatically.
Your account lookup is the access gateAny AgentOnboard User can mint a valid token for your Domain. A valid signature proves the caller controls that email address, so always check the email against your database in resolveAccount.
When an unknown email calls your API, you choose one of two paths:
  1. Reject unknown users (Default): Use verifyAgentAccount or requireAgentAccount. Unknown emails receive 403 ACCOUNT_REQUIRED, and your auth.md tells the agent where the User can connect or register an App Account.
  2. Allow explicit agent signup: Keep verifyAgentAccount on regular routes, and add one POST /api/signup route using createAgentAccount. When an agent receives 403 ACCOUNT_REQUIRED, it calls /api/signup and retries its original request. See Accounts & Agent Signup.

Next steps

Quickstart

Token Verification