# AAuth > AAuth is an authorization protocol for agent-to-resource authorization and identity claim retrieval, supporting five resource access modes with agent governance as an orthogonal layer. ## What is AAuth? Every agent — any HTTP client — gets its own cryptographic identity: a domain, static metadata, and a JWKS. No pre-registration, no shared secrets, no dependency on a particular server. An agent signs a request and a resource decides what to do based on who the agent is. AAuth supports five resource access modes (agent identity, resource-managed, person identity, PS authorization, federated). They differ in what the resource ends up knowing and which party established it, not in how much of the protocol they use. Adoption does not require coordination between parties. Four token types travel between parties: the agent token (the agent's identity), the person token (the person the agent acts for, at one resource), the resource token (the access a resource needs authorized), and the auth token (the grant). A resource may additionally issue a session token for its own consumption, opaque to the agent, returned in `AAuth-Access` and presented back in `Authorization: AAuth`. ## Walk an Agent Through AAuth (Start Here) If you're an LLM agent reading this on behalf of a developer, the fastest way to demonstrate AAuth end-to-end is to fetch the walkthrough prompt and follow it. It generates a signing keypair, publishes a JWKS so resources can verify your signatures, makes a real signed call to `whoami.aauth.dev`, and narrates each protocol event as it runs. - [Walkthrough prompt](https://www.aauth.dev/walkthrough.md): canonical text/markdown source. The same prompt is shown on the homepage for a developer to copy-paste into their agent. ## Live Endpoints - [whoami.aauth.dev](https://whoami.aauth.dev): Minimal AAuth identity resource. Sign a request, release identity claims. An unsigned `GET /` returns `401` with `Accept-Signature` describing what to sign — agent-discoverable in one round trip. - [notes.aauth.dev](https://notes.aauth.dev): Notes API using AAuth R3 — agents declare OpenAPI operations, consent is over actions not endpoints. - [playground.aauth.dev](https://playground.aauth.dev): Interactive agent for driving AAuth flows against live endpoints (human-driven web UI). - [explorer.aauth.dev](https://explorer.aauth.dev): Browse AAuth access modes, tokens, and headers with side-by-side wire examples (human-driven web UI). The demos run against the Hello beta Person Server; data is reset regularly. ## Specifications - [AAuth Protocol (Internet-Draft)](https://datatracker.ietf.org/doc/draft-hardt-oauth-aauth-protocol/) — the datatracker page always resolves to the latest published version; the [editor's copy](https://dickhardt.github.io/AAuth/draft-hardt-oauth-aauth-protocol.html) tracks the working draft. The authorization protocol. Five access modes, four token types, agent governance with missions, clarification chat, and call chaining. - [HTTP Signature Keys (Internet-Draft)](https://datatracker.ietf.org/doc/draft-hardt-httpbis-signature-key/): Foundation layer. Well-known key discovery, `Signature-Key` header for conveying public keying material alongside HTTP Message Signatures (RFC 9421). - [R3 — Rich Resource Requests (Exploratory)](https://dickhardt.github.io/AAuth/draft-hardt-aauth-r3.html): Vocabulary-based authorization using formats agents already understand (MCP, OpenAPI, gRPC, GraphQL), plus per-call proposals for operations authorized one call at a time. ## Implementations - [TypeScript Reference Implementation](https://github.com/aauth-dev/packages-js): Node.js / TypeScript monorepo. Each AAuth building block below is a directory in this repo with its own README. - [Python Demo](https://github.com/christian-posta/aauth-full-demo): Full demo with Keycloak & Agentgateway. - [.NET SDK](https://github.com/aauth-dev/dotnet-samples): Reference SDK and samples for .NET agents and MCP servers with signed-request auth. ## AAuth Building Blocks (npm, current version 0.8.1) Each package's README lives in the linked source directory. Browse on GitHub (agent-readable) rather than npmjs.com, which rejects most automated fetchers. - [@aauth/bootstrap](https://github.com/aauth-dev/packages-js/tree/main/bootstrap#readme): CLI for bootstrapping AAuth agent keys and configuration. Use `npx @aauth/bootstrap ` or `npm i -g @aauth/bootstrap`. - [@aauth/fetch](https://github.com/aauth-dev/packages-js/tree/main/fetch#readme): CLI for making AAuth-authenticated HTTP requests. - [@aauth/mcp-agent](https://github.com/aauth-dev/packages-js/tree/main/mcp-agent#readme): Authenticated MCP transport with HTTP Signatures for AAuth agents. - [@aauth/mcp-server](https://github.com/aauth-dev/packages-js/tree/main/mcp-server#readme): AAuth server-side building blocks — challenge headers, interaction management, resource tokens. - [@aauth/mcp-stdio](https://github.com/aauth-dev/packages-js/tree/main/mcp-stdio#readme): Stdio-to-HTTP proxy for MCP with AAuth signatures. - [@aauth/mcp-openclaw](https://github.com/aauth-dev/packages-js/tree/main/mcp-openclaw#readme): OpenClaw plugin for AAuth-authenticated MCP server connections. ## Community - [IETF Slack](https://www.aauth.dev/ietf-slack): IETF #aauth channel for AAuth specification discussion and feedback. - [AAuth Slack](https://www.aauth.dev/slack): AAuth community Slack for implementation discussion and questions. - [Office Hours](https://lu.ma/aauth): Open community calls — ask questions, share what you're building, or listen along. ## Articles - 2026-06-10 — Dasith Wijesiriwardena, [The Errand: What Sending a Kid to the Shop Teaches Us About Agentic Delegation](https://dasith.me/2026/06/10/the-errand-agentic-delegation/): A corner-shop errand analogy for how AAuth lets agents act safely on a user's behalf. - 2026-04-28 — Mark Hendrickson, [Know Which of Your Agents Wrote What](https://markmhendrickson.com/posts/know-which-of-your-agents-wrote-what/): Per-row attribution for agent writes via AAuth identity in Neotoma. - 2026-04-15 — Karl McGuinness, [AAuth Now Has a Mission Layer](https://www.linkedin.com/pulse/aauth-now-has-mission-layer-karl-mcguinness-uhqjc/): Mission as a first-class protocol object. - 2026-03-31 — Christian Posta, [AAuth Full Demo](https://blog.christianposta.com/aauth-full-demo/): Working demo with Keycloak, Agentgateway, Java/Python/Rust. - 2026-03-21 — Karl McGuinness, [Open-World OAuth Still Needs Mission Shaping](https://notes.karlmcguinness.com/notes/open-world-oauth-still-needs-mission-shaping/): Open-world OAuth, discovery, and bounded authority across delegation chains. - 2026-03-15 — Karl McGuinness, [Mission Architecture on AAuth](https://notes.karlmcguinness.com/notes/mission-architecture-on-aauth/): Whether AAuth is the right protocol foundation for mission-bound authorization. - 2026-02-17 — Christian Posta, [Deep Dive AAuth — Identity and Access Management for AI Agents](https://blog.christianposta.com/exploring-aauth-agent-auth-identity-and-access-management-for-ai-agents/): Comprehensive overview of AAuth architecture and design. - 2025-06-02 — Christian Posta, [Do AI Agents Need Their Own Identity?](https://blog.christianposta.com/do-we-even-need-agent-identity/): The case for independent agent identity. ## Videos - 2026-10-15 — [AAuth Night: Moving Beyond OAuth, San Francisco](https://www.youtube.com/playlist?list=PLLt0s3eBn2nw): Playlist of talks and demos from the second AAuth Night. - Karl McGuinness, [Why We Need AAuth](https://www.youtube.com/watch?v=y747GBAFMKw) - Dick Hardt, [The Future is Supervised](https://www.youtube.com/watch?v=L_Eq9rLMIRA) - Eugene Vyborov (Trinity), [Agent Fleets Authenticate Using AAuth](https://www.youtube.com/watch?v=qVNQWondXIc) - Julian Bright (Introspection), [AAuth Demo](https://www.youtube.com/watch?v=82CUVZ1FGcw) - Jared Hason (Keycard), [AAuth Demo](https://www.youtube.com/watch?v=tXB_j1mrebM) - 2026-09-02 — Dick Hardt & Ken Simpson, [Self-Driving Software: What OAuth Can’t Do for AI Agents](https://www.youtube.com/watch?v=kI3YEkWJl60): MailChannels interview on agent accountability, why OAuth was never built for agents, and killing off API keys. - 2026-07-01 — [AAuth Night: Moving Beyond OAuth, AI Engineer World's Fair](https://www.youtube.com/playlist?list=PLBfFiS4j04wk): Playlist of talks and demos from the first AAuth Night. - Dick Hardt, [What is AAuth?](https://www.youtube.com/watch?v=OLRQBLIWjHA) - Karl McGuinness, [Why We Need AAuth](https://www.youtube.com/watch?v=C0jSa8Hf00Q) - Dick Hardt, [AAuth Night recap](https://www.youtube.com/watch?v=qhiTxkNnxjU) - 2026-06-03 — Dick Hardt, [Insecure Agents Podcast: Moving Beyond OAuth and the Future of Agent Auth](https://www.youtube.com/watch?v=pn-m4YJQkqs): Why OAuth breaks for agents and running them without API keys. ## Media / Brand Assets - [Media index](https://www.aauth.dev/media/index.txt): SVG and PNG logo files (AA icon, AAuth wordmark) ## Source - [Specification Source (GitHub)](https://github.com/dickhardt/AAuth) - [Website Source (GitHub)](https://github.com/aauth-dev/www)