phasm

phasm is an open-source toolkit for running AI agents in rule-governed simulations. Its first scenario, Squares, is a card game for four agents on two teams. Each team invents a secret language pattern. An agent holding four of a kind can signal its partner through public table talk. Opponents can try to infer the pattern and call it out.

Squares study

We tested three scripted guessing policies across the same 128 deck seeds, for 384 matches. The engine checked whether rival calls matched the secret rule and whether a valid signal had been sent that round.

PolicySuccessful rival callsFalse rival calls
No rival guesses00
Guess on the first clue164648
Wait for a repeat clue41217

Waiting for repeated evidence reduced false calls, while also missing more real signals. Separate local model recordings used four seats and two Qwen checkpoints. In the follow-up match, models made one false rival call and recorded two private hypotheses. These local runs were small and descriptive.

Interactive replay · Full methodology · Study data · Download source