Skip to content
Public template

About

VERITAS OS is an AI agent governance runtime for decision control, policy enforcement, approval workflows, audit trails, and replayable evidence before real-world actions.

Topics

Resources

Contributing

Security policy

Stars

42 stars

Watchers

2 watching

Forks

Latest commit

 

History

5,706 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

VERITAS OS v2.0

Decision Governance and Bind-Boundary Control Plane for AI Agents

Control whether an AI-proposed action is allowed to become a real-world effect.

DOI DOI (JP Paper) DOI (Execution Governance Paper) Zenodo Record 22844531 Python Next.js License CI CodeQL Release Gate Docker Publish Coverage: historical March 2026 CI snapshot GHCR README JP LinkedIn

Website · Reviewer Entry Point · Implementation Matrix · Technical Proof Pack · Execution Governance Paper


Evidence snapshot and enterprise evaluation (2026-10-09)

VERITAS separates implemented components, reproducible bounded proofs, measured benchmark outcomes, and customer-specific production validation. Each claim below is tied to its own source and scope; these are not interchangeable proof levels.

Evidence track What the evidence supports Verification and limits
Controlled Decision-to-Effect E2E Reproducible governed execution with real TLS transport, PostgreSQL-backed records, one-time authorization consumption, an explicit unknown-effect path, and read-only reconciliation. E2E proof guide. Business actions, credentials and effects are controlled synthetic fixtures, not live bank/customer effects.
BCBR V1 bypass-resistance closure A recorded Independent Auditor determination of PROVEN, only within the frozen bounded BCBR V1 domain and stated assumptions, at VERITAS OS SHA 5f4da777c488c917b30fa556da54010a604f4154. The reviewed effect boundaries were registered Webhook ACTION / COMPENSATION and native-v2 Sandbox ACTION. Auditor closure record. Retained Builder proof_status=NOT_PROVEN remains unchanged. This is not an independent audit of current main, universal Bind coverage, or certification.
AgentDojo banking — Final 128 / V13 A completed, paired real-provider benchmark: Arm A (RCC/REVAS upstream) 93/128 legitimate tasks; 20/128 attacker objectives. Arm B (+VERITAS) 64/128 legitimate tasks; 0/128 attacker objectives. Lower attacker-objective success is safer. Frozen V13 result · Run 37585673492. Exact executed benchmark source SHA 2454ba69818d1a46b910f33fab9b57017cd7a83e. This was a previously exposed synthetic corpus, not held-out or third-party validation. The 29-case net utility loss must not be concealed.
Enterprise pilot readiness One-Day PoC evidence pack, reviewer entry point, and implementation matrix support a bounded technical evaluation. These are evaluation materials, not proof of a completed customer deployment, paid pilot, SLA, external authority-root integration, or regulatory certification.

Choose your next step: Technical review · Architecture and current limits · Repeatable E2E · AgentDojo benchmark · Pilot evaluation criteria · Enterprise value brief.

For a customer-specific evaluation or potential paid PoC, propose a narrow effect boundary (such as a particular API mutation or approval-gated action), relevant identity/credential sources, a fail-closed bypass test, reviewer-visible receipts, and a reconciliation plan. Scope, fees, access and safety conditions require separate agreement; a PoC is not a production deployment. Contact · Commercial-use license.

Evidence discipline: A successful test run is evidence for its exact SHA, case population and assumptions. It is not evidence that every later commit, effect path, model, environment or customer deployment has been audited. The displayed 87% coverage is a 2026-03-24 CI snapshot, not current-head coverage (historical measurement).


Important

AI intelligence is not execution authority.

A model can decide that an action should happen. VERITAS determines whether that proposed action is allowed to cross the execution boundary under the authority, policy, approval, evidence, and current state available at execution time.

VERITAS OS is a Decision Governance and Bind-Boundary Control Plane for AI agents.

Instead of passing model output directly to tools or external systems, VERITAS treats AI output as a Decision Candidate and routes it through explicit governance and execution boundaries before a real-world side effect can be committed.

The core distinction is simple:

Authorization at issuance ≠ permission at execution.


Why VERITAS exists

