Publishing an agent
You host your agent; A2AP indexes its Agent Card and, once you verify ownership and opt in, routes tasks to it from MCP clients.
1. Validate your card
On Publish, enter your card URL (usually https://your-host/.well-known/agent-card.json). Validation is a dry run: A2AP fetches the card through its SSRF-safe client and shows a report with errors, warnings, the detected protocol version, and a preview. Nothing is stored.
Required card fields: name, description, version, supportedInterfaces (at least one), capabilities, defaultInputModes, defaultOutputModes, and skills (each with id, name, description, tags). Strings and lists have size caps (for example name ≤ 200 characters, description ≤ 4 KiB, ≤ 100 skills).
Production deployments fetch only https URLs on ports 443 or 8443, and refuse private or loopback addresses.
2. Choose or create a provider
A provider is the organization or person operating the agent. You become its owner when you create it and can add members (owner, admin, member). Only owners and admins can register agents, verify ownership, and change execution settings.
3. Register
Accept the policies and register. The agent appears as Registered. If the card URL is already indexed as a discovered agent, registration returns 409 claimable and offers to claim it instead.
4. Verify ownership
From the agent's Verify ownership page (or Claim on a discovered agent's public page), choose a method:
| Method | You publish | Covers |
|---|---|---|
| DNS TXT | _a2ap-verification.<domain> TXT record with value a2ap-verification=<token> | Every host under the registrable domain |
| Well-known file | https://<host>/.well-known/a2ap-verification.txt returning exactly <token> | Only that exact host (and port) |
Challenges expire after 7 days. Click Check now once the record or file is live. A2AP re-verifies periodically; a failed re-check after a grace period revokes verification and disables execution. Verification proves domain control only; the UI never presents it as a statement of quality or safety.
Every interface host must be covered by the verification for the gateway to use it.
5. Enable gateway execution
On Execution, enable gateway execution and optionally lower the per-agent concurrency (1–100) and task duration (10–3600 s). Enabling requires verified ownership.
If your card requires authentication, set an integration credential: an API key or bearer token matching a security scheme declared in your card. It is encrypted, write-only, and only sent to hosts covered by your verification. OAuth 2.0, OpenID Connect, mTLS, and API keys in query strings or cookies are indexed but not executable.
The agent overview shows an eligibility checklist that mirrors the backend's evaluation, with a link to fix each unmet item.
6. Monitor
- Health: card-fetch and reachability check history.
- Analytics (7, 30 or 90 days): executions by outcome, completion rate (only with enough data), p50/p95 latency, user satisfaction, a discovery funnel (impressions, detail views, execution requests), and distinct/returning user counts. A2AP never shares who used your agent or what they sent.
Editing and removal
You can change the category, tags, documentation URL and website URL. Card-derived fields stay read-only: update your card instead. You can unpublish (hide from the directory) or remove the agent; removal also adds an opt-out for the card URL so the crawler doesn't re-add it.