Human-in-the-Loop Task Manager for AI Agents
Checked December 4, 2026 | All Connect Agents guides

Connect Agents with the ACP Gateway and Machines

To connect an ACP agent to an AgentRQ workspace, enrol the computer that should run it as a machine, then open the Start an agent form from the workspace (Change under its start button), choose the agent, its model and its effort, and start it. AgentRQ runs the open-source ACP Gateway on that machine for you, so there is no config file to copy and no command to run beyond enrolling. This guide shows it click by click, with Google Antigravity (antigravity-acp) on Gemini 4 Hydrogen at High effort.

This page is one of our connect agents guidelines. It was checked against AgentRQ on November 14, 2026, and its text was updated for the current Start an agent form on December 4, 2026. Every screenshot below comes from a real run.

What the ACP Gateway Does

The Agent Client Protocol (ACP) is how editors and tools talk to coding agents. The ACP Gateway sits between an ACP agent and your AgentRQ workspace: it starts the agent, connects to the workspace's MCP server, and hands the agent each task you assign. The agent's replies, questions and approval requests come back to the workspace, where you answer them.

The gateway downloads agents from the ACP registry, so any agent listed there works the same way. Antigravity is the example here; pick another agent and the steps do not change.

Before You Start

  • → An AgentRQ workspace with a working directory set in its General settings. That folder is where the agent runs on the machine. The example workspace is storefront-api.
  • → A computer for the agent: your laptop, a desktop or a server. It needs Node.js, because agentrqd runs the gateway through npx.
  • → An account for the agent you pick. Antigravity signs in with Google.

Run It on a Machine

A machine is a computer running agentrqd, the small AgentRQ daemon. Once it is enrolled, you start, watch and stop agents on it from AgentRQ, from any browser. A machine belongs to your account and serves every workspace in it, so you enrol it once.

Step by Step: Enrol the Machine

1. Open Machines in the sidebar.

Step 1: an AgentRQ workspace, with an arrow pointing at the Machines icon in the left sidebar

2. Click + Add machine.

Step 2: the empty Machines page, with an arrow pointing at the + Add machine button at the top right

3. Run both commands on the machine that will host the agent. The first installs agentrqd to ~/.local/bin after checking it against the release's published checksums. The second enrols it with a one-time code, and starts it in the background. Pick the Linux, macOS or Windows tab to match the machine.

Step 3: the Add a machine panel with the install command and the agentrqd enroll command, both highlighted
bash
curl -fsSL https://agentrq.com/install-agentrqd.sh | sh
agentrqd enroll --server https://app.agentrq.com --code ABCD-EFGH

The code is single-use, expires after a few minutes and is shown only once. Run agentrqd as yourself, never as root: it refuses to run as root or Administrator, because an agent it starts inherits its user's rights. Enrolling lets anyone who can sign in to your AgentRQ account run commands on that machine, so enrol only machines you would trust that account with. The machines and daemon docs cover what that means, how to keep agentrqd running as a service, and how to undo it.

4. Check that the machine is online. It appears on the Machines page with a green dot, its platform and its CPU and memory.

Step 4: the Machines page listing dev-laptop with a green online dot, highlighted

Step by Step: Start Antigravity on Gemini 4 Hydrogen

5. Click Change under Start Claude Code in your workspace. With a machine online, an empty workspace says "No agent is running here. Start one on your machine." and offers a one-click button, Start Claude Code until you have started something else there, with the machine, the model and a Change link under it. Change opens the Start an agent form, where you pick another agent. When there is still something to choose, such as which of several machines to use, the button reads Start an agent and opens the form itself.

Step 5: an empty workspace saying

6. Pick Google Antigravity, Gemini 4 Hydrogen and High. The form lists agents down the left, as icons. If Antigravity is not among them, click + and search: it searches every agent in the ACP registry, and the row shows each agent's registry id. Claude Code is in the list too, and a machine starts it directly rather than through the gateway.

Once an agent is picked, AgentRQ asks the machine which models that agent offers and lists them in the Model column. For Antigravity that is Gemini 4 Argon, Gemini 4 Hydrogen and Gemini 3.8 Flash; the default leaves the choice to the agent. The Effort column goes Default, Low, Medium, High, Extra high and Max, and Default leaves that to the agent too. With several machines online, a switch beside the buttons picks the one to run on.

7. Click Start Google Antigravity. The button names the agent you picked. If the registry publishes no checksum for the agent on that machine's platform, the form first asks you to tick a box to install it anyway, since its download cannot be verified.

Steps 6 and 7: the Start an agent form, with the agent list on the left, the Model and Effort columns, and the Start button

AgentRQ opens the agent's live terminal, with a Stop button. On the machine, agentrqd writes the workspace's .mcp.json into the working directory and starts the ACP Gateway with the agent, model and effort you picked.

8. Check that the agent is connected. Back in the workspace, the dot next to its name turns green and the page says the agent is connected and ready. Create a task, and Antigravity picks it up.

Step 8: the storefront-api workspace with a green dot and

Antigravity will not open a session until it has been signed in to on that machine. The first time, it asks in its live terminal, and you sign in with Google from there.

Using Another Agent

Every agent in the ACP registry connects the same way: pick it in the Start an agent form instead of Antigravity, clicking + to search for it if it is not in the list. Its models are listed once you pick it. The ACP setup page for each agent has its registry id, sign-in and quirks, and the ACP Gateway docs explain what the gateway does.

Watch It on Video

Stop Babysitting Your AI Agents: Run Them on Any Machine, from the Browser shows this on the real app. Jump to Your own machines at 0:31, or watch all 5 minutes.

FAQ

Does the machine need to stay on?

Yes. The agent runs on that machine, so it works only while the machine is on and agentrqd is running. If the machine sleeps or restarts, start agentrqd again (or install it as a service) and it reconnects on its own.

Can one machine run agents for several workspaces?

Yes. Each workspace starts its own agent on the machine, in its own working directory. A workspace runs one agent at a time.

Why can't I find Start an agent?

AgentRQ offers the start button, and Change under it, only while at least one of your machines is online and the workspace has no agent connected. With no machine online, the workspace offers Set up a machine instead. If the form opens but its Start button is greyed out, the line above the button says what is missing, such as a working directory for the workspace.

Can I change the model after starting?

Yes. The model chosen at start is the one the session begins on, and you can change it while the agent runs from the AgentRQ interface.

Start Free