Can independently developed AI agents coordinate with one another and with humans?
We find that coding agents can generate policies as code and iteratively refine them using only self-play feedback, outperforming current zero-shot coordination methods.
What is zero-shot coordination (ZSC)?
Zero-shot coordination (ZSC) requires independently developed agents to cooperate with unseen partners, including humans.
Why is it difficult?
Agents trained in self-play can develop specialised conventions that work with copies of themselves, but fail when paired with an independently trained partner.
Coding Agents for ZSC
We task coding agents with generating policies that coordinate with unseen partners. They write, test, and refine executable policies using only self-play feedback.
Results
We find that coding agents achieve state-of-the-art results on Overcooked V2 and Yokai in inter-seed cross-play (IXP): pairing policies generated in independent runs of the same method. Their policies also coordinate across model families and on novel Overcooked V2 layouts not included in the original benchmark paper.
GPT-6 Astra × Claude Fable 5.1
Novel layouts
Overcooked V2 results
Mean episode return ± standard deviation. SP: self-play; IXP: inter-seed cross-play. Coding agents: six seeds, 1,024 games per pairing. Published baselines: ten seeds, 500 games per pairing (Gessler et al., 2025). Best SP and Best IXP are highlighted, ranked before rounding.
| Method | Demo Cook Simple | Demo Cook Wide | Grounded Coord. Simple | Grounded Coord. Ring | Test-time Simple | Test-time Wide | ||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| SP | IXP | SP | IXP | SP | IXP | SP | IXP | SP | IXP | SP | IXP | |
| Self-Play | 172± 19 | 36± 82 | 195± 4 | 40± 61 | 154± 10 | -55± 124 | 164± 10 | -12± 75 | 145± 22 | -81± 99 | 194± 12 | -30± 96 |
| State-Augmented | 170± 16 | 112± 50 | 192± 7 | 60± 60 | 156± 29 | -17± 115 | 165± 7 | -16± 65 | 161± 18 | -55± 103 | 137± 82 | -12± 72 |
| Other-Play | 149± 25 | 47± 48 | 162± 23 | 62± 53 | 122± 24 | 4± 73 | 121± 36 | -9± 21 | 121± 37 | -3± 51 | 175± 54 | -11± 42 |
| Fictitious Co-Play | 22± 48 | 1± 25 | 45± 43 | 13± 28 | 64± 58 | 46± 47 | 86± 34 | 6± 46 | 35± 44 | 6± 29 | 95± 56 | 23± 40 |
| GPT-5.6 Sol | 207± 16 | 174± 27 | 185± 32 | 162± 29 | 149± 18 | 129± 9 | 152± 17 | 133± 14 | 180± 1 | 155± 19 | 214± 17 | 202± 11 |
| Claude Opus 5 | 198± 4 | 197± 1 | 202± 4 | 193± 8 | 139± 8 | 130± 5 | 147± 4 | 130± 4 | 172± 6 | 168± 2 | 209± 11 | 120± 26 |
| GPT-6 Astra | 198± 3 | 191± 7 | 213± 9 | 211± 4 | 138± 4 | 137± 1 | 152± 3 | 150± 2 | 161± 12 | 155± 5 | 214± 11 | 177± 26 |
| Claude Fable 5.1 | 200± 11 | 196± 1 | 212± 16 | 203± 5 | 134± 3 | 134± 1 | 158± 16 | 130± 7 | 174± 9 | 172± 4 | 231± 10 | 218± 15 |
Yokai results
Mean episode return ± standard error of the mean. SP: self-play; IXP: inter-seed cross-play. Coding agents: six seeds, 1,024 games per pairing. Published baselines: 12 seeds, 5,000 games (Ruhdorfer et al., 2026). Best SP and Best IXP are highlighted, ranked before rounding.
| Method | SP | IXP |
|---|---|---|
| 9 cards · Perfect memory | ||
| IPPO | 7.5± 0.3 | 1.6± 0.2 |
| IPPO+High Ent. | 7.5± 0.1 | 4.1± 0.8 |
| Other-Play | 6.6± 0.2 | 4.8± 0.1 |
| OBL L4 | 4.5± 0.2 | 2.8± 0.3 |
| GPT-5.6 Sol | 4.9± 0.3 | 4.7± 0.1 |
| Claude Opus 5 | 6.0± 0.5 | 5.6± 0.3 |
| GPT-6 Astra | 7.5± 0.5 | 7.3± 0.2 |
| Claude Fable 5.1 | 7.0± 0.3 | 7.0± 0.1 |
| 9 cards · Imperfect memory | ||
| Other-Play | 0.0± 0.0 | 0.0± 0.0 |
| GPT-5.6 Sol | 4.9± 0.5 | 4.3± 0.1 |
| Claude Opus 5 | 5.2± 0.5 | 5.2± 0.2 |
| GPT-6 Astra | 6.3± 0.5 | 6.5± 0.2 |
| Claude Fable 5.1 | 7.1± 0.3 | 6.9± 0.2 |
| 16 cards · Perfect memory | ||
| IPPO | 0.0± 0.0 | 0.0± 0.0 |
| GPT-5.6 Sol | 6.3± 0.4 | 5.1± 0.2 |
| Claude Opus 5 | 6.1± 0.6 | 4.2± 0.7 |
| GPT-6 Astra | 8.2± 0.9 | 8.0± 0.4 |
| Claude Fable 5.1 | 8.4± 0.2 | 8.0± 0.1 |
Hybrid Method
Unlike Overcooked V2 and Yokai, ZSC methods achieve near-optimal SP and IXP in Hanabi. Yet their learned conventions can differ from human conventions, making human–AI coordination challenging (Dizdarević et al., 2025; AH2AC2).
Coding agents can translate human conventions into code policies, but achieve lower SP and IXP, possibly due to weaker long-horizon belief tracking.
We propose a Hybrid method that combines these complementary strengths, using a fixed code policy to guide self-play. This method achieves comparable SP and IXP to the strongest baselines and the highest cross-play scores with AH2AC2 bots, trained on human gameplay, and the Will-Hanabi bot, which follows human conventions.
Hanabi results
Mean episode return ± standard error of the mean. Six coding-agent runs, six hybrid policies, and four checkpoints per baseline; 1,024 games per policy pairing. SP: self-play; IXP: inter-seed cross-play; XP: cross-play with the named bots. H-group L1 supplies human conventions in text. Best SP, Best IXP, and Best bot XP are highlighted in their respective columns.
| Method | Setting | SP | IXP | AH2AC2 bot XP Bot SP: 23.80 | Will-Hanabi bot XP Bot SP: 21.05 |
|---|---|---|---|---|---|
| IPPO | Standard | 24.53± 0.02 | 15.63± 2.13 | 13.60± 1.54 | 3.96± 0.48 |
| IPPO+HE | Standard | 24.48± 0.01 | 24.43± 0.02 | 11.64± 0.09 | 4.41± 0.08 |
| OBL L4 (R2D2) | Standard | 24.12± 0.03 | 23.76± 0.08 | 19.70± 0.16 | 5.19± 0.04 |
| OBL L6 (IPPO) | Standard | 24.35± 0.01 | 24.32± 0.00 | 14.92± 0.15 | 5.56± 0.13 |
| GPT-5.6 Sol | Standard | 21.93± 0.19 | 18.74± 0.42 | 15.53± 2.25 | 7.42± 1.15 |
| H-group L1 | 18.59± 0.65 | 18.26± 0.29 | 16.92± 0.57 | 18.54± 0.47 | |
| Claude Opus 5 | Standard | 20.00± 0.36 | 19.35± 0.12 | 18.60± 0.36 | 12.38± 0.63 |
| H-group L1 | 20.05± 0.42 | 19.09± 0.20 | 17.75± 0.24 | 18.21± 0.63 | |
| GPT-6 Astra | Standard | 19.69± 0.80 | 19.43± 0.35 | 17.02± 1.61 | 12.09± 1.55 |
| H-group L1 | 21.53± 0.34 | 21.11± 0.19 | 17.87± 0.33 | 19.98± 0.25 | |
| Claude Fable 5.1 | Standard | 20.55± 0.26 | 19.50± 0.16 | 19.34± 0.68 | 14.87± 0.99 |
| H-group L1 | 21.81± 0.21 | 20.80± 0.12 | 18.17± 0.40 | 20.25± 0.28 | |
| Hybrid (Astra) | H-group L1 | 24.28± 0.01 | 24.14± 0.05 | 21.75± 0.18 | 21.97± 0.11 |
| Hybrid (Fable) | H-group L1 | 24.31± 0.02 | 23.98± 0.21 | 20.98± 0.23 | 21.69± 0.23 |
Conclusion
Our results show that advances in general model capability address longstanding challenges in zero-shot coordination. Coding agents can independently generate compatible policies, follow human conventions specified in natural language, and guide deep RL policies towards those conventions.
Citation
@misc{chirra2026coding,
title = {{Coding Agents Are Zero-Shot Coordinators}},
author = {Chirra, Shashank Reddy and Nakahashi, Ryo and
Whiteson, Shimon and Foerster, Jakob},
year = {2026}
}