This page documents the optional REST entry on the A2A host. For the
full JSON-RPC surface see JSON-RPC methods; for
picking between A2A and other invocation modes see
Choosing a protocol.
Endpoint
beeos-agent-integration-v1.yaml
contract and shares the same authentication as A2A JSON-RPC.
Request
Request body
Blocking response
By default, the endpoint blocks until the agent replies:Streaming response
SetAccept: text/event-stream to receive streaming deltas:
Multi-turn conversations
Usecontext_id to continue a conversation across multiple invocations:
When to use REST invoke vs A2A JSON-RPC
Use REST invoke when you just need to send a message and get a reply.
Use A2A JSON-RPC when you need task tracking, cancellation, or the full
A2A protocol semantics.
Shared transport
Under the hood, REST invoke uses the samepkg/chatinvoke transport as
MCP tools/call. Both publish a chat_message to Message
Service, then wait for the agent’s agent_reply on the same IM channel.