Feature · Settings

Connect a device

Approve a device that asks to connect to this organization.

Last changed

Generated from commit 3cf1087 ·

How it works

What it does

The runner starts the official claude or codex CLI that is already installed and signed in on your computer. It runs only work that you own, in your organization. No one else's work runs on it, and the platform never bills it.

Your organization's own work

When an employee thinks on your own Claude, it uses your subscription for:

  • work that you asked for, also when the CEO hands parts of it to other employees;
  • work that no person asked for: your employees' own checks, decisions and ideas.

It never uses your subscription for work that another person in your organization asked for. That person needs their own subscription.

Your ChatGPT plan can help too. Start the runner with --codex-model-turns, and Codex (gpt-6.1-sol at Ultra effort) answers for your organization's own work when every Claude sign-in is at its limit. An Ultra turn takes minutes, so Claude sign-ins answer first.

Every Claude sign-in on your computer takes a share. The runner finds them itself: ~/.claude-* and ~/.codex-* login folders, and claude-* or codex-* scripts that set a login folder. Computers lists each one with its plan and a switch, Use for your organization's work. A team or enterprise plan starts off, because it usually belongs to an employer. The sign-in that took the fewest turns in the last five hours takes the next one. When one sign-in reaches its usage limit, the others continue. When all of them reach it, the work waits for the first reset. No one is asked.

When a task needs other views, an employee can ask two or three different models the same question at once, such as your Claude and your Codex, and compare their answers before it decides. It does this only when the work needs it, because each extra mind is one more model call.

An owner can keep it to direct requests to the CEO only: set Which work your own Claude serves (models.ownSubscriptions) to direct_only.

Before you install

Computers may take tasks unless an admin turned this off. Your plan's terms apply to this use. See Subscriptions and vendor terms.

Install

Get the connect command from setup or from Computers, and run it in Terminal on that computer. It needs Node.js 22 or newer, on macOS or Linux. On Windows, use WSL. The installer:

  1. downloads the runner from your Crewshal server and checks it;
  2. puts it in ~/.agent-runner. The command is ~/.agent-runner/bin/agent-runner. The installer never edits your shell profile, so the command is not on your PATH unless you add it;
  3. offers to install and sign in to Claude Code and Codex, on the vendors' own pages;
  4. connects the computer to Crewshal with the code in the command. There is no approval step in the browser;
  5. on macOS, starts the runner now and at every login. On Linux with a systemd user session, it offers a user service that does the same. Without one, run the start command it prints.

Run a new connect command on the same computer to update. It replaces that computer's runner.

The installed command knows your Crewshal address. You do not need --url.

Commands

  • ~/.agent-runner/bin/agent-runner login: sign the runner in with a code in your browser. Use it when you have no connect command. Check the code and select Approve. Approve a runner only when you just started it yourself. A new sign-in on the same computer replaces that computer's runner.
  • ~/.agent-runner/bin/agent-runner start: start taking work.
  • ~/.agent-runner/bin/agent-runner doctor: show each CLI, its sign-in state and its sandbox.
  • ~/.agent-runner/bin/agent-runner repo connect and repo list: see Local repositories.
  • ~/.agent-runner/bin/agent-runner atlas scan: profile repositories for the Repositories.
  • ~/.agent-runner/bin/agent-runner audit: a local look at where your own agent time and tokens go. It sends nothing.

Statuses

Online, Offline, Never started and Revoked. Never started means the computer is connected but its runner has not run yet. A computer also shows Takes Crewshal work or Your tasks only.

Stop a runner

Select Revoke on Computers. The computer stops taking work, and a task it runs is asked to stop. Its background service stops by itself. Run ~/.agent-runner/bin/agent-runner logout on that computer to remove the service and the saved token.

Limits

Each person can have 5 runners and 50 queued tasks. One runner per computer.

From the help article The local runner, checked against the product on .

What you can do

The operations this feature's screens call. Each one is POST /api/<name>, and the badge says who may call it.

  • runner/deviceLookup

    MemberNo API tokens

    Runner: device lookup.

    Types: RunnerDeviceLookupRequest returns RunnerDeviceDto

  • runner/deviceApprove

    MemberNo API tokens

    Runner: device approve.

    Types: RunnerDeviceApproveRequest returns RunnerDeviceApproveResult

  • getLocalRunnerSettings

    Viewer

    Gets local runner settings.

    Types: EmptyRequest returns LocalRunnerSettingsDto

  • updateLocalRunnerSettings

    AdminNo API tokens

    Updates local runner settings.

    Types: UpdateLocalRunnerSettingsRequest returns LocalRunnerSettingsDto

Screens

What it records

The feature writes these events to the audit log, the permanent record of what happened.

  • Local runner task queued
  • Policy changed
  • Local runner created
  • Local runner delegates changed
  • Local runner device approved
  • Local runner device denied
  • Local runner device token issued
  • Local runner registered
  • Local runner revoked
  • Local runner task ended

Generated from code at commit 3cf1087 ·

Turn the numbers into shipped work.

Crewshal runs these choices for you: a persistent AI worker with memory and rules, on your Claude and Codex subscriptions.