
Categories
Engineering
Most of my code these days starts with a conversation with an agent, usually Claude Code or Codex. I run them all from T3 Code, which keeps every session in one place, so it’s easy to have a few going side by side.
This is my attempt at writing down how I actually work with them. None of it is particularly clever. It’s mostly a set of habits I’ve picked up from getting things wrong, and a handful of rules I now give every agent before it touches anything.

Plans live in one place
Before anything non-trivial gets built, there’s a plan, written up as a proper document: what’s changing, why, what’s deliberately out of scope, and how I’ll know it worked.
All of those plans live in a single plans folder on my machine, grouped by project and indexed in a README, and it’s its own git repo. They never go inside the product repo. That keeps the codebase clean, and it means any agent (or me, three weeks later) can pick up a piece of work by reading one file rather than scrolling back through a chat.
I also ask for plans to read like a short RFC: the answer first, then the detail, and a diagram where a diagram is clearer than three paragraphs. If I can’t follow it quickly, neither will the next person.
The smallest change that works
The correction I give agents most often is some version of “that’s too much”. Ask for a small fix and you can easily get back a new abstraction, a config option nobody asked for and a refactor of three neighbouring files.
So the rule is simple: do the narrowest thing that solves the problem. If I say “just the backend side” or “no UI”, the agent stays inside that line, and anything in the diff that isn’t needed gets deleted.
Small pull requests, in order
Big changes get split into a stack of small pull requests that each make sense on their own. It’s the same idea I wrote about in my background job post, just applied to everything. Small PRs are easier to review, easier to revert, and agents are much better at getting a small, well-scoped change right than a big one.

During longer pieces of work I commit often, in small slices, so if something goes sideways I can roll back one step rather than an afternoon.
Prove it, don’t guess
Agents are very good at sounding confident. So I ask for evidence over vibes: trace the actual code path before proposing a fix, read the current docs rather than answering from memory, and run the thing before saying it works.
I also try to be clear about what’s been observed versus what’s been inferred. “The tests pass locally” and “CI is green” are different statements, and the second one is the one that counts.
The same goes for automated review comments. I treat them as suggestions to check against the real code. If a bot flags something that isn’t actually a problem, it gets a short reply explaining why, and the code stays as it is.
Read-only until I say otherwise
Agents can do a lot of things outside my laptop: comment on pull requests, push branches, update docs, post in Slack. By default they don’t. Reviews get written up locally first, and I read the whole set of comments before anything gets posted.
Once I say go, they do exactly what I agreed to and nothing more.
Many agents for the big stuff
For small, mechanical jobs, like checking the state of a PR or applying a change I’ve already approved, I hand things to a cheaper, faster model. The judgement calls stay with the main agent.
For big reviews and audits it goes the other way. I’ll run several agents in parallel, each looking at one part of the problem, and then have another pass try to pick holes in what they found. One agent reviewing its own work tends to agree with itself. A few independent ones, plus one whose job is to disagree, catch a lot more.

Writing like a person
The last habit is about words rather than code. PR descriptions lead with why, not what (the diff already shows the what), and anything I publish gets checked for the tell-tale signs of AI writing before it goes out. I even have a small skill for it.
Most of it is the same discipline you’d want from any good engineer: understand the problem, make a small change and prove it works. The agents just let me do a lot more of it.
