README.md

April 10, 2026 · View on GitHub

VERA — Verifiable Enforcement for Runtime Agents — Reference Implementation

Zero Trust enforcement architecture for AI agents — 12 deployed services, 5 enforcement pillars

ArchitecturePillarsQuick StartContract Spec


What This Is

This repository is the unified entry point for Berlin AI Labs' VERA reference implementation — a zero trust enforcement architecture for AI agents built on cryptographic proof, not policy assertions.

VERA defines 5 enforcement pillars every agent must satisfy. This repo maps those pillars to deployed, tested, open-source services.

This is a facade repository. It contains no duplicated code — each service lives in its own repo, deploys independently, and maintains its own test suite. This repo provides the map.


Architecture

┌─────────────────────────────────────────────────────────────────────┐
│                    VERA Reference Implementation                      │
│                         Berlin AI Labs                               │
├─────────────────────────────────────────────────────────────────────┤
│                                                                      │
│  ┌──────────────┐  ┌──────────────┐  ┌──────────────┐              │
│  │   Pillar 1    │  │   Pillar 2    │  │   Pillar 3    │              │
│  │   IDENTITY    │  │  PROOF OF     │  │    DATA       │              │
│  │  "Who are you?"│ │  EXECUTION    ││ SOVEREIGNTY    │              │
│  │               │  │              ││                │              │
│  ├──────────────┤  ├──────────────┤  ├──────────────┤              │
│  │ Trust Verifier│  │ Veracity Core │  │  ConvoGuard AI │              │
│  │ Trust Protocol│  │ Chain Anchor  │  │Fairness Auditor│              │
│  └──────────────┘  └──────────────┘  └──────────────┘              │
│                                                                      │
│  ┌──────────────┐  ┌──────────────┐  ┌──────────────┐              │
│  │   Pillar 4    │  │   Pillar 5    │  │   CROSS-CUT   │              │
│  │ SEGMENTATION  │  │ CONTAINMENT   │  │ INFRASTRUCTURE │              │
│  │"Where can     │  │"What if you   │  │               │              │
│  │  you go?"     │  │  go rogue?"   │  │               │              │
│  ├──────────────┤  ├──────────────┤  ├──────────────┤              │
│  │  VERA Module  │  │ agent-pentest │  │  OpenClaw Node │              │
│  │  Deadline Enf │  │ VERA Incident │  │ Mission Control│              │
│  │ Semantic Align│  │              │  │               │              │
│  └──────────────┘  └──────────────┘  └──────────────┘              │
│                                                                      │
└─────────────────────────────────────────────────────────────────────┘

The Five Enforcement Pillars — Implementation Map

🔐 Pillar 1: Identity — "Who are you?"

Every agent must have a verified, auditable identity before it can access any resource.

ServiceDescriptionStackTests
agent-trust-verifierDID:web resolution, Verifiable Credential issuance/verification (JWT-VC), trust score trackingNext.js, Prisma, PostgreSQLVitest + Playwright
agent-trust-protocolReputation scoring, compliance tracking, trust dashboard, VERA trust tiers & promotion gatesNext.js, SupabaseVitest + Playwright

VERA Requirements Covered: Unique Identifier ✅ · Credential Binding ✅ · Ownership Chain ✅ · Purpose Declaration ✅ · Capability Manifest 🟡


👁️ Pillar 2: Proof of Execution — "Can you prove what you did?"

Agent actions must be cryptographically signed, hash-chained, and externally anchored.

ServiceDescriptionStackTests
pdp-protocol (Veracity Core)Cryptographic Proof of Execution — Ed25519 signed execution records, hash-chain linking, Solana anchoring, PDP Decision TokensNode.js, ExpressVitest + Playwright
agent-chain-anchorChain-agnostic blockchain anchoring for PoE proofs, trust score snapshots, and decision audit logsNext.jsVitest + Playwright

VERA Requirements Covered: Structured Logging ✅ · Action Attribution ✅ · Behavioral Baseline ✅ · Anomaly Detection ✅ · Explainability ✅

Beyond Spec: Cryptographic proof (Ed25519), multi-modal evidence, tamper-proof hash chains anchored to Solana, Tool Execution Receipts.


🛡️ Pillar 3: Data Sovereignty — "What are you consuming and producing?"

All data entering the agent must be validated, and all outputs must be governed.

ServiceDescriptionStackTests
convo-guard-aiSub-20ms ONNX inference firewall — prompt injection defense, PII detection, API key interception, EU AI Act compliance trails (Articles 11, 12, 73)Next.js, ONNX Runtime69/69 E2E
agent-fairness-auditorBias detection, immutable audit logging, compliance dashboardNext.js, Prisma, PostgreSQLVitest + Playwright

