◈ aperture v0.3 LOCAL PILOT
RUNTIME CONTROL + ASSURANCE FOR AI AGENTS

Every agent action gets a decision.
Every decision leaves evidence.

Aperture sits between AI agents and the tools they call. It checks each proposed action against policy and everything that already happened in the same workflow, blocks or requires approval for risky sequences, and records a signed, replayable trail an auditor can verify on their own.

Showcase pageThe live sandbox below runs the real dashboard and the real Rego policy (compiled to WebAssembly) inside your browser, with synthetic tools and in-memory state. The full server, with durable SQLite state, MCP transport and the 41-check suite, runs locally.
ASSURANCE CHECKS41/41Passed on this build
TAMPER VARIANTS38Rejected by the verifier
SIGNED EVENTS33In the sample evidence chain
DECISIONS REPLAYED18Reproduced offline under OPA

Try it: live sandbox

This is the real Aperture dashboard, wired to an in-browser copy of the gateway. Every decision is made by the unmodified controls.rego policy, compiled to WebAssembly, and signed with an Ed25519 key generated for your session. Nothing is sent to a server, and state resets when you reload.

  1. Create a workflow. Run crm.read, then archive.create.
  2. Switch to agent-b and run external.send. It is blocked because of the workflow's history.
  3. Click Approve selected action (the reviewer token is prefilled), then run the send again. Commercial allows it; Federal-adjacent does not.
  4. Open Assurance lab to run live checks, or Evidence & replay to verify the signed chain and download the bundle.

The problem

Agents are being given real tools: CRM reads, file archives, outbound email, access grants, payments. Each call can look harmless on its own. The damage is in the sequence: read a restricted customer record, zip it, send it to an outside address. Per-call permission checks miss that, and a second agent picking up the task can launder it. Security and compliance teams also need proof of what was allowed and why, not just logs.

How Aperture works

01

Gateway

Agents connect over MCP (Model Context Protocol) to Aperture instead of directly to tools. Each agent authenticates and is bound to an operator-created workflow with a budget.

02

Policy with memory

Every proposed call goes to Open Policy Agent together with the workflow's recorded history. Rules match tagged trajectories such as source:restricted → effect:stage → sink:external.

03

Exact approvals

Some rules can be lifted by a separate reviewer. The approval is bound to the exact tool and arguments, expires in minutes and works once. Hard blocks and spend caps cannot be approved away.

04

Signed evidence

Intent is written durably before dispatch. Decisions, inputs and downstream observations form an Ed25519-signed hash chain that exports as a bundle anyone can verify and replay.

Runtime control dashboard showing workflow creation, a denied external send and the decision timeline
Runtime control: a workflow reads restricted CRM data, and a second agent's external send is denied. Open the full screenshot.

One engine, two policy profiles

Rules are data in policies/aperture_data.json, not code. A profile is fixed to a workflow when the workflow is created, so a decision always replays under the rules it was made with.

CommercialFederal-adjacent
Restricted read, then external sendNeeds exact approvalNeeds approval, and only to an allowlisted destination
Read, stage, sendNeeds exact approvalHard block, approval cannot override
Egress allowlistNonepartner.example
Maximum approval lifetime15 minutes5 minutes
Evidence mappingSIEM triage categories (MITRE ATT&CK tactics)NIST SP 800-53 Rev. 5 controls (draft, not assessor-reviewed)
Runtime control dashboard in the Federal-adjacent profile
The same console in the Federal-adjacent profile.

Assurance: test the control, then check the effect

The assurance suite runs the real gateway and policy against isolated fixtures and inspects the downstream tool ledger to confirm what actually happened. It includes a deliberately broken policy as a negative control, tampering, replay, concurrency and abrupt process kills.

Loading the captured report… view it as JSON.

Evidence you can verify yourself

VERIFIER OUTPUT
{
  "bundle_integrity": "verified",
  "event_chain": { "valid": true, "events": 33 },
  "derived_exports": "consistent",
  "external_checkpoint": "verified",
  "policy_replay": "verified",
  "replayed_decisions": 18
}
Evidence and replay screen with the draft NIST 800-53 control evidence table and the active Rego policy
Evidence and replay: signed chain verification, draft NIST 800-53 control evidence and the policy as code.

Run the live console

Requires Python 3.10+ and OPA 1.0.1 (the setup script fetches the pinned, checksum-verified release).

python3 -m venv .venv && source .venv/bin/activate
python -m pip install -r requirements.txt
python setup.py
python aperture.py        # open http://127.0.0.1:8080

Paste the operator token from data/credentials.json into the dashboard. Run the tests on their own with python assurance.py.

Scope, stated plainly