Who it is forA developer new to a large codebase.
The problemGrep finds strings, not the code that implements an idea.
The outcomeRanked code results for questions like authentication logic, scoped to your folder.
What you need first
- Python with pipx or uv; install with `pipx install 'cocoindex-code[full]'` for local embeddings
- A coding agent such as Claude Code, Codex, OpenCode or Grok for agent use
- No API key required with the full extra, which uses local SentenceTransformers models
Steps
- Install with
pipx install 'cocoindex-code[full]' - Inside the project run
ccc init, thenccc indexto build the index - Search with
ccc search "authentication logic" - Narrow results with
ccc search --lang python --lang markdown schemaorccc search --path 'src/utils/*' query handler
Prompt for your agent
Using cocoindex-io/cocoindex-code, install it with `pipx install 'cocoindex-code[full]'`, run `ccc index` in <my repo>, and use ccc search to find where <feature> is implemented.
Caveat. Use `ccc search --refresh database schema` style searches to update a stale index first; never index your home directory by accident.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for cocoindex-io/cocoindex-code and "Search your codebase by meaning from the terminal"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer