Skip to content
Core zero-trust component

Companion Agent

The local trust broker that enforces document access policies at the edge.

  • Local Policy Enforcement Point (PEP) at every endpoint
  • Hardware-backed device identity via TPM & Secure Enclave
  • Trust decisions continue offline - fail-closed by default
agent · trust anchor active
PEP

User

Companion Agent

Device Identity

OSDF Policy Engine

Protected Document

sessionentra · mfa verified
devicetpm key · attested
policycompartment · permitted
decisionALLOW · lease 300s

One agent, five core roles

Policy Enforcement Point
Device Identity Broker
Secure Authentication Bridge
Hardware Security Interface
Offline Trust Engine
Product overview

A trust broker that lives on the endpoint

The Companion Agent is the local control point between your users, their devices, and the OSDF policy engine - the same posture as a Tailscale client, Cloudflare WARP, or a CrowdStrike sensor, but for document access.

Runs in the tray

A lightweight background service in the system tray or menu bar - always present, never in the way.

Maintains authenticated sessions

Holds the user's identity-provider session and brokers it to the viewer and browser without re-prompting.

Verifies device identity

Proves a hardware-backed, non-exportable device key on every sensitive request.

Brokers access decisions

Evaluates permissions, posture, and leases locally to return an Allow / Warn / Deny verdict.

TPM & Secure Enclave interface

Talks to platform hardware security modules to generate, store, and use keys that never leave the device.

Smart-card infrastructure

Drives PKCS#11, CAC, and PIV middleware for credentialed authentication and signing.

Offline policy enforcement

Caches short-lived policy leases so access decisions keep working when connectivity doesn't.

Trust flow

How an access decision is made

Five deterministic steps run locally on every request - from the moment a user asks for a document to the signed audit event that records the verdict.

Step 1 / 5

User Requests Access

A user opens a protected document in the viewer or a browser tab. The request is routed to the local Companion Agent over a loopback channel - never to a remote decryption endpoint.

  • Loopback request (127.0.0.1)
  • Origin allowlist enforced
Platform support

Native on every major OS

The Agent integrates with each platform's native credential store and hardware security module - no custom drivers required.

GA

Windows

Windows 10 / 11 · Server 2019+

DPAPITPM 2.0Smart CardCAC / PIV
GA

macOS

macOS 12 Monterey and later

KeychainSecure EnclaveSmart Card
Beta

Linux

Ubuntu, RHEL, Fedora, Debian

Secret ServiceTPM 2.0PKCS#11
Key features

What makes the Agent a trust anchor

Device Identity

Hardware-backed, non-exportable keys bound to the TPM or Secure Enclave establish a verifiable machine identity.

SSO Broker

A secure bridge between the browser, the viewer, and your enterprise identity provider - sessions stay in the Agent.

Hardware Security

TPM, Secure Enclave, smart cards, and PKCS#11 tokens for key custody, attestation, and signing.

Offline Access

Short-lived, device-bound leases keep documents usable offline, then fail closed when they expire.

Signed Audit Trail

Every decision emits a tamper-evident, Ed25519-signed event - buffered locally and synced on reconnect.

Security architecture

Enforcement happens locally

The cloud issues policy and keys, but the decision to release plaintext is made on the device by the Agent. There is no bulk-decrypt endpoint and no master key.

  • Local enforcement - verdicts computed at the edge
  • Device binding - leases tied to hardware keys
  • Origin allowlisting - only trusted callers reach the broker
  • Fail-closed - absence of trust evidence denies access
Read the security model
Control plane

OSDF Cloud

Key Broker · Trust registry

Policy Services

PDP · Lease issuance · Audit sink

Local trust boundary

Companion Agent

Local Policy Enforcement Point

PEP
TPM / Enclave
Smart Card
Browser ↔ Viewer
Local enforcementDevice bindingOrigin allowlistingFail-closed
Zero trust alignment

A Policy Enforcement Point, by the book

The Companion Agent implements the PEP role defined by NIST SP 800-207: device-centric trust, continuous verification, and least-privilege access enforced at the resource boundary.

NIST SP 800-207 capability mapping for the Companion Agent
CapabilityHow the Agent delivers itStatus
Identity ValidationAuthenticated user session brokered from the IdPEnforced
Device TrustHardware-backed key attestation and postureEnforced
Policy EnforcementLocal PEP evaluates every access requestEnforced
Session ControlShort-lived leases, continuous re-verificationEnforced
Offline DecisionsCached policy with fail-closed defaultsEnforced
Tray experience

Trust status, always one glance away

The Agent surfaces its current trust posture in the system tray and menu bar. Watch it shift between Trusted, Degraded, and Locked - or pick a state to inspect it.

Windows · System Tray OSDF Companion Agent
11:42

Protected & verified

Device attested · session active

Session
j.rivera@agency.gov
Device trust
TPM attested
Policy lease
valid · 4m 12s
Connectivity
online
  • View Status
  • Lock Agent
  • Open Viewer
  • View Recent Decisions
  • Sign Out
macOS · Menu Bar OSDF Companion Agent
100%Wed 11:42

Protected & verified

Device attested · session active

  • View Status
  • Lock Agent
  • Open Viewer
  • View Recent Decisions
  • Sign Out
Offline enforcement

Trust decisions continue even when connectivity doesn't

Cached policy leases let the Agent keep making correct, least-privilege decisions on a disconnected or air-gapped endpoint. When a lease lapses, access fails closed - and every decision is signed for later audit.

Cached policy leases
Local evaluation
Fail-closed
Signed decision logs
agent · offline enforcementDECISIONS CONTINUE
  1. 00:00

    Connectivity lost

    Network drops mid-session. The Agent keeps running with its cached policy leases.

  2. 00:05

    Local evaluation

    Access requests are decided on-device against cached policy and device posture - no round trip.

  3. 04:00

    Signed decision logs

    Each verdict is signed and buffered locally as a tamper-evident audit event.

  4. 05:00

    Lease expires → fail-closed

    When the cached lease lifetime ends without renewal, access is denied by default.

  5. 06:30

    Reconnect → logs synced

    Connectivity returns; buffered audit events sync and fresh leases are issued.

Cached policy leasesLocal evaluationFail-closedSigned decision logs
Enterprise

Required infrastructure for regulated environments

Wherever a document's value depends on who, where, and when it is opened, the Companion Agent binds trust to the user, the device, the moment, and the policy.

Government

FIPS-validated hardware, PIV/CAC, and air-gap-friendly offline enforcement.

Defense

Device-bound trust on managed endpoints with signed, exportable audit.

Healthcare

Compartmented PHI access tied to enrolled clinical workstations.

Legal

Privileged-document control with verifiable, court-ready decision logs.

Enterprise

Zero-trust document access integrated with Entra, Okta, and MDM fleets.

Device-bound trust

Access is granted to a user + device + time + policy - never to a credential alone.

Deployment guide
Deploy the Agent

Bring zero-trust enforcement to the endpoint

Roll out the Companion Agent across Windows, macOS, and Linux fleets with your existing MDM, and make every document access a verified, device-bound decision.