Choose your agent
| Agent | How to connect |
|---|---|
| Cursor | Connect Cursor Cloud with your Cursor API key. |
| Claude | Run Claude Code with MacroD, or add Macro MCP to Claude chat. |
| ChatGPT | Add Macro MCP as a custom app in ChatGPT. |
| Hermes | Run Hermes with MacroD, or sign up as an agent for its own Macro account and SDK token. |
Using MacroD? Start with Desktop setup or Server setup.
On the Macro desktop app
MacroD comes with the desktop app. Install and sign in to your agent on this computer first.
- Open Settings → Machines and find This computer.
- Click Set up, then confirm the agent Macro found. Use Options to pick a different agent or workspace folder.
- @mention the new agent in Macro. Keep the app open while it runs.
Connect your machine
Use these steps for a server or a computer without the Macro desktop app. You need macOS, Linux, or Windows and an installed, signed-in agent. MacroD detects Claude Code, Codex, OpenCode, OpenClaw, and Hermes. Choose Custom command for another Agent Client Protocol (ACP) agent.
-
Install MacroD. Choose your operating system below, or download the archive for your system from Macro releases.
Install on macOS or Linux
curl -fsSL https://raw.githubusercontent.com/macro-inc/macro/main/crates/coding_agent_worker/install/install.sh | shOpen a new terminal after installation. The installer adds
~/.local/binto yourPATH. Use--no-modify-pathor setMACROD_NO_MODIFY_PATH=1to preserve your shell startup files.Install on Windows
irm https://raw.githubusercontent.com/macro-inc/macro/main/crates/coding_agent_worker/install/install.ps1 | iexThe installer adds
%LOCALAPPDATA%\Programs\macrodto your userPATH. Open a new PowerShell window after installation. -
Start MacroD and choose an agent. Run
macrodin your terminal. In Quickstart, select your agent, set its Workspace folder, and click Create and pair.On macOS and Linux, start
macrodinside Herdr and Quickstart also offers Claude Code in herdr and Codex in herdr. Each session then runs in the agent's own terminal interface, in a Herdr tab you can open and type into. -
Approve the pairing in Macro. Open the pairing link shown in your terminal, or go to Settings → Machines → New machine. Enter the device code and click Look up. Check the computer and its permissions, then click Approve.
Use a dedicated workspace folder. Review sharing before enabling permission bypass. Keep MacroD running and the computer awake while you use the agent. MacroD connects out to Macro, so you can use it without opening inbound ports.
Run agents on a cloud server
To keep agents running while your laptop is off, run MacroD on a cloud server. Connect over SSH, install and sign in to your agent there, then follow Connect your machine. Open the pairing link in your own browser; the server does not need one.
MacroD connects out to Macro, so the server needs no public address, open port, reverse proxy, or tunnel. Keep macrod running after you disconnect, for example in tmux or Herdr.
Create an agent that uses your machine
For a machine you paired from a terminal, open Settings → Agents → Add agent. Give the agent a name and @tag. Under Where it runs, choose On your machine, then select the machine under Machine. Choose Private for yourself or Team to share it, then save and @mention the agent.
More help with MacroD
Watch the setup walkthrough
Pairing details and agent prerequisites
If you return to the terminal overview, press p to open pairing and c to copy the code.

