Skip to content
Agent Search Engine.

Record · cocoindex-coSDK / libraryCosts not checkedRecord checked Jul 3, 2026

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 Star if you like it!

Best for

Adding AST-based semantic code search to an existing coding agent via MCP or a skill.

Avoid if

You need a full coding agent rather than a search tool.

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.

Recorded project text; capability claims need separate verification.

cocoindex-code is listed in this index written primarily in Python, with 3.0k stars on GitHub. Its latest recorded repository push was in November 2026; that is not an ASE editorial review date.

Install

pipx install 'cocoindex-code[full]'          # batteries included (local embeddings)
For agent buildersMake your product part of the discovery.Explore advertising