Skip to main content

Module runtime

Module runtime 

Source

Structsยง

AgentRuntime
The core agent runtime that manages sessions, turns, approvals, and events.
AgentRuntimeOptions
Options for constructing an AgentRuntime.
ApprovalResolver
Resolves pending tool approvals by matching decision ids to waiting receivers. Cloneable so it can be handed to the UI layer.
EventBus
MemoryExtractionModel
Provider selection for the opt-in per-turn memory extractor.
PlanReviewResolver
Resolves pending plan reviews (blocks plan create until the user finishes).
QuestionResolver
Resolves pending interactive questions by matching response ids to waiting receivers. Cloneable so it can be handed to the UI layer.
SessionState
SudoPasswordResolver
Resolves sudo password prompts without putting secrets on the event bus.
TurnCanceller
A lightweight handle that cancels the current turn when dropped or called. Cloneable so it can be handed to the UI layer.