agents

Run coding agents on your own machines, from your phone

An open-source console for the coding agents already running on your computers. From a phone you can see every session on every machine, answer the agent when it asks something, approve or reject the commands it wants to run, start new tasks, and open a machine's dev server in your browser. Your code never leaves the machine it lives on, and the relay in the middle is a Cloudflare Worker you deploy yourself.

MIT licensed · self-hosted · no account, no service in the middle

What you can do with it

See everything at once
One board for all machines and all sessions: running, waiting for you, finished, failed — without opening a laptop.
Approve tool calls remotely
When the agent wants to run a command or edit a file, a card appears on your phone with the exact command. Allow or deny; the session continues either way.
Dispatch new work
Pick a machine, pick a project directory, describe the task — by typing or by dictation.
Look at the result
Proxy a dev server running on the device (localhost:5173 and friends) straight into your phone browser.
Pick up where it stopped
History lives in the relay, so a session can be replayed at any time and resumes with its context after the CLI restarts.
Install it like an app
A PWA: add to the home screen on iOS or Android, light and dark themes, English and Chinese.

How it works

Three parts, one connection each. Nothing listens for inbound traffic on your machines, so there is no tunnel, no VPN and no port forwarding to maintain.

phone / any browser ──WSS──► Cloudflare Worker + Durable Object ──WSS(outbound)──► one CLI per machine
                             hosts the console, routes                            embeds the Claude Agent SDK
                             messages, keeps history
  1. Deploy the relay. A Cloudflare Worker with a single Durable Object. It serves this page, serves the console, routes messages and stores session history. Set one secret, AGENTS_KEY, and that is the whole authentication model.
  2. Connect each machine. Run the CLI once per computer. It dials out to the relay and stays connected; install it as a background service if you want it to survive reboots.
  3. Open the relay URL on your phone and enter the key once. Add it to the home screen to use it like a native app.
# 1. relay (once)
pnpm install && cd apps/relay-cf
npx wrangler login
pnpm deploy
npx wrangler secret put AGENTS_KEY

# 2. every machine you want to reach
pnpm --filter agents-cli start

What you need

What it deliberately is not

Questions

Does my machine need a public IP, an open port or a VPN?

No. The CLI opens an outbound WebSocket to the relay and everything travels over that connection, so the machine stays behind its router with nothing listening and no tunnel software to install.

Where does my code live?

On your machine — that is where the agent runs. The relay carries the conversation: your prompts, the agent's messages, tool names and their output, plus the history that lets a phone replay a session. The relay is your own Cloudflare Worker, not a service someone else operates.

Is it multi-user?

No, on purpose. Authentication is a single shared key that also serves as the identity. Anyone holding it sees every machine and every session.

How dangerous is this?

It lets a remote agent run commands and change files on your computer. Deploy it with the care you would give an exposed SSH port. The CLI allows only read-only tools by default; anything that writes or executes waits for your approval in the browser.

Which agent does it drive?

Claude Code, through the Claude Agent SDK embedded in the device CLI. Claude Code has to be installed and signed in on that machine already — agents never handles model credentials.

What does it cost?

The software is MIT-licensed and free. The relay fits in Cloudflare's free plan for personal use. Agent usage is billed through whatever Claude Code plan you already have.