Verity Deployment Architecture

How Verity fits into your stack

Verity deploys alongside your agents — never inside them. Your agent keeps running exactly as it does today. Verity adds a parallel evidence pipeline, an independent policy enforcement point, and a portable proof format that any third party can verify offline.

The three planes:

  1. Agent plane (yours). Your agent process, your frameworks, your observability stack. Unchanged. The Verity SDK wraps your functions, emits signed receipts, and never blocks execution. If Verity is down, your agent keeps running — the SDK is an observer, not an enforcer.

  2. Enforcement plane (separate trust domain). The policy enforcement point runs as a sidecar, gateway, or embedded component — in a different process, container, or host from the agent. The agent cannot read its config, reach its keys, or signal its process. If the policy engine is unreachable, the action is denied and the failure is recorded. Enforcement fails closed; the SDK fails open. That asymmetry is deliberate.

  3. Evidence plane (parallel audit pipeline). A dedicated processor — separate from your trace pipeline — canonicalizes each receipt, hashes it, signs it with your HSM/KMS key, links it into a per-session hash chain, batches receipts into Merkle trees, and optionally anchors the root to an external witness. Receipts and proofs land in append-only storage (S3 object lock or equivalent); the searchable index lives in PostgreSQL or ClickHouse.

What gets deployed where..

Component

Runs where

Trust boundary

Verity SDK

In your agent process

Yours — fail-open, non-blocking

Policy Enforcement Point

Sidecar / gateway / embedded

Isolated from agent — fail-closed

Policy Engine

Separate process/container/host

Isolated — keys never exposed to agent

Record pipeline

Your cloud or Verity cloud

Signing keys stay in your HSM/KMS

Append-only store

S3 + object lock (or equivalent)

Immutable

Evidence index

PostgreSQL / ClickHouse

Queryable, search-only

Identity Service

Verity or customer-hosted

DIDs + VCs + revocation status list

External witness

Arweave / TSA / your own store

Optional, root-only writes

Open-source verifier

Anywhere, offline

Zero trust in Verity required

Key Management

Private keys live in your HSM or cloud KMS. Verity never has access. Ed25519 is the default; ECDSA P-256 is available where NIST-approved curves are required. Key rotation is supported via key-ID references in signature metadata.

Data Privacy

Receipts contain SHA-256 hashes, never raw inputs or outputs. Raw data stays in your own store under your own access controls. PII is hashed or excluded; principal IDs are DIDs, not names or emails. The open-source verifier checks signatures and Merkle proofs without ever seeing content.

Portability

Evidence bundles are self-contained: receipts, signatures, chain metadata, Merkle inclusion proofs, active policy configurations, and witness anchor references. If you leave Verity, your bundles remain verifiable with stock tools. That is the point.

Deployment by tier

  • Free (Trace & Verify): SDK in local mode, local evidence store, open-source verifier. 10,000 records/month, 30-day retention, JSON export.

  • Paid (Record & Retain): Record pipeline, append-only storage, evidence index, optional external witness anchoring, full query API, auditor-ready PDF and self-verifying bundle exports. Retention: forever.

  • Enterprise (Policy & Identity): Policy enforcement points, Policy Engine, Identity Service (DID issuance, delegation chain validation, revocation), SSO/RBAC, and EU AI Act / NIST / OWASP / ISO 42001 compliance reports.

Two things to know before you deploy

  • The policy gate and the receipt chain must be constructed outside the agent process and injected via callback registration. Enforcement logic that runs inside the agent can be tampered with by the agent.

  • A DENIED receipt must be written to persistent storage before the PolicyViolationError is raised. If the deny-record write fails, execution must not proceed. This is what turns "we blocked it" into "we can prove we evaluated the policy and blocked it."

Verify it yourself. The open-source verifier runs offline, needs no Verity account, and no network. It recomputes canonical forms, checks signatures, walks the hash chain from genesis to tip, recomputes Merkle roots from inclusion proofs, and optionally checks the external witness anchor. Trust the bytes, not the vendor.

Request Access