Skip to main content

Recipes

Practical, copy-paste-ready examples for real-world scenarios. Each recipe is self-contained — pick what matches your use case and adapt it.

Drive Agents Programmatically

Create sandboxes and prompt agents entirely via the API or SDKs — no CLI needed.

Run Claude Code on a Repo

Spin up a sandbox, clone your project, and let Claude Code work on it autonomously.

Run Aider on a Repo

Pair program with Aider in an isolated sandbox with full git integration.

Run OpenAI Codex CLI

Use OpenAI’s Codex CLI agent in an isolated sandbox environment.

CI Pipeline Agent Testing

Run AI agents in sandboxes as part of your GitHub Actions CI/CD pipeline.

Budget-Controlled Batch Jobs

Process multiple tasks with strict cost limits and auto-shutdown.

Snapshot & Restore Workflow

Save progress, fork experiments, and restore known-good states.

Multi-Agent Collaboration

Run multiple agents working on the same codebase with isolated branches.

Custom MCP Tools

Add your own MCP tools to extend agent capabilities inside sandboxes.

Port Forwarding for Web Apps

Expose dev servers from sandboxes and share preview URLs.

Self-Hosted on Bare Metal

Run the full Caged stack on your own hardware with Firecracker VMs.