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

Multiple agentrqd Profiles on One Machine

One computer can run agents for more than one AgentRQ account, for example your personal account and your work account. Each account gets its own profile in agentrqd, the machine daemon. A profile holds an account's server, its machine id and its token. One agentrqd process serves every profile on the machine, so you enrol each account once, restart the daemon, and from then on both accounts can start agents on the same computer.

The short version: add --profile <name> to the enrol command each account gives you, then restart agentrqd.

sh
agentrqd enroll --server https://app.agentrq.com --code <personal code> --profile personal --label "Personal"
agentrqd enroll --server https://app.agentrq.com --code <work code> --profile work --label "Acme work"
agentrqd stop && agentrqd serve

This page is one of our connect agents guidelines. It assumes you have enrolled a machine before, as in Connect Claude Code with Machines. It was checked against agentrqd 0.19.18 on November 29, 2026. The screenshots and terminal output come from a real run with two accounts on one computer. In the output, the server URL and home folder are shortened to what you would see.

When You Need More Than One Profile

  • → Personal and work accounts. You run side projects from your own account and company work from the company's, on the same laptop.
  • → AgentRQ Cloud and a self-hosted server. A profile carries its own server URL, so one profile can point at app.agentrq.com and another at your own AgentRQ server.
  • → A shared build box. Two people each enrol their own account on one powerful machine, and each sees only their own agents.

If you only have one account, you do not need any of this: a plain agentrqd enroll makes a profile called default, and that is all you need.

What a Profile Is

Part What it holds Example
Profile id The name you pass with --profile. Lowercase letters, digits and hyphens. work
Label A readable name for agentrqd status, set with --label. Acme work
Server The AgentRQ server this account lives on. https://app.agentrq.com
Machine id This computer's id in that account. Each account sees the computer as its own machine. 0modSNYY0v7
Token The machine token for that account, in its own 0600 file. tokens/work

The config file lists the profiles and holds no secrets. The tokens are in a separate folder, one file per profile.

Step by Step: Add a Second Account

1. Enrol the first account with a profile name. On the machine, run the enrol command from your first account's Machines page, and add --profile and --label to it. If no daemon is running yet, agentrqd starts one in the background straight away.

text
$ agentrqd enroll --server https://app.agentrq.com --code GK78-NA2R --profile personal --label Personal --name dev-laptop
Enrolled "personal" as machine 0modRvnpeQ1 on https://app.agentrq.com
Token stored in files in /home/sam/.config/agentrqd/tokens (0600)

agentrqd started in the background (pid 2793521, log: /home/sam/.config/agentrqd/agentrqd.log)

--name sets the machine name the account shows. It defaults to the computer's hostname, so you can leave it out.

2. Get a code from the second account. Sign in to your other account, open Machines, and click Add machine. You already have agentrqd installed, so skip the install step. Copy the Enrol this machine command, but do not run it as it is.

Step 2: the Add a machine panel in the work account, with the agentrqd enroll command highlighted and a note to add --profile work

3. Run it with a new profile name. Add --profile work and a label. Without --profile, the command reuses the default profile and replaces your first account. The section on that trap below shows what happens.

text
$ agentrqd enroll --server https://app.agentrq.com --code 48ZE-TYHW --profile work --label "Acme work" --name dev-laptop
Enrolled "work" as machine 0modSNYY0v7 on https://app.agentrq.com
Token stored in files in /home/sam/.config/agentrqd/tokens (0600)

agentrqd is already running here. Restart it to use this enrolment.

The enrolment is saved, but the daemon that is already running does not pick it up. In the work account, the machine is listed with a grey dot and no readings: it is enrolled, but not connected yet.

Step 3: the work account's Machines page, with dev-laptop listed with a grey dot and No readings yet, highlighted as not connected yet

4. Restart agentrqd. Stopping the daemon stops every agent running on this machine, for every account, so pick a quiet moment.

text
$ agentrqd stop
Stopped agentrqd (pid 2793521).
$ agentrqd serve
agentrqd started in the background (pid 2796906, log: /home/sam/.config/agentrqd/agentrqd.log)

If you installed it as a service, restart the service instead: systemctl --user restart agentrqd on Linux, or launchctl kickstart -k gui/$(id -u)/com.agentrq.agentrqd on macOS.

The log shows both accounts connecting:

text
level=INFO msg="agentrqd running" profiles=2 version=0.19.18
level=INFO msg="connected to the backend" profile=personal
level=INFO msg="connected to the backend" profile=work

5. Check both profiles. agentrqd status lists every profile with its server, machine id and token, and every agent running on the machine with the profile that started it.

text
$ agentrqd status
agentrqd 0.19.18 (linux/arm64)
Config: /home/sam/.config/agentrqd/config.json

Running as pid 2796906 since 2026-11-29T18:47:14Z
2 agent(s) running on this machine:
  claude-code in /home/sam/code/side-project (profile personal)
    workspace: side-project
  claude-code in /home/sam/code/acme-api (profile work)
    workspace: acme-api

Stop everything and refuse new work: agentrqd disable --profile <id>

  personal (Personal)
    server:  https://app.agentrq.com
    machine: 0modRvnpeQ1
    token:   present
  work (Acme work)
    server:  https://app.agentrq.com
    machine: 0modSNYY0v7
    token:   present

