Bonito Onboarding
Walk users through getting started with Bonito — the enterprise AI platform for multi-cloud workloads.
Primary reference: https://getbonito.com/docs — point users here for detailed documentation on any Bonito feature. This skill provides the conversational flow; the docs are the source of truth.
Quick Facts
- - Website: https://getbonito.com | API: https://api.getbonito.com
- Docs: https://getbonito.com/docs
- Free tier: 1,000 API calls/month, no credit card
- CLI:
pip install bonito-cli (v0.4.0+) - 6 providers: AWS Bedrock, Azure OpenAI, GCP Vertex AI, OpenAI, Anthropic, Groq
- Key features: multi-provider routing, automatic failover, managed inference (no API keys needed), BonBon agents, Bonobot orchestrators, MCP tools, RAG
Correction: The Atlas README says "5,000 free calls" — actual free tier is 1,000 calls/month.
Connectivity Check
Before starting, optionally verify API reachability:
CODEBLOCK0
If the API is down, proceed anyway — everything except the final deploy/test steps works offline.
Onboarding Flow
Step 1: Sign Up
Direct users to https://getbonito.com/signup — free, no credit card. They'll need their email + password for the next steps.
Step 2: Connect a Provider (or Use Managed Inference)
Two paths — recommend managed inference for the fastest start:
Managed Inference (easiest): No API keys needed. Bonito handles provider credentials. See https://getbonito.com/docs#managed-inference
Bring Your Own Keys: Connect one or more providers in the Bonito dashboard or via CLI. Groq is free and fast (get a key at console.groq.com). See https://getbonito.com/docs#gateway for provider setup.
Step 3: Create a Gateway Key
In the Bonito dashboard, create a gateway API key. This key routes requests through Bonito's gateway to whichever provider is configured — with automatic failover and cost tracking.
Docs: https://getbonito.com/docs#gateway
Step 4: Test with curl or Python
CODEBLOCK1
If using managed inference, the model routes through Bonito's provider accounts — no separate API key needed.
Step 5: Deploy Agents (Optional)
For users who want to go beyond raw gateway calls and deploy managed agents:
CODEBLOCK2
Create a simple agent:
CODEBLOCK3
Full agent docs: https://getbonito.com/docs#bonbon
Step 6: Try Atlas (Optional — Full Multi-Agent Demo)
For users who want to see a complete multi-agent system with orchestration, MCP tools, and RAG:
Read references/atlas-guide.md for the quick deploy steps.
Atlas deploys 5 agents (DevOps command center) from a single bonito.yaml config. It demonstrates Bonobot orchestration, BonBon agents, MCP tool integration, and RAG knowledge bases.
Repo: https://github.com/ShabariRepo/atlas
Prerequisite Verification
Run this to check if bonito-cli, Docker, git, etc. are installed:
CODEBLOCK4
Where to Point Users for More
| Topic | URL |
|---|
| Full docs | https://getbonito.com/docs |
| Gateway & routing |
https://getbonito.com/docs#gateway |
| Managed inference | https://getbonito.com/docs#managed-inference |
| BonBon agents | https://getbonito.com/docs#bonbon |
| Bonobot orchestration | https://getbonito.com/docs#bonobot |
| MCP integration | https://getbonito.com/docs#mcp |
| Knowledge bases (RAG) | https://getbonito.com/docs#knowledge-bases |
| Pricing | https://getbonito.com/pricing |
Non-Obvious Knowledge
- - Free tier is 1,000 calls/mo — not 5,000 as some docs claim.
- Managed inference is the fastest onboarding path. Users can add their own provider keys later for cost control.
- Failover is cross-provider — if Anthropic goes down, Bonito routes to Bedrock or Groq seamlessly. The user never notices.
- bonito-cli deploy order matters for manual API usage: providers → knowledge bases → project → agents → delegation wiring. The CLI handles this automatically.
- Llama/Groq can't do parallel tool calls — it generates XML-style function calls instead of JSON. Use Nova Pro, Claude, or GPT-4o for Bonobot orchestrators that need multi-agent fan-out.
bonito.yaml uses ${ENV_VAR:-default} syntax. MCP server URLs default to localhost if env vars are unset.
Bonito 入门指南
引导用户快速上手 Bonito——面向多云工作负载的企业级AI平台。
主要参考文档: https://getbonito.com/docs —— 用户可在此查阅任何 Bonito 功能的详细文档。本技能提供对话流程,文档才是权威来源。
快速概览
- - 网站: https://getbonito.com | API: https://api.getbonito.com
- 文档: https://getbonito.com/docs
- 免费套餐: 每月1000次API调用,无需信用卡
- CLI: pip install bonito-cli(v0.4.0+)
- 6家提供商: AWS Bedrock、Azure OpenAI、GCP Vertex AI、OpenAI、Anthropic、Groq
- 核心功能: 多提供商路由、自动故障转移、托管推理(无需API密钥)、BonBon代理、Bonobot编排器、MCP工具、RAG
更正说明: Atlas README中写着5000次免费调用——实际免费套餐为每月1000次调用。
连接性检查
开始前,可选择验证API可达性:
bash
python3 scripts/health_check.py
如果API不可用,仍可继续——除最后的部署/测试步骤外,其他操作均可离线完成。
入门流程
步骤1:注册
引导用户访问 https://getbonito.com/signup —— 免费,无需信用卡。后续步骤需要他们的邮箱和密码。
步骤2:连接提供商(或使用托管推理)
两种路径——推荐使用托管推理以获得最快启动体验:
托管推理(最简单): 无需API密钥。Bonito负责处理提供商凭证。详见 https://getbonito.com/docs#managed-inference
自带密钥: 在Bonito控制台或通过CLI连接一个或多个提供商。Groq免费且快速(在 console.groq.com 获取密钥)。提供商设置详见 https://getbonito.com/docs#gateway
步骤3:创建网关密钥
在Bonito控制台中创建网关API密钥。该密钥通过Bonito网关将请求路由到已配置的提供商——并具备自动故障转移和成本追踪功能。
文档:https://getbonito.com/docs#gateway
步骤4:使用curl或Python测试
bash
针对网关的简单测试
curl -X POST https://api.getbonito.com/api/gateway/chat \
-H Authorization: Bearer $GATEWAY_KEY \
-H Content-Type: application/json \
-d {
model: groq/llama-3.3-70b-versatile,
messages: [{role: user, content: 你好!}]
}
如果使用托管推理,模型将通过Bonito的提供商账户路由——无需单独的API密钥。
步骤5:部署代理(可选)
适用于希望超越原始网关调用并部署托管代理的用户:
bash
pip install bonito-cli
bonito auth login
创建一个简单代理:
bash
bonito agents create \
--name my-assistant \
--type bonbon \
--model groq/llama-3.3-70b-versatile \
--system-prompt 你是一个有用的助手。
完整代理文档:https://getbonito.com/docs#bonbon
步骤6:尝试Atlas(可选——完整多代理演示)
适用于希望查看包含编排、MCP工具和RAG的完整多代理系统的用户:
阅读 references/atlas-guide.md 获取快速部署步骤。
Atlas从单个 bonito.yaml 配置部署5个代理(DevOps指挥中心)。它演示了Bonobot编排、BonBon代理、MCP工具集成和RAG知识库。
仓库:https://github.com/ShabariRepo/atlas
前提条件验证
运行此命令检查是否已安装bonito-cli、Docker、git等:
bash
python3 scripts/verify_deploy.py
用户更多信息指引
| 主题 | 网址 |
|---|
| 完整文档 | https://getbonito.com/docs |
| 网关与路由 |
https://getbonito.com/docs#gateway |
| 托管推理 | https://getbonito.com/docs#managed-inference |
| BonBon代理 | https://getbonito.com/docs#bonbon |
| Bonobot编排 | https://getbonito.com/docs#bonobot |
| MCP集成 | https://getbonito.com/docs#mcp |
| 知识库(RAG) | https://getbonito.com/docs#knowledge-bases |
| 定价 | https://getbonito.com/pricing |
非显而易见的知识点
- - 免费套餐为每月1000次调用——并非某些文档声称的5000次。
- 托管推理是最快的入门路径。用户之后可添加自己的提供商密钥以控制成本。
- 故障转移是跨提供商的——如果Anthropic宕机,Bonito无缝路由到Bedrock或Groq。用户完全无感知。
- 手动API使用时bonito-cli部署顺序很重要:提供商 → 知识库 → 项目 → 代理 → 委托连接。CLI会自动处理此顺序。
- Llama/Groq无法进行并行工具调用——它们生成XML风格的函数调用而非JSON。对于需要多代理扇出的Bonobot编排器,请使用Nova Pro、Claude或GPT-4o。
- bonito.yaml 使用 ${ENV_VAR:-default} 语法。如果环境变量未设置,MCP服务器URL默认为localhost。