Skip to main content
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 is guildai~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.
See Credentials for workspace, member, and agent-scoped credentials.

Usage

Selecting specific tools

Tools are named with the chroma_ prefix. Use pick() to include only what your agent needs.

Tools

Tools in the latest published version of guildai~chroma:

Frequently asked questions

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.
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.
No. The catalog entry for guildai~chroma lists no webhook events, so event-triggered runs from Chroma are not available.
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.
Also runs on Guild: Airtable · AssemblyAI · BigQuery · CockroachDB Read: Docs: Credential policies · Credentials · Tools in agents
Last modified on December 1, 2026