Introducing ⚡ Run in Cloud — durable agent runs on Cloudflare  →
One loop, two homes →

CLOUDEX

Run coding agents locally — then in the cloud.

Cloudex runs agent sessions in isolated git worktrees on your Mac. One click ports the same session to a Cloudflare Sandbox so it keeps running after you close your laptop — then syncs back via git.

Cloudex · payments-api · cloudex/3f8c ⚡ Run in Cloud
payments-api
~/code/payments-api · cloudex/3f8c
✓ Checks ⌥ Diff ⚡ Run in Cloud
user
Add idempotency keys to the charge endpoint and a test.
I’ll read the handler, add an Idempotency-Key guard backed by KV, then add a test.
read_filesrc/charge.ts
edit_filesrc/charge.ts
run_commandnpm test
Approve this action?ApproveDeny
Done — added the guard + a passing test. Review the diff, or push it to the cloud to keep it running.
✓ run finished
BuildPlan
Describe a task…  (⌘↵ to send)
Send
  1. 1. Add your repo.

    Cloudex spins up an isolated git worktree per session — one branch, one workspace — and the agent works only there.

  2. 2. Run the agent.

    A streaming loop with fs / exec / git tools, plan mode, human-in-the-loop approvals, a live diff viewer, and run scripts — all on your Mac.

  3. 3. Push to the cloud.

    Send the same session to a Cloudflare Sandbox. It runs durably, survives your laptop closing, and syncs the result back via git for review and merge.

Local-first, isolated

One branch = one worktree = one review path. Your code never leaves your Mac unless you push it.

⚡ Push-to-compute

Durable runs on Cloudflare Workers + Sandbox. Close your laptop; the agent keeps going.

Plan mode & approvals

Read-only planning and explicit approval for risky tools — write, exec, browser, deploy.

Browser & MCP

Browser Run in the cloud, Playwright locally, and any MCP server — stdio or remote.

Checks & PRs

Git status, tests, lint, build — then open a GitHub pull request straight from a session.

Role lenses

Engineer, Simple, PM, or Designer. The substrate stays constant; the surface adapts.

Built on the Cloudflare developer platform — Workers AI, Durable Objects, Sandbox, R2, Browser Run.

Does Cloudex use git worktrees?
└ Yes. Every session is its own branch and worktree, so runs stay isolated and reviewable.
Which models can it use?
└ Cloudflare Workers AI (free tier) by default — or bring your own Anthropic / OpenAI key. There’s also an offline mock loop.
Local or cloud?
└ Both. The exact same agent loop runs locally in a sidecar and in a cloud Durable Object + Sandbox.
How does the cloud run sync back?
└ Over git — a bundle (or native Artifacts remote). Fetch the result into your worktree, review the diff, and merge.
Is it free?
└ Local mode is free. ⚡ cloud runs use your own Cloudflare account (Workers Paid for the Sandbox).

One agent loop. Two homes.

Local when you want control, cloud when you want it to keep running.

Get Cloudex