ContextWeaver
Provides a semantic retrieval engine for AI code assistants, offering precise and contextually rich code snippets to Large Language Models.
ContextWeaver serves as a sophisticated semantic retrieval engine specifically engineered for AI code assistants. It employs a multi-faceted approach, combining hybrid search (vector and lexical), intelligent context expansion, and token-aware packing strategies to deliver highly accurate, relevant, and contextually complete code snippets to Large Language Models. This ensures AI agents can effectively navigate and understand complex codebases for various development tasks, enhancing their ability to generate, analyze, and assist with code.
Características Principales
01Smart TopK strategy for intelligent result truncation
02Native Model Context Protocol (MCP) server support for AI agent integration
03AST semantic chunking with Tree-sitter for multiple languages
04Three-stage context expansion (neighbor, breadcrumb, import parsing)
050 GitHub stars
06Hybrid retrieval engine for semantic and lexical code search
Casos de Uso
01Performing semantic and lexical searches within a codebase to find specific code logic
02Providing relevant code context to AI code assistants for various tasks
03Integrating with AI agents like Claude Desktop to enhance codebase understanding