/.well-known/agent-card.json
The well-known URI registered by the A2A v1.0 specification. New clients fetch this path first; serve it with content type application/a2a+json.
Discovery tool · A2A v1.0
A2A clients discover an agent by fetching its JSON Agent Card from a well-known URL. Test both naming conventions on a live domain and see exactly what clients receive.
Builds both candidate discovery URLs from the same base domain.
Fetches the returned JSON and reports status code and content type.
Parses the response as Agent Card JSON when possible.
Runs readiness checks for interfaces, skills, provider, modes, capabilities, and security metadata.
Enter a base domain. The checker fetches both discovery paths, parses returned JSON, and runs Agent Card readiness checks.
How discovery works
Before another agent can call yours, it fetches the Agent Card from a well-known URI (RFC 8615) on your domain, evaluates the skills and security requirements, and then calls the preferred interface. If the Agent Card is missing, stale, or hidden behind a redirect, the integration ends before it begins.
This site practices what it checks: AgentCard.net publishes its own Agent Card at both paths, and the example on the right is the live document.
View our live Agent CardGET /.well-known/agent-card.json HTTP/1.1
Host: www.agentcard.net
HTTP/1.1 200 OK
Content-Type: application/a2a+json
{
"name": "AgentCard.net Toolkit",
"version": "1.0.0",
"supportedInterfaces": [
{ "url": "https://www.agentcard.net/api/agent-card",
"protocolBinding": "HTTP+JSON",
"protocolVersion": "1.0" }
],
"skills": [
{ "id": "generate-agent-card", ... },
{ "id": "validate-agent-card", ... },
{ "id": "check-well-known-discovery", ... }
]
}Discovery paths
The well-known URI registered by the A2A v1.0 specification. New clients fetch this path first; serve it with content type application/a2a+json.
Used by early A2A implementations and codelab examples. Many deployed clients still check only this path, so serving the same Agent Card here is a safe transition strategy.
Publishing pattern
Discovery failures are rarely exotic: a redirect, a cached error page, or one path deployed and the other forgotten. This publishing routine keeps both conventions serving the same, current Agent Card.
Serve the reviewed Agent Card at /.well-known/agent-card.json over HTTPS on the same domain as the A2A service, with content type application/a2a+json.
Return the identical document from /.well-known/agent.json while older clients are still in circulation — divergent Agent Cards on the two paths confuse routing.
Whenever endpoints, skills, capabilities, or authentication change, update the Agent Card, bump its version field, and redeploy both paths together.
Run this checker after deployments, DNS changes, gateway migrations, or marketplace edits. Failures usually trace to redirects, HTML error pages, or one forgotten path.
FAQ
What to publish, where to publish it, and how to keep clients on either convention working.
A2A v1.0 registers /.well-known/agent-card.json as the standard discovery path. The legacy /.well-known/agent.json predates v1.0 but is still checked by many deployed clients, so publishing the same Agent Card at both paths is the pragmatic choice during the transition.
Yes. Returning the same public Agent Card from both paths keeps clients that support only one convention consistent. Divergent documents make the agent look different depending on which path a client happens to fetch.
The specification registers application/a2a+json for Agent Cards. Plain application/json is widely accepted in practice, but an HTML content type is a reliable sign the path is returning an error page instead of the Agent Card.
Yes. Publish only discovery-safe metadata in the public Agent Card, set capabilities.extendedAgentCard to true, and expose sensitive skills through the authenticated GetExtendedAgentCard operation.
The usual causes are redirects to a login or marketing page, HTML 404 pages returned with status 200, stale JSON cached at a CDN, or only one of the two well-known paths being deployed. The checker reports status code and content type for each path so the failure is visible immediately.
Before you publish
Run the JSON through the full validator first, publish it at both well-known paths, and confirm discovery with this checker.