For agent-run repo work.
Fresh computers on Cloudflare.
Cloudbox gives agents a clean place to clone a repo, run commands, verify the result, and return receipts plus one artifact for review.
import { generateText } from "ai";
import { createCloudbox } from "cloudbox/client";
const cloudbox = createCloudbox({ token: process.env.CLOUDBOX_API_TOKEN });
// 1. Boot a fresh computer with the repo already cloned.
const box = await cloudbox.boot({
repo: "https://github.com/acoyfellow/cloudbox",
});
// 2. Your model decides by using tools that run in the box.
await generateText({
model: yourModel,
tools: box.tools(["shell", "read", "write"]),
prompt: `
grep for the demo empty state.
improve the copy.
run the tests.
write HANDOFF.md with what changed.
`,
});
// 3. Cloudbox returns the human artifact and receipts.
const proof = await box.submit("HANDOFF.md");
console.log(proof.artifact.content);
// receipts: grep → read → write → test → artifact Your model runs wherever your agent runs. Cloudbox tools execute inside the fresh computer. Learn the agent pattern →
How runs work
Cloudbox turns a structured plan into a verified artifact.
Cloudbox makes agent work inspectable by forcing it through the same lifecycle: clean checkout, real Container, explicit tool calls, verification, and one returned artifact.
Clone
Start from a fresh checkout every time. Learn more →
Boot
Create a Cloudflare Container runner for the task. Learn more →
Run
Use shell, files, browser, deploy, MCP, or custom tools. Learn more →
Verify
Execute explicit checks before anything counts. Learn more →
Return
Hand back one artifact plus receipts. Learn more →
Learn next
Pick the path that matches how you want to use it.
Try the hosted demo
Run a public GitHub repo and inspect the returned artifact and receipts.
Bring your agent
Use any model. Give it Cloudbox tools for repo work, and optionally a browser.
Run it from CI
Add the GitHub Actions smoke test and upload Cloudbox proof as an artifact.
Deploy your own
Create the Worker, Durable Objects, R2, D1, and Container runner in your account.