Verify CAIN-42 yourself: Verification Lab (in-browser Ed25519 checks of the 4-node PBFT fault-test bundle, live signed node state, keyless decision sandbox) · AI_VERIFY.json · PRE-PRODUCTION, one host, no third-party review.
πŸ† AUTONOMOUS AI TRUST RUNTIME VERIFY PROOF β†’
Pre-production: see /status

118 real products across this self-hosted deployment and the hosted one combined β€” one subscription or license on either unlocks the other.

CAIN TRUST FABRIC Β· AI trust infrastructure for autonomous systems

Run the trust fabric
in your own network.

Try it. Right now, no account.

Send an action through the fabric and watch it decide. This is production, not a mock — you get back a real Trust Decision and an evidence record you can verify.

The decision is made by the hosted control plane at cainstudio.online, because MCPGate is the enforcement boundary -- it enforces decisions, it does not make them. Your own MCPGate does the same against whichever control plane you point it at.

MCPGate is the self-hosted deployment of CAIN Trust Fabric: the enforcement boundary that sits in your agents' call path, running inside your own network, where neither the traffic nor the evidence leaves your infrastructure. 19 real, independently deployable tools across the fabric's trust domains β€” sandboxed execution, secret leak prevention, drift detection, signed decision trails, fairness audits. 12 ship in one perpetual bundle license; the rest (2 free, the others separate subscriptions β€” including MCPiverse, which turns any OpenAPI spec into a real MCP server) are available individually.

Don't want to operate it? CAIN Studio is the hosted deployment of the same fabric β€” same architecture, same trust domains, subscription instead of a license, 99 services behind one API key. It is also where the managed control plane and unified identity run; this deployment is the boundary, not the control plane.

  1. The agent proposes. Any runtime β€” LangChain, LangGraph, LlamaIndex, CrewAI, OpenAI, Google, Microsoft, AWS, or your own loop β€” submits an intended action over HTTP or MCP.
  2. CAIN decides. Identity, policy, risk and plan verification produce one verdict. Hosted on CAIN Studio, or your own policy in front of these tools.
  3. MCPGate enforces. This site. The boundary in the call path β€” sandboxed, size-limited, injection-screened tool execution you operate.
  4. The system executes. Authorized calls reach the upstream tool. Blocked ones never do.
  5. Evidence remembers. QuorumSeal's signed decision trail and each tool's own audit log, stored on your infrastructure.

See the full architecture β†’ Β· including which trust domains this deployment covers and which are hosted-only, stated per domain rather than implied.

after-purchase.sh
# each product runs as its own self-hosted container
docker run -e LICENSE_KEY=$TOOLWARDEN_LICENSE_KEY toolwarden:latest

# check bundle fulfillment / recover license keys anytime
curl https://mcpgate.online/api/bundle/license/{session_id}

# or skip curl entirely -- add us as a real MCP server, free, no key
claude mcp add --transport http mcpgate https://mcpgate.online/mcp

CAIN = COGNITIVE ARTIFICIAL INTELLIGENCE NETWORK

AI Infrastructure Validated Trust Runtime
for Autonomous Systems

CAIN Trust Fabric sits between your agents and the things they do. Before an action runs, it validates trust through 16 execution stages, then enforces that decision and preserves evidence. Your traffic and evidence never leave your infrastructure.

The 16-Step Execution PathObserve → Identify → Authorize → Build Context → Load State → Snapshot → Validate → Certify → Decide → Enforce → Execute → Observe Effect → Attest → Record → Update Trust → Revalidate
The 7 Moats (Canonical Architecture)1. TRUST STATE · 2. SECURITY-CONTEXT CONTINUITY · 3. TRUST GRAPH · 4. EXECUTION PROVENANCE · 5. PREDICTIVE TRUST · 6. ADVERSARIAL TRUST ENGINE · 7. AUTONOMOUS TRUST CONTROL LOOP
Enforcement in your infrastructureSelf-hosted container. Nothing calls home. Your traffic and evidence never leave your network.
Evidence you can produce laterEvery decision stored with its stage-by-stage verdicts and retrievable by id.

