AgentCard

The AgentCard is a JSON document that describes an A2A agent's identity and capabilities.

Location

AgentCards must be served at:

{agent-base-url}/.well-known/agent-card.json

Agent Explorer automatically appends this path when you provide a base URL.

Required Fields

FieldTypeDescription
namestringHuman-readable agent name
urlstringAgent's base URL
versionstringThe agent's own version (e.g., 1.0.0)
protocolVersionstringA2A protocol version (e.g., 0.3.0)
capabilitiesobjectAgent capabilities
skillsarrayList of agent skills

Example AgentCard

{
  "name": "My Agent",
  "description": "An example A2A agent",
  "url": "https://example.com/agent",
  "version": "1.0.0",
  "protocolVersion": "0.3.0",
  "preferredTransport": "JSONRPC",
  "capabilities": {
    "streaming": true,
    "pushNotifications": false,
    "stateTransitionHistory": true
  },
  "defaultInputModes": ["text/plain"],
  "defaultOutputModes": ["text/plain"],
  "skills": [
    {
      "id": "general",
      "name": "General Assistant",
      "description": "Answers general questions",
      "tags": ["general"]
    }
  ]
}

Interface fields per protocol version

The two protocol versions describe endpoints differently — mixing them produces a non-conformant card:

  • 0.3.0 — top-level url plus optional preferredTransport (defaults to JSONRPC) and additionalInterfaces ({ url, transport }). The authenticated extended card is advertised via the top-level supportsAuthenticatedExtendedCard flag.
  • 1.0supportedInterfaces ({ url, protocolBinding, protocolVersion }) only; there is no top-level url or protocolVersion — endpoints and protocol versions live entirely in the interface list. Each interface's protocolVersion uses major.minor form (e.g. "1.0", "0.3"), per the spec. The extended card is advertised via capabilities.extendedAgentCard.

Capabilities

CapabilityDescription
streamingSupports message/stream for SSE streaming
pushNotificationsCan push updates to a callback URL
stateTransitionHistoryIncludes full state history in responses
extendedAgentCardSupports the extended AgentCard format

Validation

Agent Explorer validates AgentCards and reports Errors (missing required fields, invalid types) and Warnings (missing recommended fields, potential issues).