https://github.com/cocoindex-io/cocoindex
Incremental engine for long horizon agents 🌟 Star if you like it!
https://github.com/cocoindex-io/cocoindex
agentic-data-framework ai ai-agents change-data-capture codebase-intelligence context-engineering data-engineering data-indexing data-processing etl help-wanted indexing knowledge-graph llm long-horizon-agent python rag real-time rust semantic-search
Last synced: 20 days ago
JSON representation
Incremental engine for long horizon agents 🌟 Star if you like it!
- Host: GitHub
- URL: https://github.com/cocoindex-io/cocoindex
- Owner: cocoindex-io
- License: apache-2.0
- Created: 2025-03-03T23:03:09.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2026-06-09T06:37:51.000Z (29 days ago)
- Last Synced: 2026-06-09T08:26:12.800Z (29 days ago)
- Topics: agentic-data-framework, ai, ai-agents, change-data-capture, codebase-intelligence, context-engineering, data-engineering, data-indexing, data-processing, etl, help-wanted, indexing, knowledge-graph, llm, long-horizon-agent, python, rag, real-time, rust, semantic-search
- Language: Rust
- Homepage: https://cocoindex.io
- Size: 108 MB
- Stars: 10,227
- Watchers: 50
- Forks: 801
- Open Issues: 61
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
- Security: .github/SECURITY.md
- Agents: AGENTS.md
Awesome Lists containing this project
- awesome-ccamel - cocoindex-io/cocoindex - Incremental engine for long horizon agents 🌟 Star if you like it! (Rust)
- fucking-awesome-rust - cocoindex - ETL framework to build fresh index (Libraries / Data processing)
- awesome-rust - cocoindex - ETL framework to build fresh index (Libraries / Data processing)
- awesome-graph-universe - CocoIndex - active-brightgreen)  - ETL to build real-time Knowledge Graph with incremental processing, support custom logic. (Graph ETL / Triple Stores (RDF Databases))
- trackawesomelist - CocoIndex (⭐199) - ETL framework to build fresh index for AI, with realtime incremental updates. (Recently Updated / [Mar 15, 2025](/content/2025/03/15/README.md))
- StarryDivineSky - cocoindex-io/cocoindex - io/cocoindex 是一个为人工智能设计的实时数据转换框架。它具有超高性能,并支持增量处理,这意味着它只处理数据的变化部分,而不是每次都处理整个数据集,从而提高效率。该框架主要用于快速转换和处理AI模型所需的数据。具体实现细节和使用方法请参考项目文档。该项目旨在提供一种高效、实时的数据处理解决方案,以满足AI应用对数据处理速度和效率的需求。专为AI打造的超高性能数据转换框架,核心引擎采用Rust编写。开箱即支持增量处理与数据血缘追踪。提供卓越的开发效率,从第0天起即具备生产就绪能力。 (A01_文本生成_文本对话 / 大语言对话模型及数据)
- AiTreasureBox - cocoindex-io/cocoindex - 01-03_5633_28](https://img.shields.io/github/stars/cocoindex-io/cocoindex.svg)|Data transformation framework for AI. Ultra performant, with incremental processing. 🌟 Star if you like it!| (Repos)
- awesome-streaming - CocoIndex - ETL framework to build fresh index for AI, with realtime incremental updates. (Table of Contents / Streaming Engine)
- Awesome-RAG - CocoIndex
- awesome - cocoindex-io/cocoindex - Incremental engine for long horizon agents 🌟 Star if you like it! (Rust)
- awesome-data-engineering - CocoIndex - An open source ETL framework to build fresh index for AI. (Stream Processing)
- awesome-ai-agents - cocoindex-io/cocoindex - CoCoIndex is an ultra-performant data transformation framework for AI, specializing in incremental processing for data indexing and real-time semantic search with Python and Rust. (Corporate and Analytical Applications / Data Integration and Specialized Solutions)
- awesome-rust-with-stars - cocoindex - 01-30 | (Libraries / Data processing)
- awesome - cocoindex-io/cocoindex - Data transformation framework for AI. Ultra performant, with incremental processing. 🌟 Star if you like it! (<a name="Rust"></a>Rust)
- best-of-python - GitHub - 17% open · ⏱️ 14.04.2026): (Data Pipelines & Streaming)
- awesome-rag - CocoIndex
- awesome-github-repos - cocoindex-io/cocoindex - Incremental engine for long horizon agents 🌟 Star if you like it! (Rust)
- Awesome-GitHub-Repo - CocoIndex - 代码库智能索引和搜索工具,利用 AI 理解代码语义,支持自然语言搜索代码、跨仓库检索和知识图谱生成,提升代码复用效率。 (开源工具 / 好用工具)
- awesome-github-projects - cocoindex - Incremental engine for long horizon agents 🌟 Star if you like it! ⭐10,613 `Rust` 🔥 (🤖 AI & Machine Learning)
README
Your agents deserve fresh context.
CocoIndex turns codebases, meeting notes, inboxes, Slack, PDFs, and videos into live, continuously fresh context for your AI agents and LLM apps to reason over effectively — with minimal incremental processing. Get your production AI agent ready in 10 minutes with reliable, continuously fresh data — no stale batches, no context gap
Incremental · only the delta · Any scale · parallel by default · Declarative · Python, 5 min
[](https://github.com/cocoindex-io/cocoindex)
[](https://pepy.tech/projects/cocoindex)
[](https://pypi.org/project/cocoindex/)
[](https://www.python.org/)
[](https://www.rust-lang.org/)
[](https://opensource.org/licenses/Apache-2.0)
[](https://discord.com/invite/zpA9S2DR7s)
[](https://github.com/cocoindex-io/cocoindex/actions/workflows/CI.yml)
[](https://github.com/cocoindex-io/cocoindex/actions/workflows/release.yml)
[](https://github.com/cocoindex-io/cocoindex/actions/workflows/links.yml)
[Deutsch](https://readme-i18n.com/cocoindex-io/cocoindex?lang=de) |
[English](https://readme-i18n.com/cocoindex-io/cocoindex?lang=en) |
[Español](https://readme-i18n.com/cocoindex-io/cocoindex?lang=es) |
[français](https://readme-i18n.com/cocoindex-io/cocoindex?lang=fr) |
[日本語](https://readme-i18n.com/cocoindex-io/cocoindex?lang=ja) |
[한국어](https://readme-i18n.com/cocoindex-io/cocoindex?lang=ko) |
[Português](https://readme-i18n.com/cocoindex-io/cocoindex?lang=pt) |
[Русский](https://readme-i18n.com/cocoindex-io/cocoindex?lang=ru) |
[中文](https://readme-i18n.com/cocoindex-io/cocoindex?lang=zh)
Built with CocoIndex ❤️
See all 20+ examples · updated every week →
Get started
```sh
pip install -U cocoindex
```
Declare *what* should be in your target — CocoIndex keeps it in sync forever, recomputing only the Δ.
```python
import cocoindex as coco
from cocoindex.connectors import localfs, postgres
from cocoindex.ops.text import RecursiveSplitter
@coco.fn(memo=True) # ← cached by hash(input) + hash(code)
async def index_file(file, table):
for chunk in RecursiveSplitter().split(await file.read_text()):
table.declare_row(text=chunk.text, embedding=embed(chunk.text))
@coco.fn
async def main(src):
table = await postgres.mount_table_target(PG, table_name="docs")
table.declare_vector_index(column="embedding")
await coco.mount_each(index_file, localfs.walk_dir(src).items(), table)
coco.App(coco.AppConfig(name="docs"), main, src="./docs").update_blocking()
```
Run once to backfill. Re-run anytime — only the changed files re-embed.
Building with an AI coding agent?
Drop in our CocoIndex skill so your agent writes correct v1 code — concepts, APIs, patterns, all in one file.
See Use with AI coding agents for install steps.
React — for data engineering
See the React ↔ CocoIndex mental model →
Incremental engine for long-horizon agents
Data transformation for any engineer, designed for AI workloads —
with a smart incremental engine for always-fresh, explainable data.
Why incremental?
Your agents are only as good as the data they see.
Batch pipelines drift stale. CocoIndex stays live — and only runs the Δ.
What can you build?
See all 20+ examples · updated every week →
Working starters from the examples tree — clone, plug your source, ship.

Building something with CocoIndex? We want to see it.
Tag @cocoindex_io on X or drop a link in #showcase on Discord. We'll boost it. 🥥
Community
We are so excited to meet you.
Every typo fix, new connector, doc tweak, or full-on rewrite makes CocoIndex better.
Come hang out — big PRs and small ones, both welcome.
📝 Read the contributing guide ·
🐛 good first issues ·
💬 Say hi on Discord
CocoIndex Enterprise
Large corpus — built for enterprise scale.
Incremental compute is the only way to keep large corpora fresh without re-embedding them every cycle.
CocoIndex scales from a single repo to petabyte-scale stores — parallel by default, delta-only by design.
Process once. Reconcile forever.
When a source changes, CocoIndex identifies the affected records, propagates the change
across joins and lookups, updates the target, and retires stale rows —
without touching anything that didn't change.
Built on a Rust engine.
The core is Rust — production-grade from day zero.
Parallel chunking, zero-copy transforms where possible, and failure isolation
so one bad record doesn't stall the flow.
Apache 2.0 · © CocoIndex contributors 🥥