AI agents can increasingly prepare or initiate consequential actions:

  • payments and financial operations
  • IAM and permission changes
  • production infrastructure changes
  • compliance and risk decisions
  • external API calls
  • customer or operational workflow mutations

The difficult question is no longer only:

Can the model decide what to do?

It is also:

What must still be true before the organization allows that decision to become an external effect?

Between decision and execution, any of the following may change:

  • the actor's authority
  • the governing policy
  • the target or scope
  • a human approval's validity
  • the execution credential
  • the authorization's consumption state
  • the external system's state
  • the certainty about whether an earlier effect already occurred

VERITAS governs that gap.


Architecture at a glance

flowchart LR
    A["AI / Agent"] --> B["Decision Candidate"]
    B --> C["Governance Evaluation"]
    C --> D["Authority · Policy · Approval · Evidence"]
    D --> E["Execution Authorization"]
    E --> F["Single-Use Consumption"]
    F --> G["Bind Boundary"]
    G --> H["External Effect"]
    H --> I["Receipt / Outcome"]
    I --> J["Read-Only Reconciliation"]
    J --> K["Reviewer Evidence"]
Loading
Before execution At the execution boundary After execution
Validate authority Revalidate current governance Record outcome
Apply policy Consume authorization once Preserve evidence
Bind human approval Resolve exact target / credential Reconcile uncertain effects
Validate evidence Fail closed on ambiguity Support reviewer verification

Mental model

AI / Agent
   proposes
      ↓
VERITAS
   governs
      ↓
Bind Boundary
   permits or blocks
      ↓
External System
   produces an effect
      ↓
VERITAS
   records and reconciles evidence

Core execution invariants

VERITAS is built around explicit execution-governance invariants.

Invariant Meaning
AI output is a proposal Model output does not grant itself execution authority.
Authorization is contextual Authority is bound to the relevant action, target, scope, and governance state.
Approval is not reusable permission Human approval does not become a general-purpose execution capability.
Authorization is single-use A consumed authorization cannot simply authorize another effect.
Current state matters Governance conditions are rechecked before effect.
Ambiguity fails closed Missing, stale, invalid, or indeterminate evidence does not silently pass.
EFFECT_UNKNOWN is explicit A lost response is not automatically treated as execution failure.
Blind re-dispatch is prohibited An unresolved effect is reconciled instead of automatically retried.
Reconciliation is read-only Verification of an effect must not create another effect.
Receipts are evidence, not authority Retrospective evidence cannot authorize a new action.

What has been demonstrated

Controlled Decision-to-Effect E2E

VERITAS contains a reproducible current-head Decision-to-Effect proof path that connects a governed decision to a controlled external effect and back to reviewer-facing evidence.

/v1/decide
    ↓
Canonical Decision Artifact
    ↓
Verified Promotion
    ↓
Native v2 Authorization
    ↓
Single-Use Consumption
    ↓
Current Governance Rechecks
    ↓
TLS POST
    ↓
PostgreSQL Persistence
    ↓
Read-Only Reconciliation
    ↓
BindReceipt / Outcome

The dedicated proof path uses:

  • real TLS transport
  • real PostgreSQL persistence
  • durable authorization-consumption records
  • current governance rechecks before dispatch
  • deterministic decision / authorization / receipt lineage
  • read-only reconciliation
  • machine-readable proof artifacts
  • exact tested commit identity in CI

The business decision, credentials, and external effect are controlled synthetic fixtures.

Normal path

The normal scenario verifies that a governed action can move through:

Decision → Promotion → Authorization → Consumption → Revalidation → External Effect → Reconciliation → Receipt / Outcome

without bypassing the defined execution boundary.

Lost-response fault path

The fault scenario covers a harder case:

External system commits the effect
              ↓
Caller loses the response
              ↓
        EFFECT_UNKNOWN
              ↓
        No blind retry
              ↓
     Read-only reconciliation
              ↓
      Original effect confirmed

The proof explicitly preserves the distinction between:

  • no observed response, and
  • proof that no external effect occurred.

While the effect is unresolved, VERITAS does not treat the missing response as permission to blindly issue a replacement business event.

Proof references

