Managed agent updates
Managed update requests are available to workspace administrators for compatible compiled agents. The current catalog includes Linux x86_64, Windows x86_64 and macOS arm64 releases. Selection requires the agent's reported operating system and architecture to match the signed release, with a newer compatible version available. Python source installations do not use binary replacement.
Prepare the updater and local permission policy using the platform-specific guide:
Staged group rollouts and maintenance windows are available; each later batch requires administrator approval. Catalog availability is not host readiness or whole-platform qualification. The Windows 0.27.3-to-0.27.4 scheduled update retained identity and completed a scan from the replacement process; that test was not a new reboot test. macOS 0.27.4 has separate signed replacement and managed-scan evidence, with its first-attempt relay-admission diagnostic still unresolved. Consult the platform guides for exact release and lifecycle boundaries. General operational-health verification remains incomplete.
In Agent controls, Refresh status keeps your open update details, keyboard focus and scroll position. You can close the dialog while a refresh is pending; a late response will not reopen it or replace a different task you opened. The same applies while Review software update loads its release options: the button shows loading progress, and closing the dialog or navigating away discards the late view response. If loading fails while the dialog is still open, the review button becomes available again. A submitted update may still be accepted after you close its review; reopen Agent controls to inspect the recorded outcome before retrying.
Review an update in the workspace
Open Agents > Agent controls > Software update > Review software update. The review action appears when a newer compatible reviewed release is available. Pause new scans first and wait for running scans to finish and the agent to acknowledge it is idle. The review explains any remaining blocker.
Select a release. If local policy is not prepared, expand Prepare the local update policy to download JSON pinned to that version and sequence, choose its permission duration, and copy the host-side apply command. See the local policy guide for review and application. Downloading does not request an update or prove host readiness. Confirm that the local supervisor and its update policy are configured. The request preserves the reviewed maintenance revision; it does not grant local installation permissions or resume scans. If the response is interrupted, use Check agent status before trying again. A pending request can be cancelled from Agent controls before replacement is authorized.
Administrators can read the same snapshot through agentUpdateOptions(agentId) or Python agent_update_options(agent_id). It includes compatible newer releases, current version, maintenance revision, and a readiness blocker. The server rechecks state when requesting and beginning an update; the snapshot is not installation authorization.
Linux supervisor setup and recovery
Installer 0.50.5 provides both supervise-once and a persistent supervisor service with signed-archive staging. It uses the installed agent's endpoint and enrollment, requires explicit local update permission, and verifies the selected release against installed trust. Follow Linux update supervisor setup and recovery to install the background service; running a one-shot command alone does not install it.
The supervisor saves its operation receipt before downloading. After interruption it reconciles the recorded installation and cloud outcome instead of blindly repeating replacement. An interrupted download can resume with the same claim. Cancellation or expiry removes only matching staging and receipts. A changed installed release requires review.
Resolve pending installer recovery before continuing. Retain the operation receipt while diagnosing an interrupted update; deleting it does not prove the previous attempt failed. If staged work has no receipt or cloud intent, inspect the operation identified by staging-review-required before using discard-update. The supervisor does not automatically resume scan admission or declare discovery healthy.
Check availability first
Both SDKs expose the capability response:
const capabilities = await client.agentUpdateCapabilities();
// enabled, supervisorAvailable, operationalHealthVerified
capabilities = client.agent_update_capabilities()
An enabled API does not mean a supervisor is installed or local replacement is permitted. Creation, polling and replacement authorization return 503 when execution is disabled. Reading existing state, cancelling a pending request and reporting a previously authorized outcome remain available.
supervisorAvailable describes public software availability: at least one current
managed-update agent release has a matching current installer. It does not report
that any particular agent has an installed or running supervisor. Use that agent's
update options and local supervisor status for its platform and configuration.
operationalHealthVerified remains false here; verify health from the specific
update operation, subsequent contact and an actual discovery result.
Operation contract
An administrator selects an exact reviewed agent release ID from the native download catalog. Arbitrary packages, commands and URLs are not accepted. The agent must report a matching compiled OS/architecture. Claims must already be paused with no active leases; creation requires that maintenance revision. This preparation does not establish local process readiness or permission to install.
createAgentUpdate(agentId, {requestId, releaseId, maintenanceRevision}) and Python create_agent_update(agent_id, request) create durable tenant-scoped intent. Generate a unique UUID v4 request ID. Retrying the same requester and selection returns the same operation; reusing that ID for a different selection returns 409. Only one active operation is allowed per agent. History is retained without a lifetime 1,000-operation cap. Use the paged fleet history endpoint to read it. Deadlines are at most one hour and cannot exceed signed-release expiry.
Use agentUpdate(agentId) / agent_update(agent_id) for the current operation, or agentUpdateOperation(id) / agent_update_operation(id) for a known operation. Viewers and analysts can read tenant operations. Agent credentials can read only their own operation, poll their own intent, and report against their own replacement authorization.
| State | Meaning |
|---|---|
requested | Intent is recorded; replacement has not been authorized. |
cancelled | Intent was cancelled before replacement authorization. |
expired | Intent expired before replacement authorization. |
applying | The server authorized the replacement boundary; the local outcome is not yet known. |
outcome-unknown | The deadline passed after authorization. Do not assume replacement failed or succeeded. |
installed-reported | An agent reported installation. Operational health remains unverified. |
failed-reported | An agent reported a failure, rollback or recovery requirement. Inspect local state. |
No state is called healthy or completed. operationalHealthVerified is always false. Local signature verification, update-policy checks, protected service stop and post-restart discovery verification remain separate requirements.
Supervisor protocol and authorization
nextAgentUpdate() / next_agent_update() returns the authenticated agent's current intent and a bounded local staging request. Polling rechecks the original administrator's authorization and release availability. It does not authorize replacement. The locally configured supervisor must stage and verify the release, then call beginAgentUpdate(id, claimId, expectedRevision) / begin_agent_update(...) immediately before applying it.
Begin requires the original administrator to remain authorized, the current matching pause revision, a fresh idle observation, and no active scan leases. The local installer must independently enforce policy and readiness. Generate a unique UUID v4 claim ID; a retry with the same claim ID recovers the same authorization. It is omitted from public operation responses.
cancelAgentUpdate(id, expectedRevision) / cancel_agent_update(...) can cancel only requested intent. Begin and cancel compete in one tenant transaction; only one can win. Once replacement is authorized, cancellation returns 409 because it cannot promise to undo local work. Cancellation leaves scan admission paused. Inspect the outcome and explicitly resume claims when appropriate.
reportAgentUpdate(id, report) / report_agent_update(...) accepts the matching claim ID, current revision, an installed or failed outcome and a bounded reason code. Caller timestamps and extra fields are rejected. Reports can resolve an unknown outcome after the deadline, but they do not prove health. After an interrupted report, read the current operation before retrying. If the original administrator loses access before begin, cancel the intent and request a new operation under an authorized administrator.
The API has passed isolated tenant/role, idempotency, revocation, cancellation-race and simulated-outcome checks through both SDKs. These checks did not replace software. The local supervisor executes authorized updates, and staged group rollouts provide canaries and reviewed batches. One-time maintenance windows can bound each reviewed rollout; see the rollout guide for approval and expiry behavior. Recurring calendar windows and independent operational-health verification remain unfinished.
Fleet history
Agents & sensors > Fleet tools > Update history shows 50 operations at a time across the workspace. Filter by outcome or exact agent ID, expand a request for contact/scan evidence, and refresh newest for recent requests. Failed requests keep the prior page visible. Revoking or archiving an agent preserves its update history.
GET /api/v1/agent-updates accepts status, agentId, after, and limit (default 50, maximum 100). JavaScript agentUpdates, Python agent_updates, and MCP agent_update_history expose the same filters. Results are ordered by creation time and ID descending. Pass nextCursor unchanged as after; reset it when changing filters. Expiration is evaluated before filtering. A reported installation never substitutes for post-update process and scan evidence.
Update history opens as a dedicated workspace page. Back to agents returns to the fleet; reopening history in the same tab preserves the last successfully loaded filters and page. Reloading the browser resets this view. Pagination is available above and below the results; expanded details use normal page scrolling.