AI GLOSSARY · LOCAL AND OPEN MODELS
Chroma (vector database)
Definition
Chroma describes itself as open-source data infrastructure for AI, used as a vector database: a store that keeps documents with their embeddings (lists of numbers that capture meaning) so a program can search by meaning.
Also called: Chroma, ChromaDB, Chroma DB, Chroma vector database, Chroma database.
In plain language
Chroma is a program that stores pieces of text, plus a numeric fingerprint of what each piece means, so you can later ask for the pieces closest in meaning to a question. Think of a filing cabinet where folders are arranged by topic, not by alphabet. An AI app can use it to pull relevant notes before it answers. It does not write answers itself, and it can find just what you have put in. Poor splitting of documents or a weak embedding model gives poor results. You also run it, whether on your own computer, on a server you manage or in Chroma's hosted cloud, so there is upkeep and possibly a hosting bill.
Technical definition
Chroma stores records in collections. Each record needs an ID and a document, an embedding or both, with metadata optional; Chroma can compute an embedding with a configured embedding function or accept from you. A query takes query text or vectors plus n_results and returns the nearest records by vector similarity, optionally restricted by a metadata filter (where) or a document-content filter (where_document). Chroma's README describes an in-memory mode for prototyping, persistence options, a client-server mode, and Python and JavaScript clients, and the documentation describes local, self-hosted and Chroma Cloud options. The project is licensed under Apache 2.0.
Worked examples in this catalogue
Catalogue examples point at a skill, guide or coding tool listed on this site, with what to run and what you see. An example marked illustrative describes the item from its own documentation; it was not executed for this page. Platform Scores are our assessment under a published method, not a safety guarantee.
Guide · Illustrative, not executed
What Is RAG? Retrieval-Augmented Generation Explained
- What you see
- The guide walks through indexing and querying, then a worked chunking example in which a sentence stored alone loses the company and quarter it belongs to.
- Why it exercises the concept
- A store such as Chroma is where the indexed chunks and their embeddings live. The guide shows what has to be put in before a query can find anything.
Skill by Skill Almanac · Illustrative, not executed
rag-chunking-planner 56/100 · Provisional, not yet measuredScored · Method v0.2 · How we score
- What you see
- Your documents split by three chunking strategies, with defects and offline recall reported for each, so chunk settings are chosen with numbers.
- Why it exercises the concept
- What you add to a collection is decided by chunking. The skill measures that step before you load a vector database.
Skill by Skill Almanac · Illustrative, not executed
library-docs-lookup 52/100 · Provisional, not yet measuredScored · Method v0.2 · How we score
- What you see
- An answer to a library question drawn from the installed package's own files, with file and line cited.
- Why it exercises the concept
- It is retrieval for a coding agent without a vector database: it reads the installed files directly. It shows the same retrieve-then-answer idea that Chroma serves.
How it shows up when you use agents
When an agent or app needs to answer from a large set of documents, a team may place those documents in a vector database and have the app query it before the model replies. Chroma is one such database. In a session you meet it indirectly: a coding agent's tool or an MCP server may query a Chroma collection and return passages, which then fill the prompt. This is the retrieval half of retrieval-augmented generation.
Chroma stores embeddings, so semantic search quality depends on the embedding model and on how documents were split before they were added. If you change the embedding model after loading data, the stored vectors and new query vectors no longer match, and results degrade. If answers look wrong, first print the passages the query returned and check whether the right text was among them before editing the prompt.
Running it is a choice. The documentation lists local, self-hosted and a managed cloud service. A local store suits a prototype. A shared or production store needs backups, access control and someone to keep the documents current. Next step: read What is RAG, then test your chunk settings with the RAG chunking planner before you load a collection.
Common confusions
- Chroma versus RAG. RAG is a pattern: retrieve, then generate. Chroma is one component that can store and search the documents. It does not call a model for you.
- Chroma versus the embedding model. Chroma stores and searches vectors. A separate embedding model, which you configure or which Chroma's embedding function wraps, produces them.
- Vector search versus keyword search. Vector search finds text close in meaning. It can miss an exact code or name that a keyword search would find, so some systems combine both.
- Myth. A vector database makes a model remember your data. The model does not change. Retrieved text is placed in the prompt for each question.
Related terms
Terms that mention Chroma (vector database)
1 terms mention this one
More in Local and open models
Sources
- Chroma documentation: Introduction, Chroma (accessed 2026-11-24)
- Chroma documentation: Add data to a collection, Chroma (accessed 2026-11-24)
- Chroma documentation: Query and get, Chroma (accessed 2026-11-24)
- chroma-core/chroma (README), GitHub (Chroma) (accessed 2026-11-24)
- What is a vector database?, IBM (accessed 2026-11-24)
Definitions are written by Skill Almanac from these sources. An independent review of the sources and examples is in progress. Wikipedia is never the only source.
Review record
Independent review in progress
Drafted by claude-sonnet-5-5. An independent review of its sources and examples is in progress.
This entry is still in review, so it is not listed in search engines yet.
Change log (3)
- : First version.
- : Verifier pass: applied verifier corrections to sourcing and wording.
- : Corrected explicit MCP-server anchor; link-only verification does not assert complete content approval.