Skip to main content

Module managers

Module managers 

Source
Expand description

Manager traits — abstract interfaces for the agent loop’s core responsibilities.

Each manager owns one concern:

  • PromptManager — system prompt assembly
  • MemoryManager — external memory recall and compression
  • ToolManager — tool surface, schemas, execution
  • LlmManager — LLM interaction and stream handling
  • LifecycleManager — state machine and round transitions
  • MiniLoopExecutor — cheap model fast decisions

Re-exports§

pub use lifecycle::LifecycleManager;
pub use llm::LlmManager;
pub use memory::MemoryManager;
pub use mini_loop::MiniLoopExecutor;
pub use prompt::PromptManager;
pub use tool::ToolManager;
pub use adapters::LLMMiniLoopExecutor;

Modules§

adapters
Default adapter implementations — wrap existing runner functions behind manager traits.
lifecycle
llm
memory
mini_loop
prompt
tool