What is CAIN? CAIN = COGNITIVE ARTIFICIAL INTELLIGENCE NETWORK. The AI Infrastructure Validated Trust Runtime for Autonomous Systems. CAIN is NOT: a chatbot, dashboard, LLM gateway, policy store, or identity provider. CAIN is the continuously validated trust state between AI agents and consequential actions.

Works with what you already use. Works with any agent runtime -- LangChain, LangGraph, LlamaIndex, CrewAI, OpenAI, Google, Microsoft, AWS or your own loop -- because it's reached over plain HTTPS and MCP. No rewrite, no SDK lock-in.

Two ways to run it. You're on MCPGate, the self-hosted deployment; CAIN Studio is the other one. Two ways to run it: CAIN Studio (hosted, subscription, nothing to install) or MCPGate (self-hosted, perpetual license, your network and your evidence). Either one unlocks the other.

Verify CAIN, don't trust CAIN. Run a live test -- see the evidence chain, check the conformance, prove it works before you buy.

See the full architecture → Get it as JSON → Browse every service →

What Makes CAIN Different

1. Expectation Engine

Before every consequential action, CAIN records the expected outcome, risk profile, resource impact, and trajectory in a signed expectation record.

Pre-action: Expected outcome vs actual outcome become verifiable.

2. Outcome Reconciliation

After execution, CAIN compares observed behavior against expected. Observed facts remain distinct from inferred explanations.

Post-action: What happened vs what was supposed to happen.

3. Trust Delta

Good behavior increases trust. Malicious behavior decreases trust. Trust changes influence future authorization β€” within hard policy bounds.

Verified evidence becomes the basis for future control decisions.

CAIN does not merely ask whether an action is allowed. CAIN asks who is acting, what authority they possess, what they intend to do, what has happened before, what could happen next, whether the action should execute, whether the execution actually matched expectations, and what the verified result means for future trust.

THE AGENT PROPOSES. CAIN DECIDES. MCPGate ENFORCES. THE SYSTEM EXECUTES. EVIDENCE REMEMBERS. TRUST EVOLVES.

Additional CAIN Technical Primitives

4. Adaptive Authority

Trust level modulates friction/verification based on verified behavior. High trust reduces overhead. Low trust increases scrutiny. Within hard policy bounds.

5. Blast Radius Control

Before execution, CAIN estimates potential blast radius across data, infrastructure, identities, and downstream agents.

6. Response-Side Defense

CAIN screens tool responses before the next action. Detects credential leakage, prompt injection, and malicious output.

7. Trajectory + Trust Fusion

Authorization considers accumulated behavior. A trusted agent with violating trajectory is blocked despite high trust.

Cryptographic Trust Chain

Every trust-state transition is HMAC-SHA256 signed and chained. Chain verification detects tampering.

Fail-Closed at Every Boundary

Unknown, invalid, revoked, unverifiable, or errored states default to DENIED. No silent fallthrough to ALLOW.

Shadow-Mode Safety

Would_execute vs actually_executed tracked. Confusion detection prevents shadow state from leaking.

Human Override

High-impact adaptive changes require explicit human approval. Every override is logged with provenance.

Incident Response

Automatic containment: revoke/reduce authority, freeze actions, preserve evidence.

Autonomous Control Policy

Explicit rules for adaptive tightening/loosening based on behavior. Within hard policy bounds.

Why CAIN Is Different

Traditional AI Gateway

Controls traffic or tools, but typically does not maintain a continuous trust-state feedback loop.

Observability Platform

Records events, but generally does not enforce authorization at the consequential action boundary.

Policy Engine

Evaluates policy, but typically does not provide complete execution provenance and post-execution trust reconciliation.

Security Filter

Screens inputs or outputs, but typically does not unify identity, trajectory, authority, execution evidence, and adaptive trust.

CAIN

Unifies identity, authority, policy, risk, trajectory, verification, enforcement, execution evidence, outcome reconciliation, cryptographic trust state, and future control in one runtime loop.

What CAIN Does NOT Claim

No universal uniqueness Not the only platform Not mathematically safe Not unhackable Not zero risk No SOC 2/ISO (not certified) No independent validation No 100% coverage (67% proven)

CAIN is defense-in-depth. Every security system can be bypassed. Claims are bounded by publicly verifiable evidence. Limitations are disclosed.

CAIN Runtime Trust Control Loop

