Personal project
A spec-driven multi-agent engineering pipeline
The way I work, turned into tooling: a Claude Code plugin with 9 role-scoped agents and 7 human approval gates, then a model-agnostic version that runs in five AI coding tools or on any model. It delivered a live client website in 3 days.
- Role
- Designer and builder
- When
- 2026
- Where
- Personal tooling: a Claude Code plugin, then a model-agnostic engine
- Stack
- Claude Code
- Python
- Multi-agent
- Spec-driven development
9 agents7 human gates, any model
Context
At work I deliver every change the same way: spec, approved design, implementation, verification, updated spec. It works, but it lives in my head and my habits.
I wanted the same discipline to hold when AI agents do most of the typing, and to hold on a bigger product than one module.
Problem
One general-purpose AI assistant writing a whole product drifts. It makes decisions nobody approved, edits files outside its job, and produces tests that don't map back to what was asked for.
The design
I split the work into 9 role-scoped agents: manager, change review, architecture, data, API, frontend, infra, security and QA. Each one owns a stage and writes only its own artefacts.
Between the stages sit 7 human approval gates. No stage moves on without a person approving it.
There are three tracks, so the process fits the change: a full feature, a light change, or a spike to explore an unknown first.
Keeping it honest
A write guard limits each agent to its own files, so the API agent can't quietly change the data model. An automated traceability check confirms that every acceptance criterion has a test before anything is released.
Version 2: any tool, any model
The first version lived inside one tool. For the second, I moved the process out of the model entirely. A small deterministic engine, written in Python's standard library only, decides what happens next: which stage runs, which gate is open, what goes back for rework. The models do the creative work, and the process is identical whichever model does it. Because the state lives on disk, a run survives a lost context and simply resumes.
The agent instructions are plain Markdown and TOML, rendered for Claude Code, Gemini CLI, Cursor, GitHub Copilot and Codex. A standalone runner can also drive the whole pipeline on any model, chosen per agent: a strong model for design, a cheaper one for routine work, or a local one. A worker agent splits large requests into small tasks, and a review agent checks the finished work before sign-off.
Result
It's in active use. With it I delivered the Kalika Events website and admin panel, a live client product, in 3 days: 176 acceptance criteria, each traced to a test, released through 4 tickets. It also built a SaaS product's foundation, covering architecture, frontend, backend, tests and infrastructure, in about two weeks.
What I learned
AI drafts, I decide, and the gates are where that line lives. Writing my own way of working down as rules a tool must follow also made me much clearer about why each step exists.
Put the process in a deterministic engine, not in a model's memory. Then you can swap the model without changing how the work is done.