Directory · Coding agents
CocoIndex Code
AST-based semantic code search CLI and MCP server that lets coding agents like Claude Code and Codex find code by description.
★ 2,999 stars · last updated 2026-11-25 · Free, open source · View on GitHub
Best for
- Giving Claude Code, Codex, OpenCode or Cursor semantic search over a local codebase
- Reducing tokens spent by agents exploring unfamiliar repositories
- Finding implementations by natural language query without knowing exact names
- Developers who want local embeddings with no API key
Install
pipx install 'cocoindex-code[full]'
npx skills add cocoindex-io/cocoindex-code
Our take
Built on the Rust-based CocoIndex engine, it uses tree-sitter AST chunking and ships as a skill, Claude Code plugin marketplace, Grok and Oh My Pi plugin, or a `ccc mcp` stdio server exposing a single `search` tool. The full install pulls in roughly 1 GB of torch and transformers for local embeddings, while the slim install requires a cloud embedding provider via LiteLLM. The 70% token saving figure is the project's own claim and is not independently verified in the README.
Similar coding agents
- Open Interpreter: Terminal coding agent forked from OpenAI Codex, tuned to emulate provider harnesses for low-cost open models like Kimi K3 and GLM.
- AI Agents in Depth (深入理解 AI Agent): Open-source book by Bojie Li on AI agent design and engineering, with 10 chapters and 109 companion experiments in Python.
- Codewhale: Open-source Rust terminal coding agent that works with 40+ model providers or local models, with approvals, receipts and undo.
- Reasonix: Open-source coding agent for terminal, desktop, browser and editor that reads code, edits files and runs commands with any OpenAI-compatible model.
- DSH Go: Unofficial Android client for DeepSeek Harness that runs the agent on-device or remotely controls DSH on your computer.
- Qwen Code: Open-source terminal coding agent with IDE, desktop, web, and chat interfaces, supporting Qwen, OpenAI, Anthropic, Gemini, and local models.