Skip to content

Connect to another computer

Normally the desktop app starts its own agent on your computer. It can instead connect to an agent that runs somewhere else: a stronger desktop at home, a Mac mini, or a server. Use this when the models or files you need live on that other machine.

When you are connected, chats run on the other computer. Its models, settings, files and data are its own. This computer only shows the window.

What you need

  • Atomic Agent installed on the other computer, with a model set up there.
  • An address this computer can reach, such as a local network address (192.168.1.20) or a Tailscale address.
  • An API key: a password you choose for the agent. It must be at least 16 characters.

1. Start the agent on the other computer

On the other computer, open a terminal in the folder the agent should work in and run:

Terminal window
atag serve --host 0.0.0.0 --api-key "pick-a-long-secret-key"
  • --host 0.0.0.0 lets other computers reach it. Without --host, the agent only listens to its own computer (127.0.0.1).
  • The agent refuses to start on a network address without an API key, and the key must be at least 16 characters. You can set it in the ATOMIC_AGENT_API_KEY environment variable instead of the flag.
  • The agent listens on port 8787 unless you pass --port.

Leave it running. Every flag is listed on HTTP server.

2. Connect the app

  1. In the desktop app, open the Agent menu and click Connect to Another Computer….
  2. Under Address, type the other computer’s address with the port, for example http://192.168.1.20:8787. No path after the port.
  3. Under API key, type the same key you used in atag serve.
  4. Click Connect.

The app checks that the agent answers and accepts the key before it saves anything. Then it stops the agent on this computer and connects to the other one. The window says “Connected.” and closes.

The app remembers the connection after a restart. The address is saved in the app’s preferences, and the key is encrypted with your system’s keychain. If the system has no keychain, the app does not save the key and does not connect (“This system has no keychain to keep the key safely, so it was not saved.”).

3. Switch back to this computer

  1. Open Agent › Connect to Another Computer… again. The window shows which computer you are connected to.
  2. Click Use this computer.

The app forgets the saved connection and starts its own agent again.

What changes while connected

  • Chats work in the other computer’s working folder, not this computer’s.
  • Models are managed on the other computer. The app does not download or start models for it, and every chat uses the one model the other agent runs. To change it, run atag models there.
  • The health check and the data actions in Settings › Diagnostics (back up, restore, move, reset) are refused, because the data is on the other computer. Run atag doctor or atag data there.
  • Continuing a Claude Code or Codex session from the app is not available. Run atag handoff on the other computer.

If it does not connect

The window says what went wrong:

MessageWhat to do
”Nothing answered at …”Check the address and port, that atag serve is running with --host, and that this computer can reach the other one (same network, Tailscale on both, no firewall in the way).
”The agent did not accept the token. Copy its API key again.”The key does not match. Type it again exactly.
”Too many wrong tokens from this computer; try again in a minute.”After 10 wrong keys in a minute, the agent makes you wait a minute.
”Type an address like http://192.168.1.20:8787 (no path).”Remove anything after the port, and start with http:// or https://.

Checked on 18 Nov 2026 against Atomic Agent v0.8.0 and Desktop v0.0.9.

Get updates by email

One email when a new version comes out.