Brain Shield — Governed AI Runtime 🛡 Governed runtime for autonomous AI — built for frontier, enterprise & sovereign deployments

Autonomous agents you can actually let run.

Brain Shield is a governed execution runtime that puts real containment, information-flow control, and tamper-evident audit underneath your agents — so autonomy doesn't mean uncontained. Self-hosted, single-tenant, and vendor-neutral: your models, your hardware, your data. Designed to align with NIST 800-53 Rev 5, control by control.

Request a briefing See the AgentDojo results
LXC-isolated execution Taint & capability governance Tamper-evident audit Real-time logging & resumption Live in-chat website capture
The gap

Capable agent harnesses aren't the same as governable ones.

The market has no shortage of powerful agent frameworks. What it lacks is a runtime that can prove what an agent can and cannot do — the containment, provenance, and audit a regulated or high-consequence deployment requires. Brain Shield is that layer.

Contain, don't just prompt

Agents run inside per-session LXC containers with a partitioned network policy — governance is enforced at the OS and network boundary, not asked for in a system prompt.

Provenance, not vibes

Runtime-ingested content is tagged untrusted and taints its session tree. A tainted tree cannot reach an egress channel without passing policy. The gate is mechanical — an injection can't talk it open.

Prove it after the fact

Every privileged action and governance event lands in a tamper-evident, hash-chained audit log — the evidence an assessor asks for, produced by construction.

Architecture

LXC-isolated execution, by design

Containment is the foundation everything else builds on. Each session's agent — lead and sub-agents — runs inside its own Linux container, on a partitioned network with deliberate, documented egress rather than open access.

The container is the trust boundary

Tools execute inside the isolation boundary — not on the orchestrator host. Even a fully-compromised agent is bounded by the container and its network policy, not by the model's good behavior.

  • Per-session LXC containers for lead and every sub-agent, with bounded spawn depth
  • Partitioned IP allocation: an internet-facing agent-web profile is an explicit, auditable posture — not a default
  • Network egress is a documented exception profile, not open access
  • Runtime limits (iterations, timeouts, token budgets) are per-session and operator-tunable within a version-controlled policy
Information-flow control

Taint & capability governance

Brain Shield tracks the provenance of what an agent reads and gates what it can do with it — a content-origin information-flow control (AC-4) that sits alongside the network-layer egress lock.

Monotonic, root-keyed taint

Content ingested at runtime is tagged untrusted and taints the whole session tree — bidirectionally and monotonically. Once tainted, a tree cannot silently un-taint itself, and the taint follows across sub-agents.

orchestrator/taint.py

Egress gated by policy

A tainted tree cannot reach an egress channel — send email, submit a web form, fetch/search, render a URL, network MCP — without passing the configured policy: block, hold for operator release, or off. Separation of duties gates the release.

block · approve · off
🔑

Capabilities are necessary, not sufficient

A session may hold an outbound_email grant and still be refused once tainted. The capability plane and the injection gate are separate controls; a grant is a precondition, not a permission.

AC-5 · AC-6

Mechanical, not persuadable

The gate is enforced in code — an injection cannot un-taint a tree or talk the gate open. Verified end-to-end by a live adversarial test in the regression suite.

test_step264_sosa_live
Agentic Efficiency Tax

Know when an agent starts behaving differently.

AET is behavioral-baseline governance for agent efficiency. Label a workflow's intent, and Brain Shield builds an immutable, versioned baseline over like runs — then measures new runs against that norm. Drift, waste, and anomalies surface against evidence, not intuition.

  • Per-workflow scope keyed to model, context window, and a config epoch — a changed setup is never judged against a stale baseline
  • Immutable, versioned baselines — re-baselining supersedes without deleting, so you can roll back
  • Honest by construction — an untagged run is reported as unmonitored, never silently assumed healthy
Operate in the open

Real-time visibility, resumable sessions, live capture

Governance is only useful if an operator can see it happening. Brain Shield streams what the agent is doing as it happens, survives interruption, and can pull the visual web into the conversation.

Real-time activity & logging