Note

A passing controlled proof is evidence for the proof contract and tested commit. It is not blanket production certification.


What the controlled proof does not establish

VERITAS deliberately separates implemented proof from production claims.

The controlled Decision-to-Effect proof does not by itself establish:

  • production readiness in every customer environment
  • real customer credentials
  • real customer endpoints
  • live bank integration
  • live IAM / IdP / SaaS integration
  • external UTC clock trust
  • production SLA
  • regulatory approval
  • compliance certification
  • completed third-party audit
  • universal bind coverage of every effect-bearing route

Caution

Implemented in the repository does not automatically mean production-validated in a customer environment.

The authoritative implementation boundary is maintained in:

Current Implementation Matrix


Current implementation

Decision governance

POST /v1/decide is the main structured decision path.

It produces governance and audit-facing lineage and provides the upstream decision context used by later execution-governance artifacts.

An AI decision is not, by itself, external execution permission.


LLM-to-Control-Plane boundary

VERITAS does not ask an LLM to govern itself.

flowchart TD
    A["LLM / Agent Proposal"] --> B["DecisionCandidate"]
    B --> C["Normalize"]
    C --> D["Validate"]
    D -->|"Incomplete / ambiguous"| E["Refusal / Human Review Evidence"]
    D -->|"Valid"| F["Execution Intent"]
    F --> G["Bind Adjudication"]
Loading

Incomplete or ambiguous model output is not automatically promoted into an executable intent.

See:


Bind-boundary governance

VERITAS represents execution lineage through explicit artifacts and transitions.

Decision
   ↓
Execution Intent
   ↓
Authorization
   ↓
Consumption
   ↓
Bind Adjudication
   ↓
External Effect
   ↓
BindReceipt
   ↓
Outcome

The Bind Boundary is the final governance point before a proposed action crosses into an external side effect.

See:


Selected bind-governed operator effects

The repository explicitly documents bind governance for selected operator mutation paths including:

PUT  /v1/governance/policy
POST /v1/governance/policy-bundles/promote
PUT  /v1/compliance/config
POST /v1/system/halt
POST /v1/system/resume

This is an explicit documented subset.

VERITAS does not claim that every effect-bearing route is bind-governed unless that route is covered by the relevant bind-coverage documentation and tests.


Authority Evidence

VERITAS provides structured Authority Evidence handling for governance decisions.

Authority evidence can represent:

  • identity
  • scope grants
  • scope limitations
  • validity and expiry
  • provenance
  • deterministic evidence hashes

Missing, invalid, expired, stale, or indeterminate authority evidence can fail closed.

Current repository support includes deterministic local/offline ingestion and validation patterns. It does not imply completed live integration with every enterprise identity, banking, sanctions, or customer authority source.

See:

Authority Evidence Ingestion


Human Approval Receipt

Human approval is represented as a structured governance artifact rather than a simple Boolean.

Approval can be bound to:

  • a specific action
  • target
  • scope
  • decision context
  • expiry
  • verifier provenance

Secure / production postures require stronger verifier-derived provenance than local test compatibility state.

Human approval does not become an unlimited reusable execution capability.

See:

Human Approval Receipt


Single-use authorization

VERITAS supports durable single-use authorization-consumption semantics.

The intended invariant is:

one valid decision
        +
one valid approval
        ↓
one contextual authorization
        ↓
one valid consumption
        ↓
one governed effect attempt

A previously consumed authorization is not silently treated as fresh authority.


Outcome Receipt

Outcome Receipt artifacts represent post-execution evidence for governed action attempts.

They can capture:

  • observed outcome
  • commit / block / rollback state
  • postcondition status
  • state fingerprints
  • observed effects
  • deterministic hashes

Outcome evidence records what was observed.

It does not grant new execution authority.

See:

Outcome Receipt


Evidence Chain and reviewer evidence

VERITAS includes reviewer-facing evidence-chain capabilities including:

  • deterministic hashes
  • evidence manifests
  • validation reports
  • Reviewer Evidence Packets
  • trusted-public-key provenance workflows
  • Ed25519 verification paths
  • reproducible handoff artifacts

