Skip to main content

Python CLI for djinnbot

Project description

djinn-bot-cli

CLI for the DjinnBot agent orchestration platform. Chat with agents, manage pipelines, configure model providers, and browse agent memory — all from the terminal.

Installation

pip install djinn-bot-cli

Or with uv:

uv tool install djinn-bot-cli

Quick Start

# Check server connectivity
djinn status

# Chat with an agent (interactive picker for agent + model)
djinn chat

# Chat directly
djinn chat --agent stas --model anthropic/claude-sonnet-4

# Configure a model provider API key
djinn provider set-key anthropic

Commands

djinn status

Show server health, Redis connection, active runs, and GitHub App status.

djinn chat

Interactive TUI chat session with an agent. Features streaming responses with markdown rendering, collapsible thinking blocks and tool calls with syntax-highlighted JSON, and a fuzzy-search model picker.

djinn chat                          # interactive agent + model selection
djinn chat -a finn -m anthropic/claude-sonnet-4  # skip pickers

djinn provider

Manage model provider API keys and configuration.

djinn provider list                 # show all providers and status
djinn provider show anthropic       # details + available models
djinn provider set-key openrouter   # set API key (secure prompt)
djinn provider models               # list models from configured providers
djinn provider enable openai        # enable a provider
djinn provider disable openai       # disable (keeps key)
djinn provider remove openai        # delete key and config

djinn pipeline

Manage pipeline definitions.

djinn pipeline list                 # list all pipelines
djinn pipeline show engineering     # show steps and agents
djinn pipeline validate engineering # validate a pipeline
djinn pipeline raw engineering      # show raw YAML

djinn agent

Manage agents and view their status.

djinn agent list                    # list all agents
djinn agent show stas               # detailed info + persona files
djinn agent status                  # fleet overview
djinn agent status stas             # single agent status
djinn agent runs stas               # run history
djinn agent config stas             # agent configuration
djinn agent projects stas           # assigned projects

djinn memory

Browse and search agent memory vaults.

djinn memory vaults                 # list all vaults
djinn memory list stas              # files in a vault
djinn memory show stas session.md   # view a file
djinn memory search "deployments"   # search across vaults
djinn memory search "arch" -a finn  # search within an agent
djinn memory delete stas old.md     # delete a file

Configuration

The CLI connects to http://localhost:8000 by default. Override with:

djinn --url http://your-server:8000 status

Or set the environment variable:

export DJINNBOT_URL=http://your-server:8000

Development

cd cli
uv sync --all-extras
uv run djinn --help
uv run pytest tests/ -v

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

djinn_bot_cli-0.1.3.tar.gz (42.4 kB view details)

Uploaded Source

Built Distribution

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

djinn_bot_cli-0.1.3-py3-none-any.whl (25.0 kB view details)

Uploaded Python 3

File details

Details for the file djinn_bot_cli-0.1.3.tar.gz.

File metadata

  • Download URL: djinn_bot_cli-0.1.3.tar.gz
  • Upload date:
  • Size: 42.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for djinn_bot_cli-0.1.3.tar.gz
Algorithm Hash digest
SHA256 b35cb98207933d6bf41bf228192ca01d92207f3af0312e8f5a66fa55a32df79e
MD5 e63f4671ee0b5510630fd7b666c154c5
BLAKE2b-256 eab9a0bb8ee4f650920f9d9c7514cf22338e64ce55917c6b9a0553952c0cad32

See more details on using hashes here.

Provenance

The following attestation bundles were made for djinn_bot_cli-0.1.3.tar.gz:

Publisher: cli-publish.yml on BaseDatum/DjinnBot

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file djinn_bot_cli-0.1.3-py3-none-any.whl.

File metadata

  • Download URL: djinn_bot_cli-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 25.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for djinn_bot_cli-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 a25170ad07a5c39adb3e9c8e8fc26196d4ecf5c80a859c7644fdaf7e6c361ea4
MD5 171e6d9dbde60ff2eed95db193a4f32f
BLAKE2b-256 711014bd29f13b5f98072d1ea762e477e5528452e71b963251df998fbb056ec0

See more details on using hashes here.

Provenance

The following attestation bundles were made for djinn_bot_cli-0.1.3-py3-none-any.whl:

Publisher: cli-publish.yml on BaseDatum/DjinnBot

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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