Integrations · Chroma
Guild agents create and query Chroma collections, run vector search, and monitor service health without handling credentials in code. Guild stores the API key server-side and injects it through its credential proxy, so the key never appears in agent code. Credential policies let you restrict which operations each agent can call before any request reaches Chroma.
Book a demo
See how teams govern agents that use Chroma.
Talk to sales
Get access to Guild, then connect Chroma to your first agent.
What the Chroma integration exposes
The integration provides tools that cover tenants, databases, and collections: creating, retrieving, updating, and deleting each resource. Record tools support add, update, upsert, delete, get, and query operations, with dense, sparse, or hybrid vector search and metadata filtering. Additional tools return indexing status, service health, pre-flight readiness, and the current user identity. Functions can be attached to or detached from collections.How it works
1
Open credentials and connect Chroma
In Guild, go to Access & setup > Credentials, click Connect, and select chroma. See Credentials for workspace, member, and agent-scoped options.
2
Paste your Chroma API key
Enter the key in the API Key field. Guild sends it as the header x-chroma-token on every request, server-side.
3
Import and use ChromaTools
Import ChromaTools from the
guildai~chroma package and spread it into your agent’s tools object. Use pick() from the SDK tools to include only the tools your agent needs.Why Chroma access needs governing
Chroma operations range from read-only health checks to destructive deletes of databases and tenants. Guild’s credential proxy enforces credential policies before any request leaves Guild: you write ALLOW and DENY rules scoped to specific operations, agents, or workspaces, and the proxy blocks anything not explicitly permitted. Because the API key is injected server-side, agents cannot extract it or bypass the policy check. Credentials can be scoped to an account, a single workspace, a member, or one installed agent, so each agent resolves exactly the key you intend. Deleting the default allow-all policy switches the posture to deny-by-default. Compared with embedding a key in agent code and relying on the agent to self-limit, server-side enforcement via credential policies keeps control with the platform, not the model.About the Chroma integration
This integration lets agents create and manage Chroma tenants, databases, and collections. Agents can add, update, delete, and query records using dense, sparse, or hybrid vector search with metadata filtering. It also supports attaching functions to collections and monitoring service health and indexing status. The integration isguildai~chroma.
Authentication
- Type: API key
- Header: Guild sends the key as
x-chroma-token: <key>
Setup
1
Connect Chroma
In Guild, go to Access & setup > Credentials, click Connect, select chroma, and paste the key into API Key.
Usage
Selecting specific tools
Tools are named with thechroma_ prefix. Use pick() to include only what your agent needs.
Tools
Tools in the latest published version ofguildai~chroma:
All 31 tools
All 31 tools
Frequently asked questions
Can an agent run hybrid vector search on a Chroma collection?
Can an agent run hybrid vector search on a Chroma collection?
Yes. The chroma_collection_search tool searches records using dense, sparse, or hybrid vector search with metadata filtering. The chroma_collection_query tool runs dense vector search with metadata and full-text search filtering.
Can I limit an agent to read-only Chroma operations?
Can I limit an agent to read-only Chroma operations?
Yes. Write DENY rules in a credential policy targeting operations such as chroma_collection_delete, chroma_delete_database, and chroma_delete_collection, then add a catch-all ALLOW rule. The proxy enforces the rules before any request reaches Chroma.
Does the Chroma integration support webhook events?
Does the Chroma integration support webhook events?
No. The catalog entry for
guildai~chroma lists no webhook events, so event-triggered runs from Chroma are not available.Can I give one agent a different Chroma key than the rest of my workspace?
Can I give one agent a different Chroma key than the rest of my workspace?
Yes. Connect a dedicated credential from the installed agent’s detail page. Guild uses that key for that agent ahead of any workspace or account credential, following the resolution order described in Credentials.
Put a governed agent on Chroma this week
Book a demo
See how teams govern agents that use Chroma.
Talk to sales
Get access to Guild, then connect Chroma to your first agent.