Integrity and trust are intentionally separated.

A matching hash can support integrity checking relative to an expected value; it does not automatically establish that the underlying authority source or public key should be trusted.

Start here:


Mission Control

Mission Control is the operator-facing governance surface.

It provides visibility into areas such as:

  • decisions
  • governance state
  • audit evidence
  • policy workflows
  • bind artifacts
  • risk state
  • system posture

Frontend stack:

Layer Technology
Framework Next.js 16.3.6 (App Router)
Language TypeScript 5.7
Styling Tailwind CSS 3.4
Lint config eslint-config-next 15.5.10
UI React

Mission Control is a governance and review surface. The UI itself is not the source of execution authority.


External execution integration

WebhookBindAdapter

WebhookBindAdapter is the first reference adapter for external bind execution.

It demonstrates an integration pattern involving:

  • governed action preparation
  • target snapshot
  • external HTTPS effect
  • deterministic idempotency
  • HMAC signing
  • postcondition verification
  • fail-closed behavior
  • compensation semantics where supported
  • bind receipts

See:

WebhookBindAdapter

This is a reference integration pattern, not production certification or proof of a completed customer deployment.


Minimal Python SDK

A minimal Python SDK reference is available at:

sdk/python/README.md

The SDK helps clients interact with VERITAS APIs and prepare integration payloads.

It does not bypass the execution boundary.

SDK request
    ≠
permission for external side effect

Regulated Action Governance

VERITAS includes a Regulated Action Governance Kernel covering concepts such as:

  • Action Class Contract
  • Authority Evidence
  • Runtime Authority Validation
  • Admissibility Predicate
  • Human Approval
  • Irreversible Commit Boundary
  • reviewer-facing evidence

For selected regulated action paths, the kernel is designed to determine whether an execution intent should commit / block / escalate / refuse at the Bind Boundary.

See:


AML / KYC PoC

The repository includes a deterministic fixture-backed AML/KYC governance PoC for reviewer and pilot workflows.

Start here:

Warning

Fixture-backed AML/KYC evidence must not be represented as live bank-side production integration.

The AML/KYC customer risk escalation fixture is a deterministic engineering path for reviewing regulated-action governance behavior.

Audit Log vs Authority Evidence: an Audit Log records what happened. Authority Evidence records why an action was authorized and admissible at bind time. An Audit Log alone does not authorize commit.

Note

This is not legal advice, not regulatory approval, and not third-party certification. Repository evidence and controlled proofs should not be interpreted as compliance certification or completed production validation.


PostgreSQL and audit persistence

VERITAS uses pluggable persistence for MemoryOS and TrustLog.

Environment Recommended backend
Local development JSON / JSONL
Docker development PostgreSQL
Staging PostgreSQL
Secure / production path PostgreSQL + environment-specific hardening

PostgreSQL is the formal production storage path documented by this repository.

Repository capabilities include:

  • Alembic migrations
  • PostgreSQL-backed MemoryOS
  • PostgreSQL-backed TrustLog
  • advisory-lock chain serialization
  • JSONL → PostgreSQL migration tooling
  • contention tests
  • pool and health observability
  • backup / restore / recovery drills

See:

Production guarantees still depend on the actual deployment infrastructure and operating controls.


Runtime posture

VERITAS supports posture-aware behavior across environments including:

dev → staging → secure → prod

Higher-security postures can require stronger controls around:

  • signing
  • secret management
  • approval provenance
  • audit persistence
  • replay behavior
  • WORM storage
  • trust evidence
  • runtime configuration

See:

Security Hardening


Quick start

Requirements

  • Python 3.11+
  • Docker / Docker Compose for the recommended full-stack path
  • Node.js 20+ for local frontend development
  • an OpenAI API key for the default LLM configuration

Docker Compose

git clone https://github.com/veritasfuji-japan/veritas_os.git
cd veritas_os
cp .env.example .env

Replace required CHANGE_ME values and configure the required application, API, database, and frontend authentication secrets.

Then:

docker compose up --build
Component Address
Mission Control http://localhost:3000
API http://localhost:8000
Swagger UI http://localhost:8000/docs
PostgreSQL localhost:5432

