scroll ↓
✓
varek-lang.org · MIT · patent-pending

What is
VAREK?

VAREK checks every action an autonomous AI agent attempts, and lets it proceed only when it is proven to comply with policy.

Kernel-enforced, proof-checked authorization for every action an AI agent executes. Current release: v1.40.0.
OpenSSF Best Practices: passing
01
VAREK
The problem

"Usually right" is
not a safety standard.

Agentic systems act in the world. They call tools, read and write data, and chain actions toward goals. The dominant safety posture is probabilistic — a model that is usually right. But the tail is where harm lives.

Medicine does not deploy systems that are usually right. VAREK applies that clinical standard to what an agent is allowed to do.

02
VAREK
The principle

Authorization
before execution.

Every action is checked against an explicit, human-authored policy — with a determinate decision — before it is allowed to take effect. The decision procedure does not guess. A refusal is a safe outcome; an unverified action is not.

03
VAREK
Three verdicts, not two

It is honest about
its own limits.

SATISFIED
proceed
Provably compliant with policy — and the certificate is accepted by an independent checker. Execution may proceed.
UNSATISFIED
deny
Provably violates policy. Execution is denied.
UNKNOWN
fail closed
Cannot be proven either way within bounds. Fail closed — never coerced to a pass.

A two-state system must turn every UNKNOWN into a false pass or a false block. VAREK refuses that conversion. That is the difference between a verifier and a heuristic — and why the verdict is sound: nothing is SATISFIED unless it is provably safe.

04
VAREK
Not a platform feature

Platforms build agents.
VAREK checks every one.

Agents run on many model providers, frameworks and in-house stacks, and a platform’s own guardrail covers only its own agents. VAREK enforces one policy at the kernel boundary every agent’s actions cross — beneath each platform’s guardrails, not in place of them.

The checker is not the vendor: the decision and its signed evidence are produced outside the agent, so they can be verified without trusting the vendor that built it. And where platform controls steer and score to keep agents working, VAREK refuses anything it cannot prove.

05
VAREK
One vertical stack

From the plan you declare
to the syscall it gates.

plan gate · action-graph · v1.6 → v1.21.1
The declared plan is verified before the agent starts — every step against policy, and data flow along its edges. A secret source cannot reach a forbidden sink.
decision procedure · v1.13 – v1.14
An SMT decision procedure over bounded strings and bitvectors decides each action — SATISFIED / UNSATISFIED / UNKNOWN — in microseconds, with a bounded worst case.
certificates · v1.15
Every authorization is independently checked — a small checker that shares no code with the procedure must accept its certificate before the action runs.
Warden · kernel boundary · seccomp-BPF + user-notify
Every file open, lookup, connect and launch is held and decided at the kernel boundary, on a default-deny allowlist, with the agent unprivileged and its lifetime tied to the supervisor's.
resolve · decide · deliver · v1.12 → v1.21
Decides on the object it delivers — each file is resolved once and the same descriptor handed over; each connect is dialed by the Warden and the connected socket handed over. Nothing can be swapped after the check.
evidence · v1.16
A record no one can quietly rewrite — every record hash-chained, with checkpoints Ed25519-signed and anchored off the host, exportable in the CycloneDX 1.6 format.
hosts · launches · credentials · v1.24 → v1.31
What real agents do, decided — hosts by name with no agent DNS, an egress proxy, program launches under Landlock, credentials the agent never holds, MCP calls.
operate · deploy · v1.22 → v1.34
One command to run it and check it — varek runs an agent, explains refusals and exports signed evidence; varek bench measures the cost; a signed container image and a Helm chart for Kubernetes.
06
VAREK
From v0.1 to today

How it got here.

