{"schemaVersion":1,"id":"cocoindex","name":"CocoIndex","locale":"en","canonicalUrl":"https://base.akulich.dev/en/library/cocoindex/","officialUrl":"https://github.com/cocoindex-io/cocoindex","isCatalog":false,"description":"An incremental data transformation framework: it builds continuously updated indexes and embeddings from changing sources for AI applications.","tasks":["Maintain an up-to-date AI application index","Change part of a source and verify incremental updates to the corresponding records"],"categoryIds":["backend","ai"],"subcategoryIds":["backend.api","ai.retrieval"],"tags":["CocoIndex","API","Development"],"aliases":["cocoindex-io/cocoindex","cocoindex","coco-index"],"platforms":[],"stack":[],"compatibility":null,"pricing":"free","freeUsage":"Code and local use under Apache-2.0.","paidUsage":"Computing resources, self-hosting, and external services are paid for separately if used.","license":"Apache-2.0 for the code; third-party components retain their own terms.","selectionGuide":{"purpose":"Maintain an up-to-date AI application index","chooseWhen":["Maintain an up-to-date AI application index","Change part of a source and verify incremental updates to the corresponding records"],"considerInstead":[],"requirements":["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":["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."],"faq":[{"question":"What can you use for free in CocoIndex?","answer":"Code and local use under Apache-2.0."},{"question":"What additional costs might arise with CocoIndex?","answer":"Computing resources, self-hosting, and external services are paid for separately if used."},{"question":"What terms of use matter for CocoIndex?","answer":"Apache-2.0 for the code; third-party components retain their own terms."},{"question":"How do you get started with CocoIndex?","answer":"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."},{"question":"Must every target index record be updated manually?","answer":"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."}],"related":[],"sources":["https://github.com/cocoindex-io/cocoindex","https://raw.githubusercontent.com/cocoindex-io/cocoindex/HEAD/README.md","https://raw.githubusercontent.com/cocoindex-io/cocoindex/HEAD/LICENSE","https://www.open-source-tools.com/","https://cocoindex.io/docs-v0/","https://cocoindex.io/docs-v0/cocoinsight_access/","https://cocoindex.io/docs-v0/getting_started/overview/","https://cocoindex.io/docs/advanced_topics/internal_storage/","https://cocoindex.io/docs/getting_started/installation/","https://cocoindex.io/docs/getting_started/quickstart/","https://raw.githubusercontent.com/cocoindex-io/cocoindex/main/README.md"]},"selectionCheckedAt":null,"applicationGuide":{"goal":"Maintain an up-to-date AI application index.","inputs":["A data contract or HTTP workflow.","A project with a supported runtime."],"steps":["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."],"checks":["Invalid and missing data are handled predictably.","Types and the actual response agree; errors are not hidden."]},"sources":["https://github.com/cocoindex-io/cocoindex","https://raw.githubusercontent.com/cocoindex-io/cocoindex/HEAD/README.md","https://raw.githubusercontent.com/cocoindex-io/cocoindex/HEAD/LICENSE","https://www.open-source-tools.com/","https://cocoindex.io/docs-v0/","https://cocoindex.io/docs-v0/cocoinsight_access/","https://cocoindex.io/docs-v0/getting_started/overview/","https://cocoindex.io/docs/advanced_topics/internal_storage/","https://cocoindex.io/docs/getting_started/installation/","https://cocoindex.io/docs/getting_started/quickstart/","https://raw.githubusercontent.com/cocoindex-io/cocoindex/main/README.md"],"checkedAt":"2026-10-06","reviewScope":"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.","relatedIds":[],"dataVersion":"cbbe7123b47a5ae80983","type":"Backend / API library","kind":"library","pricingNote":"Code and local use under Apache-2.0. Computing resources, self-hosting, and external services are paid for separately if used.","notes":null,"labeledSources":[{"url":"https://github.com/cocoindex-io/cocoindex","label":"Official source"},{"url":"https://raw.githubusercontent.com/cocoindex-io/cocoindex/HEAD/README.md","label":"Official source"},{"url":"https://raw.githubusercontent.com/cocoindex-io/cocoindex/HEAD/LICENSE","label":"License"},{"url":"https://www.open-source-tools.com/","label":"Catalog / discovery source"},{"url":"https://cocoindex.io/docs-v0/","label":"Official documentation"},{"url":"https://cocoindex.io/docs-v0/cocoinsight_access/","label":"Official documentation"},{"url":"https://cocoindex.io/docs-v0/getting_started/overview/","label":"Official documentation"},{"url":"https://cocoindex.io/docs/advanced_topics/internal_storage/","label":"Official documentation"},{"url":"https://cocoindex.io/docs/getting_started/installation/","label":"Official documentation"},{"url":"https://cocoindex.io/docs/getting_started/quickstart/","label":"Official documentation"},{"url":"https://raw.githubusercontent.com/cocoindex-io/cocoindex/main/README.md","label":"Official documentation"}],"licenseGuides":[{"id":"apache-2","title":"Apache 2.0 — permissive license with patent terms","scope":null,"summary":"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.","url":"https://www.apache.org/licenses/LICENSE-2.0"}],"entryIds":[],"composition":null}