Skip to main content

Module runtime

Module runtime 

Source
Expand description

Unified agent execution runtime.

AgentRuntime holds shared resources assembled once at server startup, including the LLM provider and default tool executor. ExecuteRequest captures per-request parameters. Together they replace the three duplicated AgentLoopConfig construction sites in the server layer (HTTP handler, spawn scheduler, schedule manager).

Structsยง

AgentRuntime
Shared runtime resources assembled once at server startup.
AgentRuntimeBuilder
Builder for AgentRuntime.
ExecuteRequest
Per-request parameters for agent execution.