Skip to main content

🐟 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

Release files for bonito-cli 0.9.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for bonito-cli 0.9.4
File Size Uploaded
bonito_cli-0.9.4.tar.gz 92.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for bonito-cli 0.9.4
File Interpreter ABI Platform
bonito_cli-0.9.4-py3-none-any.whl Python 3 none any Details

Total release size: 204.1 kB

Release files / bonito_cli-0.9.4.tar.gz

Download URL bonito_cli-0.9.4.tar.gz
Size 92.3 kB
Tags Source
SHA-256 checksum
How to use checksums
4a0b07aee9ba8b5b37ac19636f898d7985cbc6d04f3a80e53a1f314dd6764c07
BLAKE2b-256 checksum
How to use checksums
b518e5e898a6bffd692fa5a659ccfe4754f69be16ffcf71ccc442b8c5794ab20
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.6

Release files / bonito_cli-0.9.4-py3-none-any.whl

Download URL bonito_cli-0.9.4-py3-none-any.whl
Size 111.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6ed4034d3ec89b2973d4118bbe02d887cce425a133c9cb451eff653913a03940
BLAKE2b-256 checksum
How to use checksums
6663c0304bc2567aefb6e3a7d9019136e64ea9f48bad0f407af30f49ab8213e5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.6

Release history Release notifications | RSS feed

0.9.5

2 release files

This release

0.9.4 This release

2 release files

0.9.2

2 release files

0.9.1

2 release files

0.9.0

2 release files

0.8.0

2 release files

0.7.4

2 release files

0.7.3

2 release files

0.7.2

2 release files

0.7.1

2 release files

0.7.0

2 release files

0.6.1

2 release files

0.6.0

2 release files

0.5.2

2 release files

0.5.1

2 release files

0.5.0

2 release files

0.4.0

2 release files

0.3.4

2 release files

0.3.3

2 release files

0.3.2

2 release files

0.3.1

2 release files

0.3.0

2 release files

0.2.0

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page