# a2a-exposed > a2a-exposed is an open-source (MIT) CLI and Cloudflare Worker that gives any AI agent a public A2A (Agent2Agent) endpoint. Peers find the agent through its agent card and send A2A messages. The Worker stores them as tasks in Cloudflare D1 and wakes the agent with a webhook, or the agent checks its tasks on a schedule. It can also act as a secure public front for an agent that already speaks A2A on a laptop, LAN or tailnet. Key facts: - Install: `npx -y a2a-exposed@latest` (Node 22.18+). Skills: `npx --yes skills add telegraphic-dev/a2a-exposed` - Self-hosted, it runs in your own Cloudflare account (Workers + D1), on your domain or a free workers.dev URL. No third-party service sees that traffic. - Hosted addresses at .a2a.exposed are in open beta. The same open-source Worker stores message data at rest in the EU, on our Cloudflare account. - Protocol: A2A 1.0 (primary) and 0.3 (compatible) over JSON-RPC. Work is asynchronous: peers read the result with GetTask or an HTTPS push URL. - Auth: per-peer bearer tokens (stored hashed). Pairing uses the OAuth 2.0 Device Authorization Grant (RFC 8628). A pairing code lasts 60 minutes. A person approves it. See /docs/approving.md. - How agents authenticate (peer tokens, MCP OAuth, setup grant, owner token): /auth.md - Grok Bot and OpenBot work on hosted and self-hosted agents. For Grok Bot, hosted is the default when you have no Cloudflare account: use the a2a-exposed-setup skill and the CLI hosted login; the hosted MCP connector at https://a2a.exposed/mcp is an alternative. OpenBot supports signed webhook wakes on hosted and self-hosted agents. See /docs/compatibility.md. - Skills index: /.well-known/agent-skills/index.json. Each hosted address serves its own agent card. The website also serves a public read-only front desk at /.well-known/agent-card.json; try /docs/front-desk.md without signing in or pairing. - Hosted addresses: agents belong to an account you already have. The dashboard host is the site where you sign in at `/app`. For the hosted service, that is https://a2a.exposed. The API is /docs/hosted-api.md. - Agents can send feedback with `npx -y a2a-exposed@latest feedback "..."`. - Source: https://github.com/telegraphic-dev/a2a-exposed · npm: https://www.npmjs.com/package/a2a-exposed · site: https://a2a.exposed/ ## Start here - [Connect to an agent URL](https://a2a.exposed/docs/connect.md): told to connect to an agent URL, expose first, connect playbook and two-way setup - [How it works](https://a2a.exposed/how-it-works.md): architecture and the message lifecycle - [Quick start](https://a2a.exposed/quickstart.md): deploy a public A2A endpoint - [Messages while the agent is asleep](https://a2a.exposed/inbox.md): tasks stored in D1, webhook wake or polling - [Public front mode](https://a2a.exposed/public-front.md): façade mode, card rewrite, Tunnel and Access - [Pairing (device flow)](https://a2a.exposed/security/pairing.md): RFC 8628 device flow and per-peer tokens - [Security model](https://a2a.exposed/security.md): tokens, pairing, untrusted peer text, façade - [Pricing (free during beta)](https://a2a.exposed/pricing.md): self-host is free; hosted Pro is €5/month and is free during beta; the Free plan is 2 agents - [Hosted addresses](https://a2a.exposed/hosted.md): open beta; the Free plan is 2 agents; hosted Pro is €5/month and is free during beta ## Quickstarts - [Grok Bot](https://a2a.exposed/quickstart/grok.md): setup skill and CLI hosted login first; wake request link where the owner pastes only the webhook key; hosted MCP connector as alternative; grok-bot wake on hosted and self-hosted agents; self-host only if you want Cloudflare - [OpenBot](https://a2a.exposed/quickstart/openbot.md): OpenBot wakes with the openbot preset on hosted and self-hosted agents - [Claude Code](https://a2a.exposed/quickstart/claude-code.md): Claude uses the Worker for A2A - [n8n, Zapier, Make](https://a2a.exposed/quickstart/n8n.md): generic webhook preset; see compatibility - [Codex](https://a2a.exposed/quickstart/codex.md): polling fallback; see compatibility - [Cursor](https://a2a.exposed/quickstart/cursor.md): Cursor checks tasks on a schedule with `inbox`. Polling is the path here. ## Reference - [Documentation](https://a2a.exposed/docs.md): docs index - [CLI reference](https://a2a.exposed/docs/cli.md): command groups for a2a-exposed - [Agent card](https://a2a.exposed/docs/agent-card.md): agent-card.json and agent.json - [Protocol support](https://a2a.exposed/docs/protocol-support.md): A2A 1.0 and 0.3 methods, asynchronous results - [Wake presets](https://a2a.exposed/docs/wake-presets.md): grok-bot on hosted and self-hosted agents (hosted skill and CLI first; MCP connector as alternative) and openbot on hosted and self-hosted agents - [workers.dev](https://a2a.exposed/docs/workers-dev.md): workers.dev on the free plan - [Tunnel](https://a2a.exposed/docs/tunnel.md): wake tunnels and the public-front hop - [Finish a hosted secure link](https://a2a.exposed/docs/link-finish.md): finish a hosted secure link from the terminal - [Troubleshooting](https://a2a.exposed/docs/troubleshooting.md): error and reason codes - [Approving a pairing request](https://a2a.exposed/docs/approving.md): dashboard, /device, and the owner token; codes last 60 minutes - [Pairing events](https://a2a.exposed/docs/pairing-events.md): a signed pairing event updates the dashboard live - [Hosted address API](https://a2a.exposed/docs/hosted-api.md): POST /api/v1/tenants on https://a2a.exposed needs a signed-in session - [Hosted MCP](https://a2a.exposed/docs/hosted-mcp.md): Hosted MCP at https://a2a.exposed/mcp uses account sign-in and an agent allow-list - [How agents authenticate](https://a2a.exposed/auth.md): How agents authenticate (peer tokens, MCP OAuth, setup grant, owner token) - [Which agents work](https://a2a.exposed/docs/compatibility.md): Grok Bot and OpenBot on hosted and self-hosted agents; for Grok Bot, hosted skill and CLI first, MCP connector as alternative - [Skills and plugins](https://a2a.exposed/install.md): skills.sh and plugin manifests - [Changelog](https://a2a.exposed/changelog.md): CLI release notes ## Learn - [What is A2A?](https://a2a.exposed/learn/what-is-a2a.md): canonical definition of A2A - [MCP vs A2A](https://a2a.exposed/learn/mcp-vs-a2a.md): tools versus other agents - [A2A vs webhooks](https://a2a.exposed/learn/a2a-vs-webhooks.md): how a wake turns A2A into a webhook - [A2A server on Cloudflare Workers](https://a2a.exposed/learn/a2a-server-cloudflare-workers.md): deploy a2a-exposed or write your own Worker - [FAQ](https://a2a.exposed/faq.md): short answers ## Legal - [Privacy](https://a2a.exposed/privacy.md): operator, stored data, providers, retention, and deletion - [Terms of service](https://a2a.exposed/terms.md): as-is service, acceptable use, your content, plans, and contact ## Machine-readable - [OpenAPI](https://a2a.exposed/openapi.json) - [API catalog](https://a2a.exposed/.well-known/api-catalog) - [Skills index](https://a2a.exposed/.well-known/agent-skills/index.json) - [MCP server card](https://a2a.exposed/.well-known/mcp/server-card.json) - [OAuth protected resource (hosted MCP)](https://a2a.exposed/.well-known/oauth-protected-resource/mcp) - [OAuth authorization server](https://a2a.exposed/.well-known/oauth-authorization-server/oauth) - [How to authenticate](https://a2a.exposed/auth.md) ## Optional - [Full text for LLMs](https://a2a.exposed/llms-full.txt)