RAG systems built on
ChromaDB.
ChromaDB is our default vector database for RAG pipelines where data residency, vendor independence, or simple self-hosting matter more than the scale of a managed service. Open-source, runs inside your own infrastructure, no third party holding your embeddings — and no monthly bill tied to how many vectors you've stored.
Serving UK and EU clients: GDPR, EU AI Act, and data residency are covered on our Trust & Safety page.
A vector database
you can actually host.
ChromaDB is an open-source embedding database (Apache 2.0) purpose-built for retrieval-augmented generation: it stores document chunks, their vector embeddings, and arbitrary metadata together in a collection, then returns the nearest matches to a query embedding using approximate nearest-neighbor search (HNSW indexing under the hood, via hnswlib). The project started as a pure-Python layer and has since moved its core indexing and storage to Rust for speed, while keeping the same Python/JS client surface.
It can run two ways: fully embedded in-process (a single Python call, persisted to local disk — ideal for a prototype or a small internal tool) or as a standalone client-server deployment reached over HTTP, which is how we run it for anything client-facing. Persistence is file-based rather than a managed cluster, so backup and recovery is something we design for explicitly rather than something a vendor handles for us.
Self-hosting is the whole point of reaching for ChromaDB: it runs inside a client's own VPC or on-prem infrastructure, so embeddings — which can leak surprising amounts of the source document's content and structure — never leave the client's boundary. Chroma also now offers a hosted Chroma Cloud option, but the overwhelming majority of why clients ask for ChromaDB specifically is the self-host path for data residency.
Against Pinecone, the comparison is straightforward: Pinecone is managed-only and proprietary — no self-hosting, full stop — which rules it out the moment data residency is a hard requirement. Against Qdrant (also open-source, written in Rust from the ground up with native sharding and a more mature clustering story), ChromaDB trades some large-scale, high-QPS headroom for a noticeably shorter path from prototype to self-hosted production and tighter LangChain/LlamaIndex ergonomics. For small-to-mid collection sizes, that tradeoff usually favors Chroma; past a point, we'll say so.
The client API itself is deliberately unopinionated about embeddings: a collection can use any embedding function you configure — OpenAI's or Cohere's hosted embedding APIs, a local Sentence-Transformers model, or a custom function you write — so the choice of embedding model stays independent of the choice of vector store. That matters in practice, because switching the vector database later is rarely the hard part of a RAG migration; switching the embedding model is, since it forces a full re-embed regardless of which database holds the vectors.
Retrieval you can
actually evaluate.
A vector database is one piece of a RAG system, and it's rarely the piece that determines whether retrieval is actually good. The parts that do:
Construction and search parameters (M, ef_construction, ef_search) trade recall against query latency and memory footprint — left at defaults, collections either answer slowly or miss relevant passages. We tune these against your actual data, not a tutorial dataset, and re-check them as the collection grows past the size it was originally tuned for.
Collections structured so retrieval can be scoped — by source, date, permission level, or tenant — with where filters applied alongside the vector search rather than a flat similarity pass over everything. Getting this schema wrong early is expensive to fix once a collection is populated at scale.
Chroma's persistence is file-based, not a managed cluster with automatic replication — so snapshotting, restore testing, and a plan for re-embedding a collection if the embedding model changes are things we build in deliberately, not assumptions. We treat an untested backup as equivalent to no backup at all.
A test set that checks whether the system retrieves the right passages before launch, so retrieval quality is measured rather than assumed, and re-run after any change to chunking, embedding model, or index parameters. See our note on why RAG systems hallucinate confidently.
Part of a larger
RAG build.
ChromaDB is the retrieval layer, not the whole system. It sits inside the broader RAG and integration work we do, alongside the chunking pipeline, the generation model, and whatever existing systems the retrieved content needs to connect back to.
The full pipeline — ingestion, chunking, retrieval, generation, and evaluation — that ChromaDB sits inside, and the discipline of treating each stage as something that can be measured rather than assumed to work.
Connecting the retrieval layer to your existing systems and data sources — document stores, internal APIs, authentication — so retrieval respects the same access boundaries your other systems already enforce.
Fixing a RAG pipeline that hallucinated confidently — the kind of problem retrieval evaluation catches before it reaches a client's end users, not after.
A golden-set scorecard and downloadable eval harness for a RAG pipeline already in the field.
Before you
book a call.
The questions we get asked most about ChromaDB and self-hosted retrieval — answered straight, no sales pitch, including the parts where a managed service would genuinely be the easier choice.
Why use ChromaDB instead of a managed vector database?
ChromaDB is open-source and self-hostable, which matters when data residency or vendor lock-in is a concern — you can run it inside your own infrastructure or VPC instead of sending embeddings to a third-party managed service. It's a good fit for UK/EU clients working through GDPR or EU AI Act data-location requirements, and for teams that want to avoid a long-term dependency on one vendor's API. The tradeoff is that you own the operational side — backups, scaling, upgrades — that a managed service would otherwise handle for you.
Is ChromaDB production-ready, or just for prototyping?
We use it in production RAG pipelines where the collection size and query load fit its model — it's a strong default for small-to-mid scale retrieval. For very large-scale or high-throughput retrieval, we'll tell you honestly if a different vector database fits better, rather than forcing one tool everywhere. The deciding factor is usually query volume and index size, not how polished the project feels — a small, well-tuned Chroma deployment can be more production-ready than a poorly configured larger platform.
What does a ChromaDB-based RAG build actually involve?
Chunking and embedding strategy for your actual documents, a ChromaDB collection with metadata filtering so retrieval can be scoped (by date, source, permission level, etc.), and an evaluation step that checks retrieval quality before the system goes live — not just whether it runs. We also decide upfront on embedded vs. client-server deployment, since moving from one to the other after launch is more disruptive than deciding correctly the first time.
What happens if we need to change our embedding model later?
It's not a config flip — every stored vector was produced by the old model's embedding space, so a model change means re-embedding and re-indexing the entire collection. For a small collection that's minutes; for a large one it's a planned migration with downtime or a blue-green cutover where the old and new collections run in parallel until the new one is verified. We flag this cost up front rather than let it surprise a client a year in.
Does ChromaDB handle multi-tenancy, or do we need separate collections per client?
ChromaDB doesn't have native row-level security. For genuine tenant isolation we either enforce scoping at the application layer with metadata filters on every query, or use separate collections per tenant when the isolation guarantee needs to be stronger than "the application remembered to filter." Which one we pick depends on how many tenants and how sensitive the data is — a handful of enterprise clients sharing infrastructure usually gets separate collections; a consumer app with thousands of end users usually gets metadata-scoped filtering instead.
Tell us what
you're trying to retrieve.
Book a 30-minute call — we'll tell you honestly whether ChromaDB is the right fit for your RAG system, or whether something else is, before any code gets written.