Module a2a
Expand description
A2A discovery surface: the well-known catalog card and per-alias agent cards.
Structs§
- Agent
Capabilities - A2A capability flags. All optional; only
Somevalues serialize. - Agent
Card - 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 usesskills: []and a synthetic catalog interface). - Agent
Interface - A single declared transport interface (A2A
AgentInterface). The first entry ofsupportedInterfacesis the preferred one. - Agent
Skill - A2A
AgentSkill.id/name/description/tagsare spec-required.
Functions§
- a2a_
routes - a2a_
task_ route - build_
agent_ card - Build a spec-conforming per-alias agent card, or
Nonewhen the alias is unknown or not published. Skills resolve from the alias’s bundles and narrow throughexposed_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
cataloginterface and carries no skills of its own.