Skip to main content

Bonito CLI — Unified multi-cloud AI management from your terminal

Project description

🐟 Bonito CLI

Unified multi-cloud AI management from your terminal.

Bonito gives enterprise AI teams a single CLI to manage models, costs, and workloads across AWS Bedrock, Azure OpenAI, Google Vertex AI, and more.

Install

pip install bonito-cli

Quick Start

bonito auth login                           # Authenticate
bonito models list                          # Browse 381+ models across 3 clouds
bonito projects create --name "My Project" # Create a project
bonito agents create --project <id> --name "Assistant" --prompt "You are a helpful AI assistant"
bonito agents execute <agent-id> "Hello!"  # Execute agent
bonito chat -m gpt-4o                      # Interactive chat
bonito kb create --name docs               # Create a knowledge base

Commands

Command Description
bonito auth 🔐 Authentication & account management
bonito providers ☁️ Cloud provider management (AWS/Azure/GCP)
bonito models 🤖 AI model catalogue — list, search, enable
bonito chat 💬 Interactive AI chat with compare mode
bonito gateway 🌐 API gateway — keys, logs, config
bonito policies 🎯 Routing policies — cost/latency/quality optimization
bonito analytics 📊 Usage analytics, costs, trends, digest
bonito deployments 🚀 Model deployment management
bonito kb 📚 Knowledge base (RAG) — documents, search, sync
bonito agents 🤖 Bonobot agents — create, execute, manage sessions
bonito projects 📁 Agent projects — organize and manage agents
bonito groups 👥 Agent groups — RBAC and permissions
bonito sso 🔐 SAML Single Sign-On — configure and manage SSO

Bonobot Agents

Create and manage AI agents with persistent conversations and automation:

# Create a project
bonito projects create --name "Customer Support" --budget 100.00

# Create an agent
bonito agents create --project <project-id> --name "Support Bot" \
  --prompt "You are a helpful customer support agent" \
  --model gpt-4o --max-turns 50

# Execute the agent
bonito agents execute <agent-id> "How do I reset my password?"

# Manage sessions
bonito agents sessions <agent-id>               # List conversations
bonito agents messages <agent-id> <session-id> # View conversation history

# Agent connections and triggers
bonito agents connections <agent-id>            # View agent connections
bonito agents triggers <agent-id>               # View automated triggers

Knowledge Base (RAG)

bonito kb create --name "Product Docs"         # Create a KB
bonito kb upload <kb-id> report.pdf notes.md   # Upload documents
bonito kb search <kb-id> "How to configure?"   # Semantic search
bonito kb info <kb-id>                         # Stats & details

SAML Single Sign-On

Configure enterprise SSO for your organization:

bonito sso setup --provider okta               # Interactive SSO setup
bonito sso test                                # Test configuration
bonito sso enable                              # Enable SSO login
bonito sso enforce --breakglass-admin <user>   # Enforce SSO-only (disable passwords)
bonito sso status --email user@company.com     # Check SSO status

JSON Output

All commands support --json for scripting and CI/CD:

bonito models list --json | jq '.[] | .display_name'
bonito analytics overview --json > report.json

Configuration

Config stored in ~/.bonito/:

  • Override with BONITO_API_KEY and BONITO_API_URL environment variables

Development

cd cli/
pip install -e .
bonito --version

License

MIT

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

bonito_cli-0.7.0.tar.gz (75.7 kB view details)

Uploaded Source

Built Distribution

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

bonito_cli-0.7.0-py3-none-any.whl (94.5 kB view details)

Uploaded Python 3

File details

Details for the file bonito_cli-0.7.0.tar.gz.

File metadata

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

File hashes

Hashes for bonito_cli-0.7.0.tar.gz
Algorithm Hash digest
SHA256 ebea68946e1c36ea60b5ba14d701662922fed0017a7d08c2fa77ab9420a8a507
MD5 10b8afa6e656a40820ce0f812846e2dd
BLAKE2b-256 58632d574a37838f92bb0d09a1c89b574cff27bcb5fd3e227d9804b7f74badd0

See more details on using hashes here.

File details

Details for the file bonito_cli-0.7.0-py3-none-any.whl.

File metadata

  • Download URL: bonito_cli-0.7.0-py3-none-any.whl
  • Upload date:
  • Size: 94.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for bonito_cli-0.7.0-py3-none-any.whl
Algorithm Hash digest
SHA256 86827ffe94b60dd0307eb22d1a4c86a43154e7d8a3459d90b40b381dfee87aea
MD5 1e68cf3dca8f50ea2afe418cea2597f5
BLAKE2b-256 2d160e093c4f8b6d4033f8b9d6d296818691acfed4e62f6ac991e495e9da7d0d

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