cocoindex-code
A super light-weight embedded code search engine CLI (AST based) that just works - saves 70% token and improves speed for coding agent S…
About cocoindex-code
A lightweight, effective (AST-based) semantic code search tool for your codebase. Built on CocoIndex — a Rust-based ultra performant data transformation engine. Use it from the CLI, or integrate with Claude, Codex, Cursor — any coding agent — via Skill or MCP.
Two install styles — they mirror the Docker image variants of the same names: - cocoindex-code[full] — batteries-included. Pulls in sentence-transformers so local embeddings (no API key required) work out of the box. The ccc init interactive prompt defaults to Snowflake/snowflake-arctic-embed-xs. - cocoindex-code (slim) — LiteLLM-only; requires a cloud embedding provider and API key. Use when you don't want the local-embedding deps (~1 GB of torch + transformers).
Next, set up your coding agent integration — or jump to Manual CLI Usage if you prefer direct control.
cocoindex-code is an open-source project written primarily in Python, with 2.4k stars on GitHub. It was last updated in July 2026.
pipx install 'cocoindex-code[full]' # batteries included (local embeddings)cocoindex-code vs. the alternatives
All coding agents →| Agent | Stars | Pricing | ||
|---|---|---|---|---|
| cocoindex-code | 2.4k | Python | Apache-2.0 | Open source |
| gemini-cli | 106k | TypeScript | Apache-2.0 | Open source |
| openinterpreter | 64k | Rust | Apache-2.0 | Open source |
| Skill_Seekers | 14k | Python | MIT | Open source |
| jcode | 8.1k | Rust | MIT | Open source |
| openevolve | 6.6k | Python | Apache-2.0 | Open source |
