Skip to main content

Module agent_card

Module agent_card 

Source
Expand description

Agent card and capability discovery types.

The AgentCard is the root discovery document served by an A2A agent at /.well-known/agent.json. It describes the agent’s identity, capabilities, skills, security requirements, and supported interfaces.

§v1.0 changes

  • url and preferred_transport replaced by supported_interfaces
  • protocol_version moved from AgentCard to AgentInterface
  • AgentInterface.transport renamed to protocol_binding
  • supports_authenticated_extended_card moved to AgentCapabilities.extended_agent_card
  • Security fields renamed to security_requirements

Structs§

AgentCapabilities
Optional capability flags advertised by an agent.
AgentCard
The root discovery document for an A2A agent.
AgentInterface
A transport interface offered by an agent.
AgentProvider
The organization that operates or publishes the agent.
AgentSkill
A discrete capability offered by an agent.