By Abhijith N M · Reviewed 24 October 2026 · Editorial standards
When one agent needs to talk to another, it has no way to know what that agent does, where to send requests, or how to authenticate. Without a standard way to publish this information, agents would need hardcoded configuration for every possible peer. Agent Cards solve this by giving every A2A server a machine-readable business card that clients fetch before making any requests.
An Agent Card is a JSON document that describes the agent's identity, capabilities, and how to reach it. It tells you the agent's name, what it does, which communication protocols it supports, what authentication it requires, and what skills it can perform.
// An Agent Card (illustrative; field spellings follow the v1.0 spec)
{
"name": "Corporate Flight Booking Agent",
"description": "Handles domestic and international flight reservations.",
"version": "1.0.0",
"provider": { "organization": "Corp Internal", "url": "https://internal.corp" },
"supportedInterfaces": [
{ "url": "https://flights.corp/a2a", "protocolBinding": "JSONRPC", "protocolVersion": "1.0" }
],
"capabilities": { "streaming": true, "pushNotifications": false },
"defaultInputModes": ["text/plain", "application/json"],
"defaultOutputModes": ["text/plain", "application/json"],
"skills": [
{ "id": "book-flight", "name": "Book a flight",
"description": "Search and book flights for an employee",
"tags": ["travel", "booking"],
"examples": ["Book me BLR to DEL next Monday morning"] }
],
"securitySchemes": { "corpOAuth": { "type": "oauth2" } },
"security": [ { "corpOAuth": ["flights.book"] } ]
}The card above shows the standard structure. The name and description are human-readable. The supportedInterfaces array lists the actual endpoints where you can send work, along with the protocol and version. The skills array describes each discrete operation the agent can perform, with tags and examples so clients know whether to use it.
The standard location is https://{agent-domain}/.well-known/agent-card.json. This follows the web convention for well-known metadata. Some older clients may also check /.well-known/agent.json, and many servers serve both for compatibility.
If you're not using direct domain lookup, you have alternatives. Your organization might run a registry or catalogue where agents register themselves. Or you might pre-configure the address of known agents in your application.
| Field | Why a client cares |
|---|---|
| name, description, provider, version | Identity and ownership; pin versions in your contracts |
| supportedInterfaces | Where to send requests, and over which binding (JSON-RPC, gRPC, HTTP+JSON) |
| capabilities | Does it support streaming? push notifications? an extended card? |
| defaultInputModes / defaultOutputModes | Content types it accepts and produces |
| skills | What it can do: id, name, description, tags, examples — the thing an LLM reads to choose this agent |
| securitySchemes / security | How to authenticate, declared up front |
| signatures | Optional cryptographic signatures proving the card is authentic |
The card you fetch without credentials is the public card. Keep it minimal because anyone can read it. Once authenticated, you can call the GetExtendedAgentCard operation to retrieve an extended card that reveals additional skills only to trusted callers.
The flow is straightforward. Fetch the card from the well-known URL. Check whether the agent has the skill you need, whether it supports an authentication scheme you can use, and whether you trust the provider. If all checks pass, authenticate and send your message to the listed interface endpoint. If not, pick a different agent.
Skill descriptions are prompt text. Write them like tool descriptions: specific, with examples. Remember that a malicious card can lie, so validate the provider and never assume the card is honest about what the agent actually does.
Written and edited by the nexGenCoders team. Spotted a mistake? Tell us and we will fix it.
Don't lose this lesson
Create a free account to save your progress, keep your streak, and work toward a shareable certificate.