Declare any web surface
agent-ready.
Agent Web Protocol defines agent.json — a machine-readable file that tells AI agents what a website can do, how to authenticate, and what actions are available. What robots.txt did for crawlers, agent.json does for agents.
{
"awp_version": "0.1",
"domain": "example.com",
"intent": "Online store with search and checkout",
"actions": [
{ "id": "search", "method": "GET", "endpoint": "/api/search" },
{ "id": "purchase", "method": "POST", "endpoint": "/api/purchase" }
]
}A familiar evolution
Every era of the web introduced a simple, declarative file that unlocked a new layer of machine interaction. AWP continues this pattern for the age of AI agents.
What the protocol defines
Well-known endpoint
Agents discover capabilities via /.well-known/agent.json — no scraping, no guessing, no prompt injection.
Structured actions
Declare what actions are available — search, book, purchase, submit — with typed parameters and descriptions.
Secure by default
Supports OAuth 2.0, API keys, and session-based auth with explicit scope declarations.
Machine-readable
JSON schema-based format that's easy for agents to parse and for humans to write and review.
CLI and editor support
Generate with npx agent-json init, validate files, or add native support to Claude Code via the AWP MCP server.
Community-driven
MIT-licensed, open-source specification. Built in public, governed by the community.
The agentic web starts with a file.
Add agent.json to your site and let AI agents understand what you offer.