Tools / Link / Claude Code remote
Run Claude Code on a cloud machine from your laptop
Claude Code works on a machine that stays on. You reach it from your laptop in one command and pick it up from anywhere.
How to set it up
- Start a machine. Sign up with AgentVMs and start one. Open its page and switch Link on.
- Connect your laptop. The page shows one command with your one-time code. Paste it into Terminal on your Mac or Linux computer. The command has this shape:
curl -fsSL https://<platform>/link/install.sh | bash -s -- <one-time code> - Open a shell. Run
avr. You are on the machine. A shell on your machine. - Get your project there. Copy it with
avr cp notes.txt :work/(use-rfor a folder), or clone it with git on the machine. For the machine to see the folder on your laptop as it changes, useavr share <folder>. - Start Claude Code. Run it on the machine, inside tmux or another terminal multiplexer. A shell ends when its connection does, and tmux keeps Claude Code going.
- Close the laptop. Claude Code keeps working on the machine. Later, run
avragain, reattach, and read what it did.
A shared folder comes from your laptop, so it is there while your laptop is on and connected. For work you want to continue with the laptop closed, keep the project on the machine itself.
How this differs from Anthropic's remote control
Anthropic's remote control lets you steer a Claude Code session that runs on your own computer from another device, so that computer has to stay on. Here the session runs on a cloud machine that stays on by itself, and your laptop is only a way in. Use remote control when the work belongs on your own computer. Use a machine when you want it to keep going without it.
Also on the machine
avr desktop shows the machine's desktop in your browser. avr run -- make test runs a single command and returns its exit code. More on the Link page.
Commands are from avr v0.1.17. Link works with an AgentVMs machine with Link switched on.
Between your own computers
Want this between two computers you own, with no AgentVMs machine? That is Hopwire, and it's free.
Source available under the Functional Source License (FSL-1.1-ALv2). Each version becomes Apache 2.0 two years after its release.
On a phone? Tell us.