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