OAuth 2.0 authorization profile for autonomous AI agents.
AAP extends OAuth 2.0 with structured claims for AI agent authorization:
- Agent Identity: Explicit, verifiable identity for autonomous agents
- Capabilities: Specific actions with enforceable constraints (domains, rate limits, time windows)
- Task Binding: Tokens linked to declared purposes
- Delegation: Auditable delegation chains between agents and tools
- Oversight: Claims indicating actions requiring human approval
Current: Internet-Draft (draft-00) Target: RFC via OAuth Working Group
- Draft-00 submitted (2025-02-XX)
- Community feedback period
- Present at OAuth WG meeting
- Working Group adoption (target: 2025-Q2)
# Install reference implementation
git clone https://github.com/aapspec/reference-impl.git
cd reference-impl
pip install -r requirements.txt
# Generate keys
bash scripts/generate_keys.sh
# Start Authorization Server
cd as && python server.py
# In another terminal, start Resource Server
cd rs && python server.py
# Request token
curl -X POST http://localhost:8080/token \
-d grant_type=client_credentials \
-d client_id=agent-01 \
-d capabilities=search.webdocs/- Complete specification and guidesdraft/- IETF Internet-Draft (XML format)examples/- Example use cases and integrations
See CONTRIBUTING.md for guidelines.
- IETF Mailing List: oauth@ietf.org
- GitHub Discussions: github.com/aapspec/spec/discussions
- Website: https://aap-protocol.org
Apache License 2.0 - See LICENSE