Discover and explore top open-source AI tools and projects—updated daily.
cocoindex-ioSuper-lightweight code indexing for AI agents
Top 47.3% on SourcePulse
A lightweight, embedded, AST-based code indexing solution designed to significantly reduce token usage and improve speed for AI coding agents. It targets developers using agents like Claude, Codex, and Cursor, offering up to 70% token savings and faster code understanding through efficient codebase indexing.
How It Works
This project leverages CocoIndex, a Rust-based, ultra-performant data transformation engine, to create an Abstract Syntax Tree (AST) based Memory Codebase Proxy (MCP). It intelligently indexes codebases, re-indexing only changed files to ensure rapid updates. This approach avoids complex database setups and provides direct code understanding capabilities.
Quick Start & Requirements
pip3 install -U cocoindex-codeclaude mcp add cocoindex-code -- cocoindex-code. An index is automatically built and updated in the background, or can be manually created with cocoindex-code index.Highlighted Details
grep and saving tokens.all-MiniLM-L6-v2) without API keys, but supports over 100 cloud providers and local models via LiteLLM for customized semantic understanding.Maintenance & Community
The project features active CI/release workflows and provides a Discord community link for support and discussion. Enterprise inquiries regarding large codebase indexing and remote setup can be directed to linghua@cocoindex.io.
Licensing & Compatibility
The project is licensed under the Apache-2.0 license, permitting commercial use and integration. It is designed to be compatible with various coding agents, including Claude, Codex, and Cursor.
Limitations & Caveats
Users on macOS may encounter sqlite3 issues if using the system's default Python installation; installing Python via Homebrew is recommended. Switching embedding models requires re-indexing the codebase due to differing vector dimensions. Advanced enterprise features for very large codebases are available but may necessitate direct contact.
1 day ago
Inactive
yetone