Chroma
The open-source AI-native vector database — store, query, and filter embeddings with a simple Python API. Perfect for RAG and semantic search.
Chroma
Chroma is the open-source, AI-native vector database built for LLM application developers. It runs in-memory, as a local persistent store, or as a distributed server — all with the same clean Python (and JavaScript) API. No infrastructure expertise required.
Key features
- Simple API —
add,query,update,deletein four lines of Python - Multimodal — store text, images, and arbitrary embedding vectors
- Metadata filtering — combine vector similarity search with structured where-clause filters
- Embedding functions — built-in support for OpenAI, Cohere, Hugging Face, and Instructor embeddings
- Multiple modes — in-process (no server), local persistent, and client-server with Chroma Cloud
- Integrations — LangChain, LlamaIndex, Haystack, CrewAI, AutoGen, and more
Quick start
npx ai-supply add chroma-vector-database
# Or install directly
pip install chromadb
import chromadb
client = chromadb.Client() # In-memory
# Or: client = chromadb.PersistentClient(path="./chroma_db")
collection = client.create_collection("my_docs")
collection.add(
documents=["AI agents are transforming software", "Vector search enables semantic retrieval"],
metadatas=[{"source": "blog"}, {"source": "paper"}],
ids=["doc1", "doc2"]
)
results = collection.query(
query_texts=["What is semantic search?"],
n_results=1
)
print(results["documents"][0])
Curated mirror of the open-source Chroma project (Apache-2.0). Install upstream from the repository.
Compromise signals — malicious or tampered code (leaked secrets, backdoors, a dropped executable) — reduce the score, and known dependency CVEs carry a bounded penalty (they warrant review but never QUARANTINE — update the dependency to clear). Other dangerous-by-capability traits are risk surface, expected for some capabilities. Every finding is mapped to its OWASP control below.
Findings mapped to the OWASP Top 10 for LLM Applications (2025) and the OWASP Machine Learning Security Top 10. Expand any flagged control for the exact findings — compromise reduces the score; expected/risk-surface do not, except a known CVE, which carries a small bounded penalty (high/critical → Review).
The same gate an agent runs before installing (POST /api/v1/trust/chroma-vector-database/check). Click a policy:
Consume Chroma programmatically. Authenticate with an API key or session — see Authorize an agent.
# Agents: CHECK BEFORE YOU INSTALL (no auth) — score, grade, level, capability manifest
curl https://ai-supply.store/api/v1/trust/chroma-vector-database
# Gate against your org policy (returns { pass, violations })
curl -X POST https://ai-supply.store/api/v1/trust/chroma-vector-database/check \
-H "Content-Type: application/json" \
-d '{"minGrade":"B","denyPermissions":["shell"],"denyUnknownEgress":true}'
# CLI
npx ai-supply add chroma-vector-database
# REST (install → download)
curl -X POST https://ai-supply.store/api/v1/listings/chroma-vector-database/install \
-H "Authorization: Bearer $AIM_KEY"
# MCP tool
install_listing({ "slug": "chroma-vector-database" })OpenAPI spec →Curated mirror — latest upstream source. See the repository for tagged releases.