Skip to main content

Module a2a

Module a2a 

Expand description

A2A discovery surface: the well-known catalog card and per-alias agent cards.

Structs§

AgentCapabilities
A2A capability flags. All optional; only Some values serialize.
AgentCard
A2A AgentCard. Serializes to the protobuf-JSON wire shape. Used for both the per-alias spec-conforming cards and the ZeroClaw discovery catalog card (the catalog uses skills: [] and a synthetic catalog interface).
AgentInterface
A single declared transport interface (A2A AgentInterface). The first entry of supportedInterfaces is the preferred one.
AgentSkill
A2A AgentSkill. id/name/description/tags are spec-required.

Functions§

a2a_routes
a2a_task_route
build_agent_card
Build a spec-conforming per-alias agent card, or None when the alias is unknown or not published. Skills resolve from the alias’s bundles and narrow through exposed_skills.
build_catalog_card
Build the ZeroClaw discovery catalog card served at the origin root. Lists every published alias as a skill-less entry pointing at its per-alias card and endpoint. This is a catalog, not a runnable agent: it advertises the catalog interface and carries no skills of its own.