Skip to main content

Module agent

Module agent 

Source

Structs§

Agent
The core agent — runs the ReAct loop (reason, act, observe).
AgentHandle
Handle for controlling the agent from outside.
IncompleteToolRecovery
NextActionAssessment
PlannedToolCall
RecoveryCheckpoint
RecoveryLedger
RecoveryReconciliation
TimingEvent
ToolPlan
TurnState
Minimal visible state for a turn. This is the first slice of making turn state explicit; later slices can add durable IDs and recovery cursors.

Enums§

AgentCommand
Commands sent to the agent (from UI or orchestrator).
AgentEvent
Events emitted by the agent during execution.
ContinueReason
Why the agent is allowed to spend another turn.
IncompleteToolState
LoopDecision
NextActionDebugView
RecoveryCheckpointKind
RunFinalStatus
StopReason
Semantic reason the runtime stopped intentionally.
TimingStage
ToolExecutionMode
ToolRisk
Tool risk visible before execution. This is deliberately conservative and can be refined as tool metadata grows.
TurnPhase
Coarse-grained phase of a single agent turn.