Skip to main content

Module message

Module message 

Source
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.

Structs§

ExecutionNonce
Signable body of a kernel-issued execution nonce.
NonceBinding
Fields that bind an execution nonce to one tool invocation.
SignedExecutionNonce
Kernel-signed execution nonce carried across agent/kernel transports.

Enums§

AgentMessage
Messages sent from the Agent to the Kernel.
KernelMessage
Messages sent from the Kernel to the Agent.
ToolCallError
Errors that can occur during tool call processing.
ToolCallResult
The outcome of a tool call: either a successful result value or an error.