Skip to main content

crewai-memory-chroma

A storage backend for the memory of CrewAI that keeps the memories of a crew in a collection of a Chroma server, or of any server with the API of Chroma, such as VecturaDB.

Install

pip install crewai-memory-chroma

Use

Start a server, for example:

docker run -d -p 8000:8000 chromadb/chroma:1.5.9

Then give the backend to the memory of the crew:

import chromadb
from crewai import Crew, Memory
from crewai_memory_chroma import ChromaStorage

storage = ChromaStorage(
    client=chromadb.HttpClient(host="127.0.0.1", port=8000),
    collection_name="memories",
)
crew = Crew(agents=[...], tasks=[...], memory=Memory(storage=storage))

client takes any client of the chromadb package. Without it, ChromaStorage uses chromadb.HttpClient() with its defaults.

What it does

It does what LanceDBStorage, the default backend of CrewAI, does: the same fields, the same scores (1 / (1 + distance), with the squared L2 distance of Chroma), the same checks of the embedding dimension. Two things work as in QdrantEdgeStorage:

  • Scopes are matched by path: /crew/research matches itself and /crew/research/..., not /crew/research-2.
  • A search by category is filtered by the server before the nearest records are taken, so a record of that category is found even when other records are nearer.

Tested with

In our tests, with CrewAI 1.15.35 and the chromadb client 1.5.9, against Chroma 1.5.9 and VecturaDB 1.0.0-preview.6:

  • the memory tests of CrewAI 1.15.35 with LanceDBStorage replaced by this backend: 171 of 172 pass; the other one expects a search by a part of a scope name to match;
  • random operations compared with LanceDBStorage, result by result, apart from the two differences above;
  • the scopes, the categories, records without an embedding and the dimension checks.

If CrewAI takes it in

If CrewAI takes this backend in, this package will be deprecated and we will maintain the backend there.

License

MIT. Provided as is, without warranty.

Independent project. Not affiliated with, endorsed by or sponsored by Chroma Inc. or crewAI, Inc. CHROMA is a registered trademark of Chroma Inc., used here only to describe compatibility.

Metadata

Release files for crewai-memory-chroma 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for crewai-memory-chroma 0.1.0
File Size Uploaded Provenance Actions
crewai_memory_chroma-0.1.0.tar.gz 35.5 kB With provenance Details for crewai_memory_chroma-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for crewai-memory-chroma 0.1.0
File Interpreter ABI Platform Actions
crewai_memory_chroma-0.1.0-py3-none-any.whl Python 3 none any Details for crewai_memory_chroma-0.1.0-py3-none-any.whl

Total release size: 45.0 kB

Release files / crewai_memory_chroma-0.1.0.tar.gz

Download URL crewai_memory_chroma-0.1.0.tar.gz
Size 35.5 kB
Tags Source
SHA-256 checksum
How to use checksums
bdfb32bc8c6346d928055604f36d098725be452aed2db7a70d967afdb4e6de2f
BLAKE2b-256 checksum
How to use checksums
3518dfd69001d7129de6cd6b412cd6ab83acaac2b8cfb4cead116aabfc247c00
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 4, 2026.

Transparency log

Release files / crewai_memory_chroma-0.1.0-py3-none-any.whl

Download URL crewai_memory_chroma-0.1.0-py3-none-any.whl
Size 9.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
aa89c7b71da22f77420a8a572eb8bf7894169e145585be0c464303756bde1c86
BLAKE2b-256 checksum
How to use checksums
e5a7b1dfdd1b9865e6121804a8ce911ffd2ef32b80b1cf4a1ad4f72e02cc92bc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 4, 2026.

Transparency log

Security for crewai-memory-chroma 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for crewai_memory_chroma-0.1.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 4, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page