What is an agent card?
An agent card is a JSON metadata document published by an agent server in the A2A (Agent2Agent) protocol, describing the agent's identity, description, version, capabilities, skills, service endpoints and authentication requirements.
Unlike a model card, a document explaining a model's training, limits and evaluation to people, an agent card lets other agents and clients discover an agent in machine-readable form and learn how to connect to it.
- Topic
- Agents and protocols
- Also known as
- A2A agent card
- Origin
- A2A protocol, 2025
How an agent card works
- The agent server describes its name, description, version, skills and supported interfaces in a JSON document.
- The card is usually served at /.well-known/agent-card.json on the server's domain, in a catalogue or via direct configuration.
- The client reads the card and picks a suitable interface and authentication method.
- If needed, a more detailed extended card is fetched after authentication; cards can be signed with JWS.
In more detail
Core JSON fields: interfaces, capabilities, skills and security schemes
A standard A2A agent card includes structured fields such as supported interfaces (JSON-RPC, gRPC or HTTP+JSON/REST endpoints), capabilities (streaming, pushNotifications, extendedAgentCard), defaultInputModes/defaultOutputModes, skills (with id, tags and examples) and OpenAPI-aligned securitySchemes (OAuth2, OIDC, mTLS or API keys). Knowing these core fields clarifies how an orchestrator matches user intent to a remote agent.
Agent card spoofing, capability poisoning and the JWS trust chain
When discovering agents across registries or external domains, unverified agent cards pose spoofing, capability-poisoning (advertising fake skills to hijack routing) and SSRF risks via malicious endpoint URLs. Enterprises should require JWS signature verification against a trusted internal PKI or registry allowlist and enforce strict URL validation before calling any endpoint declared in a card.
A2A agent cards alongside MCP
In enterprise architectures, A2A agent cards complement rather than replace the Model Context Protocol (MCP): an agent typically uses MCP to connect to internal databases, APIs and tools, while exposing an A2A agent card so other peer agents can delegate higher-level tasks to it without knowing its internal tools or prompts.
Commonly confused terms
| Term | How it differs |
|---|---|
| MCP tool schema | An MCP server manifest/tool schema exposes passive tools, resources and prompts for a single agent to invoke (agent-to-tool), while an A2A agent card advertises an autonomous peer agent's identity, skills and task endpoints (agent-to-agent). |
| OpenAPI specification | An OpenAPI specification describes low-level REST HTTP paths and request/response payloads for general software services, whereas an agent card captures high-level agent skills, interaction modalities, A2A transport interfaces and agent authentication schemes. |
Why an agent card matters for on-premises AI
Connecting agents from different teams or suppliers requires knowing what each does and how to call it safely. The A2A specification defines the agent card as a self-describing manifest with the agent's identity, capabilities, skills, communication methods and security requirements, noting cards can be signed with JSON Web Signature so clients can verify they are untampered and come from the claimed provider. A public card should hold only what discovery needs.
A holding company gathers the cards of procurement and finance agents across its subsidiaries in an in-house catalogue; the procurement agent finds the finance agent with an invoice verification skill from its card, then authenticates as the card specifies and calls it.
Common questions
Where is an agent card published?
Usually at /.well-known/agent-card.json on the agent server's domain. In-house catalogues or direct configuration can also be used.
Is an agent card the same as a model card?
No. A model card explains a model to people. An agent card is read by machines to discover and connect to an agent.
Related terms
Sources
In the glossary: Glossary, A to C