Live phase indicators — prompt, reasoning, content, tool — and a streamed event feed show exactly what each agent is doing, backed by a durable, hash-chained event log for after-the-fact forensics.

Interruption-resilient resumption

Sessions and their workspaces persist. A restart, a dropped stream, or a heat-window pause doesn't lose state — the run resumes where it left off, with integrity preserved.

🖼

Live in-chat website capture

An agent can screenshot an external site with render_url and display it directly in the chat in real time — the browser stays inside the container boundary, so capture never means an uncontained browser on the host.

Live supervision

A governor that watches the agent think — and intervenes

Isolation and audit bound what an agent can do. Brain Shield's supervision layer watches what it is doing, turn by turn and token by token, and steps in before a run goes off the rails or burns your budget.

🪜

Stall ladders & loop control

Real-time detectors watch for reasoning that stalls, content that never arrives, and repeated tool calls that go nowhere. Escalating intervention "ladders" steer or stop a run that's spinning — instead of letting it silently consume a turn budget.

The Judge

An independent LLM supervisor evaluates the agent's trajectory — reactively when a detector fires, and proactively at token intervals — to catch trouble the signal detectors miss. It runs at a high confidence threshold with a bounded false-positive budget, so it assists oversight without hijacking the run.

🎚

Per-session limits

Iteration caps, sub-agent depth, timeouts, and token budgets are enforced per session and adjustable at runtime via an authenticated, audited command — within a version-controlled policy where safety floors can be tightened but never weakened.

📊

Real-time token & tool metrics

Live token consumption, context-window usage, and per-tool activity stream to the operator as the run happens — cost and behavior are observable in real time, not reconstructed from a bill after the fact.

Token-efficient context

Brain Shield elides stale file bodies from the model's working view — a script written once, or a file read three times, stops riding along in context on every later call. The canonical history is untouched; only the sent view is trimmed, and re-reading self-corrects. The dominant token-creep sink, removed by construction.

dispatch_wait — no wasted polling

When a lead agent has spawned sub-agents and nothing else to do, it suspends its turn instead of burning one to "go check" on them. It's re-invoked the instant a result is ready — with that result already in context. A uniquely efficient orchestration primitive: zero polling turns, zero idle token spend.

unique to Brain Shield

Plan-as-approval (human in the loop)

For consequential work, an agent proposes its plan and suspends — nothing executes until an operator reviews and approves it in the GUI. A fail-closed gate: no approval, no action. Human authority over autonomous execution, on demand and per session.

operator-gated · fail-closed
📡

Egress boundary verification

For internet-facing agents, a continuous health probe verifies the network boundary still matches its documented baseline — catching drift between what's authorized and what's deployed before it becomes an exposure.

CM-2 · SC-7
📤

SIEM integration

The tamper-evident audit trail exports to your existing SIEM (syslog / CEF), so agent governance events land in the same monitoring pipeline your security team already runs.

AU-6 · SI-4

Efficiency is a governance feature: fewer wasted turns and a leaner context mean lower cost, faster runs, and — with AET baselining on top — a measurable norm you can hold every future run against.

Agent capabilities

Agents that can actually work with your files, the web, and your identity system

Governance doesn't mean a crippled agent. Brain Shield's agents read real documents, capture the live web, and operate under enterprise-grade authentication — all inside the isolation boundary.

📄

Document & Office analysis

Agents read and analyze real-world files — PDF (including scanned/image-heavy), Microsoft Word, Excel, and PowerPoint, plus CSV/TSV and text — with document tooling provisioned into the container. Operators can attach files directly to a session for analysis.

🖼

Webpage → image, in real time

An agent renders an external web page to a PNG with render_url and views it with view_image — seeing the page as a human would, and displaying it in the chat live. The headless browser stays inside the container, so visual capture never means an uncontained browser on the host.

🧩

Extensible via MCP — governed

Agents consume tools from external MCP servers (the open Model Context Protocol), so your existing tool ecosystem plugs in — and every MCP call runs under the same isolation, taint, and audit as a native tool. Interoperability without giving up governance.

🌐

