Data & databases

Chroma

AI-assisted editorial review:

Chroma is an open-source database for storing and searching embeddings, usable in retrieval-augmented generation (RAG) pipelines. It is released under Apache 2.0.[1] Its PyPI history includes releases from February 2023.[6] Chroma describes a shared API between local single-node deployments and the hosted Chroma Cloud.[4]

What does Chroma mean in simple terms?

In retrieval-augmented generation (RAG), documents are converted into number vectors so that related passages can be retrieved. Chroma stores and searches these vectors. Its Python client supports in-memory and persistent local storage without starting a separate server process.[1][2] Chroma Cloud provides hosting with a shared API; cloud credentials and collection migration still require configuration.[2][4] Add a few documents and inspect the search results to learn how vector retrieval works.

How can Chroma be explained with an analogy?

It is like keeping project files on your laptop with an index that helps you find related passages.

Where is Chroma used?

Case 1

Chroma — From seed funding to Chroma Cloud

Chroma announced a USD 18 million seed round led by Astasia Myers of Quiet Capital on April 7, 2023.[3] It introduced Chroma Cloud on August 18, 2025; the hosted service supports vector, hybrid, and full-text search.[1][4] The announcement describes a shared API and a CLI command for copying local collections to Cloud.[4] An illustrative workflow is to test retrieval locally, then evaluate hosting with the same dataset.
Result: A documented local-to-cloud deployment path.[4]

Case 2

LangChain and LlamaIndex — Official integrations

LangChain documents its langchain-chroma package; LlamaIndex provides a ChromaVectorStore example.[7][8] Either framework can use Chroma, but switching requires checking collection formats, embedding settings, and retrieval behavior.
Result: Documented integrations in both frameworks.[7][8]

Case 3

WikiDocs LangChain Note — A Korean tutorial

The tutorial places Chroma first in its vector-store chapter, before FAISS and Pinecone, and demonstrates langchain_chroma with text documents and similarity search.[9] Local Chroma itself needs no database-service credentials; the tutorial's OpenAI embedding function and optional tracing use separate services.[2][7][9]
Result: A hands-on example for learning document retrieval.[9]

Case 4

Internal RAG proof of concept — Check capacity first

Chroma's single-node performance guide describes tests with 1,024-dimensional embeddings, short documents, and three metadata fields. Its HNSW index must fit in RAM; vector count, memory, and query concurrency affect capacity.[10] For an illustrative internal-wiki prototype, estimate these requirements and test retrieval on your hardware before choosing a production deployment.
Result: Workload-specific capacity testing rather than a universal vector-count limit.[10]

Try it today

  1. Install chromadb and follow the official example.[1]
  2. Create chromadb.Client(), add ten documents, and inspect the top two query results.[1][2]
  3. Switch to chromadb.PersistentClient(path="./chroma_db") and verify persistence after restarting.[2]
  4. Try the WikiDocs sample text documents, checking embedding-service settings and similarity-search results.[9]
  5. Estimate vector count, query volume, and memory; compare them with the single-node performance guide.[10]

Limits and direction

The documented single-node HNSW index must fit in RAM. The guide's memory-sizing pattern was tested up to about seven million embeddings with 1,024 dimensions, short documents, and three metadata fields; this is not a universal capacity guarantee. Query latency also increases with collection size and concurrency.[10] Test retrieval quality, latency, memory, and availability for your workload; evaluate distributed deployments if needed.

Chroma 1.0 introduced a Rust core. Its announcement reported local Chroma as four times faster for common write and query workflows, using one million 1,536-dimensional OpenAI embeddings, default local settings, and a 12-core M2 MacBook. This vendor benchmark does not predict every workload.[5] PyPI dates version 1.0.0 to April 3, 2025.[6] Chroma Cloud provides a distributed hosted option, while LangChain and LlamaIndex document integrations.[4][7][8]

Which concepts are related to Chroma?

  • Related database
    pgvectorVector search inside PostgreSQL; an option when you already run Postgres.
  • Related database
    MilvusAn open-source vector database designed for distributed deployment.
  • Related database
    QdrantAnother open-source vector database to compare for production workloads.

Which sources explain Chroma?

  1. Chroma — chroma-core/chroma GitHub repository (README, Apache-2.0 license) — https://github.com/chroma-core/chroma
  2. Chroma Docs — Chroma clients — https://docs.trychroma.com/docs/run-chroma/clients
  3. Chroma — Seed announcement (2023-04-07) — https://www.trychroma.com/blog/seed
  4. Chroma — Introducing Chroma Cloud (2025-08-18) — https://www.trychroma.com/changelog/introducing-chroma-cloud
  5. Chroma — Chroma 1.0 — https://www.trychroma.com/project/1.0.0
  6. PyPI — chromadb release history — https://pypi.org/project/chromadb/#history
  7. LangChain Docs — Chroma integration — https://docs.langchain.com/oss/python/integrations/vectorstores/chroma
  8. LlamaIndex Docs — Chroma vector store example — https://developers.llamaindex.ai/python/examples/vector_stores/chromaindexdemo/
  9. WikiDocs — 01. Chroma, LangChain Note (Korean tutorial) — https://wikidocs.net/234094
  10. Chroma Docs — Single-node performance — https://docs.trychroma.com/guides/performance/single-node