Why I built it
The hard part isn't getting an agent to write code. It's everything around it: checking every step yourself because nothing else will, relaying messages between agents, re-running things by hand, and finding out too late that a story was never buildable.
What shipped
I want to approve a piece of work, walk away, and come back to it merged, tested and explained. For the last few weeks I've been building agentic-delivery-team to get there: an open-source framework that runs a small team of AI agents on GitHub.
Repo: https://github.com/akhilvis-oss/agentic-delivery-team
As of 1 December, it has its first public release, v0.7.0. The version number reflects the internal iterations I ran on my own projects while building it in the open; this is the first release meant for anyone else to install. It's MIT-licensed and runs on macOS and Linux, including WSL2.
It is mostly about other people being able to run it safely:
• Two install paths: the review gate on its own, or the full lifecycle with a step-by-step walkthrough for the GitHub Apps, keys and background service.
• Linux support: protected key files and systemd units, alongside the macOS Keychain.
• Safer by default: only trusted authors can drive stories, hidden content in stories is refused, the product agent is locked down, and required tests run as a separate build user.
• An install checker that verifies the release files and fails only on real problems.
The rest of this post covers the design, what already runs, and what building it taught me.
The shape: three bands, two human touch points
- Shape the work. An idea becomes a story that can be built and checked.
- Build and verify. Each story runs its own verification loop, and a gate decides how it merges.
- When main breaks, and how it learns. Failures stop the line, and every confirmed cause becomes a rule.
A person comes in at two points: approving stories, and merging what's hard to undo. Everything between is agents and code. The rule under all of it: if code can check it, code does it; agents judge the rest.
1. Shape the work
Output: a story I've approved, already checked to make sense and to be buildable.
Most stops I've seen weren't coding failures. They were stories a builder couldn't finish: two criteria that contradicted each other, a file the agent wasn't allowed to change, a test that needed something the environment didn't have.
So the product agent does more than write the story. Each story has acceptance criteria that code can check, and writing it ends with a dry run:
• Who runs it: an independent agent that didn't write the story and never sees the conversation.
• What it gets: the story, the repository at a named commit, the rules, and a scratch copy with the pinned tool versions.
• What it does: it acts as the builder would. It checks every fact the story cites, finds every caller of what's changing, runs the baseline tests, and prototypes the change in the scratch copy to see what breaks. It also checks the environment: what passes here, and what only my machine can verify.
• What it reports: blockers, should-fix items and notes, each with evidence and a suggested fix.
On another project of mine it finds multiple issues per story, many of them blockers, for about 6 to 15 minutes of agent time. It saves at least an hour of iterations and manual intervention during the build. On this framework, the first full dry run caught a blocker that reading alone missed: the story didn't list a file that an existing test requires.
Then I approve, and the approval is bound to the story's exact text. Edit the story afterwards and the work stops until I approve again.
2. Build and verify
Output: tested, reviewed code on main. Safe changes merge themselves; critical ones wait for me.
Approved stories join a backlog. Urgent fixes can jump ahead. A planner orders the work by design rather than by approval order, and splits it into parallel lanes whose files never overlap. A fresh session checks that plan, because a wrong plan affects every story while a wrong build affects one.
Inside each lane runs a verification loop:
- Build. A coding agent builds the story in its own context.
- Tests and CI. Code decides whether it passes. An agent saying "the tests pass" doesn't count.
- Independent review. A reviewer in a fresh session, which never saw the builder's reasoning, judges the change against each criterion.
- Fix and re-verify. Only the failing story goes back, with the reason, the evidence and a scope line: fix only this. After three rounds, the problem is usually the plan, not the code.
When the builder has a question, it goes to product clarification: a product agent answers from the product docs. Only what the docs don't cover comes to me, and I answer and re-approve.
Results are joined by code, not agents: merging, ranking, removing duplicates and an end-to-end smoke test. None of those needs judgement, so none of them should cost tokens or add variance.
Then a quality gate decides by blast radius, not by the agent's confidence. Confidence is the one input the agent can influence. Work that's easy to undo, with every check green, merges by itself. Work that's hard to undo, such as the framework's own control code, money or data, waits for my merge. That isn't a high threshold: it's a lane that never opens by itself.
3. When main breaks: stop the line
Output: main stays working, and every stop says why.
Every merge to main is smoke-tested again, end to end. If main fails, the line stops: nothing new merges until it's green. The fix jumps the queue, so one bad merge can't spread through everything queued behind it.
GitHub is the record. Every step is a label, a record comment or a pull request, each agent acts through its own GitHub App, and each identity has only the permissions it needs. The rule I keep relearning is that the record is the truth: a status must never change without the record that explains it. This week a stop changed a story's label, then tried to assign the issue to its owner before posting the record. The owner was a bot, GitHub refused the assignment, and the story sat there blocked with no reason. Notifications now come after the record, and they're best-effort.
How it learns: this week's failures, and the rules they became
Output: new rules and tests, so the same mistake doesn't happen twice.
A system that gets faster but never smarter repeats the same mistakes. So every confirmed cause becomes a permanent rule: a check, a test or a constraint the next story is written against. Minor findings come back as new draft stories.
This week I built a live smoke test, which runs a tiny story through the real lifecycle with the real agent before a change ships. Running it found five real problems that unit tests had passed:
| What broke | Why the tests missed it | The rule now |
|---|---|---|
| Delivery asked GitHub for a URL with a trailing slash, which GitHub rejects | The replay test built its expected request the same way the code did | Recorded responses are served only for the exact request they were captured with |
| Two agent sessions shared one sign-in and invalidated each other's tokens | Every session worked fine on its own | Each agent gets its own sign-in, never the owner's |
| A stop changed the label but never posted its reason | Notification ran before the record and failed on a bot owner | The record comes first; notifications are best-effort |
| An approval was never recorded | A burst of label events made GitHub cancel the queued run that would record it | Approve once, after the guard is idle; end early if the record doesn't appear |
| A wait for GitHub's list of runs failed the whole test | The list lags behind while runs start, and the code treated that as fatal | A bad read means "check again", within a time limit |
Each row is a test now. None of them would have been found by reading the code, which is the case for live verification.
Agent-agnostic by design
Output: a team you can run with any coding agent, and keep running if a vendor goes away.
The framework doesn't depend on one AI vendor. The roles are fixed (product agent, builder, reviewer), but which agent fills each role is a setting.
- Each role is configured on its own. The builder and the reviewer can be different agents or models, and a stronger model can take over when a story gets stuck.
- The product agent can be any assistant. Its rules live in one plain file,
PRODUCT_AGENT.md, that you paste into whatever you use. - The rules every coding agent follows live in the repository (
AGENTS.md), not in one vendor's tool. - The record is GitHub, and it runs on your machine. Labels, records and pull requests hold the state, so switching agents doesn't lose history.
My test: if an AI vendor stopped tomorrow, would it keep running with another agent? It should, because nothing important lives with the vendor.
Today the builder and reviewer run on Codex, and that's the setup proven end to end. Claude Code as a builder is the next one being added and tested.
What runs today, and what's next
I'd rather be clear about this than have the diagram oversell it.
| Part of the flow | Status as of v0.7.0 (2 Dec 2026) |
|---|---|
| Stories with checkable criteria, the dry run, approval bound to the story's text | Done |
| Build, tests and CI, independent review, pull request with evidence | Done |
| Quality gate by blast radius; owner merges control-critical work | Done |
| Parallel builds across agent slots, reviewing each other's work | Done, through the opt-in agent pool (live-tested with two Codex slots) |
| Live smoke test; every review finding becomes a test | Done (smoke test is optional) |
| A short stand-up listing only what needs you | Done |
| Install for outside adopters: gate-only or full lifecycle, with an install checker that verifies release files | Done in v0.7.0 |
| macOS and Linux, including WSL2 (Keychain or protected key files, launchd or systemd) | Done in v0.7.0 |
| Safer defaults: trusted story authors only, hidden content refused, locked-down product agent, tests run as a separate build user | Done in v0.7.0 |
| Coding agent version pinned per install | Done in v0.7.0 |
| Requirement IDs in runner PRs, security housekeeping | Next (v0.7.1) |
| Setup in under an hour | Next (v0.8) |
| Runner-coordinated lanes and the planner that splits work by files | Planned |
| Merge queue, stop the line, learning loop, product clarification during the build | Designed, not built yet |
On setup: the review gate alone installs in about 30 minutes. The full lifecycle is early access and takes about 2 hours today; getting it under an hour is the goal for v0.8.
Five principles built into the framework
- Write the check before the work. A loop needs something that can fail while you're out of the room. "The output looks good" and "no errors were raised" aren't checks.
- Let code do what code can. Merging, ordering, de-duplicating and comparing have one right answer. Running them through a model adds cost, latency and variance.
- No change may edit its own judge. The gate's rules, protected tests and the reviewer's instructions come from the target branch, never from the change being reviewed.
- Give every agent its own identity and context. Separate GitHub Apps, separate sign-ins, fresh sessions for review. Shared context turns four reviewers into one opinion with three echoes.
- Put the human where it's expensive to be wrong. Approving the work and merging what's hard to undo. A person in the middle of the pipeline becomes its slowest step.
Try it
Start with the review gate: it needs no GitHub Apps, coding agent or background service, and shows how the framework decides what needs a human. Add the full lifecycle when you want stories built for you.
- Release: v0.7.0
- Repository: akhilvis-oss/agentic-delivery-team
- Install guide: INSTALL.md
If you try it, open an issue or start a discussion on the repo. I most want to hear where setup hurts.
Several ideas here sharpened while I read others' work. In particular: How the Claude Code team thinks about verification, and Loops and Graphs: how to stop babysitting agents, which put words to several things I'd already been building and added a couple I hadn't. Also pieces on software factories and harness design.



