Skip to main content

Module event

Module event 

Source
Expand description

Language-neutral Agent event wire types shared by the broker and Rust SDK.

These types are independent of the current backend ingest request. A delivery plugin may translate an event into its destination’s API without making that remote API part of the broker contract. Agent event compatibility is part of the broker plugin protocol version, so an individual event does not carry a separate schema version.

Structs§

AgentContext
Agent product context attached to one Agent event.
AgentEvent
One event decoded with the contract defined by the active plugin protocol.
DeviceContext
Device context attached to one Agent event.
ImageAttachment
One policy-retained image attachment.
LlmContext
LLM provider and model context attached to one Agent event.
TokenUsage
Normalized non-negative token counters.
ToolCall
One normalized model-requested tool invocation.
ToolResult
One normalized result submitted back to the model after a tool call.

Enums§

AgentEventSide
Request or response side represented by one usage event.
ImageMediaType
Image media types supported by broker plugin protocol version 1.
LlmProvider
Known and extension LLM provider namespaces.