Expand description
AGCodex Context Engine scaffolding.
This module provides compile-safe placeholders for the AST-RAG system described in PLANS.md (ast_compactor, semantic_index, retrieval, embeddings, cache). Implementations are intentionally minimal and do not pull heavy dependencies yet. They serve as stable integration points to progressively wire in functionality.
Re-exports§
pub use ast_compactor::AstCompactor;pub use ast_compactor::CompactOptions;pub use ast_compactor::CompactResult;pub use cache::Cache;pub use cache::InMemoryCache;pub use embeddings::EmbeddingError;pub use embeddings::EmbeddingModel;pub use embeddings::EmbeddingModelBridge;pub use embeddings::EmbeddingVector;pub use embeddings::NoOpEmbeddingModel;pub use retrieval::ContextRetriever;pub use retrieval::RetrievalQuery;pub use retrieval::RetrievalResult;pub use semantic_index::FileId;pub use semantic_index::SemanticIndex;pub use semantic_index::SymbolInfo;
Modules§
- ast_
compactor - AST Compactor scaffolding. Compresses code to signatures/structure for efficient context.
- cache
- Simple cache scaffolding for context engine.
- embeddings
- Embeddings abstraction for the Context Engine.
- retrieval
- Retrieval scaffolding for the Context Engine.
- semantic_
index - Semantic index scaffolding for the Context Engine. Provides placeholder types and an in-memory stub.