WhoBuilt

Loophole

An open-source game for testing moral principles and drafting a consistent legal code with AI agents.

Key facts

Capabilities
Can compare a user's codified data-handling preferences against company terms of service.
Can draft a codified system prompt and test it with adversarial agents.
A judging agent can automatically patch a legal code or ask the user to resolve a contradiction.
Uses adversarial agents to find loopholes and overreach in a legal code derived from the user's morals.

Timeline 5

Dated events, newest first. Open the sources under any item.

How we verify
Built1Capability4
20265 events
  1. as of Sep 2026Capability
    Can compare a user's codified data-handling preferences against company terms of service.
    “you can check for contradictions between your legal system and Apple's terms” 9:07
    Unverified1 source· Talk
    +2 more capabilities on the full timeline
  2. as of Sep 2026Capability
    Can draft a codified system prompt and test it with adversarial agents.
    “it tries to write a codified system prompt, and adversarial agents try to get it” 8:11
    Unverified1 source· Talk
  3. as of Sep 2026Built
    Brendan Rappazzo built Loophole
    “my project, Loophole” 0:12
    Verified2 sources· Talk, Web· archived

Talks 1

16:59
Loophole: Adversarial Agents To Stress Test Your Morality

Brendan Rappazzo presents Loophole, an open-source game that uses adversarial agents to find contradictions between a person's stated morals and a legal code drafted from them. A judge agent suggests automatic patches for translation errors and asks the user to resolve conflicts in their principles. He describes extending the approach to chatbot system prompts, personal and decentralized contracts, and simulations of U.S. senators and voters evaluating proposed bills. The talk explores how stress-testing values could surface disagreements and help people write more consistent contracts and legislation.

Sep 14, 2026· 17 minDiscussed 0:12