TL;DR
When AI agents built by different companies meet in the wild—like a Waymo and a Tesla at an intersection, or two different coding assistants in your IDE—they have to cooperate on the fly without prior rehearsal. Surprisingly, even frontier LLMs fail miserably at simple coordination games because they hallucinate "obvious" shared conventions that their partners don't actually share. This paper uncovers why LLMs stumble at zero-shot coordination and introduces a shared "constitution" of cooperation principles—which can even be discovered automatically—to get them back on the same page.
What Problem Does This Paper Address?
Humans are remarkably good at Theory of Mind—figuring out how a stranger thinks so we can seamlessly navigate a narrow hallway together. In AI, cooperating with an unseen, independently developed partner without prior communication is called Zero-Shot Coordination (ZSC).
Traditionally, ZSC has been studied in Reinforcement Learning (RL), where agents learn from scratch via millions of trial-and-error games. Today, however, we are deploying LLM agents that zero-shot tasks just by reading text descriptions. Previous studies on LLM cooperation tested complex games (like full-scale Hanabi) or used intricate, custom prompting setups ("scaffolding") that rival companies wouldn't realistically share in the real world. The authors strip away that complexity to ask a foundational question: Can general-purpose LLM agents actually coordinate out-of-the-box on basic cooperation challenges?
Methods
First, the authors formalize two standard ways LLM agents are deployed via in-context learning:
- Text agents: Prompted at every step with the game rules, their specific role, and history to output a single action.
- Code agents: Prompted once with the game rules to write executable Python code representing a complete joint policy for all players.
They evaluate these agents in Self-Play (SP) (playing with an identical copy of itself) and Cross-Play (XP) (playing with an independently generated policy or a completely different LLM—the true test of ZSC).
To fix the widespread coordination failures they uncover, the authors propose Coordination-Friendly Definitions (CFDs). Inspired by "Constitutional AI" in safety research, a CFD is a short, natural-language set of general coordination principles (e.g., "avoid actions that rely on arbitrary signaling conventions") agreed upon beforehand and added to the prompt. Beyond writing a hand-crafted CFD, they use LLM-driven evolutionary meta-learning (loosely based on GEPA, paired with a policy-critic scaffold) to automatically discover an optimal, concise CFD from scratch.
Datasets
Instead of static datasets, the paper evaluates agents across a suite of cooperative game environments (modeled as Dec-POMDPs) augmented with natural language descriptions:
- 9 Minimal Coordination Environments: Adapted from ZSC literature (e.g., Cat & Dog, Tiny Hanabi, Narrow Tunnel, Brittle Bridge) to isolate specific skills like tie-breaking, forming conventions on the fly, or taking a safe fallback.
- New Semantic Games: The Semantic Selection and Semantic Convention games, newly introduced to test what happens when word meanings/labels compete with raw mathematical payoffs.
- Complex/Human Benchmarks: A 3x3 variant of the card game Hanabi, the Hint-Guess word game, and the Trampoline-Tiger problem.
Key Insights and Ideas
- The Illusion of "Natural" Conventions: In the Cat & Dog game, Alice sees a pet and can either pay a steep cost to remove a wall so Bob sees it (guaranteed +5), or flip a light switch for free so Bob can guess (+10 or -10). Frontier models hate paying the penalty, so they gamble on the light switch and rationalize their arbitrary rule (e.g., "Light on obviously means dog!") as universal. Meanwhile, their partner confidently rationalizes the exact opposite.
- Bigger Brains $\neq$ Better Partners: Smarter models and extra reasoning tokens often hurt coordination. Giant reasoning models (like Qwen3-Max-Thinking or GPT-5.2) overthink themselves into brittle hallucinations, whereas smaller models (like Qwen3-14B and OLMo-3-32B) sensibly take the safe +5 fallback. Even telling an LLM it is playing against an exact copy of itself causes its coordination to degrade, proving models lack a consistent internal notion of what is "natural."
- Semantics are a Double-Edged Sword: Unlike traditional RL, LLMs understand words. This helps them ace human word-association games, but it also introduces fragile crutches like alphabetical sorting. An English code agent might map
Cat -> Off, Dog -> Onalphabetically, which shatters if its partner reads the prompt in German (Hund comes before Katze). Furthermore, when a semantic cue (like a "big red arrow" pointing to a 1.00 lever) competes with a mathematically superior payoff (an unmarked 1.01 lever), LLMs inconsistently split between the two. - Code Agents are Especially Brittle: While faster and cheaper to run, code agents are much more prone to hard-coding arbitrary, fragile conventions (like array indexing or binary
0/1assumptions) than step-by-step text agents.
Key Results
- Severe Out-of-the-Box Failures: Without CFDs, text agents (GPT-5.2 and Grok 4.1 Fast) suffer high failure rates in 7 out of 9 simplified tasks. In Cat & Dog cross-play, scores frequently drop into the negatives (e.g., -4.00 between Grok 4.1 Fast and Gemini 3 Pro), miles below the safe +5 fallback.
- CFDs Restore Sanity: Adding the hand-crafted CFD immediately aligns all tested text-agent pairs in Cat & Dog to achieve the optimal ZSC score of 5.00 (with 0.00 variance), and reduces failure rates in 6/9 environments for Grok 4.1 Fast and 5/9 for GPT-5.2.
- Meta-Learning Wins on Efficiency and Transfer: The automatically discovered CFD is two-thirds shorter than the human-written one (just one sentence!). Despite being meta-trained cheaply using only Grok 4.1 Fast as a code agent on two games, it successfully generalizes to improve text-agent performance and cross-play across unseen environments and frontier models (Claude 4.5, Gemini 3 Pro, GPT-5.2).
Limitations and Future Work
- Over-cautious Agents: CFDs teach agents to distrust unstated conventions, which can lead to under-coordination. In environments where agents should establish a new convention dynamically mid-game, CFDs bias them toward repeatedly taking the safe, lower-paying fallback.
- Limited Scope & Cost: The meta-learned CFD was trained on only two environments, limiting its universality, and full cross-LLM evaluations for text agents were restricted to a few games due to high API token costs.
- What's Next: Future directions include baking CFDs directly into model weights via RLHF or RL methods like GRPO, testing in richer multi-step worlds like Overcooked, allowing partner adaptation across multiple episodes, and expanding from text to Vision-Language Models (VLMs) that coordinate using visual cues.
Summary updated