Long Live Local Development
3 min read
re·gent /ˈriː.dʒənt/ (noun): from the Latin regēns (regere, “to guide, direct, or rule”). A person who governs a kingdom while the monarch is a child, absent, ill, or otherwise unable to rule.
Everyone is moving development to the cloud. Claude and Codex have cloud sessions, Amp has Orbs, Grok Build has cloud agents, and a dozen startups are building sandboxes for coding agents.
They exist for a good reason: agents work best when they can install anything, break anything and run as root. But that’s not something you want happening on the Mac you use every day.
The cloud isn’t the only answer, though. Maybe you don’t want to pay for another VPS. Maybe your code shouldn’t leave your machine. Maybe you just like how fast local is. Regent gives your agents a sandbox right on your Mac, so they can do whatever they need while your own system stays untouched.
See it in action
Here’s the whole loop: create a Linux machine with a desktop and Claude Code inside, copy a tiny web project in, serve it, and open it in the machine’s own browser.
regent create hello --desktop # a short wizard asks the rest
scp -r hello regent-hello:~ # any project folder on your Mac
ssh -f regent-hello 'cd hello && python3 -m http.server 3000'
regent screen hello run -- chromium http://localhost:3000
Prefer your own browser? regent forward hello 3000 puts it on localhost:3000 on your Mac, and regent desktop hello opens the machine’s whole screen in a tab. The first machine of a kind takes a few minutes while Regent builds its image. After that, a new one is ready in seconds.
A machine for every task
Create as many machines as you need: one per task, a throwaway one for a single run, or a long-lived one you move your whole dev setup into, so your Mac stays clean for everyday use.
Under the hood, Regent uses Apple’s container and Tart (from Cirrus Labs, now part of OpenAI), so you get native virtualization on Apple silicon:
- Snapshots to save a machine and roll it back
- Network guard so a machine reaches only what you allow
- Sleep when idle so machines you aren’t using don’t use your resources
Every OS your agent needs
- Linux containers, headless or with a full desktop
- macOS VMs, with or without Xcode and the iOS simulators
- Open any desktop in your browser, let your agent drive it with computer use, or just grab a screenshot
Built for agents, and for you
Regent ships with its own agent skill, so your agent already knows how to use it. Point it at a task and watch. If you’d rather stay in control, the dashboard shows every machine and lets you manage them.
Every machine has SSH, for you and your agents. Each one can also join your Tailscale network, so you can reach it from another computer, your iPad or your iPhone. And it works with Rex and Herdr just like your Mac or a VPS.
Long live the king
You’re the king. Regent rules while you’re away, and the kingdom is still yours when you get back.
Sources
- Claude Code on the web: Claude’s cloud sessions
- Codex cloud: OpenAI Codex’s cloud environments
- Amp Orbs: Amp’s cloud sandboxes for agents
- Grok Build cloud agents: agents that run in Grok Build’s cloud
- Apple container: Linux containers as lightweight VMs on Apple silicon
- Tart: macOS and Linux VMs on Apple silicon
- Tailscale: private networking between your devices
- Rex and Herdr