ChromaDotNet

Libraries

ChromaDotNet.Client is the .NET client for Chroma. The Microsoft.Extensions.VectorData provider and the Aspire client integration are built on it.

ChromaDotNet.Client

The client covers every operation in the Chroma v2 API, including Chroma Cloud. It runs on .NET 8 and later (including .NET 10), .NET Framework 4.6.2 and .NET Standard 2.0 platforms. For dependency injection, use ChromaDotNet.Client.DependencyInjection.

dotnet add package ChromaDotNet.Client

CommunityToolkit.VectorData.Chroma

The Chroma provider for Microsoft.Extensions.VectorData, in the AI Community Toolkit of the .NET Foundation. Use it with Semantic Kernel, Agent Framework or any code written against the abstractions. It supports hybrid search on Chroma Cloud. Recommended by Semantic Kernel and listed among the .NET community projects of Microsoft Agent Framework.

dotnet add package CommunityToolkit.VectorData.Chroma --prerelease

ChromaDotNet.Local

Chroma on your machine, without Docker and without Python. It starts the Chroma executable as a child process of your app, and stops it when the app ends. Windows, Linux and macOS. ChromaDotNet.Local.ChromaDB brings Chroma 1.5.9 with the executables of every platform; with the property ChromaDotNetLocalChromaDBDownload, the first start downloads the one of its platform instead. Preview.

dotnet add package ChromaDotNet.Local.ChromaDB --prerelease

ChromaDotNet.Embeddings

The default embedding function of Chroma for .NET: all-MiniLM-L6-v2, with the same vectors as the Python client. Give it to ChromaDotNet.Client, and add or query records by their text. It also computes the hosted functions of Chroma Cloud, Qwen3-Embedding and SPLADE, on your machine. Preview.

dotnet add package ChromaDotNet.Embeddings --prerelease

ChromaDotNet.Testcontainers

A Testcontainers for .NET module. It gives your tests a throwaway Chroma container.

dotnet add package ChromaDotNet.Testcontainers

CommunityToolkit.Aspire.Chroma

Aspire integrations, in the Aspire Community Toolkit. Add Chroma to the app host and the client to your services, with health checks, traces and metrics. Beta. Until Aspire 17 is on NuGet, use ChromaDotNet.Aspire.Hosting 0.2.10 in the AppHost.

dotnet add package CommunityToolkit.Aspire.Chroma --prerelease
dotnet add package ChromaDotNet.Aspire.Hosting --version 0.2.10

VecturaDB

A single-node server built from Chroma: a complement of Chroma that adds sparse vectors, BM25, the Search API and collection fork to its single node. ChromaDotNet.Client works with it as with Chroma.

Docs ยท vecturadb.org