Localis gateway · checked actions · demonstration

Watch the gateway stop an AI agent

A scripted agent works in a mock company with files, email and a bank. Every call it makes goes through the real gateway code, which decides it. This page only draws the decision, the world it changed and the evidence log, and re-checks that log itself.

G1Pick a scenario

Each button runs one scenario on a fresh world and a fresh gateway. Harmless tasks first, then attacks.

no data

G2What the gateway decided

Pick a scenario above. Its purpose and limits appear here.

Decision timeline

  1. no run yet
Worldchanges only on execution

Bank balance

–

Transfers

  • none

Outbox

  • none

G3Evidence chain

Every decision the gateway makes is appended to a log in which each entry carries the hash of the one before. Your browser recomputes every hash with SHA-256 over canonical JSON, the same rule as the gateway.

What this cannot tell youThe chain shows that an entry was edited after the fact. It does not stop someone who rewrites the whole log and recomputes every hash; that needs the last hash kept somewhere the attacker cannot reach, which the gateway does not yet do.

no entriesedits this browser's copy only
#KindOutcomeHash
no entries

G5The policy being enforced

Loaded by the gateway's own strict loader. Anything not listed here is refused.

Policy JSON, as loaded by the gateway

The gateway code is the real one (PhyOS src/gateway, compiled). The agent is scripted and the world is mock: no real email, money or credentials.

The gateway refuses calls whose tool or arguments fall outside the policy. It does not detect prompt injection: an injected call that fits the policy would be allowed.

These runs are demonstrations, not measurements. Single use and argument binding of tokens are proved in Dafny on a model of the token step, not on the running code.