← Back to all projects

Chroma
Embedded vector store that runs from a single import
OfficialApache-2.0
What is Chroma?
The lowest-friction way to get retrieval working: no server to stand up, no cluster to size. That makes it excellent for prototypes and small production loads, and the point at which you outgrow it is a real consideration to plan for rather than discover.
What can you do with Chroma?
- Get retrieval running in one file —
chromadb.Client()creates an in-memory store andcollection.add()handles tokenization, embedding and indexing, so no embedding model is wired up by hand. - Filter alongside the vector search —
collection.query()takeswherefor metadata equality andwhere_documentwith$containsfor substring matching in the same call as the similarity search. - Move to client-server mode —
chroma run --path /chroma_db_pathstarts a server against the same four-function API once a single embedded process is no longer enough. - Query from Python or JavaScript — The Python client comes from
pip install chromadband the JavaScript one fromnpm install chromadb; pointed at the samechroma runserver, both work on one set of collections, so the job that writes and the service that queries need not share a language.
Star history
15 Aug to 30 Oct · +545
29.1k29.6k
Frequently asked questions
Is Chroma free for commercial use?
Chroma is released under the Apache-2.0 licence — OSI-approved open source, which permits commercial use.
How can Chroma be deployed?
Chroma is available as Runs locally / Self-hosted / Managed cloud.