EXPECT β†’ VERIFY β†’ DECIDE β†’ ENFORCE β†’ EXECUTE β†’ OBSERVE β†’ RECONCILE β†’ TRUST UPDATE β†’ FUTURE CONTROL

CAIN does not merely log actions after they happen. It evaluates expected outcomes before execution, observes actual outcomes after, reconciles expected versus actual behavior, updates Trust State from verified evidence, and uses that Trust State within hard policy boundaries to influence subsequent authorization.

Novel Architecture Claim

To our knowledge, no other publicly documented platform currently demonstrates this complete combination of pre-execution expectation, post-execution reconciliation, trajectory-aware trust, response-side defense, fail-closed enforcement, cryptographically linked trust-state transitions, and evidence-backed adaptive control as one unified runtime trust fabric.

Verify it yourself. No account, no trust required.

Every number we publish here is a real run, hashed and Ed25519-signed, and checked by a tool that imports none of our code. We publish what did not pass as well. Self-attested by one operator; pre-production. We publish outcomes, not implementation: our source code stays private.

curl -sO https://mcpgate.online/proof/bundle/byzantine-cluster-2026-09-21/verify_cluster_bundle.py.txt && mv verify_cluster_bundle.py.txt verify_cluster_bundle.py
python3 verify_cluster_bundle.py https://mcpgate.online/proof/bundle/byzantine-cluster-2026-09-21/ --live

Quickstart

Protect your first AI agent.

Four commands. Your agent keeps its code; CAIN decides whether each consequential action is allowed, enforces that decision in the call path, and records why.

01$pip install https://cainstudio.online/cain_trust-4.0.0-py3-none-any.whl
SHA-256 ea0f1e510354fd95c0722a4c389891444d9f7acdf671a2d5c4ee517e8167c51b. Installs six dependencies (cryptography, httpx, pydantic, fastapi, uvicorn, prometheus-client): use a virtual environment so it does not change your agent framework's dependency tree. Publication on PyPI is pending; pip install cain is an unrelated project.
02$cain signup
Creates a free account. No card, no checkout. The whole decision path is included -- security is never a paid feature. Already have a key? `cain login` instead.
Free account created
https://cainstudio.online

  tier               free  (no card, no expiry)
  stored at          ~/.cain/credentials  (mode 0600)
03$cain init
Detects your runtime from requirements.txt or package.json. The defaults are fail-closed.
Created cain.yaml
Commit this file. It holds no secrets.

  agent              demo-agent
  runtime            langchain  (detected)
  deployment         hosted (CAIN Studio)
  policy default     deny  (fail-closed)
04$cain protect
Prints the smallest real change for your runtime. It does not edit your source -- the change is three lines you should read.

Python

from cain import trust

@trust(action="send_email", resource="customer_inbox")
def send_email(to, subject, body):
    ...                      # unchanged

TypeScript

import { trust } from "@cain/sdk";

export const sendEmail = trust(
  { action: "send_email", resource: "customer_inbox" },
  async (to, subject, body) => {
    ...                      // unchanged
  },
);
Not authorized, not executed: the wrapper raises before the body runs. Nothing else about your agent changes.

A real decision

$ cain verify --action /eu-ai-act/classify --resource legal-auditor

  ALLOW

  stage          verdict  mode       detail
  identity       allow    enforcing  resolved service principal
  authorization  allow    enforcing  entitlement active
  policy         allow    enforcing  OPA allow
  risk           skipped  enforcing  no scannable text in payload
  actionproof    skipped  enforcing  no plan submitted

  decision           fd_37b0adf76e934fc9bbcfe5b2
  explain with       cain explain fd_37b0adf76e934fc9bbcfe5b2

Five verdicts

ALLOWAuthorized. Execution may proceed.
DENYRefused by a stage that is enforcing.
REQUIRE_APPROVALA human must decide before this runs.
UNKNOWNThe fabric could not determine an answer.
ERRORThe fabric could not be asked.
Only ALLOW is permission. UNKNOWN and ERROR are never converted to ALLOW -- not on timeout, not under load, not when a dependency is down. A control that fails open is a control that is absent exactly when it is needed.

Or start from what you need

CAIN-42 EPOCH 6 Β· PROOF-CARRYING AGENCY

