Discover and explore top open-source AI tools and projects—updated daily.
elara-labsAI coding token savings via intelligent codebase indexing
Top 96.1% on SourcePulse
Summary
The Code Context Engine (CCE) drastically cuts AI coding token costs and enhances developer workflow by enabling AI agents to search an indexed codebase locally. It offers up to 94% token savings, zero-cloud privacy, faster responses, and cross-session memory for tools like Claude Code, Copilot, and Gemini CLI.
How It Works
CCE indexes code semantically using Tree-sitter, storing local vector embeddings. AI agents query a local MCP server via hybrid vector/BM25 search augmented by code graph traversal. Retrieved code chunks are compressed to signatures/docstrings, with optional output compression further reducing token usage. Decisions and code focus persist across sessions, preventing repetitive explanations. This approach targets expensive input tokens, improving efficiency and cost-effectiveness.
Quick Start & Requirements
uvx --from "code-context-engine[local]" cce init installs, indexes, and configures in ~30 seconds.build-essential on Linux, Xcode on macOS, VS Build Tools on Windows). Ollama recommended.Highlighted Details
sqlite-vec embeddings, hybrid search.Maintenance & Community
No specific details on maintainers, contributors, sponsorships, or community channels were found in the provided README text.
Licensing & Compatibility
Limitations & Caveats
Headline savings are against naive full-file reads; real-world savings may be lower. Recall metrics vary by language/project structure. Tree-sitter support for some languages is pending.
1 day ago
Inactive