All projects

Parallel Fix Swarm

0 comments

What it does

Parallel Fix Swarm is a zero-paid-API coding-agent CLI that sends each bug-fixing task to two independent Codex workers: a workspace-writing Fixer and a read-only Reviewer/Adversary. After both finish, a deterministic arbiter verifies the patch, aggregates results, and records timing/evidence. The included demo reproduces a deterministic bug, fixes it, and proves the result with tests.

How the agents run concurrently

Both agents are createAgent participants on the same @mozaik-ai/core runtime. A single swarm.task.requested event fans out to two situation handlers; each launches an independent Codex process immediately, so their execution intervals overlap. Shared RuntimeState collects terminal outcomes, and the deterministic arbiter fires only after both worker results exist. The real demo measured 1.74x speedup (45.0s Fixer + 60.1s Reviewer vs 60.5s wall clock), overlap=true, and deterministic tests 2/2 PASS.

Comments

No comments yet.

Sign in to like and comment

Newsletter

For developers who want to learn how to build self-organizing agents.

Join our online hackathon