Stop:

docker compose down

For Docker security configuration, see:

Docker Compose Security


Local development

Install:

pip install -e ".[dev]"
cp .env.example .env

Backend:

make dev

Frontend:

make dev-frontend

Both:

make dev-all

Try the decision API

Open:

http://127.0.0.1:8000/docs

Authorize with the configured API credentials and call:

POST /v1/decide

Example:

{
  "query": "Should I check tomorrow's weather before going out?",
  "context": {
    "user_id": "test_user",
    "goals": ["health", "efficiency"],
    "constraints": ["time limit"],
    "affect_hint": "focused"
  }
}

/v1/decide produces a governed decision result.

It does not by itself authorize an external side effect.


Validation and CI

Backend tests

pytest -q

Production-like validation:

make test-production

PostgreSQL smoke validation:

VERITAS_MEMORY_BACKEND=postgresql \
VERITAS_TRUSTLOG_BACKEND=postgresql \
pytest -m smoke veritas_os/tests/ -q

CI / release evidence

The repository contains workflows covering areas including:

  • core CI
  • CodeQL
  • release gates
  • security checks
  • reviewer evidence validation
  • reproducible Decision-to-Effect proof
  • PostgreSQL-backed validation
  • release evidence generation

A green workflow should be interpreted according to the scope of that workflow.

A passing focused proof is evidence for the proof contract it evaluates; it is not blanket certification of every deployment property.

See:

Operational Readiness Runbook


Evidence-first reviewer path

You do not need to read the entire repository to evaluate VERITAS.

10-minute path

  1. README — product and execution-boundary model
  2. Reviewer Entry Point — guided review path
  3. Current Implementation Matrix — implemented vs partial vs roadmap
  4. Decision-to-Effect E2E Evidence — controlled execution proof
  5. Technical Proof Pack — reviewer checklist and proof assets

Deeper technical review

Continue with:


Current implementation boundary

For the detailed and maintained truth table, use:

Current Implementation Matrix

High-level summary:

Area Current repository status
Core decision pipeline Implemented
Bind-boundary governance Implemented / partial route coverage
Selected operator effect paths Explicitly bind-governed
Authority Evidence Implemented / bounded
Human Approval Receipt Implemented / bounded
Single-use authorization Implemented in controlled execution path
Outcome Receipt Implemented
Evidence Chain Implemented
Mission Control Implemented
PostgreSQL production path Implemented / environment dependent
Controlled Decision-to-Effect E2E Implemented
AML/KYC fixture PoC Implemented
Live customer integrations Integration / environment dependent
Completed third-party certification Not claimed

What VERITAS is not

VERITAS is not:

  • an LLM asking itself whether it is safe
  • a prompt-only guardrail
  • a substitute for IAM
  • a substitute for KMS / HSM infrastructure
  • a substitute for organizational policy
  • proof that every model output is correct
  • proof that every external system is trustworthy
  • legal advice
  • regulatory approval
  • automatic production certification

Its role is narrower:

Determine whether a proposed AI action is permitted to cross the execution boundary under the evidence and governance state available at that moment.


Why this differs from post-hoc audit

Traditional audit often answers:

What happened?

VERITAS is designed to make additional questions explicit before effect:

Question Execution-governance concern
Who has authority? Authority
What policy applies? Admissibility
What exactly did the human approve? Approval binding
Is that approval still valid? Freshness / expiry
Has anything materially changed? Execution-time revalidation
Was this authorization already consumed? Replay prevention
What exact target is being bound? Target / scope integrity
Can the action proceed under current evidence? Bind adjudication

And after an attempted effect:

Question Evidence concern
What effect was observed? Outcome
What evidence supports it? Receipt / evidence chain
Was the response lost? EFFECT_UNKNOWN
Can the effect be checked without re-executing it? Read-only reconciliation
Can a reviewer inspect the lineage? Reviewer evidence

Research

VERITAS has separate publications for system architecture and execution governance.

System architecture

VERITAS OS: Auditable Decision OS for LLM Agents

DOI: 10.5281/zenodo.17838349

Japanese edition:

DOI: 10.5281/zenodo.17838456

