← Back to Leaderboard
Cchroma-core

chroma-core/chroma

Rust-backed vector database for embedded and self-hosted RAG retrieval

Engineering Health (Methodology)
A+ · 91/100
Maintenance Activity
● Updated 3d ago
Latest Release
1.5.9
Commercial License Check
Apache-2.0 · Commercial Friendly

Automated SPDX check for reference only — not legal advice. Disclaimer

Maintenance35/35
Fork Adoption22/25
Release Cadence14/20
License Clarity20/20
DockerSelf-HostedAPI
Total Stars
★ 29,812
24h Growth
+1
7d Growth
+73
Forks
2,636

GitHub Star History

Full-history star trajectory from GitHub official history. Switch ranges or hover any point for exact counts.

chroma-core/chroma Star History (2022-12-12 - 2026-12-01) ALL-TIME STAR HISTORY (2022-12 – 2026-12) +29.8k in 1450d · avg +21/day 31.5k 15.7k 0 2022-12-12: ★ 12023-03-11: ★ 5182023-06-10: ★ 5,7742023-09-09: ★ 8,0192023-12-09: ★ 9,4672024-03-09: ★ 10,9252024-06-08: ★ 12,5062024-09-07: ★ 13,9572024-12-07: ★ 15,2972025-03-08: ★ 17,9652025-06-07: ★ 19,8762025-09-06: ★ 22,6362025-12-06: ★ 24,3372026-03-07: ★ 26,1302026-06-06: ★ 27,9932026-09-05: ★ 29,1082026-12-01: ★ 29,812 ★ 29.8k 2022-12 2024-12 2026-12

Evidence-Backed Technical Brief

AI Deep Review

Architecture & Core Mechanics

Chroma is a collection-oriented retrieval database with an in-process Python entry point and a separate client-server deployment. The collection API is the integration boundary: callers submit records with IDs, documents, metadata, or embeddings, then query the collection or fetch records by ID. The same data model is available to an application team whether it starts with an in-memory prototype or deploys a server.

The Rust workspace separates frontend code, workers, segments, indexing, storage, logs, and system metadata into crates including rust/frontend, rust/worker, rust/segment, rust/index, rust/storage, rust/log-service, and rust/sysdb. It also contains SQLite and Python binding crates. The Python package lists NumPy, ONNX Runtime, and tokenizers among its dependencies. These are concrete runtime and module boundaries, not a guarantee that every component runs as a separate service: the Compose configuration builds one server from the Rust CLI target.

Key Capabilities & Differentiators

The collection API supports create, get, get-or-create, and delete operations. Within a collection, callers can add, update, delete, and fetch records by ID. On the text ingestion path, Chroma can handle tokenization, embedding, and indexing; on the vector path, the application supplies embeddings and retains control of model choice. query accepts text and a requested result count through n_results, while metadata filters and document containment conditions such as $contains can narrow the result set.

That makes Chroma suitable for retrieving similar passages within a source or other metadata-defined subset. A containment filter is not a ranked full-text search engine, however. Chroma Cloud offers vector, hybrid, and full-text search; treat those as hosted capabilities and verify any required modes on the exact self-hosted version before committing to the architecture.

Trade-offs & Limitations

Against a vector extension in an existing PostgreSQL deployment, Chroma offers a purpose-built collection API and an in-process path that does not require a separate database service for prototyping. Once deployed as a shared server, it adds a data store to operate alongside the application database. If retrieval depends heavily on SQL joins or transactional consistency with business records, evaluate keeping vectors in PostgreSQL instead. If ranked lexical or hybrid search is mandatory, benchmark that requirement directly rather than treating metadata and substring filters as substitutes.

Self-hosting gives the team control over where retrieval data lives, but makes it responsible for network exposure, backups and restores, and upgrades. A hosted deployment changes those responsibilities and introduces service terms and data-boundary considerations. For either path, test filter selectivity, write and update load, and concurrent queries on a representative corpus. Budget for embedding inference separately from storage and retrieval, especially if the application generates embeddings on the same host.

Hardware & Deployment Guide

Start a prototype with pip install chromadb on Python 3.9+ and chromadb.Client() for in-memory use. For a persistent client-server setup, chroma run --path /chromadbpath selects the data directory. The root docker-compose.yml builds rust/Dockerfile at target cli, mounts the chroma-data volume at /data, maps port 8000, and uses restart: unless-stopped. It accepts an OpenTelemetry endpoint, service name, and OTLP exporter headers.

