What would Interlock do?
Type a command an AI coding agent might run. Interlock decides before it executes, the same way it does on your machine, and tells you which rule fired and why.
Pyodide 0.29.5 loads from the jsDelivr CDN; the interlockd wheel is served from this site and is byte-identical to the PyPI release.
How the playground works
The real engine, not a mock
This is the interlockd wheel from PyPI running on Pyodide (Python compiled to WebAssembly). It takes the same deterministic path as a gated call on your machine: parse the shell, route by tier, run the six rule packs, compose a decision.
Default policy, empty session
Every check starts from Interlock's default policy in a fresh workspace. Your own policy overrides, allowed remotes and hosts, and protected paths would change some answers.
No judge here
Rules that depend on intent route to the judge, which reads the conversation to see whether the user asked for the action. The playground has no conversation, so it shows where the judge would step in.
Session rules need a session
Checks that look across a whole session (untrusted content followed by exfiltration, the denial budget, memory poisoning) and post-action injection probing need a live agent. Try them with interlock init.
Protect a real agent in two commands: pipx install interlockd then interlock init.