Skip to main content

What this is for

A machine with the agent installed is still local-only. Activating it means enrolling it with an endpoint key so it reports to the console, checking that the first report arrived, and settling which install mode it runs. This page is for the person doing that on one machine or scripting it for many.

Enroll

1

Issue a key

In the console open Endpoint AI Risk › Fleet › Connect endpoint, type a Machine label and click Generate key. Copy the sk-ep-… key; it is shown once.
2

Run the enroll command

Use sudo on a managed install, which is the default; on Windows, run it from an elevated PowerShell. On an observe install, run it as the signed-in user, without sudo. gw-cli hook --installed-mode tells you which install the machine has.--verify sends a first report right away. The key is stored with owner-only permissions and never logged, and the running agent picks it up without a restart.
3

Check Fleet

The machine appears in Fleet within a minute, with its name, the signed-in user, its OS and agent version. A blank value means the machine has not reported that item yet.
What the key is. The agent uses an endpoint key to enroll. On enrollment it exchanges the key for the machine’s own credential, which is valid for one hour and renewed automatically, and reports with that credential, never with the key. Revoking the machine’s credential later (Revoke device access in Fleet) stops it for good. Every key the console issues is enrollment-only: it can enroll a machine but cannot send reports itself. A key issued before November 18, 2026 can also send reports, unless it has since been made enrollment-only. What to run afterwards. Nothing. The agent keeps scanning and reporting as long as it runs, which the package arranges at every sign-in. gw-cli discover --deep --report pushes a fresh inventory on demand, and gw-cli enroll --remove stops reporting and clears the saved key.

Enroll from a deployment tool

On Windows the command is & "C:\Program Files\Guardway\gw-cli.exe" enroll --key … --url https://api.us.guardway.ai --verify.
One key can enroll your whole fleet, with no limit on the number of machines. Each machine trades it for its own credential when it enrolls, so Fleet lists every machine separately and Revoke device access cuts off one machine without affecting the others. Revoking the key stops new enrollments; machines that already have their own credential keep reporting.

Disk images and cloned machines

Install the agent on each machine after it is imaged or cloned, not on the reference machine whose disk becomes the image. The agent keeps its machine ID and its credential on the disk. A machine cloned with the agent already installed carries both, so two machines share one credential, and one of them stops reporting in Fleet. If your reference machine already has the agent, remove it there (Uninstall) before you capture the image, then deploy the package and the enroll command to each machine.

Install modes

New installs use the managed mode. Upgrades keep the mode a machine already has. The mode decides what the agent can do on the machine; your policy decides what it does, and nothing changes for developers until the policy says so. To install observe instead, set it before you install: To switch an installed machine:
Both directions are safe while developers are working.
Roll out in order: install everywhere with Live guard on Record in your policy, review a week of findings, then switch a pilot group’s policy to Block or Enforce.

Break-glass

To stop applying organization policy on one machine without uninstalling, for example while diagnosing a developer’s problem:
Fleet shows the machine’s state, and skill custody stands down while break-glass is on.

Troubleshooting