From Evolutionary Algorithms to Multi-Agent Swarms
Researcher & serial builder. Creator of MerJS (Zig web framework), TurboAPI (7x faster FastAPI), and NanoBrew (fastest macOS package manager, 3ms installs).
2x exited founder.
ADAS (ICLR 2025) — Automated Design of Agentic Systems. Meta-agents that design better agents.
Omni-EPIC (ICLR 2025) — Open-ended AI generating increasingly complex tasks & environments in code.
Deeply embedded in the evolutionary algorithms & agentic AI space
sudo access to your codebaseThe key shift: from responding to doing
Populations adapt through mutation, crossover, and selection pressure over generations
Meta-agents that iteratively design better agents in code — outperforming hand-designed systems across coding, science, and math
Same principle: selection pressure drives optimization
1M context • Extended thinking • Tool use • Multi-turn reasoning
Sources: Anthropic, SWE-bench leaderboard, GPQA benchmark suite
Handles complex multi-file refactors autonomously. Reaches peak performance in 4 iterations where others can't match after 10.
Tool Search jumps accuracy from 79.5% to 88.1%. Works across files, terminals, browsers, APIs seamlessly.
MRCR v2: 76% vs Sonnet's 18.5%. Retrieval and reasoning across massive codebases without losing the thread.
Coordinate. Delegate. Summarize. Route information. Sound like a job description — or a prompt?
McKinsey: 57% of U.S. work hours are automatable with current AI
What if you could run 5 Opus-level agents in parallel?
A single agent works sequentially. Read file A, then B, then C. For a 50-file refactor, you're waiting forever.
A swarm decomposes the task, assigns pieces to specialized agents running simultaneously, then synthesizes one coherent result.
One person painting a house vs a coordinated crew finishing it in a day
"Find all security vulns and fix them"Opus as the brain. Sonnet as the hands. Haiku as the eyes.
Reads your prompt. Understands the full codebase via CodeGraph. Breaks the task into independent sub-tasks with dependencies.
Up to 100 parallel agents, each with a specialized role (finder, fixer, reviewer). Zig threads — real parallelism, not async.
Merges all worker outputs into one coherent result. Resolves conflicts. Generates a unified report or PR.
Architecture matters more than agent count — centralized orchestration contains error amplification to 4.4x vs 17.2x for naive parallelism
Search & locate
Read-only review
Writable edits
Deep exploration
System design
Decompose tasks
Combine outputs
Lightweight checks
One binary. Zero npm. Plugs into Claude Code, Codex, or Amp.
Evolutionary convergence, applied to code
Repeats up to 5 iterations until the reviewer finds zero remaining issues
Like biological selection: each cycle improves fitness until convergence
Creator of DevSwarm, MerJS, TurboAPI, NanoBrew & Codegraff
SIMD-accelerated CLI tools that replace Claude Code's built-in file, search, and edit tools. Written in Zig. Zero dependencies. $99/year — includes DevSwarm + CodeDB.
zigrepzigreadzigpatchzigcreatezigdiffzigmemozigparzigharnessmuonrycodedbcodegraff.com • If it ever gets open sourced — everyone gets refunded!
muonry's structural reads slash token cost vs raw file dumps
| Operation | Raw dump | muonry | Savings |
|---|---|---|---|
| ls dir | 84 | 131 | — |
| outline file | 6,826 | 191 | 97% |
| symbol read | 6,826 | 1,383 | 79% |
| search | 88 | 88 | 0% |
| edit response | 6,826 | 169 | 97% |
| TOTAL | 20,650 | 1,962 | 90% |
Typical code-editing workflow: ls → outline → symbol read → search → edit
Raw dump = cat entire file into context. muonry = structural reads (outline, symbol, patch-and-return).
DevSwarm in action — spawning a multi-agent swarm from Claude Code
This entire deck is a single .zig file, served by merjs at 115K req/s
Next.js-style framework in Zig. File-based routing, SSR, comptime HTML builder. 260KB binary. Zero node_modules.
0.39ms avg latency. <5ms cold start. Vs Next.js: ~2K req/s, ~77ms latency, ~300MB node_modules.
Questions? Let's talk agents, swarms, and Zig.