# Chroma

- **Canonical URL:** https://getaimath.com/dictionary/chroma/
- **Topics:** [Context, Memory & Retrieval](https://getaimath.com/dictionary/category/context-memory-and-retrieval/)
- **Last updated:** 2026-11-25

## What is Chroma?

**In one sentence:** Chroma is a free, open-source vector database designed to be simple to use for AI apps.

It lets developers store documents with their embeddings and metadata, then query them with a few lines of code. It is popular for prototypes and small to medium projects.

![Context Window vs. Memory: Your Desk vs. The Filing Cabinet — Simple cartoon comparing the AI Context Window (a small desk that can only fit a few pages right now) with External Memory & Search (a big filing cabinet where a librarian grabs just the 3 pages you need).](https://getaimath.com/diagrams/context-memory-and-retrieval.png)
*Napkin Diagram (Context, Memory & Retrieval): The context window is the small desk the AI can see right now; search grabs the right pages from the filing cabinet.*

## What is an example of Chroma?

A student building a "chat with my notes" app might use Chroma to store note embeddings.

## Why does Chroma matter?

Chroma makes it easy to add memory and search to AI projects.

## Related Concepts

- [FAISS](https://getaimath.com/dictionary/faiss/): FAISS is a free library from Meta for fast similarity search and clustering of vectors.
- [Metadata Filtering](https://getaimath.com/dictionary/metadata-filtering/): Metadata filtering narrows search results using extra information, such as date, author or category, alongside similarity.
- [HNSW](https://getaimath.com/dictionary/hnsw/): HNSW, or Hierarchical Navigable Small World, is a popular ANN method that organizes vectors into layered networks for fast searching.
- [Chunking](https://getaimath.com/dictionary/chunking/): Chunking splits long documents into smaller pieces before turning them into embeddings for search.
- [Approximate Nearest Neighbors (ANN)](https://getaimath.com/dictionary/approximate-nearest-neighbors-ann/): Approximate nearest neighbors finds results that are almost certainly the closest matches, much faster than checking every item.
- [Chunk Size](https://getaimath.com/dictionary/chunk-size/): Chunk size is how big each piece of a split document is, usually measured in tokens or characters.

---
Source: The AI Math Dictionary (https://getaimath.com/dictionary/chroma/)