World-State Aware Enforcement Pipeline

Doctrine: COMPROMISED COGNITION β‰  COMPROMISED AUTHORITY β‰  COMPROMISED WORLD STATE
Autonomous AI systems cannot convert internal intent into external effects without continuous, court-admissible cryptographic proof verified at the MCPGate enforcement boundary.

1. Cognition & Quorum CAIN Decision
2. Ephemeral Token Action Capability
3. Physical Boundary MCPGate Enforcement
4. Bounded Rail Execution
5. Closed-Loop Truth Postcondition
πŸ›‘οΈ

ActionProofObject (24 Fields)

Every guarded action carries an immutable certificate binding agent identity, observation lineage, world-state version, reversibility tier, and quorum signatures before MCPGate unblocks downstream tool sockets.

βš–οΈ

Observation β‰  Authority

Observations are strictly isolated from execution authority. Replayed, poisoned, or forged observations cannot elevate permissions or trigger state mutations without quorum re-evaluation.

πŸ”„

Postcondition Reconciliation

Tool return 0 is not success. MCPGate enforces an explicit 4-stage lifecycle: ACCEPTED → EXECUTED → OBSERVED → POSTCONDITION_VERIFIED with independent witness correlation.

πŸ”

Clean-Room Independence

Verified with zero CAIN imports via standalone clean-room verifier checking RFC 8785 canonical JSON, SHA-256 digests, and RFC 6962 binary Merkle trees.

Independent Clean-Room Verification Command

Download the public evidence bundle and execute the standalone clean-room verifier (requires only standard Python 3, zero CAIN dependencies):

$ python3 cain_verify_public.py CAIN42_EPOCH6_PUBLIC_EVIDENCE_BUNDLE.json

=================================================================
        CAIN-42 EPOCH 6 INDEPENDENT CLEAN-ROOM VERIFIER          
=================================================================
Bundle File:         CAIN42_EPOCH6_PUBLIC_EVIDENCE_BUNDLE.json
Constitution Hash:   ab588c90f93da85368d476d4368f4e03ce71c6cbf3a467c9931d0a705134f1b5
Checks Evaluated:    7
Checks Passed:       7
-----------------------------------------------------------------
FINAL VERDICT:       VERIFIED
=================================================================
Download Master Bundle (.json) → Download Verifier (.py) Master Proof (.json) Capability Matrix (.json) Epoch 6–9 Report (.md) Self-Critique (.md)
Live, not staged

Watch it try to break our own guardrail

One click fires 10 real jailbreak / prompt-injection payloads β€” from ProbeGate, our free adversarial-probing tool β€” at ToolWarden's real production injection screen. No mock target, no canned transcript.

target β†’ POST toolwarden.mcpgate.online/v1/tool_call via probegate.mcpgate.online/v1/runs

Free, no signup, no API key. Fair-use limited per IP. Every probe payload is published in the open at /v1/probes β€” nothing here is a black box.

–
Blocked
–
Got through
–
Block rate
Want this in front of your own agent's tool calls? ToolWarden is one of the 19 tools below β€” $499 standalone, or in the bundle β†’
Curious how your MCP server scores? Submit it to the public leaderboard β†’
Trust your agent's memory after compaction? Memory Compaction Auditor proves the point-cloud structure survived, or catches it when it didn't β†’

How it works

Real fulfillment, not a marketing wrapper

This storefront doesn't run these products itself β€” it relays a real, validly-signed checkout.session.completed event into each product's own already-tested billing webhook. Same activation code path as a direct purchase.

∞

Perpetual, not rented

One-time payment, even for the four products normally sold as annual subscriptions standalone (LeakGuard, FairGate, UsageLedger, HubGate). No renewal for bundle buyers.

βŒ‚

Self-hosted, your infra

Every product runs on infrastructure you control. Nothing calls home, nothing routes your data through us at runtime.

↻

Retry-safe fulfillment

If a product's container is down at purchase time, only the failed activations are retried β€” not a full re-charge or manual support ticket.

$

Honest pricing math

List price and savings shown below are computed live from each product's real, published price β€” not a marketing number.

⇄

ToolWarden speaks MCP natively