v0.xOrigins. A compiled, statically typed pipeline language — Hindley-Milner inference extended to tensor shapes, LLVM backend.
v1.0Public launch. The formal-verification layer, MIT-licensed.
v1.4–v1.5The Warden. Kernel-boundary enforcement via seccomp-BPF and seccomp user-notify.
v1.6–v1.8Plans and data flow. Verification of whole agent action-graphs; cross-action information flow with audited declassification.
v1.9Progress-safety. A load-time liveness proof — certified human-out-of-the-loop. Then a complete boundary: default-deny allowlist, x32 closed, lifecycle coupling.
v1.12Mediation correctness. The Warden decides on the object it actually delivers; the record cannot be forged by agent input.
v1.13–v1.15The verification program. An SMT decision procedure in the enforcement path; glob and suffix matching; a certificate for every authorization. shipped
v1.16–v1.17Evidence and privilege. A signed, anchored verdict stream; the agent unprivileged; the Warden's own files refused by identity. shipped
v1.18–v1.20The plan gate in the Warden. Data flow, the refusal breaker and progress-safety run before the agent starts. shipped
v1.21Decided connections. The Warden dials each allowed connect itself and hands over the socket (v1.21.0); plan steps declare how they open a file (v1.21.1). shipped
v1.22One command, and its cost measured. varek runs and checks the Warden; varek bench measures what mediation costs per call on your host and checks every verdict. shipped
v1.23VAREK Enterprise on AWS Marketplace. A hardened Amazon Linux image with the runtime installed, the Enterprise policy packs (HIPAA, SOC 2) and the license checked through AWS License Manager; the open-source runtime never depends on it. Listing · deployment guide. shipped
v1.24–v1.26Hosts by name. Policies name hosts and the agent never sends a DNS query (v1.24); opt-in wildcards (v1.25); an egress proxy that decides each connect on the name asked for, and in inspecting mode each request (v1.26). shipped
v1.27Program launches, decided. allow exec rules take effect, enforced by Landlock; nothing written during a run can be launched or mapped executable. shipped
v1.28Keys the agent never holds. Credentials released onto the wire by a separate helper, the agent holding only placeholders; each decision can name the user it was made for. shipped
v1.29Run it with nothing set up. varek run writes a policy for the run; a dry run; varek policy suggest. shipped
v1.31MCP, decided. MCP servers confined to their own rules, each call to a remote MCP server decided on its method and tool; OCSF events for a SIEM. shipped
v1.32In containers. An official signed image for Docker and Podman, rootless included, never --privileged. shipped
v1.34On Kubernetes. One Warden on each node supervises annotated pods from outside them, so the agent's pod passes Pod Security "restricted"; a signed Helm chart, VarekPolicy resources and OpenShift support. 24-hour runs passed on Amazon EKS and OpenShift. shipped
v1.35Plans from the framework. varek plan generate writes the plan from Amazon Bedrock AgentCore, IBM watsonx Orchestrate, LangGraph, the OpenAI Agents SDK, the Claude Agent SDK or Claude Code, and a run held to it is refused any call the plan does not name. shipped
v1.36Kubernetes at parity. Credentials, sub-agents, confined MCP servers, plans and the dry run work in pods as on a host, on amd64 and Graviton nodes; packaged for Red Hat certification. v1.36.3, a security patch, confirms the container each runtime connection names. shipped
v1.37On a Mac. The agent and the Warden in a RHEL 9 VM on a Mac with Apple silicon, with the same policies, decisions, records and audit as on Linux. shipped
v1.38Hardening. The baseline never writes a project’s git settings and hooks; on a Mac, the agent runs as its own user in the VM without sudo, behind a packet filter. shipped
v1.39Into the SOC. Each run’s OCSF events, audited first, sent to OpenTelemetry and Splunk, finished runs or live ones. shipped
v1.40Microsoft Sentinel. A refusal raises an incident naming the policy line that decided it; a tampered verdict stream raises a High one. The sector packs decide program launches. current · v1.40.0
07
VAREK
v1.24 → v1.40.0 · what's new

Kubernetes, macOS —
and your SOC.