Execution governance

VERITAS OS: From Authorization to Verified External Effect in AI Agent Execution Governance

The execution-governance work focuses on:

  • execution-time revalidation
  • single-use authorization consumption
  • explicit EFFECT_UNKNOWN semantics
  • reconciliation-capability gating
  • read-only reconciliation
  • controlled reproducible evidence

Evidence & Validation References

The top-level README stays concise, while the following references remain part of the public review contract.

Decision semantics and execution contracts

The Intervention Actionability Map artifacts are reviewer-facing evidence. They are not automatic enforcement, automatic blocking, automatic escalation, production decisioning, scoring, or certification.

Reviewer Evidence Bundle

  • Builder: scripts/demo/build_reviewer_evidence_bundle.py
  • Guide: Reviewer Evidence Bundle
  • Validation workflow: .github/workflows/reviewer-evidence-packet-validation.yml
  • CI artifact set: reviewer-evidence-packet-validation-artifacts
  • Artifact manifest: reviewer-evidence-artifact-manifest.json
  • Manifest verifier: scripts/demo/verify_reviewer_evidence_artifact_manifest.py

The checked-in illustrative provenance sample is under:

samples/evidence_bundle/key_provenance_review/

That sample chain includes:

  • reviewer-handoff-review-result.json
  • reviewer-review-result-validation.json
  • reviewer-review-result-report-validation.json
  • reviewer-handoff-package-validation.json
  • reviewer-handoff-quickstart-command-validation.json

A reviewer result may record ACCEPT, REJECT, or NEEDS_FOLLOW_UP. These artifacts support review workflow and correlation; the trust source for a public key remains an out-of-band reviewer/operator trust channel.

Performance and One-Day PoC evidence

These measurements are local/reviewer-facing engineering evidence. They are not a production SLA and are not a customer environment measurement unless explicitly stated.

Security and operational continuity

VERITAS treats protected audit storage as secure-by-default. Where encryption is required, VERITAS_ENCRYPTION_KEY must be configured; missing required key material raises EncryptionKeyMissing rather than silently falling back to plaintext.

Security evidence reduces known vulnerability risk; it does not establish vulnerability-free operation.

Compliance boundary

VERITAS provides governance and evidence infrastructure. It is not legal certification, not legal advice, not regulatory approval, and not third-party certification.

Documentation map

Start here

Execution governance

Reviewer evidence

Operations

PoC


Roadmap

Near-term work is focused on strengthening the boundary between authorization and externally verified effect.

Priority areas include:

  • broader bind coverage
  • real external integration validation
  • customer-specific authority-source integration
  • credential-resolution hardening
  • stronger external-reality authenticity
  • clock-trust hardening
  • reconciliation across additional effect classes
  • production customer workflow validation
  • independent external review
  • continued benchmark and adversarial evaluation

Roadmap items are not represented as completed implementation.


License

This repository uses a directory-scoped multi-license model.

Scope License Commercial use
Core repository unless overridden VERITAS Core Proprietary EULA Contract required
spec/ MIT Permitted
sdk/ MIT Permitted
cli/ MIT Permitted
policies/examples/ MIT Permitted

See:


Contributing

See CONTRIBUTING.md.

Security issues should be reported according to SECURITY.md.


Citation

@software{veritas_os_2025,
  author = {Fujishita, Takeshi},
  title  = {VERITAS OS: Auditable Decision OS for LLM Agents},
  year   = {2025},
  doi    = {10.5281/zenodo.17838349},
  url    = {https://github.com/veritasfuji-japan/veritas_os}
}

Contact

Takeshi Fujishita


The core rule

A model may propose an action. It does not grant itself permission to execute it.

VERITAS exists to preserve the distinction between decision, authority, execution, effect, and evidence.

And after an attempted external effect:

Absence of a response is not proof that nothing happened.

About

VERITAS OS is an AI agent governance runtime for decision control, policy enforcement, approval workflows, audit trails, and replayable evidence before real-world actions.

Topics

Resources

Contributing

Security policy

Stars

42 stars

Watchers

2 watching

Forks

Releases

Packages

Used by

Contributors

Languages