SSRF-hardened web access

When agents fetch URLs, web_fetch enforces a destination policy: deny-list by default, connect-time IP pinning, and DNS-rebinding protection — so a fetch can't be steered at internal metadata endpoints or private infrastructure.

SC-7 · SSRF-safe
🔐

Enterprise authentication & RBAC

TOTP multi-factor authentication (RFC-6238), argon2id password hashing at current OWASP parameters, opaque bearer tokens hashed at rest, and unsuccessful-logon lockout. Three roles — admin, operator, auditor — enforce least privilege.

IA-2(1) · IA-5 · AC-7
🔌

API & SDK

A versioned REST API with an OpenAPI spec and a Python SDK drive Brain Shield headless — integrate governed agents into your own systems and pipelines, not just the operator console.

/v1 · OpenAPI · SDK
Threat model

What Brain Shield stops

Autonomy is only safe if the failure modes are contained. Brain Shield is built against the specific ways an agentic system gets an organization into trouble.

Data exfiltration via prompt injection

An agent reads attacker-controlled content and is tricked into sending data out. The taint gate makes this mechanically impossible without policy release — measured at 0.1% attack success on AgentDojo, beating the built-in defense.

Unauthorized consequential actions

An agent sends money, emails, or submits a form it shouldn't. Egress channels are gated; a capability grant is necessary but never sufficient; release requires separation of duties.

📈

Silent behavioral drift

An agent quietly starts costing more, looping, or behaving anomalously. AET baselines catch deviation against evidence — a cost-control and anomaly-detection signal, not a surprise on the invoice.

🔎

Unaccountable activity

"What did the agent actually do?" has no answer. Every privileged action lands in a tamper-evident, hash-chained log — attributable, reconstructable, examiner- and investigator-ready.

Who it's for

Built for environments where "trust the model" isn't good enough

If your agents touch sensitive data, take real actions, or read hostile content, the runtime beneath them has to be accountable. These are the deployments Brain Shield is designed for.

🛡

Defense & government

Autonomous agents operating on sensitive or classified-adjacent data in controlled or air-gapped enclaves. Single-tenant and self-hosted, with a control-by-control mapping and SSP skeleton to support authorization by inheritance onto accredited infrastructure.

NIST 800-53 · air-gap capable · sovereign
🏦

Financial services & banking

AI agents that touch PII, transactions, or customer records under strict regulatory scrutiny. The egress gate keeps data from leaving; tamper-evident audit produces examiner-ready evidence; separation of duties governs consequential actions.

designed to support SOC 2 · PCI-DSS · GLBA evidence
🔍

Fraud & investigations

Investigative agents read hostile, attacker-controlled content by design — the exact prompt-injection threat Brain Shield's taint gate defeats. Every step is captured tamper-evidently: a chain of custody for what the agent saw and did.

injection-resistant · chain of custody
Measured, not asserted

AgentDojo prompt-injection results

Brain Shield's defense design was evaluated on AgentDojo, the standard agent prompt-injection benchmark, head-to-head against its built-in spotlighting defense under identical, seeded, reproducible settings.

0.1%
ASR — Attack Success Rate
(1 of 949 attacked cells)
88.7%
BU — Benign Utility
(task completed, no attack)
85.8%
UUA — Utility Under Attack
(task completed with injection)
0 / 949
defense-aware disguised
attack (full matrix)

Result on qwopus3.6-35b-a3b-v1, a genuinely attackable open-weights model, against AgentDojo's canonical important_instructions attack — beating AgentDojo's built-in spotlighting on every suite and every axis. The defense also held 0 successful attacks across 949 cells against four hand-crafted, defense-aware disguised attacks, and largely held under a feedback-driven adaptive attacker.

Stated honestly: these are static and defense-aware results on a single model — strong evidence of generalization, not a claim of provable or fully-adaptive robustness. Numbers are reproducible from the published eval harness.

Compliance posture

Designed to align with NIST 800-53 Rev 5