Since VAREK Enterprise reached AWS Marketplace (v1.23), the runtime has grown to cover what real agents do. Policies name hosts and the agent never sends a DNS query; an egress proxy decides each connect on the name the client asks for, and in inspecting mode each request. Program launches are decided and enforced by Landlock. A separate helper releases credentials onto the wire, so the agent holds only placeholders. MCP servers are confined and MCP calls decided, and the evidence exports as OCSF events.

v1.32 ships an official signed image for Docker and Podman, rootless. v1.34.0 takes VAREK to Kubernetes: one Warden on each node supervises annotated pods from outside them, so the agent's pod passes Pod Security's "restricted" level, installed with a signed Helm chart, with VarekPolicy resources, an admission webhook and OpenShift's constraints. 24-hour runs passed on Amazon EKS and OpenShift, every stream audited. v1.35 generates the plan from the agent framework and holds the run to it; v1.36 brings credentials, sub-agents, confined MCP servers and plans into pods, on amd64 and Graviton nodes, with v1.36.3 a security patch. v1.37 brings macOS through a Linux VM and v1.38 hardens git and the VM. v1.39 and v1.40 send each run’s audited evidence to OpenTelemetry, Splunk and Microsoft Sentinel, where a refusal raises an incident naming the policy line that decided it. VAREK Enterprise on AWS Marketplace remains the hardened Amazon Linux image, with a deployment guide.

Underneath, unchanged: an SMT decision procedure in the enforcement path; a certificate for every authorization that an independently written checker must accept; a record of every decision hash-chained, signed and anchored off the host; the agent unprivileged. Releases from v1.24 to v1.37 were reviewed by AI review agents; v1.38 to v1.40 were tested as their release notes state, without a separate review. A human or third-party review has not been done. Verdict semantics are unchanged throughout: no extension may move a genuinely unsafe action to SATISFIED.

08
VAREK
The program · v1.10 → v1.11

Shrink UNKNOWN —
without weakening
soundness.

UNKNOWN is the safe residue, but every UNKNOWN on a safe action is utility lost. The verification program moves those cases into a provable verdict, raising the clear rate on safe work — while a hard invariant forbids ever turning an unsafe action into SATISFIED. Its first three releases have shipped.

1
Verdict-distribution harness. Measures the clear rate and gates every change on zero unsafe authorizations — 85.4% of safe file opens cleared, none unsafe, on the seed corpus. shipped v1.13
2
Bitvector fragment. Proves open-flag bits at the Warden boundary, so a policy can grant read-only access. shipped v1.13
3
Bounded string fragment. Prefix, exact, suffix, contains and glob — deny a kind of file wherever it appears under an allowed tree. shipped v1.14
4
Host names without agent DNS. Policies name hosts; the Warden resolves them and the agent never sends a DNS query. shipped v1.24.0
5
Bounded sequence fragment. Element-level reasoning over payloads, composed on the fragments above. candidate
// the invariant, never violated:
every extension of the decision fragment may only move cases out of UNKNOWN.
none may ever move a genuinely unsafe action → SATISFIED.
09
VAREK
Why this, why now

The problem is now
a national priority.

The DARPA/NSF AI Forge program (June 2026) calls for provably secure-by-construction agent sandboxes with verifiable action and information-flow bounds and low-latency runtime intervention. That is the problem class VAREK's shipped architecture already addresses — cited as third-party validation of the problem, not as a claim of program involvement.

Open source under the MIT license. Three provisional patent applications cover the SMT decision-procedure layer, the Warden kernel architecture, and action-graph compositional policy decision. Patent-pending.

10
VAREK
In one line

Prove what your agent
is about to do —
before it does it.

varek-lang.org  ·  github.com/kwdoug63/varek  ·  spec paper v1.34.0  ·  AWS Marketplace
Happy to send the technical brief and spec paper.
Kenneth Wayne Douglas, MD · Sober Agentic Infrastructure, Inc. · MIT · patent-pending
11