ᛉzerwiz

How one person runs a fleet of AI agents

I build software with many AI agents at once. The shape that keeps it from chaos: one counsellor, isolated workers, proof, and a person who decides.

Most people meet AI coding agents one at a time: you open a terminal, ask for a change, read what it wrote, and ask again. That works. But sooner or later you notice that most of your day is spent waiting — for one agent, on one task, in one folder.

So you open a second agent. Then a third. And within an hour two of them have edited the same file, one has undone the other’s work, and you no longer know which change came from where.

I run my own work with many agents at once, every day. This post is the shape that makes that possible. It is the shape behind Ymir, the open-source home for AI agents I build, but you can copy the ideas with any coding agent.

One counsellor, many workers

The first rule is that not every agent does the same job.

One agent — I call it the counsellor — stays with me. It reads the plan, talks the work through with me, splits it into errands, and sends those errands out. It does not build the big things itself. Its job is to keep the whole picture.

The other agents are workers. Each one gets one errand, does it, and reports back. A worker does not wander off into other work, and it does not decide what happens to its result.

This split matters more than any tool. A single agent asked to plan, build, review and merge will happily do all four badly. Two roles with a clear line between them do each part well.

Every worker gets its own room

The second rule is isolation. Two agents in the same folder will collide. So each worker gets its own copy of the code to work in.

Git already has exactly the right tool for this: the worktree. A worktree is a second (or tenth) checkout of the same repository, on its own branch, in its own folder:

git worktree add -b worker/blog-pages ../site-blog-pages origin/main

The worker builds there. Nothing it does touches my main checkout, or any other worker’s. When it is done, its whole contribution is one branch — easy to read, easy to throw away.

For work I do not fully trust — code from the internet, a new tool, a skill that was just written — the worker also runs in a sandbox: no access to my secrets, no network unless it is given one, and limits on time and memory. If it goes wrong, it goes wrong in a box.

A brief, not a chat

A worker cannot ask me questions all day, so the errand has to stand on its own. A good brief says:

  • what to build, and where;
  • what it must not touch;
  • what “done” means — in a form that can be checked.

The last line is the one people skip, and it is the one that matters. “Make the blog work” is a wish. “The blog index lists every published post, the build passes, and no page scrolls sideways at 360 pixels” is something a worker can prove.

Evidence, or it is not done

Agents are optimistic. A worker will tell you it is finished when it has written the code, not when the code works.

So in my setup a worker cannot simply say “done”. Its report must carry evidence: the commands that prove each claim, which are run again when the report comes in. If there is no evidence, or the commands fail, the errand is marked unproven and comes back to me as unfinished — not as a success I have to discover was false.

This one rule has saved me more time than any model upgrade.

Pull requests are the gate

Every change leaves a worker as a pull request. Never a direct push to the main branch, and never a merge by the agent itself.

That gives me one place to look at every change, with the checks run on it. AI reviewers can read it first and point at problems. But the merge is mine. The agents do the work; a person decides what goes live.

When several workers are sent out together, their branches are gathered into one pull request, so the checks run once on the combined change instead of five times on five pieces that only make sense together.

Memory that stays

The last piece is memory. A fresh agent knows nothing about what happened yesterday. So before a worker starts, it is given what the house remembers about this kind of task — past mistakes, decisions, the way things are done here. After it finishes, anything worth keeping is written back.

The memory never overwrites itself. A correction is a new entry that points at the old one, so I can always see what we believed and when.

What it feels like

The result is less like using a tool and more like running a small workshop. I spend my time on the plan and on the reviews — the two places where a person adds the most. The building happens in parallel, in rooms that cannot collide, and every piece comes back with its proof.

It is not magic, and it does not remove the need to read what the agents wrote. But one person can now carry work that used to need a team.

If you want to try it, Ymir is open source and installs into Claude Code, Codex, pi, OpenCode and Cursor. And if you want to learn to build this yourself, it is the first course I plan to open.

All postsTalk about it on Discord