# Migrate from Cloudflare Sandbox to Rush

Your repository and Worker code are yours. Moving to Rush replaces the runner pattern with one request that returns the pull request.

Facts checked 17 October 2026. Prices and limits move. Read the citations.

## Where Rush sits

Moving the Cloudflare coding agent runner to Rush removes the Worker, the Durable Object and the diff handling, and adds the pull request you were going to build next.

## The steps

1. Find the Worker that creates a sandbox to run Claude Code or Codex, and the code that clones, runs and reads the diff.
2. Commit the agent's instructions to CLAUDE.md or AGENTS.md so they load in every Rush run.
3. Keep Cloudflare Sandbox for code execution that belongs inside your own Worker app.
4. Install the Rush GitHub App on the repository in Settings, Integrations, GitHub. A run that needs no repository needs no GitHub.
5. Create an API key in the console under Developers, then start one run: POST /o/{org}/sessions with an agent (claude, codex or opencode) and the task as input. The same call is the create_session tool on the Rush MCP server.
6. Read the result: the pull request and its checks for code, or the report and files under artifacts. A run whose proof is missing ends needs_review, not completed.

## Skip Rush if

- Cloudflare Sandbox still does the job you bought it for. This page is the off-ramp, not a reason to leave.
- Rush runs three agents: Claude Code, Codex and OpenCode. It does not host an agent you wrote yourself.
- Repositories come through the Rush GitHub App. A GitLab or Bitbucket repository cannot be a run's repository yet.
- There is no self-hosted or customer-VPC deployment, and we do not publish a compliance report today.
- Compute is metered. Free includes 5 agent-hours a month and Pro 40, each with a weekly ceiling.
- You review the pull request. Rush does not merge for you.

## Questions people actually ask

### What happens to my work on Cloudflare Sandbox when I leave?

Your repository and Worker code are yours. Moving to Rush replaces the runner pattern with one request that returns the pull request.

### Do I rewrite my instructions for Rush?

Not if they live in the repository. Claude Code reads CLAUDE.md and Codex and OpenCode read AGENTS.md from the checkout, so a file you commit travels with every run. Settings held only inside another product's UI have to be copied into one of those files.

## Keep reading

- [Rush vs Cloudflare Sandbox](https://getrush.ai/compare/rush-vs-cloudflare-sandbox.md)
- [Cloudflare Sandbox alternatives](https://getrush.ai/compare/cloudflare-sandbox-alternatives.md)

## Sources

1. Rush, "Rush product requirements", retrieved 2026-09-15. https://getrush.ai/cloud
2. Rush, "Rush pricing (live contract on getrush.ai)", retrieved 2026-09-15. https://getrush.ai/pricing
3. Rush, "Isolation, plainly", retrieved 2026-10-17. https://getrush.ai/docs/concepts/isolation
4. Rush, "Results and proof", retrieved 2026-10-17. https://getrush.ai/docs/concepts/results-and-proof
5. Rush, "Usage and billing", retrieved 2026-10-17. https://getrush.ai/docs/concepts/usage-and-billing
6. Rush, "Rush MCP server", retrieved 2026-10-17. https://getrush.ai/docs/concepts/mcp-server
7. Rush, "Automations", retrieved 2026-10-17. https://getrush.ai/docs/concepts/automations
8. Cloudflare, "Sandboxes on Cloudflare", retrieved 2026-10-17. https://developers.cloudflare.com/sandbox/
9. Cloudflare, "Choose a sandbox environment", retrieved 2026-10-17. https://developers.cloudflare.com/sandbox/concepts/
10. Cloudflare, "Pricing (Containers)", retrieved 2026-10-17. https://developers.cloudflare.com/containers/platform/pricing/
11. Cloudflare, "Limits (Containers)", retrieved 2026-10-17. https://developers.cloudflare.com/containers/platform/limits/
12. Cloudflare, "Build a coding agent runner", retrieved 2026-10-17. https://developers.cloudflare.com/sandbox/tutorials/claude-code/
13. Cloudflare, "Cloudflare's own MCP servers", retrieved 2026-10-17. https://developers.cloudflare.com/agents/model-context-protocol/cloudflare/servers-for-cloudflare/
