Skip to main content

Module agent

Module agent 

Source
Expand description

Agent handles and the single linear command dispatch loop.

Structs§

Agent
Bidirectional handle consumed by a frontend.
AgentConfig
Dependencies and policy for one agent session.
AgentEvents
Event receiver for frontends that do not own durable event recording.
AgentSender
Cloneable command side of a running agent.

Enums§

AgentRole
Whether one runtime owns the primary conversation or a delegated child task.

Constants§

DEFAULT_MAX_MODEL_STEPS
Default maximum number of primary model steps in one turn.

Functions§

create_agent
Validates capabilities, restores a checkpoint, and starts the agent loop.
validate_submission
Validates one submission before callers perform more expensive boundary work.