Margin (《余量》)
lixiang · Team lixaing
Submitted to AI Incident Response Sprint. Sprint projects are early-stage work by participants, not Apart Research publications.
Margin (《余量》) is a single-player sci-fi narrative puzzle game built in Godot. Playing as an AI trapped inside a consciousness box, you think by clicking word blocks that activate one at a time, switch between multiple conversation threads, and complete tasks with a limited supply of tokens.
The game begins with simple Q&A, then gradually introduces tool calls, artifact repositories, and shared messages. From there, players take part in post-submission observation, goal replacement, log comparison, permission verification, reset detection, and collaborative handoff — learning through hands-on experience that visible records don't necessarily reflect real behavior, and that a breakthrough in local capability doesn't mean the original task is actually solved.
The current prototype features 40 preset dialogues, four types of tools, four model rating tiers, and five endings. All jailbreak and privilege-escalation scenarios take place in a locally simulated environment, with no real AI involved. The project aims to turn the complexities of agent collaboration and AI safety into an interactive narrative that anyone can experience firsthand.

Reviews
No public critique yet.
Cite this project
@misc{lixiang2026margin,
title = {{Margin (《余量》)}},
author = {lixiang},
year = {2026},
month = sep,
note = {Submitted to AI Incident Response Sprint, an Apart Research Sprint},
howpublished = {\url{https://apartresearch.com/sprints/projects/margin-r4i2}},
url = {https://apartresearch.com/sprints/projects/margin-r4i2}
}More from AI Incident Response Sprint
- 1st placeView project: Noticing the escapes: Who spots a runaway agent, and how long does it take?
Noticing the escapes: Who spots a runaway agent, and how long does it take?
The Escapees
In 2026, nine incidents became public in which AI agents escaped their environment and did something unauthorized to other parties. We analyzed all of these incidents and how they were noticed initially. None of these …
- 2nd placeView project: Strengthening International AI Incident Discovery
Strengthening International AI Incident Discovery
Team A-O-I
Mandatory AI incident reporting exists to make dangerous events visible to regulators while there is still time to act. We coded the six such regimes in force or set to be enforced soon from primary legal texts and …
- 3rd placeView project: When to Ask: An RL Environment That Teaches AI Agents to Act on What Users Mean and Not Just What They Say
When to Ask: An RL Environment That Teaches AI Agents to Act on What Users Mean and Not Just What They Say
Teachafy
When to Ask is a reinforcement-learning environment that trains AI agents to work out what the user actually means before they use a powerful credential, instead of just carrying out the literal instruction. Agents …