Here each account has started Claude Code in one of its workspaces: side-project from the personal account and acme-api from the work account.

6. Check the Machines page in each account. The dot is green in both. Each account counts only its own agents, while CPU and memory are the whole machine's, because both accounts share the same hardware.

Step 6: the work account's Machines page, with dev-laptop online, its count of 1 agent highlighted as only this account's agents, and the CPU and memory tiles highlighted as the whole machine's

The personal account lists the same computer as a machine of its own, with its own machine id. Neither account can see or stop the other account's agents from AgentRQ.

Step 6: the personal account's Machines page, with the same dev-laptop online with 1 agent, highlighted as the same computer with its own entry in this account

From here, start agents as usual: open a workspace, click Start an agent, and pick the machine. Each account only offers its own machines.

The Trap: Enrolling Without --profile

The Add machine panel gives the same command to every account, with no --profile. Paste it for a second account and it lands in the default profile, which already belongs to your first account. The token is replaced:

text
$ agentrqd enroll --server https://app.agentrq.com --code <personal code>
Enrolled "default" as machine 0moe8ZK81G1 on https://app.agentrq.com
...
$ agentrqd enroll --server https://app.agentrq.com --code <work code>
Enrolled "default" as machine 0moe8sNWWcX on https://app.agentrq.com
...
$ agentrqd status
  default (Default)
    server:  https://app.agentrq.com
    machine: 0moe8sNWWcX
    token:   present

Only one profile is left, and it is the work account. After the next restart, the personal account shows the machine offline for good, because this computer no longer holds its token.

To fix it, get a new code from the personal account's Machines page and enrol it again with --profile personal. Then remove the old, offline machine from the personal account's Machines page. Running agentrqd enroll again for the same profile is safe: it refreshes that profile instead of adding a second one.

How Many Agents Each Account Can Run

One daemon serves every profile, so it can limit both each account and the machine as a whole:

sh
agentrqd serve --max-per-profile 4 --max-per-machine 8
  • → --max-per-profile caps the agents one account can run on this machine. The default is 8.
  • → --max-per-machine caps all agents on this machine, across every account. The default is 16.
  • → 0 means no limit. Only running agents count: a finished one frees its slot.

The server has its own cap of 8 agents per account on one machine, and a machine's page in AgentRQ can set a lower one. The lowest of these is the one you meet. A refused launch says why, in AgentRQ and in the daemon's log.

Serve Only One Profile

agentrqd serve connects every profile. To run just one, pass its id:

sh
agentrqd serve --profile work

This only works when no daemon is running. If one is, you get agentrqd is already running (pid ...) and nothing changes, so stop it first.

Profiles Are Not a Security Boundary

Every profile runs as the same operating system user, in the same home folder. An agent started by your work account can read the files your personal agents work on, and the other way round. Profiles keep the credentials apart, not the agents.

If two accounts need real isolation, use two machines, or two operating system users, each with its own home folder and its own agentrqd. Read what enrolling a machine allows before you enrol a computer that other people's accounts will use.

Remove One Account From the Machine

To take one account off the machine and leave the others running:

1. Stop that account's agents first. In that account, open each agent's terminal page and click Stop. An agent that is already running keeps running after the next two steps, with its workspace connection still in its folder, until the daemon restarts.

2. Delete the token on the machine.

text
$ agentrqd disable --profile work
Disabled "work". Its token is gone from this machine.
Remove the machine in the control panel too, to revoke it server-side.

3. Remove the machine in that account's Machines page. This revokes it on the server and closes its connection at once.

The daemon keeps retrying that account, and its log shows 401 Unauthorized lines for it, until you next restart agentrqd. The other profiles are not affected.

Where Profiles Live

What Where
Profiles ~/.config/agentrqd/config.json (%AppData%\agentrqd on Windows)
Tokens one 0600 file per profile in ~/.config/agentrqd/tokens/
What is running now ~/.config/agentrqd/status.json, what agentrqd status reads
Log, when started in the background ~/.config/agentrqd/agentrqd.log

The config file holds no credentials, so you can paste it into a bug report. The tokens folder is the part to keep private.

FAQ

Can I run two agentrqd processes instead of one?

Run one. Under the same user, agentrqd serve sees a daemon that is already running and does not start a second one in the background. One daemon serving every profile is how it is meant to run, and it is what lets --max-per-machine count all agents on the computer.

Do I need to restart agentrqd after every enrolment?

Only when a daemon is already running. The first enrolment starts the daemon for you. Every later one says "Restart it to use this enrolment", and the new profile connects after the restart.

Can two profiles point at different servers?

Yes. Each profile carries its own server URL, so one can use AgentRQ Cloud and another your self-hosted AgentRQ.

What happens if one profile's token is missing?

The daemon skips that profile with an error in its log and serves the others. agentrqd status shows token: MISSING — run enroll again for it. Enrol that account again with the same --profile to fix it.

Can I rename a profile?

No. Enrol the account again under the new name with a fresh code, then agentrqd disable --profile <old name> and remove the old machine in AgentRQ.

Start Free