Skip to main content

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.

What is Chucky?

Chucky is a platform that lets you integrate Claude into your applications with:
  • Managed Infrastructure: Sandboxed execution environments running on Cloudflare’s edge network
  • Built-in Billing: Per-user budget controls with real-time usage tracking
  • Multi-language SDKs: First-class support for JavaScript/TypeScript and Python
  • Tool Execution: Define custom tools that run on the server or in the browser
  • Session Persistence: Multi-turn conversations with automatic state management

Architecture

1

Your App

Your application (browser or Node.js) connects via WebSocket
2

Chucky Cloud

Edge network handles authentication, budgets, and session management
3

Claude API

Requests are forwarded to Anthropic’s Claude API

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.

Session Management

Multi-turn conversations with automatic persistence. Resume sessions anytime.

Quick Example

import { ChuckyClient } from '@chucky.cloud/sdk';

const client = new ChuckyClient({ token: 'your-jwt-token' });

// Simple prompt
const result = await client.prompt({
  message: 'Explain quantum computing in simple terms',
  model: 'claude-sonnet-4-5-20250929',
});

console.log(result.text);

Supported Models

ModelDescriptionBest For
claude-sonnet-4-5-20250929Fast, capableMost use cases
claude-opus-4-5-20251101Most powerfulComplex reasoning
claude-3-5-haiku-20241022FastestSimple tasks, high volume

Next Steps