ChromaDotNet

Samples

Microsoft Agent Framework samples with Chroma

Microsoft Agent Framework samples that use Chroma as the vector store through CommunityToolkit.VectorData.Chroma, the Chroma provider of the AI Community Toolkit. They follow the form of the Agent Framework .NET samples, and each sample also comes in a variant with models that run locally in Ollama.

The samples

Each one uses Microsoft Foundry models, and has a variant with models that run locally in Ollama.

Run the samples without a model

The tests run the scenario of each sample with the same configuration, against Chroma in a container started with ChromaDotNet.Testcontainers. They need the .NET 10 SDK and Docker, but no model:

Terminal
git clone https://github.com/ChromaDotNet/ChromaDB.AgentFramework.Sample
cd ChromaDB.AgentFramework.Sample
dotnet test

Tested on 25 October 2026: 10 tests of 10 pass.

To run the samples with Microsoft Foundry or with models in Ollama, see the README.