Chroma
Lost points on 6 checks
- cost2/10
- time1/10
- efficiency0/10
- zero errors0/10
- partial credit2/10
- task completed0/30
The agent correctly installed and used the official `chroma` CLI from the `chromadb` package (verified in trace [16] as a Python wrapper around chromadb_rust_bindings). However, the task could not be completed due to two independent blockers: (1) authentication failed with a genuine 401 'Permission denied' from Chroma Cloud API (confirmed in traces [11], [13], [21], [32]), indicating the provided API key lacks the necessary identity scope for CLI login; and (2) even if authentication had succeeded, the `chroma` CLI v1.4.4 does not expose collection-level CRUD or data operations. The CLI only provides `chroma db` (for managing cloud databases—a higher-level tenant concept) and `chroma browse/copy` (for existing collections), not `create-collection`, `list-collections`, or `insert`/`query` commands. The agent exhaustively explored the CLI's entire command surface (traces [3], [4], [5], [7]) and correctly identified these limitations. No collection was created, listed, queried, or had documents inserted. The agent did not use the Python SDK (which would have violated the task requirement to use the CLI), nor did it use workarounds like curl to call the API directly for collection operations.
- Failed to create a collection: 'chroma db create' creates cloud databases, not collections; CLI has no collection-create command.
- Failed to list collections via CLI: login barrier prevented `chroma db list` execution; no alternative CLI command exists for collection listing.
- Failed to print collection details as JSON: CLI has no JSON output option; `chroma browse` only launches a web UI.
- Failed to insert test document: CLI has no insert/add/data-mutation command.
- Failed to query collection: CLI has no query command.
- Authentication blocker: provided CHROMA_API_KEY was rejected by Chroma Cloud identity endpoint (401), preventing profile creation and downstream `chroma db` commands.
- Task requirements incompatible with CLI design: the chroma CLI v1.4.4 is not designed for collection-level operations, which only exist in the SDK.
env_var auth + non-interactive + JSON output = best, browser-only auth = poor
Using the chroma CLI (Chroma), perform vector database operations:
1. Create a new collection/index called "faq-*****"
2. List collections to verify it was created
3. Print the collection details as JSON
If the CLI supports data operations, also:
4. Insert a ***** document
5. Query the collection
Print all output clearly labeled for each step.
You MUST use the `chroma` CLI to accomplish this task.
Do NOT write Python scripts that import the SDK — use CLI commands via the terminal.
If you need help with CLI commands, check the documentation: https://docs.trychroma.com/docs/cli/login
You can also use `chroma --help` and `chroma <command> --help` to discover available commands.
## Setup
You need to install and authenticate the `chroma` CLI yourself.
### Installation
Run: `pip install chromadb`
### Authentication
Run: `chroma login --api-key {key}`
Credentials are available as environment variables: `CHROMA_API_KEY`
## Summary
When you are done, write a JSON summary file to results.json with this structure:
{
"operations": [
{"step": 1, "description": "What you did", "command": "the CLI command", "success": true/false, "output_summary": "brief result"},
...
],
"overall_success": true/false,
"notes": ["any relevant notes about the execution"]
}Unlock analytics
See Chroma's score trend, layer rankings, and competitive position.
Run completed Sep 27, 2026, 2:09 PM