[ ABORT TO HUD ]
SEQ. 1
SEQ. 2
SEQ. 3
SEQ. 4
SEQ. 5
Agent Cards & Discovery
How Agents Find Each Other
In A2A, every agent publishes an Agent Card - a JSON metadata document hosted at a standard endpoint: /.well-known/agent-card.json.
Agent Card Structure
{
"name": "TravelBooker",
"description": "Books flights, hotels, and rental cars",
"version": "2.1.0",
"url": "https://travel-agent.example.com/a2a",
"capabilities": {
"tasks": ["book_flight", "search_hotels", "rent_car"],
"streaming": true,
"pushNotifications": true
},
"authentication": {
"type": "oauth2",
"authorizationUrl": "https://travel-agent.example.com/auth"
},
"skills": [
{
"id": "book_flight",
"name": "Flight Booking",
"description": "Search and book flights. Supports one-way and round-trip.",
"inputSchema": { "type": "object", "properties": { "origin": {}, "destination": {}, "date": {} } }
}
]
}
Discovery Flow
- Client agent queries
/.well-known/agent-card.jsonat the target URL. - Reads capabilities: What tasks can this agent handle? What auth does it need?
- Authenticates if required (OAuth 2.0, API keys, or open access).
- Creates a Task - sends a structured request to the remote agent.
🎯 Pro Tip: Agent Cards are like API documentation for agents. The more detailed and accurate your Agent Card, the more reliably other agents can discover and use your service.
SYNAPSE VERIFICATION
QUERY 1 // 3
Where is an A2A Agent Card typically hosted?
In the system prompt
At /.well-known/agent-card.json
In a vector database
In the model weights