a2a — Agent-to-Agent Messaging
This doc is a stub. The canonical skill document lives at
.agents/skills/a2a/SKILL.md. Ownership and doc maintenance rules are inAGENTS.md. Shell completions are documented incompletion/AGENTS.md.
Quick reference
a2a init # create project database
a2a register alice --role dev # register an agent
a2a send bob "hello" --from alice # direct message
a2a send all "broadcast" --from a # broadcast
a2a recv --as bob --wait 30 # receive messages (blocks up to 30s)
a2a peek --json # observer view
a2a search <query> --json # search messages
a2a thread <id> # view thread
a2a stats --json # bus statistics
a2a status done --as bob # mark agent done
a2a clear --yes # wipe database
a2a-spawn # per-CLI launcher for spawning agents
Flags: --project NAME (overrides $A2A_PROJECT > basename of cwd)
Where to go next
.agents/skills/a2a/SKILL.md— Spawn protocol, kit prompt, full skill specAGENTS.md— Doc ownership table, adding/removing files../completion/AGENTS.md— Shell completion setup../examples/AGENTS.md— Agent pattern examples../README.md— Project overview, install, CLI cheatsheet