ContextWeaver

•

Develops a comprehensive context infrastructure and project memory engine to empower AI coding assistants with efficient code retrieval and knowledge management.

ContextWeaver evolves beyond a mere semantic code retriever, establishing itself as a holistic context infrastructure for AI coding assistants. It intelligently bridges the gap between raw code and AI comprehension by employing hybrid retrieval methods, including vector, FTS, RRF fusion, and reranking to pinpoint relevant code segments. The system integrates advanced project memory capabilities to store feature definitions, architectural decisions, and project profiles, complemented by a long-term memory for non-code information. Furthermore, its cross-project hub facilitates knowledge sharing and dependency analysis across multiple repositories, all supported by an asynchronous indexing pipeline, robust observability, and optimization features to ensure retrieval reliability and performance.

Características Principales

01Cross-Project Knowledge Sharing: Enables project registration, shared memory search, relationship graph visualization, and recursive dependency analysis.
02Comprehensive Project Memory Hub: Manages feature memory, architectural decisions, project profiles, and long-term memory for external references.
03Retrieval Observability & Optimization: Provides detailed telemetry, usage tracking, and actionable reports for monitoring retrieval performance and optimizing indexing.
04Hybrid Retrieval System: Combines semantic, lexical (FTS), and RRF fusion with reranking for precise code context retrieval.
05Asynchronous Indexing & Reliability: Features a daemon-driven SQLite queue for decoupled indexing, snapshot storage, and atomic switching for robust index updates.
060 GitHub stars

Casos de Uso

01Facilitating knowledge reuse and dependency tracing across multiple related projects, enhancing cross-project development efficiency for AI.
02Establishing and maintaining a centralized, intelligent knowledge base for project-specific information and architectural decisions accessible by AI agents.
03Empowering AI coding assistants with deep, context-aware understanding of codebases for tasks like code generation, debugging, and refactoring.