Skip to main content

Interactive CLI for ChromaDB administration

Project description

Chroma Admin CLI

A powerful, interactive command-line interface (TUI) for ChromaDB administration and data exploration.

✨ Features

  • Interactive TUI: Navigate through collections, inspect chunks, and return to menus continuously using your keyboard arrows.
  • Embedding Previews: Safely preview high-dimensional vectors without flooding your terminal screen.
  • Multi-Tenant Support: Easily switch between different tenants and databases on the fly.
  • Persistent Configuration: Set your host URL and credentials once and forget about them.

🚀 Installation

We recommend using pipx to install the CLI globally in an isolated environment:

  1. Install pipx (if you haven't already):

    • Mac: brew install pipx
    • Windows: python -m pip install --user pipx
    • Linux: sudo apt install pipx (Note: Run pipx ensurepath after installation to register global commands).
  2. Install the CLI: pipx install git+https://github.com/Pedro-Marquardt/chroma-admin-cli.git

🛠️ How to Use

1. Initial Setup

Configure your database host, user, and password. You only need to run this once. chroma-cli config

2. Interactive Exploration

Launch the interactive terminal UI to browse collections, read document texts, and inspect metadata. chroma-cli explore

3. Using Custom Tenants and Databases

By default, the CLI connects to default_tenant and default_database. If your ChromaDB instance uses custom namespaces, you can pass them as flags: chroma-cli explore --tenant "2a73d61d-a7de-4f06-89c1-4f65e066debe" --database "88a9e3ab-7d12-46b7-9dbd-2a7b126924c5"

To see all available commands and options at any time, run: chroma-cli --help

⚠️ Compatibility & Troubleshooting

This CLI leverages modern ChromaDB API features and is designed to work with ChromaDB Server versions 1.5.x and newer.

Troubleshooting JSON API Errors: If you experience a KeyError: '_type' or sudden crashes when exploring collections, it means your target ChromaDB server is running an outdated, legacy version (such as 0.4.x).

To resolve this, you must upgrade your ChromaDB server container/instance to a modern version (1.5.0 or higher). This CLI does not support connecting to deprecated server versions.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

chroma_admin_cli-0.1.1.tar.gz (4.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

chroma_admin_cli-0.1.1-py3-none-any.whl (5.1 kB view details)

Uploaded Python 3

File details

Details for the file chroma_admin_cli-0.1.1.tar.gz.

File metadata

  • Download URL: chroma_admin_cli-0.1.1.tar.gz
  • Upload date:
  • Size: 4.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for chroma_admin_cli-0.1.1.tar.gz
Algorithm Hash digest
SHA256 f83063d1ea122619a1a7c551a5e7229c1aa75f2758c2748c5e543319eb2e99e0
MD5 96ea25260e2b0cae3c7b90574ddd471e
BLAKE2b-256 18b79b67b20420d4b532d87ff92438d95e386816d3822dfd592c5694ee98db27

See more details on using hashes here.

File details

Details for the file chroma_admin_cli-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for chroma_admin_cli-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 f9920defc6fcdc84777c1a9733b0682efe74d0c5b4e6dc6419c8755d9f7ad197
MD5 094db3c868e88f3df0c685b9c697dbd3
BLAKE2b-256 edd07c93ebba6fa49f600a32da1e3195367db4220467d72e98cdde15d7a20092

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page