MacroD saves its configuration and credential in ~/.macrod/macrod.toml (%USERPROFILE%\.macrod\macrod.toml on Windows). Keep this file private and out of source control.
Claude Code and Codex use ACP adapters. Their presets require the agent command and npm in the same shell as macrod. MacroD installs the adapter the first time you select the agent. On Windows, Claude Code works with its native installer or npm install -g @anthropic-ai/claude-code.
Run more than one machine on a computer
Each machine has its own configuration. The first one uses ~/.macrod/macrod.toml. Give every other machine a profile name:
macrod --profile work
A profile keeps its configuration in ~/.macrod/profiles/work.toml and pairs as a new machine named after your computer and the profile, such as my-laptop · work. Rename it in Settings → Machines. Run macrod --profile work again to reconnect it.
If you start macrod while another macrod already runs the default configuration, it offers to create a profile and suggests a name. Press Enter to accept it or type another name, then set up the new machine in Quickstart.
To see every machine on your computer, run:
macrod profiles
It lists each profile with its configuration file, the machine it is paired to, and whether a macrod is running it now. Profile names use lowercase letters, digits, -, and _.
Configurations in project folders
Older versions of macrod read macrod.toml from the folder you started them in. When you run macrod in a folder that still has one, macrod moves it into ~/.macrod and keeps running that machine. It becomes ~/.macrod/macrod.toml if you have no default configuration yet. Otherwise it becomes a profile named after the folder. macrod prints where the file went and the command to use from now on, such as macrod --profile my-project.
Updates and release versions
macrod updates itself. While it runs, it checks for a new release every hour, downloads it, and verifies its checksum and that it starts. Your macrod.toml and pairing are kept. If an update fails, macrod keeps running the current version and shows the error in its Logs tab.
- macOS and Linux:
macrodreplaces itself in place as soon as no agent turn is running. Your agent keeps running through the update, so its sessions and anything it started stay alive. - Windows: the new version is installed next to the running one, and the footer shows Update … ready — restart macrod to use it. Quit
macrodand start it again to use it. Themacrodcommand always starts the newest installed version and removes older ones.
To see what the updater did, read ~/.macrod/logs/update.log (%USERPROFILE%\.macrod\logs\update.log on Windows). Each line is one JSON event: a check with the version found, a download with its size and whether the checksum matched, an apply with the versions and how the new one was started, and a startup line each time macrod starts, including after an update. The log never holds tokens or prompts. At about 1 MB it moves to update.log.1.
To update right away, run the install command again and restart macrod.
To install a specific release, set the MACROD_VERSION environment variable to its tag, such as v2026.10.18.0, before running the install command. A running macrod still updates itself to the latest release.
To turn automatic updates off, add this to macrod.toml:
[update]
auto = false
or start macrod with MACROD_NO_UPDATE=1 set. macrod then only changes when you run the install command again.
Troubleshooting
Check Settings → Machines for the machine’s status and Logs in the MacroD terminal for errors. To reconnect, run macrod again. If you removed the machine from Macro, pair it again.
- Your agent is missing from Quickstart: check that it is installed and its command is available in the terminal where you launch
macrod. For a different ACP agent, use Custom command. - Your code is invalid or expired: start a new pairing from the terminal and enter the new code. The code in the screenshot is only an example.
- Your machine is offline: check that your computer is awake,
macrodis running, and it can reach Macro. Check the terminal's Logs tab for errors. The same logs are saved to~/.macrod/logs/macrod.log(%USERPROFILE%\.macrod\logs\macrod.logon Windows); a profile started with--profile <name>saves to~/.macrod/profiles/logs/<name>.log), so they are still there aftermacrodstops or restarts. Each run starts with amacrod startedline and, unless the process was killed, ends with why it stopped. At about 10 MB the log moves tomacrod.log.1. macrodsays your config sets[identity]or ascopein[credentials]: delete those lines from~/.macrod/macrod.toml. The machine's name, access, and permission bypass are set in Settings → Machines.macrodasks you to pair again after an update: runmacrodfrom the project folder you used to start it in. It moves that folder'smacrod.tomlinto~/.macrodand tells you the command to use from now on. Runmacrod profilesto see every machine on your computer.- You had
allow_permission_bypass = falseinmacrod.toml: that setting is gone, and your computer no longer has a local veto. Whether a machine may bypass permission requests is set by the machine's managers in Settings → Machines, under Allow bypassing permission requests.
See Agents for more ways to work with agents in your Macro workspace.