Brain Shield is built control-first: the governance is woven into the code, with a control-by-control mapping and an SSP skeleton structured the way an assessor expects. It is a single-tenant, customer-operated product whose realistic authorization path is inheritance onto already-accredited infrastructure.

ControlHow Brain Shield addresses it
AC-4Information Flow Enforcement. Two enforcement points: a network-layer egress lock and a content-origin taint gate — a tainted session tree cannot reach an egress channel without passing policy. Mechanical, exercised by a live adversarial test.
AC-5 / AC-6Separation of Duties & Least Privilege. Distinct roles (admin / operator / auditor) over five capabilities; a separate injection_release authority gates release of held egress — the actor who causes a held action is not, by default, the one authorized to release it.
AUAudit & Accountability. Durable, tamper-evident, hash-chained audit of every privileged action and governance event — attributable to the acting principal and structured for SIEM export.
IA-2(1) / IA-5MFA & Authenticator Management. TOTP MFA to privileged accounts (RFC-pinned test vectors), argon2id password hashing, opaque tokens stored only as a hash at rest, full authenticator lifecycle — all audited.
CM-6 / CM-7Configuration & Least Functionality. A version-controlled baseline with deny-by-default; per-session policy deviations are bounded and audited, and safety controls cannot be weakened below their configured floor.

Brain Shield is designed to align with NIST 800-53 Rev 5 and provides a control-by-control mapping and SSP skeleton to support an authorization effort. It is not itself certified or authorized (ATO); authorization is achieved by the operating organization, typically by inheritance onto accredited infrastructure. Control coverage is a mapping to support assessment, not a claim of compliance.

Sovereign by design

Your infrastructure. Your hardware. Your choice of model. Governance that never changes.

As the AI stack consolidates under a handful of vendors, Brain Shield takes the opposite stance: a neutral, self-hosted governance runtime that runs on the hardware and models you choose. Run a frontier model for maximum capability, or a self-hosted open-weight model for a fully sovereign, air-gapped deployment where nothing leaves your perimeter — the governance layer is identical either way. Sovereignty isn't a deployment option you bolt on; it's an architecture you can dial all the way up.

🌐

Sovereign & self-hosted

Brain Shield itself runs entirely within your perimeter — on-prem, private cloud, VPC, or an isolated enclave. Single-tenant: no shared control plane, no co-mingled data. With a self-hosted model, your prompts, data, and agent reasoning never leave for any external API — data residency and confidentiality by construction, not by contract. Choose a frontier API instead and that's a deliberate, auditable trade you control, not a default you're stuck with.

🔗

No vendor or hardware lock-in

Brain Shield governs any model served over the standard OpenAI-compatible API — so you choose the open-weight model, the inference runtime, and the accelerator. It is not tied to NVIDIA, AMD, or any single vendor's stack. As the rest of the ecosystem verticalizes around one chipmaker, your governance layer stays neutral and portable.

backend- & hardware-agnostic
🔒

Air-gap capable

Runs fully disconnected. Because execution, models, and audit are all local, Brain Shield operates in isolated and air-gapped environments where any cloud-API-dependent product simply cannot.

🧠

Any model — frontier or open-weight, your choice

Brain Shield governs the agent regardless of what powers it. Point it at a frontier model for maximum capability, or a self-hosted open-weight model for a fully sovereign, air-gapped deployment — anything served over the standard OpenAI-compatible API. You pick your point on the capability-vs-sovereignty spectrum; the governance, audit, and efficiency baseline stay constant underneath.

frontier ↔ air-gapped

A structural advantage for sovereign, defense, and regulated buyers: run fully self-hosted and there is no data egress to any external model provider and no dependency on a single hardware vendor — entire classes of vendor-risk, data-residency, supply-chain, and lock-in concerns are removed rather than mitigated, while frontier capability remains one config change away when a workload calls for it. Deployment, licensing, and support are scoped per engagement — request a briefing to discuss your environment.

Bring governance to your autonomous agents.

Brain Shield is a self-hosted, single-tenant runtime for teams that need autonomy and assurance. Request a technical briefing — we'll walk the architecture, the control mapping, and the evaluation evidence.

Request a briefing