# CocoIndex

[BASE product page](<https://base.akulich.dev/en/library/cocoindex/>) · [Resource](<https://github.com/cocoindex-io/cocoindex>)

ID: cocoindex · Language: en
Schema version: 1 · Data version: cbbe7123b47a5ae80983

This is editorial data. An unknown field neither confirms nor rules out a capability.
dataVersion is a dataset fingerprint, not evidence of a recent fact check.

An incremental data transformation framework: it builds continuously updated indexes and embeddings from changing sources for AI applications\.

## Type

Backend / API library

## Entry type

library

## Separate catalog

No

## [Access conditions](<https://base.akulich.dev/en/library/cocoindex/#resource-access>)

free

## [What you can use for free](<https://base.akulich.dev/en/library/cocoindex/#resource-access>)

Code and local use under Apache\-2\.0\.

## [Paid features and costs](<https://base.akulich.dev/en/library/cocoindex/#resource-access>)

Computing resources, self\-hosting, and external services are paid for separately if used\.

## [Access and limitations](<https://base.akulich.dev/en/library/cocoindex/#resource-access>)

Code and local use under Apache\-2\.0\. Computing resources, self\-hosting, and external services are paid for separately if used\.

## [Use cases](<https://base.akulich.dev/en/library/cocoindex/#resource-tasks>)

- Maintain an up\-to\-date AI application index
- Change part of a source and verify incremental updates to the corresponding records

## Category IDs

- backend
- ai

## Subcategory IDs

- backend\.api
- ai\.retrieval

## Tags

- CocoIndex
- API
- Development

## Also known as

- cocoindex\-io/cocoindex
- cocoindex
- coco\-index

## [Selection purpose](<https://base.akulich.dev/en/library/cocoindex/#resource-selection>)

Maintain an up\-to\-date AI application index

## [Choose this when](<https://base.akulich.dev/en/library/cocoindex/#resource-selection>)

- Maintain an up\-to\-date AI application index
- Change part of a source and verify incremental updates to the corresponding records

## [Requirements](<https://base.akulich.dev/en/library/cocoindex/#resource-selection>)

- For v1: Python 3\.11–3\.13 according to current documentation, and a COCOINDEX\_DB/db\_path path for internal LMDB\. Postgres is needed when choosing that target\. Legacy v0 setup separately requires Postgres for incremental processing\.

## [Limitations](<https://base.akulich.dev/en/library/cocoindex/#resource-selection>)

- Costs and limits of free use: Computing resources, self\-hosting, and external services are paid for separately if used\.
- Terms of use: Apache\-2\.0 for the code; third\-party components retain their own terms\.

## [Questions before use](<https://base.akulich.dev/en/library/cocoindex/#resource-faq>)

### What can you use for free in CocoIndex?

Code and local use under Apache\-2\.0\.

### What additional costs might arise with CocoIndex?

Computing resources, self\-hosting, and external services are paid for separately if used\.

### What terms of use matter for CocoIndex?

Apache\-2\.0 for the code; third\-party components retain their own terms\.

### How do you get started with CocoIndex?

Define a data source and transformations leading to embeddings or another index\. Change part of a source and verify incremental updates to the corresponding records\. Add error handling and an integration check of the result\.

### Must every target index record be updated manually?

No: CocoIndex incrementally reprocesses changed sources or logic\. In legacy v0, flow\_def/dataflow connects the source, transformations, collector, and export; the example chunks Markdown, generates embeddings, and exports them to Postgres\. Current v1 uses App, coco\.fn, and mount\_each; internal target states and memo results are stored in LMDB\. The v1 example converts PDFs to Markdown in a local folder\. Choose examples and APIs explicitly by major version\. Legacy v0 documentation also describes observable data before and after transformation and lineage; CocoInsight displays flow schemas and data through an HTTP server\.

## Sources for the selection guide

- [https://github\.com/cocoindex\-io/cocoindex](<https://github.com/cocoindex-io/cocoindex>)
- [https://raw\.githubusercontent\.com/cocoindex\-io/cocoindex/HEAD/README\.md](<https://raw.githubusercontent.com/cocoindex-io/cocoindex/HEAD/README.md>)
- [https://raw\.githubusercontent\.com/cocoindex\-io/cocoindex/HEAD/LICENSE](<https://raw.githubusercontent.com/cocoindex-io/cocoindex/HEAD/LICENSE>)
- [https://www\.open\-source\-tools\.com/](<https://www.open-source-tools.com/>)
- [https://cocoindex\.io/docs\-v0/](<https://cocoindex.io/docs-v0/>)
- [https://cocoindex\.io/docs\-v0/cocoinsight\_access/](<https://cocoindex.io/docs-v0/cocoinsight_access/>)
- [https://cocoindex\.io/docs\-v0/getting\_started/overview/](<https://cocoindex.io/docs-v0/getting_started/overview/>)
- [https://cocoindex\.io/docs/advanced\_topics/internal\_storage/](<https://cocoindex.io/docs/advanced_topics/internal_storage/>)
- [https://cocoindex\.io/docs/getting\_started/installation/](<https://cocoindex.io/docs/getting_started/installation/>)
- [https://cocoindex\.io/docs/getting\_started/quickstart/](<https://cocoindex.io/docs/getting_started/quickstart/>)
- [https://raw\.githubusercontent\.com/cocoindex\-io/cocoindex/main/README\.md](<https://raw.githubusercontent.com/cocoindex-io/cocoindex/main/README.md>)

## [Possible workflow](<https://base.akulich.dev/en/library/cocoindex/#resource-scenario>)

Maintain an up\-to\-date AI application index\.

A possible workflow; this is not a report of hands-on testing.

## Before you start

- A data contract or HTTP workflow\.
- A project with a supported runtime\.

## Steps

1. Define a data source and transformations leading to embeddings or another index\.
2. Change part of a source and verify incremental updates to the corresponding records\.
3. Add error handling and an integration check of the result\.

## Check your result

- Invalid and missing data are handled predictably\.
- Types and the actual response agree; errors are not hidden\.

## [License](<https://base.akulich.dev/en/library/cocoindex/#resource-license>)

Apache\-2\.0 for the code; third\-party components retain their own terms\.

## License explanations for the specified scope

### Apache 2\.0 — permissive license with patent terms

You can use and modify the code in commercial and closed\-source projects\. When distributing it, retain the license and relevant notices, identify modified files, and include NOTICE if provided\. Authors grant a limited patent license for their contributions; it does not grant permission to use trademarks\.

[License terms](<https://www.apache.org/licenses/LICENSE-2.0>)

## [Sources](<https://base.akulich.dev/en/library/cocoindex/#resource-sources>)

- [Official source](<https://github.com/cocoindex-io/cocoindex>)
- [Official source](<https://raw.githubusercontent.com/cocoindex-io/cocoindex/HEAD/README.md>)
- [License](<https://raw.githubusercontent.com/cocoindex-io/cocoindex/HEAD/LICENSE>)
- [Catalog / discovery source](<https://www.open-source-tools.com/>)
- [Official documentation](<https://cocoindex.io/docs-v0/>)
- [Official documentation](<https://cocoindex.io/docs-v0/cocoinsight_access/>)
- [Official documentation](<https://cocoindex.io/docs-v0/getting_started/overview/>)
- [Official documentation](<https://cocoindex.io/docs/advanced_topics/internal_storage/>)
- [Official documentation](<https://cocoindex.io/docs/getting_started/installation/>)
- [Official documentation](<https://cocoindex.io/docs/getting_started/quickstart/>)
- [Official documentation](<https://raw.githubusercontent.com/cocoindex-io/cocoindex/main/README.md>)

## Editorial review date

2026\-10\-06

## Editorial review scope

The purpose, current repository license, and separate terms for code, services, and models have been reviewed\. The product was not run, and no security audit was performed\.

Dates refer to the stated editorial review, not hands-on testing, a product update, or a recent review of all sources.
