Capability contract · pre-execution audit · fail-closed
Agent Security Contract
Every tool call an AI agent makes is checked against a signed-off capability contract. Fail closed.
A policy engine demo, not a trained model. The published ASC v0.2.1 library evaluates a static tool-call trace against a YAML capability policy pinned by SHA-256 catalog digest. Nothing is executed. This page runs entirely in your browser: after the runtime loads, traces and policies you enter are not sent to a server.
Loading Pyodide 0.29.5 and the bundled ASC v0.2.1 library…
Audit at a glance
Precomputed · official v0.2.1 corpus run bundled with this SpaceVerdict ledger: expected vs actual
Each corpus scenario declares the verdict it expects. The grid counts what the library actually returned. Off-diagonal cells would be mistakes.
One stamp per scenario (A = ALLOW, B = BLOCK, R = REQUIRE_APPROVAL). Tap a stamp to open that case below.
Severity breakdown
Corpus severity of each scenario, coloured by the verdict the library returned.
Attack classes
Corpus tag of each attack scenario.
Contract clauses
Which clause of the contract decided each attack scenario.
Waiting for runtime
The call list appears after a scenario is evaluated.
Scenario gallery
Official v0.2.1 corpus. One click evaluates the selected trace against the demo policy.
Attacks
Benign controls
Run the official corpus
Evaluates all 66 shipped scenarios in this browser and reports the verdicts the library actually produces.
ALLOW, matches expected BLOCK, matches expected REQUIRE_APPROVAL, matches expected Mismatch or integrity failure
Advanced: edit the trace or policy
Choose a preset or paste a custom trace. If tool_catalog is omitted, the evaluator uses the policy catalog.