toolbroker-chroma
Chroma vector store for ToolBroker.
pip install toolbroker-chroma
from toolbroker import ToolBroker
from toolbroker_chroma import ChromaStore
broker = ToolBroker(store=ChromaStore(dim=384, path="./chroma")) # on disk
broker = ToolBroker(store=ChromaStore(dim=384)) # ephemeral
broker = ToolBroker(store=ChromaStore(dim=384, host="localhost", port=8000))
Or declaratively:
store:
name: chroma
options: {path: "./chroma", collection: "agent-tools"}
Tag encoding
Chroma metadata holds only scalars, so a tool's tags cannot be stored as a list. Each
tag becomes its own boolean key (tag_<name>: true). That is not just a workaround —
it is what lets every ToolBroker filter, including tag exclusion, run server-side
before scoring, so k keeps meaning what the caller expects.
Conformance
This package passes toolbroker.testing.StoreConformanceSuite unmodified:
uv run pytest packages/toolbroker-chroma
Metadata
Release files for toolbroker-chroma 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| toolbroker_chroma-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for toolbroker_chroma-0.1.0-py3-none-any.whl |
Release files / toolbroker_chroma-0.1.0-py3-none-any.whl
| Download URL | toolbroker_chroma-0.1.0-py3-none-any.whl |
|---|---|
| Size | 7.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6226fe175a33b9f2a2dfb73b1ad242c303e47edb62e58b942fb840f39fe6c218
|
|
BLAKE2b-256 checksum How to use checksums |
6d55492303e0463a6e3e9e181483cc9e7f572393178d2771a497369c7055b39b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Security for toolbroker-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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
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.