Skip to content
Regent

[ Local sandboxes for coding agents ]

Disposable machines for your agents. On your Mac.

Linux and macOS VMs that you and your agents can break. Claude Code, Codex or any agent with a shell can drive them, and each one shows up in Rex and herdr on its own.

No cloud. No bill. Nothing leaves your Mac.

devlinuxclaude · dev$ go test ./...ok 14 passed$ git push main → originapilinuxcodex · api :8080GET /health 200POST /login 201dev-2forkclaude · dev-2$ go test ./...ok 14 passed$ git push main → originiosxcodeXcode9:41~ regent$ regent create dev✓$ regent create api✓$ regent create ios --profile xcode✓$ regent fork dev dev-2✓$ regent rm dev-2✓✓ dev-2 is a copy of dev✓ dev-2 removedYOUR MACApple silicon · no cloudclaudecodexyou
  1. 01 Install

    One binary from Homebrew. regent setup gets Apple's container ready.

    $ brew install frkcn/tap/regent
  2. 02 Make a machine

    Debian with root, reachable over ssh. Add --desktop for a screen.

    $ regent create dev
  3. 03 Hand it to your agents

    Claude Code, Codex, OpenCode and Pi learn to make and use machines.

    $ regent skill setup

A computer for every task. Each environment is a real VM with root, a desktop and its own network. Give one to an agent and throw it away when the work is done. Or move your whole dev setup into one, and keep your Mac clean.

FIG 0.1

Real machines

Debian on Apple's container, macOS with Xcode on Tart. Root on both.

FIG 0.2

Built for agents

One skill teaches Claude Code, Codex, OpenCode and Pi to use it.

FIG 0.3

Seconds, after the first

An image builds once. Every machine like it after that starts in seconds.

Everything a machine needs

Open it, watch it, copy it, close it. From the dashboard, the CLI, or your agent.

regent dashboard
◆ regent   3 environments · 2 running
────────────────────────────────────────────────────────────────────────────
  NAME   STATE         AGENTS        TAILNET   CPU   MEM
› web    ● running     claude-code   off       4     8G
  api    ● running     codex         off       4     8G
  ios    ○ stopped     claude-code   off       6     16G
────────────────────────────────────────────────────────────────────────────
  web  linux · created 2 Dec 09:41
  Image     regent/linux:f740d0c84504
  SSH       ssh://regent-web  this Mac only
  Tailnet   off
  IP        192.168.64.131
  Mounts    none
  Desktop   closed
────────────────────────────────────────────────────────────────────────────
enter shell • s stop • o desktop • c copy address • ? help • q quit

Every machine, live

Open a shell, start, stop, reset or delete from one screen.

localhost:4100
Applications12:04
Example Domain
Example DomainLearn more

See the screen

A Linux or macOS desktop in your browser. Agents look and click too.

websnapshotwebweb-2web-3

Undo anything

Snapshot before the risky part. Fork to try two ideas at once.

  • ✓ api.anthropic.com
  • ✓ registry.npmjs.org
  • ✓ github.com
  • ✗ paste.example.net refused

Only the hosts you allow

Guarded machines reach the internet through an allowlist. Keys stay out of reach.

● running◌ idle 30m○ stopped$ ssh regent-dev

Sleeps when idle

Unused machines stop. The next ssh, from you or an agent, wakes them.

Works with what you already use

It's ssh underneath, so any agent that can run a shell can use it. With Rex or herdr installed, every machine shows up there as well.

  • RexEach machine is a Rex host. Watch agents work, take over.
  • herdrEach machine is a saved herdr machine.
  • Claude Code · Codex · OpenCode · PiLearn regent from one skill: regent skill setup.
  • Any agent with a shellssh regent-NAME is all it takes.
  • TailscaleReach a machine from your phone or another laptop.
claude
$ regent skill setup
✓ Claude Code  ~/.claude/skills/regent
✓ Codex, OpenCode, Pi  ~/.agents/skills/regent

$ claude
> Spin up a Linux desktop and screenshot example.com

⏺ Bash(regent create shot --desktop --agents none -q)
  ⎿ ✓ shot ready (6.1s)
⏺ Bash(regent screen shot run -- chromium https://example.com)
⏺ Bash(regent screen shot screenshot shot.png)
⏺ Read(shot.png)
⏺ Chromium shows example.com. Saved to shot.png.

Type to search…

↑↓ navigate↵ selectEsc close