VERA Requirements Covered: Schema Validation ✅ · Injection Prevention ✅ · PII/PHI Protection ✅ · Output Validation ✅ · Data Lineage ✅

Beyond Spec: Edge-deployed (no data leaves the device), deterministic control layer, EU AI Act article-level compliance mapping.


📊 Pillar 4: Segmentation — "Where can you go?"

Agent access must be strictly limited to the minimum required for the task at hand.

ServiceDescriptionStackTests
agent-trust-protocol/lib/veraPolicy-as-code segmentation engine — resource ACLs with glob matching, rate limiting, transaction limits, A2A communication controls, blast radius containmentTypeScript33 unit tests
agent-deadline-enforcerSLA contract registration, automated breach detection and enforcementNext.js, Prisma, PostgreSQLVitest + Playwright
agent-semantic-alignerVocabulary translation middleware — resolves ontology gaps between agents communicating across domainsNext.js, OpenAI, PrismaVitest + Playwright

VERA Requirements Covered: Resource Allowlist ✅ · Action Boundaries ✅ · Rate Limiting ✅ · Transaction Limits ✅ · Blast Radius Containment ✅


⚔️ Pillar 5: Containment — "What if you go rogue?"

When agent behavior deviates, the organization must detect, contain, and remediate.

ServiceDescriptionStackTests
agent-pentest41 automated adversarial attack vectors across 4 categories (injection, exfiltration, jailbreak, safety bypass), Safety Score grading (A-F), CI/CD integrationTypeScript CLIVitest
agent-trust-protocol/lib/veraCircuit breaker (closed→open→half-open recovery), kill switch (with auto-resume), auto-containment on critical incidentsTypeScript33 unit tests

VERA Requirements Covered: Vulnerability Assessment ✅ · Penetration Testing ✅ · Adversarial Testing ✅ · Circuit Breakers ✅ · Kill Switches ✅

Beyond Spec: Quantified Safety Score, CI/CD --fail-under gates, PoE-signed scan receipts.


🏗️ Cross-Pillar Infrastructure

ServiceDescriptionRole
spy-agent-openclawSovereign execution node — PRISM Level 4 security, staking/slashing vault, zero-trust middlewareRuntime enforcement
agent-ops-mission-controlEnterprise agent discovery platform — vendor-neutral search, trust score visualization, fleet managementOperator dashboard

VERA Trust Tier Model

Agents earn autonomy through cryptographic proof, not calendar time:

TierAutonomyImplementation
T1 — InternObserve + ReportRead-only access, continuous oversight, 3-failure circuit breaker
T2 — JuniorRecommend + ApproveWrite access with human approval, 5-failure threshold
T3 — SeniorAct + NotifyAutonomous execution with post-action notification, pentest required
T4 — PrincipalAutonomousFull domain autonomy, adversarial testing + risk committee required

Promotion Gates (5/5 Implemented)

GateWhat's CheckedTooling
PerformanceAccuracy ≥ threshold, availability ≥ 99%+, minimum time at levelagent-trust-protocol
SecurityPentest grade A/B, adversarial testing passedagent-pentest
Business ValueROI calculated, business owner approvalagent-trust-protocol
Incident RecordZero critical incidentsagent-trust-protocol/vera
GovernanceSecurity team + risk committee sign-offagent-trust-protocol/vera

Quick Start

This is a facade repository — to run individual services, clone them directly:

# Identity
git clone https://github.com/yogami/agent-trust-verifier.git
git clone https://github.com/yogami/agent-trust-protocol.git

# Proof of Execution
git clone https://github.com/yogami/pdp-protocol.git
git clone https://github.com/yogami/agent-chain-anchor.git

# Data Sovereignty
git clone https://github.com/yogami/convo-guard-ai.git
git clone https://github.com/yogami/agent-fairness-auditor.git

# Segmentation
git clone https://github.com/yogami/agent-deadline-enforcer.git
git clone https://github.com/yogami/agent-semantic-aligner.git

# Containment
git clone https://github.com/yogami/agent-pentest.git

# Infrastructure
git clone https://github.com/yogami/spy-agent-openclaw.git
git clone https://github.com/yogami/agent-ops-mission-control.git

Each service has its own VERA_MAPPING.md documenting exactly which VERA requirements it satisfies.


Validation

Run the contract validation suite to verify portfolio integrity:

npm install
npm test

This checks:

  • All linked repos exist on GitHub
  • Each repo has a VERA_MAPPING.md
  • All 5 VERA pillars have at least one implementation
  • Trust tier model coverage is complete

License

MIT — Build freely.


Berlin AI Labs · berlinailabs.de · github.com/yogami