Cloud coding agents vs local runners

Cloud coding agents vs local runners is a choice about where your code and credentials live. Provider-managed cloud sandboxes run a checkout remotely; Riff runs Claude Code, Codex and Cursor on your Mac or Linux machine. Both send prompts and relevant code to model providers.

By Riff · Updated · 4 min read

Key takeaways

  • Your tools stay intact. Local runners use the compilers, databases and scripts already installed on your machine.
  • Credentials stay home. Agent logins, model API keys and git credentials do not move into a cloud sandbox.
  • Phone access to local tools. Riff brings mobile control to local tools. Agent messages can contain code, and model providers process it.
  • Machine availability trade-off. Cloud VMs run when your laptop is shut; local runners need a computer or server that stays on.

Trade-offs between cloud sandboxes and your hardware

Cloud-hosted coding agents shine when your laptop is closed and your project builds cleanly inside a generic Linux container from a GitHub token. You can start a background task from anywhere without leaving a computer on.

Local runners win when a repository depends on macOS, Xcode, local Docker services, private networks, hardware devices or custom toolchains that are painful to mirror in a remote VM. Riff uses the accounts set up on that host. Local execution still involves model-provider requests and does not keep all code offline.

Riff turns an always-on Linux box or Mac mini, or your desk Mac while you step out, into a host for Claude Code on your phone, Codex on your phone and Cursor on your phone, with end-to-end encrypted chats on paired devices. See where Riff data goes for exactly what leaves the machine.

Cloud coding sandboxes compared with local runners via Riff
DimensionCloud coding sandboxLocal runner (Riff)
Where code executesProvider-managed remote VMYour own Mac or Linux computer
Environment setupContainer image and startup scriptsYour existing local tools, caches and services
Git and model credentialsHeld or proxied by the cloud serviceStay on your machine; pushes go from your runner
When your laptop sleepsContinues running in the cloudNeeds an awake Mac or Linux host

How to set it up

  1. Install the runner. Run curl -fsSL https://goriff.dev/install.sh | sh on the Mac or Linux machine where your agents already work, and approve it in your browser.
  2. Open Riff on your phone. Sign in at goriff.dev, add it to the home screen, and allow notifications.
  3. Start or pick up a session. Choose the machine, project and agent; Riff shows every session from every machine in one list.

Who it is for

  • You use more than one agent. Claude Code, Codex and Cursor sit in one session list so you stop jumping between separate apps to find which run is waiting.
  • You step away from your desk. Check a run between meetings, answer a prompt on the train, and inspect changed files without opening a laptop.
  • Your agents execute locally. Execution uses your connected machine and local tools. AI providers still receive prompts and relevant code; their policies apply.

Try Riff with your own machine

One terminal command on your Mac or Linux machine, or the Mac app. Then open Riff on your phone.

Download the runner

FAQ

When should I choose a local runner over a cloud coding agent?

Choose a local runner when your project needs macOS, local databases, private network access or existing CLI logins, or when you prefer keeping git credentials and repositories on your own hardware while still managing runs from your phone.

Do I lose mobile convenience by keeping agents on my own machine?

Riff connects your phone to your Mac or Linux runner through its relay. You can start tasks, answer questions, review diffs and manage GitHub pull requests while execution stays on your machine. Enable notifications in a supported browser.

Can I run Riff on a headless Linux server or Mac mini?

Yes. On Linux the runner installs as a user service that starts at boot and keeps running after you log out, so a headless server works. On a Mac, including a Mac mini, it runs as a login item, so a user must stay logged in (the screen can be locked).

What stays on my machine when I use Riff?

Coding agents run on your connected Mac or Linux machine using its repositories, tools and configured accounts. Local execution does not mean code stays offline: agents send prompts and relevant code to your configured AI providers, whose policies and usage limits apply. New chats are end-to-end encrypted between paired browsers and private runners. Riff stores encrypted prompts, replies, diffs and original-file attachments without the recovery key.

What is the main limitation of a local runner?

Because agents run on your own computer, that Mac or Linux machine must stay powered on and online while tasks run. Sleep or network loss can interrupt a run; check the session after it reconnects before resuming or retrying.

Can I run multiple coding agents on one local runner?

Yes. One Riff runner can host Claude Code, Codex and Cursor jobs at the same time, each in its own git worktree, and Riff shows every active session together in one list on your phone.