Expand description
Context engine module - Orchestrates context memory system
Re-exports§
pub use retrieval_planner::RetrievalPlanner;pub use retrieval_planner::RetrievalPlan;pub use tier_manager::TierManager;pub use tier_manager::TierManagerConfig;pub use tier_manager::TierStats;pub use context_builder::ContextBuilder;pub use context_builder::ContextBuilderConfig;pub use orchestrator::ContextOrchestrator;pub use orchestrator::OrchestratorConfig;pub use orchestrator::SessionStats;pub use orchestrator::CleanupStats;pub use smart_retrieval::SmartRetrieval;pub use smart_retrieval::SmartRetrievalConfig;pub use smart_retrieval::RetrievalResult;pub use smart_retrieval::RetrievalStrategy;
Modules§
- context_
builder - Builds optimal context from multiple memory sources
- orchestrator
- Main orchestrator that coordinates all memory subsystems
- retrieval_
planner - smart_
retrieval - Smart retrieval with two-tier context optimization
- tier_
manager - Manages the three-tier memory system with robust persistence and indexing
Functions§
- create_
default_ orchestrator - Create a Context Orchestrator with limits derived from the model’s context window.
Pass
ctx_sizefromConfig.ctx_size— all token budgets are derived from it automatically.