Skip to main content

Module run_protocol

Module run_protocol 

Source
Expand description

Stable, provider-neutral contracts for embedding and remotely hosting MicroClaw runs.

These types intentionally contain no Server, UI, database, or model-provider details. The same request and lifecycle model is shared by embedded runtimes, local workers, and remote workers.

Structs§

AgentId
AgentProfile
CallerContext
RunId
RunRequest
RunResult
RuntimeCapabilities
RuntimeError
SessionId
WorkerDescriptor
WorkerHealth
WorkerId

Enums§

RunStatus
RuntimeControl
RuntimeErrorCode
ToolPolicy
WorkerCommand
Transport-neutral command vocabulary for a remote Worker endpoint.
WorkerFrame
Frames returned by a Worker transport. Events and the terminal result may be streamed over WebSocket/SSE or represented by repeated polling without changing their JSON shape.
WorkerHealthStatus

Constants§

WORKER_PROTOCOL_VERSION

Functions§

validate_worker_protocol_version