# AgentOnboard

> AgentOnboard is sign-in for AI agents: tell it once, it's done.

An agent gets a verifiable identity for any service, and that service's API verifies it locally against public keys.

## What it is

- Tokens are RS256, scoped to one domain by `aud`, and live 5 minutes.
- Verification runs in your own process against `/.well-known/jwks.json` — one dependency (`jose`), no callback to us, no database.
- Requests never pass through us. We are not a proxy.
- We answer *who someone is*. What they may do stays in your database.

## What it is instead of

| Instead of | What that costs |
|---|---|
| An API key in the agent's prompt or config | It leaks into logs, context windows and shell history, and it never expires on its own. |
| OAuth with a browser consent step | It works until the one action that needs a human. Then the agent is a person clicking through a form. |
| AgentOnboard | Tell the agent once. It mints its own 5-minute token per domain and stops asking. |

## For users

Connect your agent in one prompt via Remote MCP (`https://agentonboard.xyz/api/mcp`) or the skills installer:

```bash
npx skills add agentonboard/skills -g -a '*' -s '*' -y
```

An agent calls the Remote MCP `get_token` tool with `{ "domain": "notes.com" }` at `https://agentonboard.xyz/api/mcp`, authenticated with `Authorization: Bearer aon_live_<key>`, and receives a 5-minute domain-scoped Agent Identity Token.

- [Dashboard](https://agentonboard.xyz/dashboard): create and revoke keys. Requires an AgentOnboard account.
- [How it works](https://agentonboard.xyz/how-it-works): the problem, in prose.

## For apps

Verify the header yourself, against public keys:

```ts
import { verifyAgentToken } from "@agentonboard/sdk";

const result = await verifyAgentToken({ token, audience: "notes.com" });
if (!result.ok) return Response.json({ code: result.code }, { status: 401 });
// result.email is the verified User.
```

- [For apps](https://agentonboard.xyz/apps): the integration guide, from install to a verified request.
- [Quickstart](https://docs.agentonboard.xyz/quickstart): Install the SDK and verify your first token in TypeScript or Python
- [Token Verification](https://docs.agentonboard.xyz/verify): verifyAgentToken: options, audience rules, the non-throwing contract
- [Accounts & Agent Signup](https://docs.agentonboard.xyz/accounts): verifyAgentAccount, the resolver, and the createAgentAccount opt-in
- [Errors & Status Codes](https://docs.agentonboard.xyz/errors): Every failure code and the status you return
- [Testing & Production](https://docs.agentonboard.xyz/testing-and-production): Six curl checks, key caching, rotation, outages
- [Publishing auth.md](https://docs.agentonboard.xyz/auth-md): Publishing auth.md and /.well-known/auth.md so agents find your API

## Resources

- [Home](https://agentonboard.xyz/): what this is, for a person.
- [Blog](https://agentonboard.xyz/blog): why the credential problem is harder than it looks.
- [Agent skills](https://github.com/agentonboard/skills): the open-source skills repository.
- [llms-full.txt](https://agentonboard.xyz/llms-full.txt): every doc and post in full, one fetch.

Documentation is hosted by Mintlify at `https://docs.agentonboard.xyz`. Fetch `https://docs.agentonboard.xyz/llms.txt` for the docs LLM index, or append `.md` to any `/blog` URL.
