Background
OpenClaw implements Agent-to-Agent (A2A) communication via session tools:
sessions_list — discover active sessions and their metadata
sessions_history — fetch transcript logs for any session
sessions_send — message another session with optional reply-back
sessions_spawn — spawn a new sub-agent session with configurable model, workspace
This enables coordination: one agent can delegate to another, check status of other agents, share context between agents.
Hermes Agent has delegate_task for spawning sub-agents, but:
- No
sessions_list to discover active sessions
- No
sessions_history to fetch another session's transcript
- No
sessions_send to message a running agent
- Sessions are not persistent/addressable by ID
Proposal
Add A2A session tools:
- sessions_list: Returns all active sessions with metadata (platform, model, last activity)
- sessions_history: Fetch messages from a specific session by ID
- sessions_send: Send a message to another active session; receive a reply
- sessions_spawn (already exists as
delegate_task, but could be enhanced with persistence)
References
- OpenClaw:
docs/concepts/session-tool
Background
OpenClaw implements Agent-to-Agent (A2A) communication via session tools:
sessions_list— discover active sessions and their metadatasessions_history— fetch transcript logs for any sessionsessions_send— message another session with optional reply-backsessions_spawn— spawn a new sub-agent session with configurable model, workspaceThis enables coordination: one agent can delegate to another, check status of other agents, share context between agents.
Hermes Agent has
delegate_taskfor spawning sub-agents, but:sessions_listto discover active sessionssessions_historyto fetch another session's transcriptsessions_sendto message a running agentProposal
Add A2A session tools:
delegate_task, but could be enhanced with persistence)References
docs/concepts/session-tool