A powerful CLI and Go SDK for building, deploying, and managing AI agents on the Blaxel platform.
Blaxel is a platform for deploying production-ready AI agents, MCP servers, sandboxes, and jobs. The Blaxel Toolkit provides everything you need to interact with the Blaxel platform from your command line or Go applications.
brew tap blaxel-ai/blaxel
brew install blaxelDownload the latest release from GitHub Releases or see docs.blaxel.ai for detailed installation instructions.
# Login to your workspace
bl login my-workspace
# Create a new agent
bl new agent my-agent
# Deploy your agent
bl deploy
# Connect to a sandbox
bl connect sandbox my-sandbox
# Chat with your agent
bl chat my-agent- 🤖 Agent Management: Create, deploy, and chat with AI agents
- 🔌 MCP Servers: Build Model Context Protocol servers for tool integration
- 📦 Sandboxes: Interactive shell environments for remote execution
- ⚙️ Jobs: Schedule and run background tasks
- 🚀 Deployment: Interactive deployment with real-time logs
- 📊 Resource Management: Get, delete, and manage all your Blaxel resources
- 🔐 Authentication: Multiple auth methods (API key, device flow, client credentials)
| Command | Description |
|---|---|
bl login |
Authenticate with Blaxel workspace |
bl new |
Create agents, MCP servers, sandboxes, or jobs |
bl deploy |
Deploy your projects to Blaxel |
bl get |
List resources (agents, sandboxes, models, etc.) |
bl connect sandbox |
Interactive shell for sandbox environments |
bl chat |
Chat with deployed agents |
bl run |
Execute jobs or agents |
bl serve |
Run projects locally |
Run bl --help or bl <command> --help for detailed usage.
.
├── cli/ # CLI command implementations
├── sdk/ # Go SDK for Blaxel APIs
├── vscode/ # VSCode extension
├── docs/ # Auto-generated command documentation
├── samples/ # Example configurations
└── templates/ # Code generation templates
See CONTRIBUTING.md for development setup and guidelines.
# Build the CLI
make build
# Run tests
make test
# Generate SDK from OpenAPI spec
make sdkThe toolkit includes a Go SDK for programmatic access to Blaxel APIs:
import "github.com/blaxel-ai/toolkit/sdk"
// Use the SDK in your Go applications
client := sdk.NewClient(apiKey)See LICENSE for details.