Skip to main content

Module runtime

Module runtime 

Source
Expand description

Agent execution runtime: loop, stream handling, task evaluation.

Re-exports§

pub use agent::Agent;
pub use agent::AgentBuilder;
pub use complexity_classifier::ComplexityClassifier;
pub use complexity_classifier::TaskComplexity;
pub use config::AgentLoopConfig;
pub use config::ImageFallbackConfig;
pub use config::ImageFallbackMode;
pub use execution::runner_state::AgentRunner;
pub use execution::runner_state::AgentStatus;
pub use hooks::HookRunner;
pub use managers::LifecycleManager;
pub use managers::LlmManager;
pub use managers::MemoryManager;
pub use managers::MiniLoopExecutor;
pub use managers::PromptManager;
pub use managers::ToolManager;
pub use runner::run_agent_loop;
pub use runner::run_agent_loop_with_config;
pub use runtime::AgentRuntime;
pub use runtime::AgentRuntimeBuilder;
pub use runtime::ExecuteRequest;
pub use task_context::TaskLoopContext;
pub use task_evaluation::evaluate_task_progress;
pub use task_evaluation::TaskEvaluationResult;

Modules§

agent
Stable public API for the agent runtime.
complexity_classifier
Task complexity classifier for dynamic model routing.
config
context
Prompt context builders (extracted from server layer).
execution
Execution orchestration for background agent runs.
hooks
Hook runner — dispatches registered hooks at lifecycle points.
managers
Manager traits — abstract interfaces for the agent loop’s core responsibilities.
runner
Agent loop runner implementation.
runtime
Unified agent execution runtime.
stream
Streaming response handling
task_context
TaskList context for Agent Loop integration
task_evaluation