Skip to content

Commit ceea023

Browse files
committed
Add Bonito AI infrastructure plugin
Bonito is a unified AI gateway for managing multi-provider infrastructure. This plugin gives Claude the domain knowledge to help teams: - Connect cloud AI providers (AWS Bedrock, Azure OpenAI, GCP Vertex, OpenAI, Anthropic, Groq) - Deploy infrastructure from declarative YAML configs - Create BonBon agents and Bonobot orchestrators - Configure intelligent routing (failover, cost-optimized, A/B testing) - Analyze and optimize AI spending across providers - Debug gateway, provider, and agent issues Includes 6 skills and an MCP server integration (bonito-mcp on PyPI/Docker Hub).
1 parent d2ba7f6 commit ceea023

File tree

11 files changed

+1813
-0
lines changed

11 files changed

+1813
-0
lines changed
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{
2+
"name": "bonito",
3+
"version": "1.0.0",
4+
"description": "Deploy and manage AI infrastructure across cloud providers. Connect AWS Bedrock, Azure OpenAI, GCP Vertex AI, OpenAI, Anthropic, and Groq through a unified gateway. Create agents, configure intelligent routing with failover and cost optimization, analyze spending, and debug issues.",
5+
"author": {
6+
"name": "Bonito AI",
7+
"url": "https://getbonito.com"
8+
},
9+
"repository": "https://github.com/ShabariRepo/bonito",
10+
"homepage": "https://getbonito.com",
11+
"license": "MIT",
12+
"keywords": ["ai-infrastructure", "multi-provider", "routing", "agents", "gateway", "aws-bedrock", "azure-openai", "gcp-vertex", "cost-optimization", "failover"]
13+
}

partner-built/bonito/.mcp.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"mcpServers": {
3+
"bonito": {
4+
"command": "bonito-mcp",
5+
"env": {
6+
"BONITO_API_KEY": ""
7+
}
8+
}
9+
}
10+
}

partner-built/bonito/CONNECTORS.md

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
# Connectors
2+
3+
## How tool references work
4+
5+
Plugin files use `~~category` as a placeholder for whatever tool the user connects in that category. For example, `~~bonito` refers to the Bonito MCP server, which provides access to the Bonito AI Gateway API.
6+
7+
Plugins are **tool-agnostic** — they describe workflows in terms of categories (gateway, notifications, version control, etc.) rather than specific products. The `.mcp.json` pre-configures the Bonito MCP server, but optional connectors in other categories enhance the experience.
8+
9+
## Connectors for this plugin
10+
11+
| Category | Placeholder | Included servers | Other options |
12+
|----------|-------------|-----------------|---------------|
13+
| AI Gateway | `~~bonito` | Bonito MCP ||
14+
| Version Control | `~~vcs` || GitHub, GitLab |
15+
| Notifications | `~~notifications` || Slack, Microsoft Teams, Discord |
16+
| Monitoring | `~~monitoring` || Datadog, Grafana, PagerDuty |
17+
18+
## Required connector
19+
20+
### Bonito MCP (`~~bonito`)
21+
22+
The core connector. Provides access to the Bonito AI Gateway API for managing providers, agents, routing, and infrastructure.
23+
24+
**Install:** `pip install bonito-mcp`
25+
26+
**What it provides:**
27+
- Provider management (create, list, verify, delete)
28+
- Agent configuration (BonBon agents, Bonobot orchestrators)
29+
- Routing policy management (failover, cost-optimized, A/B testing)
30+
- Cost and usage analytics
31+
- Gateway health and diagnostics
32+
- Knowledge base management
33+
34+
## Optional connectors
35+
36+
### GitHub (`~~vcs`)
37+
38+
Connect GitHub to enable infrastructure-as-code workflows, review bonito.yaml changes in PRs, and track deployment history.
39+
40+
**What it adds:**
41+
- Read bonito.yaml configs from repos
42+
- Review infrastructure changes in pull requests
43+
- Track deployment commits and history
44+
- Manage infrastructure configs alongside application code
45+
46+
### Slack (`~~notifications`)
47+
48+
Connect Slack to receive deployment notifications, cost alerts, and provider status updates in your team channels.
49+
50+
**What it adds:**
51+
- Deployment success/failure notifications
52+
- Cost threshold alerts
53+
- Provider health status updates
54+
- Agent error notifications

partner-built/bonito/LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2026 Bonito AI
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

partner-built/bonito/README.md

Lines changed: 108 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,108 @@
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

Comments
 (0)