Skip to main content
These guides walk through real-world applications of Chucky, from AI-powered CLI tools to browser extensions and white-label platforms.

Quick Examples

AI Dev Automation

# Fix TypeScript errors with local execution
chucky prompt "Fix all TypeScript errors" --allow-possession

# Review and refactor
chucky prompt "Review this file for security issues" --apply

Browser Control

// Tools that manipulate the page
const extractTool = {
  name: 'extract_data',
  handler: async ({ selector }) => {
    const data = document.querySelector(selector)?.textContent;
    return textResult(data || 'Not found');
  }
};

Per-User Billing

// Token with embedded budget
const token = await createToken({
  userId: user.id,
  budget: createBudget({ aiDollars: 5, computeHours: 1, window: 'day' }),
});

Scheduled Tasks

// .chucky.json
{
  "crons": [{
    "cron": "0 9 * * 1-5",
    "message": "Review open PRs and suggest improvements"
  }]
}

What Makes These Different

These aren’t just AI features - they’re applications that require Chucky’s unique architecture:
CapabilityWhy Chucky
Local executionPossession Mode lets Claude reason in the cloud but execute on user’s machine
Browser toolsSame SDK runs in browser with DOM access
Auto billingJWT tokens carry budgets, enforced at edge
Scheduled AIManaged cron infrastructure with full sandbox
CI/CD AIBackground jobs with webhook callbacks

Getting Started

Each guide includes:
  • Complete code examples - Copy-paste ready
  • Architecture overview - How the pieces fit together
  • Best practices - Production-ready patterns
  • Common pitfalls - What to avoid
Choose a use case above to get started, or explore the Quickstart for a general introduction.