|
| 1 | +# Bonito Plugin |
| 2 | + |
| 3 | +An AI infrastructure management plugin primarily designed for [Cowork](https://claude.com/product/cowork), Anthropic's agentic desktop application — though it also works in Claude Code. Helps you deploy and manage AI infrastructure across cloud providers, create agents, configure intelligent routing, analyze costs, and debug issues. Works with any team — standalone with the Bonito API, supercharged when you connect GitHub, Slack, and other tools. |
| 4 | + |
| 5 | +## Installation |
| 6 | + |
| 7 | +```bash |
| 8 | +claude plugin install bonito |
| 9 | +``` |
| 10 | + |
| 11 | +## Skills |
| 12 | + |
| 13 | +Domain knowledge Claude uses automatically when relevant: |
| 14 | + |
| 15 | +| Skill | Description | |
| 16 | +|---|---| |
| 17 | +| `deploy-stack` | Deploy AI infrastructure from a bonito.yaml config — create providers, agents, knowledge bases, and routing in one shot | |
| 18 | +| `manage-providers` | Connect, verify, and manage cloud AI providers — AWS Bedrock, Azure OpenAI, GCP Vertex AI, OpenAI, Anthropic, Groq | |
| 19 | +| `create-agent` | Create and configure BonBon agents or Bonobot orchestrators with system prompts, models, MCP tools, and RAG | |
| 20 | +| `cost-analysis` | Analyze AI spending across providers, identify expensive models, recommend cheaper alternatives, optimize routing | |
| 21 | +| `gateway-routing` | Configure routing policies — cost-optimized, failover, A/B testing, model aliases, and cross-region inference | |
| 22 | +| `debug-issues` | Troubleshoot gateway errors, provider failures, and agent issues — check logs, verify connections, test endpoints | |
| 23 | + |
| 24 | +## Example Workflows |
| 25 | + |
| 26 | +### Deploying Your AI Stack |
| 27 | + |
| 28 | +Just describe what you want: |
| 29 | +``` |
| 30 | +Deploy my AI infrastructure from bonito.yaml |
| 31 | +``` |
| 32 | + |
| 33 | +The `deploy-stack` skill reads your config file, creates providers, agents, knowledge bases, and routing policies — all in one shot. It validates each step and reports what was created. |
| 34 | + |
| 35 | +### Connecting a New Provider |
| 36 | + |
| 37 | +``` |
| 38 | +Connect my AWS Bedrock account as a provider |
| 39 | +``` |
| 40 | + |
| 41 | +The `manage-providers` skill walks you through credential setup, creates the provider, verifies the connection, and lists available models. Works for any supported cloud provider. |
| 42 | + |
| 43 | +### Building an Agent |
| 44 | + |
| 45 | +``` |
| 46 | +Create a customer support agent using Claude on AWS Bedrock with our FAQ knowledge base |
| 47 | +``` |
| 48 | + |
| 49 | +The `create-agent` skill configures a BonBon agent with your chosen model, system prompt, knowledge base, and MCP tools. It deploys the agent and gives you the endpoint. |
| 50 | + |
| 51 | +### Optimizing Costs |
| 52 | + |
| 53 | +``` |
| 54 | +What am I spending on AI across all providers? |
| 55 | +``` |
| 56 | + |
| 57 | +The `cost-analysis` skill pulls usage data across all connected providers, breaks down costs by model and agent, identifies expensive patterns, and recommends cheaper alternatives or routing changes. |
| 58 | + |
| 59 | +## Standalone + Supercharged |
| 60 | + |
| 61 | +Every skill works without any additional integrations: |
| 62 | + |
| 63 | +| What You Can Do | Standalone | Supercharged With | |
| 64 | +|-----------------|------------|-------------------| |
| 65 | +| Deploy infrastructure | bonito.yaml + Bonito API | GitHub (track configs in repos) | |
| 66 | +| Manage providers | Bonito API | Monitoring (health dashboards) | |
| 67 | +| Create agents | Bonito API | GitHub (version agent configs) | |
| 68 | +| Analyze costs | Bonito API | Slack (cost threshold alerts) | |
| 69 | +| Configure routing | Bonito API | Monitoring (traffic dashboards) | |
| 70 | +| Debug issues | Bonito API logs | Slack (error notifications), Monitoring | |
| 71 | + |
| 72 | +## MCP Integrations |
| 73 | + |
| 74 | +> If you see unfamiliar placeholders or need to check which tools are connected, see [CONNECTORS.md](CONNECTORS.md). |
| 75 | +
|
| 76 | +Connect your tools for a richer experience: |
| 77 | + |
| 78 | +| Category | Examples | What It Enables | |
| 79 | +|---|---|---| |
| 80 | +| **AI Gateway** | Bonito MCP | Provider management, agent creation, routing, cost analytics | |
| 81 | +| **Version Control** | GitHub, GitLab | Infrastructure-as-code, config versioning, PR reviews | |
| 82 | +| **Notifications** | Slack, Teams, Discord | Deployment alerts, cost warnings, provider status updates | |
| 83 | +| **Monitoring** | Datadog, Grafana | Traffic dashboards, latency tracking, health monitoring | |
| 84 | + |
| 85 | +See [CONNECTORS.md](CONNECTORS.md) for the full list of supported integrations. |
| 86 | + |
| 87 | +## Settings |
| 88 | + |
| 89 | +Create a `settings.local.json` file to personalize: |
| 90 | + |
| 91 | +- **Cowork**: Save it in any folder you've shared with Cowork (via the folder picker). The plugin finds it automatically. |
| 92 | +- **Claude Code**: Save it at `bonito/.claude/settings.local.json`. |
| 93 | + |
| 94 | +```json |
| 95 | +{ |
| 96 | + "organization": "Your Company", |
| 97 | + "bonito_api_url": "https://api.getbonito.com", |
| 98 | + "default_model": "anthropic/claude-sonnet-4-20250514", |
| 99 | + "preferences": { |
| 100 | + "default_provider": "aws-bedrock", |
| 101 | + "cost_alert_threshold": 100, |
| 102 | + "routing_strategy": "cost-optimized", |
| 103 | + "region": "us-east-1" |
| 104 | + } |
| 105 | +} |
| 106 | +``` |
| 107 | + |
| 108 | +The plugin will ask you for this information interactively if it's not configured. |
0 commit comments