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 | Reset |
|---|---|---|---|---|
| toolbroker_chroma-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
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
|