Chroma

Open-source embedding database for building AI apps with retrieval and semantic search

Library
PyPI
v1.5.9
29,081stars
Apache License 2.0

Repository Health

Pre-computed score based on development activity, maintenance, community, maturity, and trend momentum.How we score it →
90/100Excellent
Development Activity100
Maintenance100
Community68
Maturity52
Momentum40

Technical Analysis

AI-assessed by reading the actual repository — architecture, code quality, innovation, and documentation.How we score it →
85/100Excellent
Architecture88
Code Quality84
Innovation85
Learning Curve82

Chroma is an open-source AI-native embedding database that gives applications a simple four-function API — create a collection, add documents, query, and get — while handling tokenization, embedding generation, and vector indexing automatically behind the scenes. It runs equally well in-memory for prototyping, embedded/persistent on a single machine, or as a standalone server in client-server mode, with official clients for Python and JavaScript.

Core Chroma is written in Rust for performance, with a Python surface layer that exposes collections, metadata filtering, and full-text where_document search. It has become one of the most widely adopted vector stores for retrieval-augmented generation (RAG) pipelines and AI agent memory, and is also offered as a managed service (Chroma Cloud) for teams that don’t want to operate the open-source engine themselves.

What You Get

  • A four-function core API: create_collection, add, query, and get, with update/delete also supported
  • Automatic embedding generation via built-in embedding functions, or bring-your-own precomputed vectors
  • Metadata filtering (where) and full-text document filtering (where_document) combined with vector search
  • Three deployment modes: in-memory, persistent single-node, or client-server via chroma run
  • Official Python and JavaScript/TypeScript client libraries with a shared HTTP API

Common Use Cases

  • Powering retrieval-augmented generation (RAG) pipelines that fetch relevant context for an LLM prompt
  • Giving AI agents long-term memory by storing and semantically searching past interactions
  • Building internal semantic search over documents, support tickets, or knowledge bases
  • Prototyping recommendation or similarity-search features without standing up a dedicated vector DB cluster

Under The Hood

Architecture: Chroma is a polyglot monorepo — the storage/query engine lives under rust/ (blockstore, cache, distance, execution, and index modules) and is exposed to Python through native bindings (chromadb_rust_bindings.pyi), while the chromadb/ Python package layers a friendlier API on top: api/client.py and api/async_client.py expose synchronous and async Client/AdminClient classes, config.py centralizes settings (tenants, databases, auth), and api/models/Collection.py implements the collection abstraction users call add/query/get against. A cli/ module and Docker/Kubernetes deployment assets (k8s/, docker-compose*.yml) support running Chroma as a standalone server rather than purely embedded.

Tech Stack: Core storage and indexing is Rust (69% of the codebase), with Python (16%) as the primary client language and TypeScript (7%) for the JS client; dependencies include pydantic v2 for schema validation, grpcio for internal service communication, opentelemetry for tracing, onnxruntime/tokenizers for the default embedding functions, and typer for the CLI. The project builds with Cargo for the Rust core alongside a standard pyproject.toml for the Python package.

Code Quality: Tests live under chromadb/test/ for the Python layer and within each Rust crate, with bin/test.py and bin/test-remote scripts orchestrating end-to-end and remote-mode test runs; mypy strict-mode config and a py.typed marker indicate the Python surface is fully typed. Given the scale (4,500+ commits, 189 contributors, weekly release cadence per the README), the codebase carries mature CI/CD conventions including bandit security scanning (bandit.yaml) and a documented release process (RELEASE_PROCESS.md).

API Design: The public API is intentionally reduced to four core operations (create_collection, add, query, get) as the README emphasizes, hiding tokenization/embedding/indexing complexity behind sensible defaults while still allowing power users to supply custom embedding functions, precomputed vectors, or combined metadata/full-text filters. This ‘simple by default, flexible when needed’ design, paired with near-identical Python and JS client shapes, keeps the learning curve low for a system solving an otherwise complex problem (approximate nearest-neighbor search at scale).

Used by 12 apps in this directory

Python
100%
Apache 2.0

Agno

Devops · AI Development · Automation

41,774

Build, run, and manage agent platforms with a full production stack — SDK, runtime, and control plane included.

View details
93
Repo Health
87
Technical
67
Dependency
Built with
Python100%
Updated today
Python
49%
Other

Airbyte

Developer Tools · Data Engineering

21,916

Open-source ELT platform with 600+ connectors for moving data from any source to warehouses, lakes, and AI agents.

View details
95
Repo Health
80
Technical
67
Dependency
Built with
Python49%
Kotlin42%
Updated today
Python
97%
MIT

auto-news

AI Assistants · Productivity

906

An AI-powered personal news aggregator that filters multi-source feeds through LLMs and delivers curated, noise-free summaries to your Notion workspace.

View details
43
Repo Health
53
Technical
66
Dependency
Built with
Python97%
Updated 1 years ago
Python
62%
MIT

AutoGen

AI Development · Automation

60,518

Build autonomous and human-in-the-loop multi-agent AI systems with a layered, event-driven Python and .NET framework pioneered at Microsoft Research.

View details
57
Repo Health
78
Technical
75
Dependency
Built with
Python62%
C#25%
TypeScript12%
Updated 4 months ago
Python
68%
Other

AutoGPT

Automation · Productivity · AI Assistants

186,687

Build, deploy, and run autonomous AI agents that automate complex multi-step workflows using a visual block-based graph editor.

View details
93
Repo Health
78
Technical
67
Dependency
Built with
Python68%
TypeScript31%
Updated today
TypeScript
50%
Other

Dify

No Code Platforms · AI Development · Developer Tools

152,883

Visual LLM workflow platform with RAG pipelines, agent capabilities, and model management for building production AI applications.

View details
92
Repo Health
85
Technical
71
Dependency
Built with
TypeScript50%
Python47%
Updated today
Python
68%
MIT

Langflow

AI Agents · AI Development

153,450

Build, test, and deploy AI agents and RAG workflows visually with native API and MCP server export.

View details
90
Repo Health
85
Technical
66
Dependency
Built with
Python68%
TypeScript22%
Updated today
Python
95%
MIT

MemPalace

AI Agents · AI Development

58,455

Local-first AI memory with verbatim storage, pluggable backends, and 96.6% retrieval recall on LongMemEval — no API key required.

View details
85
Repo Health
84
Technical
72
Dependency
Built with
Python95%
Updated yesterday
Python
37%
Other

Open WebUI

AI Assistants · AI Agents

149,204

The extensible, privacy-first AI platform that runs Ollama, OpenAI, and any LLM backend behind a polished, feature-packed web interface.

View details
91
Repo Health
75
Technical
66
Dependency
Built with
Python37%
Svelte33%
JavaScript22%
Updated today

Join founders buildingwith open source

Opinionated takes, migration guides, cost-saving tips, and insights from the open source ecosystem.

Subscribe on Substack
Join 750+ subscribers

Search