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