All 140 Dependencies

Every package cocoindex depends on, ranked by repo health score.

CocoIndex is an open-source framework that solves one of the most persistent problems in production AI applications: stale context. Traditional RAG pipelines re-index entire datasets on every run, wasting compute and introducing latency. CocoIndex flips this model by tracking exactly which source documents changed and recomputing only the affected delta — so your vector stores, knowledge graphs, and search indexes stay continuously synchronized with their upstream sources.

The framework ships a declarative Python API where you describe the desired state of your index — sources, transformations, and target stores — and CocoIndex's incremental engine maintains that contract automatically. Functions marked with `memo=True` are content-addressed by hash, meaning identical inputs never get re-embedded or re-transformed, regardless of how many times you run the pipeline. This cache-first approach delivers dramatic savings: typical re-indexing runs achieve 80-90% cache hit rates on unchanged content.

Under the hood, CocoIndex's core engine is written in Rust and exposed to Python via PyO3, giving you native performance for the heavy lifting while retaining the expressiveness of Python for pipeline definition. The connector ecosystem spans local filesystems, PostgreSQL, Google Drive, Amazon S3, Kafka, Neo4j, FalkorDB, and a dozen vector stores including pgvector, Qdrant, LanceDB, and SurrealDB. A first-party MCP server called CocoIndex-code extends the framework into AI coding agents, giving tools like Claude Code and Cursor AST-aware, incrementally refreshed views of entire repositories.

CocoIndex targets teams building production AI systems that require reliable, low-latency context retrieval at scale. Whether you are building a semantic code search tool, a meeting-notes knowledge graph, a multi-modal image search pipeline, or a document Q&A system, CocoIndex handles the infrastructure of keeping derived indexes in sync so application logic can focus on reasoning rather than data plumbing.

9 tree-sitter-astro-next 0.1.1 10 tree-sitter-vue-next 0.1.0 19 tree-sitter-svelte-ng 1.0.2 21 tree-sitter-kotlin-ng 1.1.0 22 page_size 0.6 24 tree-sitter-toml 0.7.0 28 mdast-util-to-string ^4.0.0 29 tree-sitter-pascal 0.10.2 33 tree-sitter-fortran 0.5.1 outdated 35 tree-sitter-xml 0.7.0 36 tree-sitter-yaml 0.7.2 38 remark-directive ^4.0.0 41 tree-sitter-hcl 1.1.0 41 unist-util-visit ^5.0.0 42 tree-sitter-css 0.23.2 outdated 43 tree-sitter-html 0.23.2 44 tree-sitter-java 0.23.5 44 tree-sitter-julia 0.23.1 44 tree-sitter-solidity 1.2.13 45 tree-sitter-bash 0.25.1 45 tree-sitter-go 0.23.4 outdated 45 tree-sitter-javascript 0.23.1 outdated 45 tree-sitter-python 0.23.6 outdated 45 tree-sitter-typescript 0.23.2 46 rsa 0.9 outdated 46 tree-sitter-cmake 0.7.1 46 tree-sitter-cpp 0.23.4 46 tree-sitter-ruby 0.23.1 46 walkdir 2 47 tree-sitter-rust 0.24.0 48 pdf2image >=1.17.0 48 rmp-serde 1.3 50 httplib2 >=0.22.0 52 asyncpg >=0.29.0 52 heed 0.22.0 52 tree-sitter-c 0.24.1 53 aiomysql >=0.2.0 53 Jinja >=3.1.0 54 csv 1 54 tree-sitter-c-sharp 0.23.1 55 Criterion.rs 0.5 outdated 56 tree-sitter-md 0.5.3 56 tree-sitter-php 0.23.11 outdated 57 tree-sitter-json 0.24.8 59 tracing 0.1 60 tree-sitter-sql 0.3.11 61 neo4rs 0.8.0 outdated 61 rustc-hash 2.1.1 61 tree-sitter-r 1.2.0 62 dotenvy 0.15 62 glob 0.3 62 rich >=14.0.0 62 RSKafka 0.6 66 markdown-it-py 66 python-dotenv >=1.0.1 67 linkme 0.3 67 pgvector-python >=0.4.1 67 tree-sitter-elm 5.9.0 68 base64 0.22 outdated 70 bytes 1 70 tree-sitter-swift 0.7.1 71 Qdrant Rust Client 1.18 71 sha2 0.10 outdated 72 hf-hub 0.4 outdated 72 proc-macro2 1 73 SQLx 0.8 outdated 74 turbopuffer-python >=0.5.0 75 encoding_rs 0.8 75 tempfile 3 76 serde_json 1.0 76 thiserror 2 77 async-trait 0.1 77 Chrono 0.4 77 quote 1 77 serde 1.0 81 FastEmbed-rs 4 outdated 81 tree-sitter-scala 0.24.0 outdated 82 AssemblyAI Python SDK 82 rand 0.8 83 lopdf 0.40 outdated 83 pulldown-cmark 0.13 83 reqwest 0.12 outdated 85 notify 8 outdated 86 globset 0.4 86 psutil >=7.2.1 86 qdrant-client >=1.14.2 87 Docling >=2.0.0 88 baml ==0.213.0 outdated 88 Google API Python Client >=2.0.0 88 msgspec >=0.19.0 88 typing_extensions >=4.12 88 Watchdog >=6.0.0 89 Click >=8.1.8 89 iggy 0.10 outdated 89 instructor 89 sharp ^0.34.5 outdated 89 SurrealDB 3 90 DocSearch ^4.6.2 outdated 90 DocSearch ^4.6.2 outdated 90 DSPy >=3.0.0 90 dspy >=3.0.4 90 LanceDB 0.26 outdated 90 PyMuPDF >=1.26.5 90 Uvicorn >=0.34.3 91 FastAPI >=0.100.0 92 Astro ^7.0.3 92 Astro ^3.7.2 outdated 92 @vitejs/plugin-react ^5.0.2 outdated 92 Astro ^7.1.0 92 aws-config 1 92 aws-sdk-s3 1 92 futures 0.3 92 LiteLLM 92 Mermaid ^11.15.0 92 Pillow >=10.0.0 92 Pydantic 92 redis-rs 0.32.7 outdated 92 sentence-transformers >=3.3.1 92 snowflake-connector-python >=3.0.0 92 syn 2 outdated 93 posthog-js ^1.369.3 93 Tokio 1.0 93 Vite ^7.3.2 outdated 94 pypdf >=5.7.0 95 aiohttp >=3.9.0 95 Arrow 57 outdated 95 Arrow 57 outdated 95 OpenAI Python SDK >=1.0.0 95 PyArrow >=23.0.0 95 Transformers >=4.29.0 95 tree-sitter 0.25.10 outdated 95 tree-sitter 0.1.7 outdated 96 NumPy 96 PyTorch >=2.0.0 97 google-auth >=2.0.0 97 google-auth >=0.2.0 97 React ^18.2.0 outdated 97 React DOM ^18.2.0 outdated 98 Azure Identity (Python) >=1.15.0 98 Azure Storage Blob >=12.19.0

Join founders buildingwith open source

Opinionated takes, migration guides, cost-saving tips, and insights from the open source ecosystem.

Subscribe on Substack
Join 750+ subscribers

Search