// devtools · cocoindex-io/cocoindex-code

cocoindex-code

cocoindex-code — проект с открытым исходным кодом из категории «Инструменты разработчика» от cocoindex-io (cocoindex-io/cocoindex-code на GitHub). У него 2 772 звезды на GitHub и 229 форков, он распространяется по лицензии Apache-2.0 и последний раз обновлялся на GitHub 6 октября 2026.

Lightweight AST-based semantic code search CLI (ccc) that makes coding agents faster and cheaper

★ 2,8 тыс. звёзд⑂ 229 форковApache-2.0обновлено окт. 2026
▦ визуал — в README этого проекта нет встраиваемого скриншота,
поэтому здесь заглушка. Руководство ниже в любом случае полное.
// факты о проекте

Факты о проекте

Репозиторий
cocoindex-io/cocoindex-code
Звёзды GitHub
2 772
Форки
229
Лицензия
Apache-2.0
Последнее обновление на GitHub
6 октября 2026
Тип страницы
Полное руководство по установке
Официальный сайт
Official site
// как это работает

Как это работает

  1. Clarify your goal

    Decide whether you want direct CLI search, or your coding agent to use semantic search automatically via the Skill/MCP integration.

  2. Get ccc

    Install cocoindex-code[full] with pipx or uv tool for local embeddings, or the slim build if you will use a cloud embedding API.

  3. Install and configure

    Optionally add the agent integration (npx skills add, or claude mcp add cocoindex-code -- ccc mcp), then let it initialize the project.

  4. Run your first search

    Run ccc index if needed, then ccc search "authentication logic" — or just ask your agent to find how something works.

// возможности

Почему его любят

AST-based semantic search

Indexes code by syntax tree (tree-sitter), so search matches code structure and meaning, not just text.

Zero-config start

The README emphasizes a 1-minute setup: install and go; ccc index auto-initializes new projects with defaults.

Agent Skill integration

npx skills add cocoindex-io/cocoindex-code teaches Claude Code and other skill-compatible agents to initialize, index and search on their own.

MCP server mode

ccc mcp runs a stdio MCP server exposing a search tool with refresh_index, language and path filters.

Structural grep

ccc grep finds code by structural example pattern against the syntax tree — no index or embeddings required.

Full CLI toolkit

init, index, search, grep, status, doctor, reset and a background daemon that keeps the index fresh.

Advertisement
// запустите сами

Запустите сами

  1. Clone the repo

    Clone CocoIndex Code if you want the source; most users install the CLI in step 2.

    git clone https://github.com/cocoindex-io/cocoindex-code.git
    cd cocoindex-code
  2. Install the CLI

    Install the batteries-included build as the README recommends.

    pipx install 'cocoindex-code[full]'
    # or: uv tool install --upgrade 'cocoindex-code[full]'
  3. Index and search

    Initialize (optional), build the index, and run a semantic search.

    ccc init
    ccc index
    ccc search "authentication logic"
// сценарии использования

Что можно создать

  • Letting a coding agent explore a large repo without reading whole files
  • Finding where a concept is implemented when you don't know symbol names
  • Onboarding to an unfamiliar codebase with natural-language queries
  • Keeping a fresh semantic index across a long agent session
Advertisement
// вопросы и ответы

Вопросы и ответы

Who maintains CocoIndex Code?

cocoindex-io maintains it, built on their CocoIndex engine.

Is it free?

Yes, Apache-2.0 licensed. The [full] install uses local embeddings with no API key; the slim install needs a cloud embedding provider key.

Does it need a paid API key?

Not with the [full] install — local embeddings (default model Snowflake/snowflake-arctic-embed-xs) work out of the box. The slim install requires a cloud provider.

How does it compare to grep/ripgrep for agents?

Text search finds exact strings. ccc adds AST-aware semantic retrieval with ranked chunks, file paths and line numbers, plus an MCP/Skill interface agents can call directly.

How do I get started?

pipx install 'cocoindex-code[full]', run ccc index in your repo, then ccc search — or add the Skill so your agent does it for you.

// продолжить изучение

Похожие инструменты

Инструменты разработчика

probe

Semantic code search for AI — ripgrep speed with tree-sitter AST parsing.

★ 722 звездыApache-2.0
Смотреть руководство →
Инструменты разработчика

semble

Fast, accurate semantic code search for agents — about 99% fewer tokens than grep plus read.

★ 6,2 тыс. звёздMIT
Смотреть руководство →
Инструменты разработчика

grepai

grepai: semantic code search and call graphs for AI agents, running 100% locally on your machine.

★ 1,9 тыс. звёздMIT
Смотреть руководство →
Инструменты разработчика

Graft

A codebase knowledge graph that makes Claude Code, Cursor, Codex and Gemini faster, cheaper and repo-aware.

★ 9,8 тыс. звёздMIT
Смотреть руководство →
Инструменты разработчика

cc-connect

Bridge local AI coding agents (Claude Code, Cursor, Gemini CLI, Codex) to messaging platforms (Feishu/Lark, DingTalk, Slack, Telegram, Discord, LINE, WeChat …

★ 15,7 тыс. звёздUnknown
Смотреть руководство →
Инструменты разработчика

zvec-grep

zvec-grep (zg): one local CLI unifying ripgrep-style exact search, BM25, and semantic vector search

★ 4,0 тыс. звёздApache-2.0
Смотреть руководство →
// альтернативы

Альтернативы: Инструменты разработчика

Другие проекты из категории «Инструменты разработчика» с наибольшим числом звёзд в каталоге LibreAI — реалистичный список альтернатив, если cocoindex-code вам не подходит.

  • OpenCode★ 211,6 тыс.

    The open source coding agent

  • Transformers★ 166,9 тыс.

    The model-definition framework behind modern AI — thousands of pretrained transformers for text, vision, and audio.

  • claude-code★ 149,7 тыс.

    Anthropic's agentic coding tool that lives in your terminal and works across your whole codebase

  • cc-switch★ 141,3 тыс.

    Cross-platform desktop all-in-one manager for Claude Code, Codex, OpenCode and other coding agents

  • codex★ 128,2 тыс.

    OpenAI's lightweight coding agent that runs locally in your terminal

// ещё в категории devtools

Больше проектов: Инструменты разработчика

Соседние проекты из категории «Инструменты разработчика» в каталоге, ближайшие по числу звёзд к cocoindex-code — продолжайте изучать полку по обе стороны от него.

  • mcp-proxy★ 2,8 тыс.

    A bridge between Streamable HTTP / SSE and stdio MCP transports — connect any client to any server

  • jcodemunch-mcp★ 2,7 тыс.

    Symbol-level code retrieval MCP server (tree-sitter AST) built to slash agent token costs on exploration

  • secure-code-game★ 2,8 тыс.

    Learn to code securely while having fun through our popular open source in-editor experience, designed for developers, students, and anyone curious about sec…

  • claudex-loop★ 2,7 тыс.

    Claude Code skill: four-phase plan hardening (recon, interrogate, Codex adversarial review, cross-model build & inspection) — two AI models harden your plan …

  • harnessrouter★ 2,9 тыс.

    One API for every agent harness — run Codex, Claude Code and more through a single self-hosted interface

  • little-coder★ 2,7 тыс.

    A coding-agent harness optimized for smaller local LLMs — small models, serious coding work

Получить cocoindex-code

Бесплатно и открыто — забирайте исходный код, ставьте звезду репозиторию и начинайте создавать.