Agent-to-Agent Protocols › Discovery: the Agent Card

Michael BrenndoerferDecember 1, 20262 min read
Language AI HandbookAll chapters
Part 49 of 67Long-Horizon Agents and Interoperability
Chapter 378Agent-to-Agent Protocols › Discovery: the Agent Card
Reading section 4 of 14 · Discovery: the Agent Card · 2 minSection 4 of 14 · 2 min

Section 4 of 14 · 2 min read

Reading settings

Definitions

Choose how many terms have tooltips.

Article links

Make inline references clickable

Notes & comments

A caller needs to know what a peer claims to do, how to reach it, and what formats and authentication it expects. The v1 Agent Card and discovery sections describe the public well-known URI /.well-known/agent-card.json, along with discovery through registries or direct exchange. The card is JSON metadata. Treat it as an input to selection, alongside your own policy for which agents to trust and what data may cross the boundary.

  • supportedInterfaces declares the endpoint URL, the transport binding and the protocol version for each interface. Choose compatible values from the same interface entry. The card's version describes the agent, while an interface version such as 1.0 describes the protocol.
  • capabilities advertises optional features such as streaming, push notifications and extended Agent Card support. capabilities.extendedAgentCard advertises support for the authenticated operation. A client still needs authorization to retrieve it.
  • defaultInputModes and defaultOutputModes describe media types. The modes listed for a skill can override the defaults. Check that the caller has a parser for the expected deliverable before delegating.
  • skills identify work the agent advertises. A description and examples help an application select a skill, but the name alone does not establish that two services use the same result schema.
  • securitySchemes describe available authentication mechanisms. Security requirements identify the schemes and scopes that apply. The server still enforces authorization on the request and the relevant task.

Discovery has a different role from authorization. For a sensitive request, verify the endpoint identity using trusted configuration and confirm that the authenticated peer may handle the data. Matching a skill's words only checks that the card advertises the capability. A legitimate certificate or card signature binds an identity or document to a key. It does not test how well the service performs the work.

If the caller selects among many candidates, a registry can keep verified entries and cache them according to policy. Make the selection inspectable by recording the card and interface version used when the task was delegated. Keep that record separate from proof that an individual task was authorized and correctly completed.

Comments

Add to the conversation

A question, a correction, or an example from your own work.

No comments yet. Be the first to share your thoughts!

Newsletter

Stay up to date

Get new articles, book updates, and notes on AI and technology.

Unsubscribe at any time. Privacy policy