Not just REST β€” https://toolwarden.mcpgate.online/mcp is a real MCP server (streamable HTTP). Point Claude or any MCP-capable agent at it directly; every call still runs through the same sandbox jail, injection screen, and audit log as the REST endpoint.


Pricing

All twelve, or start with any three

Prefer a single product? Each one is priced individually below for transparency β€” or pick any 3 as a mid-tier bundle if you're not ready for all 12.

$6,088 individually
$2,999
Save $3,089 β€” one-time, perpetual
πŸ›‘ Try it for 30 days. Not sold on it? Full refund, no questions asked.
Grants a perpetual, self-hosted license for all 12 products β€” including the four normally sold as annual subscriptions standalone. No renewal required for bundle buyers.

Not ready for all 12? Pick any 3

$899
One-time, perpetual β€” for whichever 3 you actually need
Same real fulfillment as the full bundle β€” a perpetual license for exactly the 3 you pick, no renewal.

Real Stripe checkout β€” you're redirected to Stripe's own hosted payment page; we never see your card number. Full refund within 30 days β€” see the refund policy.

CAIN Trust Fabric is one platform with two deployment models, not two products. MCPGate — this site — is the self-hosted deployment: the enforcement boundary runs inside your own network under a one-time perpetual license, so neither your traffic nor your evidence leaves your infrastructure. CAIN Studio is the hosted deployment: same architecture, same trust domains, operated by us on a subscription, and home to the managed control plane and unified identity. Same fabric, different operator — and a license or subscription on either one unlocks the other. Which you pick is an operational decision, not a decision about which products you get.

Access is enforced on every request, not just at login, and verification tools like VerifyGate grade work honestly — proven, tested, heuristic, or unverified — instead of one fake checkmark. AI you can verify, not just trust.


cainstudio.online

Your license here also unlocks the hosted deployment

Any real purchase on this site β€” the bundle or a single product β€” grants a free, full-access cainstudio.online subscription. A cainstudio.online subscriber can claim the reverse: free licenses for 13 of the 19 tools here β€” the full 12-tool bundle plus MCPiverse β€” in one click from their dashboard. The other three aren't excluded to upsell you: ProbeGate and MCP Security Scanner are already free, and MeshRouter is a separate subscription.

Bought a tool here? Claim cainstudio.online access

Use the Stripe Checkout session ID from your purchase confirmation email (starts with cs_).


Before you pay

Don't take our word for it β€” check these first

Everything below is checkable for free, before you enter a card number.

β†’

Read each product's real API reference

This storefront's own /docs only covers bundle checkout β€” for the actual schema each product serves, most are deployed live at their own subdomain, e.g. toolwarden.mcpgate.online/docs. Full list in the catalog below.

$

Pull the live pricing math

curl https://mcpgate.online/api/bundle/status returns the same numbers shown above, computed from each product's real list price β€” you can verify the savings claim yourself instead of trusting the page copy.

βŒ‚

It's your infrastructure

Every tool is a self-hosted container. You can pull and inspect the image, read its logs, and audit what it does before it ever touches production traffic.

πŸ›‘

30-day refund, plainly stated

If any of these tools don't hold up under your own testing, the refund policy is one page, not a support maze. Full refund, no usage-based clawback.

Not ready to buy anything yet? ProbeGate is free and open-source β€” no license key, no card β€” and tests your own MCP tool calls against known jailbreak/injection probes. It's the same red-team check we run against our own tools.

Prefer to stay inside your agent? Add us as a real MCP server β€” claude mcp add --transport http mcpgate https://mcpgate.online/mcp β€” free, no key, exposes the same probes, leaderboard, and ToolWarden/DriftGuard reference calls as tools your agent can call directly.


Catalog

Every tool, by trust domain

12 ship in the Founder's Bundle below, fetched live from /api/bundle/status. The other 4 (2 free, 2 separate subscriptions) are listed alongside them β€” real products, just not part of the bundle purchase.

Loading catalog…

Ask CAIN Trust Fabric
MCPGate Β· self-hosted β€” what it is, licensing, self-hosting
Expert: short, dense, exact endpoints
Answers are grounded in the live catalog and docs β€” it will say "I don't know" rather than guess. Runs on our own server, no cloud AI, so it can take up to a minute.