Every coding agent gets its own machine, on your server
Several Claude Code and Codex agents on one laptop share its ports, its database and its memory. lui gives every project a Linux machine on a server you rent, and copies the whole machine in seconds for each task. lui does not run your agents or split their work, so keep the tools you use for that.
You need a rented server with two disks and a Mac. Is it for you?
Agent
> Fork this project with a time limit of 30 minutes. In the fork, start the database with pnpm pb:dev in the background, wait until http://127.0.0.1:8090/api/health answers, then remove the fork. Tell me in two short sentences what you did. 6.9 s ● Skill(lui) ● lui · fork(name: pbcheck, ttl: 30m) 6.6 s ⎿ shop-pbcheck running, address 10.77.0.15, time left 30m ● lui · exec(shop-pbcheck, cwd: /home/dev/shop) 8.5 s { nohup pnpm pb:dev > ~/pb.log 2>&1 < /dev/null & } for i in $(seq 1 60); do curl -fsS http://127.0.0.1:8090/api/health && exit 0 sleep 1 done ⎿ exit 0, {"message":"API is healthy.","code":200,"data":{}} ● lui · remove(shop-pbcheck) 2.0 s ⎿ shop-pbcheck removed ● I forked the project as shop-pbcheck with a 30-minute limit. There I started pnpm pb:dev in the background, and http://127.0.0.1:8090/api/health answered "API is healthy" with code 200 after a few seconds.
A real Claude Code session in the project machine, at real speed. Times include the agent's thinking. Tool results and the reply are shortened, and the project name is changed.
Terminal
$ lui fork shop plan --ttl 2h 9.0 s shop-plan running, address 10.77.0.12, time left 2h $ lui exec shop-plan --cwd /home/dev/shop -- '{ nohup pnpm pb:dev > ~/db.log 2>&1 < /dev/null & }' 1.8 s $ lui exec shop-plan -- 'until curl -sf 127.0.0.1:8090/api/health; do sleep 0.5; done' 5.4 s {"message":"API is healthy.","code":200,"data":{}} $ lui ls 1.1 s NAME KIND PROJECT STATE MEMORY CPUS AGE LEFT ADDRESSES shop project shop running 1.5 / 8.0 GiB 4 4h - - shop-plan fork shop running 0.9 / 8.0 GiB 4 <1m 2h - Free memory: 4.4 GiB of 31.2 GiB
A real run on our test server, at real speed. Only the project name is changed. pnpm pb:dev starts the project's database.
What it solves
A git worktree gives each agent its own files, and nothing else. These are the problems that stay.
| The problem | What lui does |
|---|---|
| Two agents use the same port and the same database, and one breaks the other's work. | Each fork is a full machine with its own disk, its own address and its own running services. |
| Agents and builds use all the memory of the laptop. | The work runs on the server. Every machine has a memory cap, and lui refuses a machine that does not fit. |
| An agent with full permissions can reach everything on your computer. | The agent runs in a virtual machine with its own kernel. Its rules let it fork and use only its own project. |
| A risky migration or a full test run blocks the project for everybody. | The agent forks the project machine, runs the work in the copy, and the copy removes itself when its time is up. |
| A cloud sandbox forgets its state, and your code and data sit with another company. | A project machine is permanent, and it stands on a server that you rent and control. |
| Every new machine needs sign-ins for Claude Code, Codex and GitHub. | The server keeps the sign-ins. It puts the Claude Code sign-in on each model call of a machine, so no machine holds it. A machine gets a GitHub key for the repository of its own project that lasts one hour. |
How it works
One service on the server, named luid, makes the machines, keeps the rules and holds the sign-ins. You drive it from your Mac with the lui command, through SSH. Your agents drive it through MCP, and they can touch only their own project.
Your Mac
the lui command
your agent, with the lui MCP server
│
│ SSH
▼
Your server Ubuntu 24.04, Incus, ZFS
luid rules, sign-ins, addresses
├─ shop project machine
│ ├─ shop-plan fork, removed in 2h
│ └─ shop-fix fork
└─ blog project machine
-
A project machine is a permanent virtual machine for one project. It has Git, Docker, Node.js, pnpm, Claude Code and Codex, and
your repository in
/home/dev/<project>. - A fork is a copy of a running project machine. It has the same disk as the project machine after a power cut: services that start at boot start again, and a database recovers from its own log.
- A time limit removes a fork when the time passes. A fork without one stays until you remove it.
- An address for a port is an HTTPS name with a real certificate. It answers only the internet address that you connect from, unless you make it public.
A task with lui
You have a plan for a feature and say to the agent on your Mac: "Run this plan in its own machine with the code and the database."
- The agent runs
lui pushto carry your folder, with the changes that are not committed, to the project machine. - It forks the project machine with a time limit, and starts the database and the app in the fork.
- It starts a second agent in the fork with the plan. Your laptop and the other agents are not touched.
- The second agent commits and pushes a branch. When the time is up, the fork removes itself.
Is lui for you
Other tools also give agents room of their own. For some work they are the better choice.
| Another way | What you get | Where lui is different |
|---|---|---|
| Claude Code on the web | A machine with 4 CPUs and 16 GB of memory for each session, with Docker, PostgreSQL and Redis, inside your plan. | That machine pauses when the session is idle, and is later taken back. A lui machine and its services keep running, and an agent forks it for a task. |
| Codex over SSH | Codex works on a server that you add to your SSH config. | All agents on that server share its ports and its database. lui puts each project and each fork in its own machine. |
| Orchestrators such as Conductor, claude-squad or Vibe Kanban | They start several agents, give each one a worktree and show their work side by side. | They decide what the agents do, but the agents still share one computer. lui sits under them and gives each agent its own machine. |
| Hosted sandboxes such as E2B, Daytona or Sprites | Machines on demand, paid by use. | For a few hours of agent work a week, they cost less than a server. lui pays off when agents work every day. |
lui fits when
- You run three or more agents at a time, with Docker, a database or heavy builds.
- You want that work off your laptop, but not on one shared server where agents clash.
- Your agents work most days, so a rented server costs less than paying by the minute.
- You rent a server already, or you will rent one with two disks.
Choose something else when
- Your agents only change code, and your laptop keeps up.
- You use agents a few hours a week.
- You do not use a Mac. The lui command is tested on macOS only.
- You do not want to partition disks and install a newer kernel on a server.
- Your team needs more than one server.
What a server costs: the server we test on, a Scaleway Elastic Metal EM-A116X-SSD with 32 GB of memory and two SSDs, costs €27.99 a month, checked on 2 December 2026. It holds three machines of 8 GiB that run all the time.
Measured numbers
Measured one time each on one rented server with 32 GB of memory and two SATA SSDs. The project is a real web app with a database.
| Step | Time |
|---|---|
| The install script on a fresh server, all twelve steps in one run | 143 s |
| A new project machine with a private repository cloned | 12.2 s |
| A push of a 909 MB folder from a Mac | 16.6 s |
| A fork of the running project machine, from the command to a running fork | 8.4 s |
| The disk copy inside a fork, for a machine with 30 GB of data | 0.5 s |
| A machine start, to its first answer | 5.0 s |
Try it on your server
lui is new and runs on one test server today. Write to us if you want to try it on yours.