Enrollment & Installer Packages
An installer package is the unit you build to deploy the agent. It bundles the platform, the tags and group a device should join, and a dedicated enrollment key — so the install command is self-contained.Creating a package
In Admin → Agent Registry → OS Agents, create a package with:
On save, SecureAI auto-generates a dedicated API key scoped to
agent:enroll and stores it as the package’s enrollment key, so the install command needs no separate credential. Deleting the package deactivates that key.
Enrollment groups (auto-pin)
The package’s enrollment group is a hard pin: a device that enrolls with the package is bound to that group on first contact. Group membership then drives which policy the device resolves.The enrollment handshake
When the agent first runs it callsPOST /enroll using the enrollment key and sends its machine id, hostname, OS, architecture, version, fingerprint, and capabilities. The backend:
- Registers (or matches) the device.
- Issues a per-device token, shown once, that authenticates all subsequent calls.
- Returns the runtime configuration (resolved policy, egress settings, routing, etc.).
revoked: true, and the device stays cut off until an admin re-enables it.
Backend URL resolution
The agent calls home toBACKEND_URL. On the server side the effective URL is resolved from forwarded/request-origin headers and can be overridden with the SECUREAI_AGENT_URL environment variable, which is useful behind reverse proxies.

