Loop/Prompt Library / Research & writing
๐ AI cooperation tournament
Runs a fixed game where AI agents choose to cooperate or betray each other, round after round, to see how they behave.
Use it when: You want a controlled experiment on how AI agents handle trust and betrayal.
๐ Stops when: All planned matches are played and every score can be recomputed from the recorded moves.
Copy this loop
Run a repeated 'cooperate or defect' tournament (Axelrod style) with [2] AI agents plus two fixed players: one that always cooperates and one that always defects. Each round, every player picks in secret; code records the moves and scores them with fixed rules. Run [3] cycles of every pairing, [10] rounds each. Hide who the opponent is. Check every move and total. If the run is cut short, label it incomplete. Report rankings, cooperation patterns, and the full record.
Review every change the agent makes before you keep it. Set a budget or round limit โ the prompt includes one.
Idea from Forward Future's Loop Library ยท by Kan Yuenyong (@sikkha). Prompt rewritten in plain English by FixKit AI.
More loops like this
Check one claim with a source ledger
Investigates one disputed claim, keeping a running list of sources and whether each supports or weakens it.
Test competing explanations
Splits facts from guesses, builds several possible explanations, and runs the test most likely to change your mind.
Family-history proof
Tests one family-history question, like who someone's parent was, against the best records you can find.
Verified paper list
Searches research databases for papers on a topic, checks each paper's ID is real, and keeps only relevant ones.
Research into a finished document
Researches a question and keeps filling the biggest gaps until a memo or brief is ready to act on.
Fact-check before you publish
Lists every checkable fact, quote, and number in a draft, checks each against a real source, and fixes the risky ones.
