How Kiro Crew helped our software factory
A crew of agents built a whole app for me: dozens of issues, each one merged. None of them merged because an agent said it was done. That turned out to be the whole trick.
This post is how I got there with Kiro Crew: the stages I went through, the idea that made a crew of agents trustworthy, and what broke on the way.
Watch the video
The same story in under four minutes, with chapters.
What Kiro Crew is
Kiro Crew is an open source workspace for coding agents (Apache 2.0). It runs on your own machine, or on one you control, and you work with it from a desktop app, a web dashboard or the command line.
The difference from a chat with one agent: it keeps working after you close the chat. Sessions, schedules and task checkpoints survive restarts, corrections become lessons it keeps, long tasks run on their own, and work can be split across many agents. That last part is what I needed: hand over a goal and a list of issues, and let a crew build them while I am away.
Five ways of working
Looking back, my work with agents went through five ways of working.
- Pair work. Me and one coding agent. I read each change and typed the next instruction, so every step waited on me.
- Parallel agents. Several agents at once. Each got its own git worktree, so their changes stayed apart.
- Written memory. Every correction went into an
AGENTS.mdand a gotchas file, so I only had to make it once. - A factory line. The software factory: a requirement goes in, and fixed steps build, check and deploy it.
- A goal and a crew. Kiro Crew: I state the goal, a conductor splits it into issues, workers build them, and checks decide what is finished.
Each step made me faster. Only the last one took me mostly out of the loop, and only because of the checks.
The factory
The factory takes an infrastructure requirement in plain English. A Planner, a Developer and a QA role loop on AWS Step Functions: the Developer writes AWS CDK code, it is synthesized in an isolated sandbox and deployed to a sandbox account, and QA probes the running system. If QA fails, the loop goes again.
One rule shapes all of it: QA checks a running system with checks the building agents cannot change. The checks are frozen and hashed before any agent starts. No builder can soften them to get a pass.
I built the factory itself in the first three ways: one coding agent, one small unit of work at a time, and I verified each unit myself before I called it done. It worked, but it was serial, and an agent's "done" was only ever a claim I had to check.
One conductor, many workers
Kiro Crew is open source under Apache 2.0. In my setup a conductor takes the goal and the issue list and hands each issue to a worker, four at a time, each worker in its own worktree and branch. The conductor plans and dispatches; the workers write the code.
That alone does not make the result trustworthy. Four workers can produce four confident wrong answers faster than one.
Only the queue closes an item
So a worker's "done" closes nothing. A merge queue that I added does. It is not part of Kiro Crew; it is a plain script, with no model in it, running outside the crew where no agent can change it. A worker marks its branch ready; the queue judges it; and only the queue's merged marker closes the item. The conductor watches for that marker, not for the worker's report.
The queue runs its checks from cheap to expensive, and stops at the first "no":
- Scope: the branch carries only its own issue's work.
- Frozen files: the hashes of the frozen tests and contracts still match. A changed file is TAMPERED.
- The gate: the frozen tests pass.
- Proof the tests ran: every frozen test actually ran. A skipped test is not a pass.
- Ratchets and rules: counts of known bad patterns may only go down, and the factory's own template rules hold.
- Live, when it is configured: for changes to infrastructure or handlers, the factory deploys the commit and runs its frozen live checks.
- Risk: low-risk issues merge on a green chain. High-risk issues wait for an approval that names the exact commit.
That last step is where I expected a person. In practice a person made the build stall on every high-risk item. So I wrote the approval rule down (green chain, the exact commit, a design note for a new concept, no surviving serious finding from review) and delegated it to an approver agent that applies the rule. The rule is mine; most signatures were the agent's.
Prove the test ran
A green gate can lie. A test that is skipped, deselected or renamed does not fail; it just does not run. When I tried 21 different ways to sneak past my old gate, every one of them got through. The queue now compares what ran with what the frozen tests expect, and every one of those tricks fails.
The same goes for models. A model reading the evidence is not a verifier. On a set of small apps with known faults, the frozen checks passed none of the broken ones; a model acting as judge, reading what QA had probed, passed most of them.
Live is where the rest hides
The big test was a learning app with courses, quizzes and an AI tutor. The crew built and merged every issue. The offline checks were green.
Then the factory deployed the whole app live, several times, and found defects every offline gate had missed: some in the app, more in the factory itself. Several were permission shapes that only fail on a real call. A quick demo after that found more bugs within minutes. Those became a second round of issues, which the crew built and merged without me. And the live check still caught the app's AI calls failing, on a permission no frozen test could see. Some AI checks were never verified live at all; that is the next gap.
In this trial the live check ran on the whole app, not on every merge. A live check before the merge worked once before, on a single infrastructure change. Doing it on every change is the next step.
What broke on the way
- My laptop was too small. The first crew run stalled before it finished a single task. I moved the crew to a cloud dev machine.
- The conductor needs a chat, not a timer. Started from a timer, it could not write its task list and nothing was ever dispatched. Started from the dashboard chat, it worked.
- Empty branches got judged. The queue judged brand-new branches with no work on them and failed them. Now it skips a branch with no new commit.
- Someone still has to watch. My supervising agent checked in every ten minutes, and between us we still installed test updates, started follow-ups when a frozen test was wrong, nudged an idle conductor, and fixed the factory when the live checks found its bugs.
What I'd tell you
- Treat "done" as a claim. Let something an agent cannot change decide.
- Order the checks by cost. Put the fast, certain checks before the slow ones, and the approval at the end.
- Never let a worker fix the verifier. A conductor once sent a worker to fix the queue's settings. I stopped it and wrote the rule into the goal.
- Your tests are the ceiling. The crew builds exactly what the frozen tests ask for, including the tests that are wrong.
- When the same kind of bug comes back twice, change the design. One permission check failed review three times in three new ways; a fourth patch would not have held.
- Start with one check you trust. You do not need a crew for that, and every later step builds on it.
Opinions are my own.