Chroma is an open-source, embeddings-native vector database designed for simplicity and developer experience. It runs as an embedded database directly inside your Python process — no server, no Docker, no API keys — making it the fastest way to add vector search to any project.
where clausesPersistentClient for data that survives across process restartsDevelopers prototyping RAG applications, AI hobbyists, and teams building proof-of-concepts choose Chroma because it has the lowest barrier to entry of any vector database. You can go from zero to working semantic search in under 10 lines of Python.
Chroma is the default vector store in LangChain tutorials and many AI courses, making it the most commonly used vector database for learning and prototyping. For production workloads that need scalability and high availability, teams often migrate to Pinecone, Qdrant, or Weaviate — but Chroma is increasingly targeting production use cases with its server mode.
pip install chromadbimport chromadb
# In-memory (ephemeral)
client = chromadb.Client()
# Or persistent (saves to disk)
client = chromadb.PersistentClient(path='./chroma_data')
collection = client.create_collection(name='my_docs')collection.add(
documents=['Machine learning is...', 'Neural networks are...', 'Deep learning involves...'],
metadatas=[{'source': 'textbook'}, {'source': 'wiki'}, {'source': 'paper'}],
ids=['doc1', 'doc2', 'doc3']
)results = collection.query(
query_texts=['How do neural networks work?'],
n_results=2,
where={'source': 'textbook'} # Optional metadata filter
)
print(results['documents']) # Returns the most similar documentsfrom chromadb.utils import embedding_functions
ef = embedding_functions.OpenAIEmbeddingFunction(api_key='your-key', model_name='text-embedding-3-small')
collection = client.create_collection(name='my_docs', embedding_function=ef)Pricing: Chroma is 100% free and open-source. No cloud account, API key, or payment method required. Chroma Cloud (hosted version) is available for teams that want a managed service.
PersistentClient from the start to avoid losing data between restarts.Be the first to share a Chroma case study and get discovered by clients.
Submit a case studyThought leaders
Follow for insights, tutorials, and thought leadership
Submit a brief and we'll match you with vetted specialists who have proven Chroma experience.