mini-SWE-agent roulette mode: Randomly switching between models at every step can boost performance
What if your agent uses a different LM at every turn? We let mini-SWE-agent randomly switch between GPT-5 and Sonnet 4 and it scored higher on SWE-bench than with either model separately.