Pin the package or image and test restart recovery, backups, restores, and upgrades against persistent data before production. Decide how the API will be exposed and authenticated; a port mapping and a named volume do not address those concerns. The release list includes tagged 1.5.9 in May 2026, a separate cli-1.4.4 release, and a 1.5.10.dev326 build from main. Keep the development build out of a stable rollout unless it has been qualified explicitly.

Runtime: Python 3.9+ package for in-process prototyping and a Rust CLI target for the containerized server.
Workspace: Separate Rust crates for frontend, workers, segments, indexing, storage, logging, and system metadata.
Ingestion: Collection records combine unique IDs, documents, and metadata; callers can provide their own embeddings.
Retrieval: query returns a requested number of similar records; get fetches by ID, and metadata or document content can constrain retrieval.
Persistence and telemetry: Compose maps the chroma-data volume to /data, publishes port 8000, and exposes OpenTelemetry endpoint and service-name settings.
Deployment boundary: The hosted service offers vector, hybrid, and full-text search; validate any required search mode on the specific self-hosted version.
Best For

Teams building document RAG that want to prototype in process, then move to a self-hosted retrieval API with persistent storage and metadata filters.

Skip If

Retrieval must share SQL joins and transactions with business data, or production depends on hybrid ranking or high-availability behavior you have not validated on the target deployment.

Reviewed on 2026-12-01 · Grounded in GitHub README, root file tree & releasesMethodologyReport inaccuracy

Quick Start & Installation

DockerSelf-HostedAPI
pip install chromadb # python client
# for javascript, npm install chromadb!
# for client-server mode, chroma run --path /chroma_db_path

Comparison vs. Top RAG, Data & Memory Alternatives

Full comparison →
RepositoryStars7d TrendStackLicenseCore Positioning
chroma ★29.8k+73RustApache-2.0Rust-backed vector database for embedded and self-hosted RAG retrieval
mydb258+154RustApache-2.0A Rust HTAP database with MySQL protocol support and SQL-native hybrid retrieval
firecrawl214.1k+5kTypeScriptAGPL-3.0Local and hosted web ingestion that turns sites into RAG-ready Markdown
markitdown199.2k+927PythonMITPython library and CLI that turn mixed-format documents into Markdown for RAG in

AI Context Briefing (for Claude / Cursor / Windsurf)

Standardized architecture summary & quickstart commands ready to paste into coding agents.

Raw .md ↗
curl -sL https://repoforai.com/repo/chroma-core/chroma.md

Embed Star History Chart & Badges in README.md

Full-history Star History SVGs and velocity cards on GitHub Camo: drop-in replacement for OSSInsight and Star History widgets.

chroma-core/chroma Star History on RepoForAI

Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).

Frequently Asked Questions about chroma

How should Chroma fit into a RAG ingestion and query pipeline?

Keep document chunking, stable record IDs, and source metadata in your ingestion pipeline. Add text for automatic embedding or supply vectors from your own model. Use the same embedding model and preprocessing for ingestion and queries; if you change models, plan to re-embed and validate retrieval before switching.

Do I need a GPU, and how should I size the deployment?

No GPU requirement is established for the Rust server. For a CPU-based pilot, size RAM and disk against your vector count, dimensions, stored text and metadata, and indexing overhead. Measure CPU and memory under concurrent writes and queries. If you run embeddings locally, budget for that model separately; there is no fixed VRAM figure to plan around.

Can I use and self-host Chroma commercially?

The repository is Apache-2.0 licensed, which permits commercial use and modification subject to the license terms. If you redistribute the software, preserve the required license and notices and mark modified files as required. Review embedding models, third-party dependencies, and hosted-service terms separately. Self-hosting gives you control over the deployment, but does not by itself satisfy data-handling or access-control requirements.

When is Chroma a better fit than pgvector?

Choose Chroma when you want an embedded prototype or a separate collection API that owns document and vector retrieval. If the application already keeps its data in PostgreSQL and retrieval depends on SQL joins or shared transactions, evaluate pgvector first. Compare the two with your real corpus, metadata filters, and update workload; the operational difference can matter more than an isolated similarity-search benchmark.

Upstream README & Documentation

This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.

Maintaining chroma-core/chroma? Pin to Homepage + competitor /alternatives pages with a custom Cloud/Demo CTA.Feature chroma-core/chroma on Homepage & Alternatives ($19)
WEEKLY BREAKOUT DIGEST

Top 10 Breakout Open-Source AI Repos, Every Thursday

Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.

Zero spam · 1-click unsubscribe · Privacy Policy

Saved in your browser · Export Markdown RFC tables or jump into /vs compare