Expand description
Protocol messages between Agent and Kernel.
All messages are serialized as length-prefixed canonical JSON (RFC 8785).
The Agent sends AgentMessage variants; the Kernel responds with
KernelMessage variants.
Enumsยง
- Agent
Message - Messages sent from the Agent to the Kernel.
- Kernel
Message - Messages sent from the Kernel to the Agent.
- Tool
Call Error - Errors that can occur during tool call processing.
- Tool
Call Result - The outcome of a tool call: either a successful result value or an error.