Chucky SDK
Chucky provides Claude as a Service - a fully managed infrastructure for deploying AI agents powered by Claude. Build conversational AI applications without managing servers, handling authentication complexity, or worrying about scaling.The Problem
Building AI features into your product sounds simple: call the API, get a response, show it to users. But once you ship, reality hits:| Challenge | What You Need to Build | Time |
|---|---|---|
| Billing | Usage tracking, budget limits, Stripe metering, usage-based billing | 2-4 weeks |
| Execution | Sandboxed environments, file system isolation, process management | 4-8 weeks |
| Tools | Tool execution routing, browser-to-server communication, error handling | 2-4 weeks |
| Sessions | Persistence, context management, message history, resume logic | 1-2 weeks |
The Chucky Solution
Chucky handles all of this with one SDK:Comparison
| Capability | Direct API | Chucky |
|---|---|---|
| Per-user billing | Build it yourself | Built-in |
| Budget enforcement | Build it yourself | Automatic |
| Code execution | Build it yourself | Managed sandbox |
| File operations | Not available | Full access |
| Shell commands | Not available | Full access |
| Browser tools | Build it yourself | Native support |
| Local execution | Build it yourself | Possession Mode |
| Session persistence | Build it yourself | Automatic |
| Multi-turn context | Build it yourself | Automatic |
| Git integration | Build it yourself | Built-in bundles |
Who Uses Chucky
Agencies Billing Clients: Deploy once, bill each client automatically. JWT tokens carry per-client budgets. No custom metering code per project. SaaS Teams Adding AI: Add AI features without building infrastructure. Set budgets per subscription tier. Ship in days, not months. Indie Developers: One SDK, one deployment. Focus on your product, not on building AI infrastructure.Key Features
Simple Integration
One SDK, same API for browser and Node.js. WebSocket-based real-time communication.
Budget Controls
Set per-user AI and compute budgets. Track usage in real-time with automatic limits.
Custom Tools
Define tools that Claude can call. Execute in browser or server context.
Multi-Provider
Use Claude, OpenAI, or 100+ OpenRouter models. Configure behavior with environment variables.
Supported Models
| Provider | Models | Best For |
|---|---|---|
| Anthropic | Claude Opus, Sonnet, Haiku | Default, best quality |
| OpenAI | GPT-5.2, GPT-5, o3, o4 | Alternative provider |
| OpenRouter | 100+ models | Cost optimization, variety |
ANTHROPIC_MODEL and CLAUDE_CODE_SUBAGENT_MODEL.
Next Steps
Quickstart
Get up and running in 5 minutes
Architecture
How Chucky works under the hood
Use Cases
Practical guides and recipes
Billing
Pricing and budget controls