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