We have been working on CocoIndex, a real-time data framework for AI, for a while, with a growing community. We officially crossed 1k stars earlier this week. Thanks to everyone who starred, forked, contributed, or shared the project.
CocoIndex is a data transformation framework with a Rust core engine. It prepares data for AI through embeddings, knowledge graphs, and other transformations.
The design, inspired by spreadsheets, has the framework handle source updates while developers define only a series of data transformations.
Star history so far:
View chart data
| Date | Stars |
|---|---|
| 2025-03-03 | 0 |
| 2025-03-04 | 49 |
| 2025-03-05 | 72 |
| 2025-03-06 | 93 |
| 2025-03-07 | 103 |
| 2025-03-08 | 120 |
| 2025-03-09 | 139 |
| 2025-03-10 | 171 |
| 2025-03-11 | 187 |
| 2025-03-12 | 197 |
| 2025-03-13 | 245 |
| 2025-03-14 | 255 |
| 2025-03-15 | 268 |
| 2025-03-16 | 277 |
| 2025-03-17 | 284 |
| 2025-03-18 | 286 |
| 2025-03-19 | 292 |
| 2025-03-20 | 299 |
| 2025-03-21 | 305 |
| 2025-03-22 | 322 |
| 2025-03-23 | 334 |
| 2025-03-24 | 342 |
| 2025-03-25 | 356 |
| 2025-03-26 | 363 |
| 2025-03-27 | 371 |
| 2025-03-28 | 377 |
| 2025-03-29 | 385 |
| 2025-03-30 | 390 |
| 2025-03-31 | 394 |
| 2025-04-01 | 402 |
| 2025-04-02 | 415 |
| 2025-04-03 | 424 |
| 2025-04-04 | 439 |
| 2025-04-05 | 455 |
| 2025-04-06 | 462 |
| 2025-04-07 | 463 |
| 2025-04-08 | 469 |
| 2025-04-09 | 475 |
| 2025-04-10 | 477 |
| 2025-04-11 | 483 |
| 2025-04-12 | 487 |
| 2025-04-13 | 493 |
| 2025-04-14 | 509 |
| 2025-04-15 | 519 |
| 2025-04-16 | 525 |
| 2025-04-17 | 535 |
| 2025-04-18 | 549 |
| 2025-04-19 | 556 |
| 2025-04-20 | 619 |
| 2025-04-21 | 731 |
| 2025-04-22 | 758 |
| 2025-04-23 | 762 |
| 2025-04-24 | 788 |
| 2025-04-25 | 821 |
| 2025-04-26 | 834 |
| 2025-04-27 | 847 |
| 2025-04-28 | 857 |
| 2025-04-29 | 859 |
| 2025-04-30 | 863 |
| 2025-05-01 | 869 |
| 2025-05-02 | 910 |
| 2025-05-03 | 929 |
| 2025-05-04 | 939 |
| 2025-05-05 | 960 |
| 2025-05-06 | 989 |
| 2025-05-07 | 1003 |
| 2025-05-08 | 1014 |
Cumulative stars per day, counted from the GitHub stargazers API.
What is data flow programming?
Unlike a workflow orchestration framework where data is usually opaque, in CocoIndex, data and data operations are first-class citizens. CocoIndex follows the idea of the dataflow programming model. Each transformation creates a new field solely based on input fields, without hidden state or value mutation. All data before/after each transformation is observable, with lineage out of the box.
For example, this is a kind of data flow: parse files → data mapping → data extraction → knowledge graph.

Users don’t define create, update, or delete operations. Instead they define, for a set of source data, the transformation or formula. The framework takes care of the data operations such as when to create, update, or delete.
With operations like:
# ingest
data['content'] = flow_builder.add_source(...)
# transform
data['out'] = data['content']
.transform(...)
.transform(...)
# collect data
collector.collect(...)
# export to db, vector db, graph db ...
collector.export(...)
How does CocoIndex keep data fresh?
As a data framework, CocoIndex treats data freshness as a core requirement and maintains it through incremental processing.
The framework takes care of:
- Change data capture
- Figuring out what exactly needs to be updated, and updating only that instead of recomputing everything, backed by memoization of computation results.
This makes it fast to reflect any source updates to the target store. If stale data reaching AI agents is a concern, the framework does that freshness work so you don’t build the infrastructure yourself.
Built-in modules and custom modules
Data preparation depends on the use case, and no one solution fits all. Model choice is a balance of quality, performance, and price, and no single option wins every case. Many projects in the data infrastructure ecosystem optimize for different goals: parsers, embedding models, vector DBs, graph DBs, and many others.
We take the composition approach. Instead of building everything, we provide native plugins for parsers, models, and databases, and standardize the interface so any module can be plugged in or swapped.
Our focus is the incremental pipeline and compute engine.
Tooling
Alongside the standard statistics and reports, we also built CocoInsight: a companion UI that connects to your on-premises CocoIndex server to show pipeline data, with zero pipeline data retention. CocoInsight is not part of CocoIndex v1; the screenshots below show the v0 tooling.
As mentioned earlier, CocoIndex is heavily influenced by spreadsheets. CocoInsight reflects this directly: you can see all the data as a table, and how it looks after each transformation.
This is an example of mapping:

Beyond the data transformation insights, the tooling also made LLM transformations visible, for example:
- Inspect the chunking (when the pipeline chunks) and debug why a chunk shows up in search results

- Understand the relation extraction for graphs

The aim was to make the data at each step visible.
Source and discussion
Browse the GitHub repository or discuss CocoIndex and data infrastructure on Discord.
Frequently asked questions
What is CocoIndex?
CocoIndex is a real-time data transformation framework for AI, with its core engine written in Rust. It prepares fresh data for AI (embeddings, knowledge graphs, and other transformations).
The design, inspired by spreadsheets, has the framework handle source updates while developers define only a series of data transformations.
What is dataflow programming and how does CocoIndex use it?
In CocoIndex, data and data operations are first-class citizens, following the dataflow programming model. Each transformation creates a new field solely based on input fields, without hidden state or value mutation, so all data before and after each transformation is observable with lineage out of the box.
How does CocoIndex keep indexed data fresh?
CocoIndex relies on incremental processing: the framework handles change data capture and then figures out exactly what needs to be updated, updating only that instead of recomputing everything. This makes it fast to reflect source updates in the target store.
Developers don't define create, update, or delete operations themselves. They define the transformation for a set of source data, and the framework decides when to create, update, or delete. See How does CocoIndex keep data fresh?
Does CocoIndex have built-in modules, and can I plug in my own?
Yes. CocoIndex takes a composition approach rather than building everything itself: it provides native plugins for parsers, embedding models, vector DBs, graph DBs, and more, and standardizes the interface so you can plug in and swap any module.
What is CocoInsight?
CocoInsight is a companion UI for pipeline insights, described in this post. It has zero pipeline data retention and connects to your on-premises CocoIndex server, showing the data as a table after each transformation, including chunking and relation extraction for graphs. CocoInsight is not part of CocoIndex v1.
See Tooling.
Is CocoIndex open source?
Yes. CocoIndex is open source on GitHub, and this post marks the milestone of crossing 1,000 stars. The source is on GitHub; discussion is on Discord.
Build fresh context for your agents.
CocoIndex keeps derived data in sync with its sources. Only what changed re-runs.


