Dui — Product development with agents
An agentic system for building products, from research to delivery
Harness, skills, models and autonomous agents, with one person who decides. I first designed it as Agentic Loop and optimized it into Dui.
- Role
- Designer and author
- Platform
- Claude Code
Everyone used AI their own way
The team was already starting to use AI, in design and in code, but each person on their own and with their own skills, some good and some not so good. How good the result was depended on who did it: some tested and reviewed, others did not. The product moved faster, but that way of working also brought performance problems and bugs.
We thought about how to turn what the team was already doing into something shared: the same ways of working, the same skills and tools, one harness. That is where the method came from. Decisions, open questions and criteria are written down, so the whole team works from the same knowledge.
How it is built
Dui runs on Claude Code. A hook brings the agent up to date when it opens, a skill picks the path for each request, and a script validates every proposal before it reaches me.
01 · Who decides
One person, in the chat
They answer “approve”, “adjust” or “reject”, with a reason. That answer is the signature.
02 · The harness
Claude Code, with hooks and a skill
When a session opens, a hook runs the core and tells the agent who it is talking to and where the project stands. The skill picks the lane for each request.
03 · The agents
Each with a role, kept apart
Whoever builds does not review or measure their own work. The critic works in another session, without seeing the reasoning. Whoever measures did not build what they measure.
04 · The core
A script that validates
It records each proposal with a fingerprint of every file. If anything changes afterwards, it can no longer be approved: what gets approved is what was seen.
05 · The data
Everything in git, as data
Every proposal, every judgment, every source with its level of evidence and every rule of judgment. From the pain to the bet, everything can be traced.
The harness
Dui lives inside Claude Code. When a session opens, a hook runs the core, which tells the agent who it is talking to, whether the project is whole and what is waiting for an answer. The repository’s rules live in AGENTS.md, and any agent that comes in reads them.
The skills
One skill, dui, turns each request into a path: direct, short or full, depending on what a mistake would cost. A piece of text is changed and looked at. A delivery goes through a proposal, a critic and a signature.
The models
I work with Claude models. The same model plays different roles, and what keeps the quality is not the model: it is that each role does not see what it should not.
Autonomous agents
- The builder does the whole job between one signature and the next.
- The critic reviews it in another session, without seeing its reasoning.
- The measurer did not build what it measures, and does not know what is expected.
- The successor opens the project with no context and says what it would do. If it cannot, something is missing from what is written.
What it achieves
- Faster: the agents do each step in full, and the person who decides only judges it.
- More consistent: judgment adds up. Every adjustment leaves its reason, and the agents read it before proposing.
- Better experience and accessibility: every delivery is measured against a standard, on the phone and on desktop.
- The value of each feature, measured: a bet with a number and a date, and a verdict.
- Traceability of everything: from the pain to the bet, in git.
Where it comes from
I first designed it as Agentic Loop, and later a colleague worked on it with me. Dui optimizes it.
I treated it like any other product. I used it, saw where it got heavy, and rebuilt it.
I use it in my products
This site is the first project built entirely with Dui. The same ideas, with Agentic Loop, come from my work on digital products.
The agents do the whole job. The decision is still mine.