· 6 min read
How I build with an AI agent
Agentic engineering · Process · AI agents
I've shipped five products this way, and I didn't write the code for any of them. This note is about the part that is mine: how an idea becomes a shipped product, what I do first, and why.
The tools are interchangeable. I use an AI assistant for the brainstorm and Claude Code for the build, but the steps work with any assistant and any coding agent.
The loop
Every project follows the same steps, from idea to live. Click through them.
Who: Me, with an AI assistant
About half an hour arguing the idea out until the features, the rules, the architecture and the stack are all settled.
Why: It's the cheapest place to be wrong. Changing my mind in a conversation costs nothing; changing it in a half-built app does.
Why the brief comes first
Before the coding agent sees a project, I spend about half an hour in a conversation with an AI assistant, arguing the idea out until the features, the rules, the architecture and the stack are all settled. Then I ask the assistant to write all of that up as an implementation brief for the agent.
The brief is a full specification, not a short summary. Step 2 of the loop above lists what goes into one.
A brief is cheap to change, and a half-built app is not. It also means the agent starts with nearly everything it needs, so the first conversation with it is about building, not about guessing what I want.
The plan is a draft
Once the build starts, the brief stops being a script. We try something and see whether it works. If it does, we move on. If it doesn't, we change it, redirect it or fix it. Along the way, features get added, reshaped or dropped, and whole phases of the plan get cut when it turns out they aren't needed.
In every project the finished product differs from the brief. That is the process working: a plan only meets reality once something is running.
How I decide to keep a change
Every change gets the same treatment. I run it, test it, and see how it behaves inside the project. Then I decide whether to keep it or send it back. The questions I ask:
- Does it work? On the screen, and in the backend behind it.
- Is it useful? Do I really need it, or did it just sound good?
- What does it touch? Would it affect other features?
- How complicated is it? Will it make the rest of the implementation harder?
- Is it a risk? Could the feature open a security hole or expose data?
If the answers are good, it's approved. If not, I send it back with what's wrong, or I drop the feature. Dropping a feature at this point is a normal outcome, not a failure.
Rules the agent follows
The brief carries a set of rules for the agent, and each project keeps them in a rules file that the agent reads at the start of every session. They cover things like checking that an API exists before using it, never presenting a guess as a result, and running the checks before every commit.
I write them down because an agent starts fresh each session, and a rule in a file doesn't forget.
Turn the important rules into checks
A rule you only intend is a rule you will eventually break. Where it matters, such as a privacy rule or a size limit, I ask for a test or a CI check that fails when the rule is broken.
What I decide and what I don't
I decide what gets built: the idea, which features are in and which are cut. I decide when something isn't good enough, because I'm the one using it. I redirect when the work heads somewhere I don't want, and I call time on parts of the plan that no longer earn their place.
I don't write the code. The agent builds from the brief, writes the tests and the documentation, and fixes what we find along the way.
Where it breaks
- The brief is written by an AI. A confident wrong idea can survive the brainstorm, and an agent will build it faithfully.
- Automation is uneven. Some projects run their checks in CI. Others only run them locally before each commit.
- Manual testing doesn't scale. Anything that needs real hardware or a real device is checked by hand against written checklists.
- Docs drift. When I audited the projects, every one had a document that had fallen behind the code.
- Security isn't independently audited. I ask for established libraries and a written threat model, but I don't claim an outside review.
That's the method: settle the idea on paper, hand over a complete brief, build in a loop that is allowed to change the plan, and don't call it finished until it's live and in use. The agent writes the code. My work is deciding what's worth building and checking that it works where it's used.