For coding agents, real-time collaboration beats the "wisdom of the crowd"

ykev1 pts0 comments

For coding agents, real-time collaboration beats the “wisdom of the crowd” | antigravity-cloud-run

antigravity-cloud-run

For coding agents, real-time collaboration beats the “wisdom of the crowd”

tl;dr: I ran AI coding agents on 30 Project Euler problems in two ways: five<br>agents working separately, and five agents collaborating in real time. For<br>both, I also computed the majority vote across the five answers at the end.<br>The collaborating agents beat both the separate agents and their majority<br>vote. Average accuracy without the vote went from 72% to 87%.

The setup

I had AI coding agents, specifically Gemini 3.5 Flash running through<br>Antigravity, tackle 30 math and programming problems from Project Euler: all problems<br>published this year except one (983),<br>whose answer I could not verify on the website.

For each problem, five agents ran in<br>five concurrent containers.<br>I ran them in two ways:

Solo: no ability to communicate with each other as they solved the<br>problem.

Collaborative: extra prompts letting them know they can collaborate,<br>and an MCP server that lets any agent broadcast a message to the rest,<br>kind of like sending each other emails.

In both cases I also took the majority vote across the five answers at the<br>end. So in total there are four methods to compare: solo individuals, solo<br>with vote, collaborative individuals, and collaborative with vote.

Each agent had 30 minutes of working time, plus up to 10 extra minutes to wrap<br>up and submit a final answer, so a single run can take up to about 40 minutes.

The results

Individually, solo agents got 108 of 150 runs correct (72%). With real-time<br>collaboration, the same setup got 130 of 150 (87%). The majority vote went from<br>24 of 30 problems (80%) to 27 of 30 (90%). As you can see, both real-time<br>collaboration and the “wisdom of the crowd”, aka majority voting, are<br>effective, but real-time collaboration had a stronger effect on the overall<br>accuracy.

solo<br>collaborative

average run time<br>14m<br>10m

median worst-of-5 time<br>31m<br>11m

The worst-of-5 time is relevant because if you wait for all five answers,<br>that is when you get the final answer through the vote. The average time is relevant in a different<br>way: it is a proxy for measuring the tokens and compute you use. Antigravity<br>unfortunately does not give you exact token counts, but tokens and compute<br>scale with the time it takes to solve a problem.

More collaborative runs end inside the first five minutes (97 vs 77), and<br>fewer of them run past the 30 minute mark (23 vs 38).

On worst-of-5 time, solo sets pile up at the 30 to 40 minute end because<br>many problems left at least one agent running until the cap. Collaborative sets most often finish<br>within the first five minutes because once one agent solves the problem and<br>shares its findings, the rest can finish quickly too, though the harder ones still<br>run long.

Three individual problems are worth calling out:

The rescue. On problem 989, solo<br>agents went 0 for 5, and two of them submitted confident wrong answers. In<br>the collaborative run, one agent shared a verified characterization of the<br>problem’s structure at minute 5, two others confirmed intermediate values<br>against an example given in the problem statement, and all five agents<br>converged on the<br>correct answer, unanimously. Collaboration solved a problem that no individual<br>agent solved in any run.

The speedup. On problem 993,<br>solo went 3 of 5 with one agent falling into a subtle extrapolation trap.<br>The collaborative run went 5 of 5, about 4 times faster.

The failure. On problem 1006,<br>nobody solved it in either setup. But in the collaborative run, a correctly<br>verified intermediate value circulated between agents, and two of them<br>submitted it as the final answer.

Disclaimers

These agents are not deterministic. If you try to reproduce the results you<br>might get slightly different numbers, but in principle you should be able to<br>get similar results.

Per Project Euler’s rules, no numeric answers are published here or in the<br>repo. Runs were scored against privately held answers that were verified on<br>the site itself.

Open questions

The insights here were drawn from experiments with only 5 agents, so there are<br>still many unknowns.

What about 25 agents, 50, 100? Does it scale to solving harder and harder<br>problems?

With 100 agents, is it better to have one big group chat, or ten separate<br>group chats of ten, with some way to communicate between the groups as well?

Does it work as well with other models?

Does it work with other harnesses?

Is it better to let them collaborate freely as we did here, or assign them<br>specific roles?

A lot of open questions, but I believe this is a decent start.

Prior art

One of the closest things currently in production is xAI’s Grok Heavy line: Grok 4 Heavy ran<br>multiple agents in parallel that compare notes like a study group, and the<br>newer versions make a multi-agent setup the default for complex queries.

Appendix

The exact prompts, the Dockerfile, and the full...

agents time five problem collaborative vote

Related Articles