Skip to content

bitscon/zti

Repository files navigation

Zero Trust Intelligence (ZTI)

The Zero Trust Intelligence Doctrine and Reference Library

AI output is not a decision. A decision is something that can be proven.

Zero Trust Intelligence (ZTI) introduces a deterministic decision verification layer that transforms AI proposals into provable, auditable, and tamper-evident decision artifacts.

Don't trust AI. Verify it.

ZTI does not make AI smarter.

It defines when AI output is allowed to act.

Zero Trust Intelligence (ZTI) Author: Chad McCormack © 2026 Chad McCormack (Future ownership may be assigned to a legal entity)

Version 1.0 — April 2026


Repository Status

This repository is being organized as the public doctrine and reference library for the Zero-Trust Intelligence ecosystem.

For internal project tracking and migration notes, see PROJECT_STATUS.md.


What ZTI Is

ZTI defines a new architectural layer in modern systems:

The deterministic decision verification layer, also described here as the Intelligence Trust Layer.

AI (stochastic generation layer)
↓
ZTI (deterministic decision verification layer)
↓
Execution systems

This layer does not generate intelligence. It does not execute actions.

It enforces one rule:

Only verified decisions are allowed to pass.


AI vs ZTI

AI and ZTI are not competing systems. They are two different kinds of system at two different positions in the execution stack.

AI:

  • Probabilistic and generative
  • Exploratory, useful for proposing options
  • Not a decision system — a proposal system

ZTI:

  • Deterministic and restrictive
  • Enforcement-based, reproducible
  • Not an intelligence system — a verification system

ZTI does not constrain how AI thinks. It constrains what AI is allowed to do.


The Core Principle

No decision is trusted unless it is proven.

AI generates. ZTI verifies. Only verified decisions execute.

A decision is only valid if it is:

  • Mapped to an allowed decision type
  • Explained in explicit artifact form
  • Validated against declared constraints
  • Cryptographically sealed
  • Lineage-bound to origin and approvals

If any condition fails:

The decision does not exist.


Architecture

ZTI transforms raw AI output into a Verified Decision through a deterministic pipeline:

INPUT (AI Output)
  ↓
Pattern Registry
  ↓
Detection
  ↓
Explainability
  ↓
Validation
  ↓
Integrity
  ↓
Lineage
  ↓
VERIFIED DECISION
  • Pattern Registry defines the contract of allowed decision classes, schemas, and constraints.
  • Detection determines what applies via deterministic classification — no inference, no probability.
  • Explainability produces an explicit evidence artifact for why the proposal matched.
  • Validation enforces admissibility against explicit constraints.
  • Integrity locks the decision with cryptographic sealing and chaining.
  • Lineage tracks provenance, approvals, and historical linkage.

The Verified Decision

A Verified Decision is:

  • Derived
  • Explained
  • Validated
  • Sealed
  • Traceable

A Verified Decision is not proof that the AI was right. It is proof that the proposal satisfied the execution contract.

Only Verified Decisions are allowed to cross system boundaries.

Everything else is discarded.


Deterministic Verification, Not Deterministic AI

The verification of a decision must be deterministic and reproducible.

The AI generation process does not have to be.

Verification requires no randomness, no implicit behavior, no hidden state.

If a verification result cannot be reproduced, it is invalid.

This constraint applies to the verification layer — not to the AI system being verified.


Audit Mode and Enforcement Mode

ZTI operates in two modes.

Audit Mode — observe, classify, validate, seal, and report without blocking execution. Use this to build visibility into AI-generated proposals before enforcement is active.

Enforcement Mode — the execution boundary is fail-closed. Unverifiable outputs do not execute. Fail-closed applies to execution authorization — not general system usability.


Reference Implementation

The following example is a reference implementation of the deterministic verification components — pattern detection, explainability, integrity chaining, and lineage. It demonstrates the verification pipeline, not model behavior improvement.

from zti import (
    DEFAULT_REGISTRY,
    Interaction,
    InteractionBundle,
    detect_patterns,
    explain_patterns,
    create_decision_record,
    validate_chain,
)
from zti.serialization import serialize_explanation_artifact

bundle = InteractionBundle(
    session_id="session-001",
    interactions=(
        Interaction("i-001", ("open_question_density",), 10),
        Interaction("i-002", ("option_space_expansion",), 20),
        Interaction("i-003", ("hypothesis_generation",), 30),
    ),
)

patterns, _, err = detect_patterns(bundle, DEFAULT_REGISTRY)
assert err is None and patterns

artifacts, _, err = explain_patterns(tuple(patterns), DEFAULT_REGISTRY)
assert err is None and artifacts

record, err = create_decision_record(
    record_id="session-001:exploratory",
    decision_data=serialize_explanation_artifact(artifacts[0]),
    previous_record=None,
)
assert err is None

valid, err = validate_chain((record,))
assert valid is True and err is None

What ZTI Is Not

ZTI does not:

  • Improve AI intelligence
  • Prevent hallucinations
  • Replace model safety research
  • Guarantee correctness of AI outputs
  • Replace AI models
  • Act as an agent framework
  • Serve as a general-purpose library or model

ZTI does:

  • Define when AI output is allowed to become a decision
  • Enforce verification before execution
  • Provide auditability, lineage, and integrity guarantees

Example: Infrastructure Change

An AI agent generates a Terraform plan. ZTI classifies it into an approved infrastructure-change decision type, then validates policy constraints: approved modules, permitted regions, blast-radius limits, required approvals, schema compliance.

ZTI emits an explanation artifact and seals a reproducible decision artifact. Only that verified artifact is allowed to reach the execution system. If verification fails, the proposal is logged in audit mode or blocked in enforcement mode.

Auditors can later reconstruct what was proposed, which policy it passed against, who approved it, and which artifact hash reached execution.


Where This Matters

ZTI becomes critical anywhere AI-generated proposals drive consequential execution:

  • Infrastructure automation
  • Security enforcement
  • Financial systems
  • Compliance and audit pipelines
  • Autonomous systems

As systems become more automated, the boundary between proposal and execution becomes the highest-risk surface in the architecture.


The ZTI Ecosystem

ZTI doctrine is the foundation of a family of protocols and products.

Component Repository Purpose
ZTI this repo Doctrine, principles, reference library
ZTAP github.com/bitscon/ztap Open agent transaction protocol under ZTI
ZTI Core separate (private) Commercial SaaS control-plane implementation
ZTI Adoption github.com/bitscon/zti-adoption Public education and marketing site

ZTAP is the first open protocol under ZTI doctrine. It defines how agent-to-agent and agent-to-system transactions must be structured to be authorized, verifiable, and auditable. Current ZTAP release: v1.0-draft.

ZTI Core is a separate commercial product. It is not part of this repository.

For the full ecosystem overview, see PROTOCOL_FAMILY.md. For ZTI doctrine, see DOCTRINE.md. For repository boundary rules, see PRODUCT_BOUNDARIES.md.


Reference Library

This repository contains the zti Python package — an open-source reference implementation of the ZTI verification pipeline (Pattern Registry → Detection → Explainability → Validation → Integrity → Lineage).

Install in editable mode:

git clone https://github.com/bitscon/zti
cd zti
python3 -m pip install -e .

(Note: the install URL above reflects the current repository name bitscon/zti.)

Run the test suite:

python3 -m pytest -q

Reference examples are available in examples/.


Whitepaper

Full ZTI doctrine whitepaper:

whitepaper/zti-whitepaper.md


Authorship

ZTI was created by Chad McCormack.

© 2026 Chad McCormack. MIT License.

About

Zero Trust Intelligence (ZTI): a protocol for verifiable AI systems

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors