Writing / project management
Managing AI Coding Agents Like a Team
Coding agents are fast, confident, and forgetful. The old project-management basics — clear tickets, a definition of done, independent review, and limits on work in progress — are what make them useful.
Most advice about AI coding agents is about the agent itself: which model to use, how to write a prompt, which tool has the best context window.
But when I look at what actually goes wrong with agent work, it is rarely the model. It is the same stuff that goes wrong with human teams. Unclear tasks. No agreement on what “done” means. Nobody checking the work except the person who wrote it. Too many things in progress at the same time.
In other words, it is a project-management problem.
I wrote about why developers should know project management a while ago. Back then I was thinking about human teams. Now I spend a big part of my day directing coding agents, and those same basics matter even more.
Agents are a strange kind of team member
If you treat an agent like a new team member, it is a very unusual one:
- It is fast. It can write in minutes what would take a person an afternoon.
- It is confident. It will tell you the work is finished whether it is or not.
- It forgets. Every new session starts with nothing unless you give it context.
- It does not ask enough questions. A vague request gets a guess, not a clarification.
- It never pushes back on scope. Ask for a little more and it will happily do a lot more.
A human junior developer has some of these traits. An agent has all of them, all the time. That is why the management around it matters so much.
The good news: we already know how to manage this. Teams have spent decades building habits for unclear requirements, overconfident estimates, and unchecked work. We just have to apply them on purpose.
1. Write tickets, not wishes
“Fix the login page” is a wish. A human teammate might know what you mean because they sat in the meeting. The agent did not.
A useful ticket for an agent has the same parts as a good ticket for a person:
- Goal: what should be true after this task
- Scope: which files or parts of the system it may touch
- Non-goals: what it should leave alone
- Acceptance: how we will know it worked
Here is the difference in practice:
Wish:
Fix the login page.
Ticket:
Goal: Users with an expired session are sent to /login
instead of seeing a blank dashboard.
Scope: src/auth/session.ts and the dashboard route guard.
Non-goals: No changes to the login form or styling.
Acceptance: Expire the session cookie manually, reload
/dashboard, land on /login with a message.
The second version takes one minute longer to write. It saves you from reviewing a “fix” that also redesigned the login form, renamed three functions, and added a library you did not ask for.
The non-goals line is the one people skip, and for agents it is the most important. An agent does not get tired, so nothing stops it from “improving” things you did not want touched. Scope creep with humans is slow. With agents it happens in the same response.
2. Agree on a definition of done
In Scrum, the definition of done is the shared checklist that every piece of work must pass before anyone calls it finished. Code written is not done. Code written, tested, reviewed, and documented might be.
Agents need this written down even more than people do, because their default definition of done is “I produced output.”
My definition of done for agent work looks roughly like this:
- the narrowest relevant test or check was actually run, and I can see the output
- user-facing changes were checked in the real surface: a browser, the terminal, the app
- no unrelated files changed
- no placeholders,
TODOs, or “this can be added later” left behind - docs or changelog updated if behavior changed
The word that matters is actually. An agent saying “the tests should pass” is not the same as an agent running the tests. I want evidence in the transcript, not a summary of what probably happened.
I put this checklist in the agent’s standing instructions, so I do not have to repeat it in every task. That is the agent version of a team agreement on the wall.
3. Don’t let the author approve their own work
On a human team you would not let a developer review and merge their own pull request. Not because they are dishonest, but because the person who wrote the code has the same blind spots as the code.
Agents have exactly this problem. The Stack Overflow blog recently put it nicely: your coding agent shouldn’t grade its own homework. An agent that wrote a bug will often review that same bug and find it reasonable.
So separate the roles:
- The builder writes the change.
- The checker verifies it, ideally with a different tool, a different model, or a fresh session that only sees the result.
When I built Projectinator, this was one of the most important design decisions. The tester does not fix the developer’s code. It opens the app in a real browser and returns a pass or fail verdict. If it fails, the bug report goes back to the developer.
I saw the same thing when I ran the same prompt through six models. Code that looked fine in review broke as soon as a browser opened it. The browser was the independent reviewer.
You don’t need a full pipeline to do this. Even “start a new session, give it only the diff and the acceptance criteria, and ask it to find problems” is a big improvement over asking the original session whether it is done.
4. Limit work in progress
Kanban teams limit work in progress for a simple reason: starting things is easy, finishing them is hard, and too many half-finished things hide problems.
With agents, starting things is almost free. You can launch five agents on five tasks in a few seconds. That feels productive. Then you have five diffs to review, two of them touch the same file, and one of them quietly undid something another one did.
The bottleneck was never the typing. It is your review capacity. That is the real WIP limit.
What works for me:
- Run agents in parallel only on tasks that are truly independent: different files, no shared interface.
- Give each parallel task clear ownership of its files.
- If two tasks share a contract (an API shape, a type, a config format), define that contract first, then fan out.
- Never start more work than you can review today.
That last point is the one I break most often. Five agents is not five times the output if you can only properly review two of them.
5. Hold short standups — with the transcript
On human teams a standup answers three questions: what did you do, what are you doing next, and what is blocking you.
With agents I ask the same questions, but I don’t rely on the agent’s summary alone. I read what it actually did. Which files did it open? Which commands did it run? Did the test it mentions actually appear in the output?
Agent summaries are written to sound finished. The transcript shows whether it is.
This is also where blockers show up. An agent that is stuck rarely says “I’m stuck.” It tries a workaround, then another one, then it disables the failing test. If you only read the final message, you will miss that. A short look at the transcript is the agent version of noticing that a teammate has been quiet for two days.
6. Keep the backlog outside the agent
Agents forget. Every session starts fresh, and long sessions get compressed until early details are gone.
So the plan should not live inside the agent’s memory. It should live somewhere you own:
- a task list or issue tracker
- a roadmap file in the repo
- a short notes file per feature with decisions and open questions
When I start a new session I point the agent at that file. When a session ends, the important decisions go back into it. The agent is a worker on the project, not the place where the project is stored.
This is exactly how you would onboard a contractor who joins for one week. You would not explain everything verbally and hope they remember. You would give them the backlog and the decisions log.
7. Retrospectives turn mistakes into rules
The most useful thing I do is also the most boring. When an agent gets something wrong, I don’t just fix the result. I write a rule so the next session doesn’t repeat it.
Those rules live in an AGENTS.md file in the repo. Rules like these:
Never introduce a package solely to avoid writing a small amount
of straightforward code.
Do not start work from a later milestone before the current
milestone's acceptance criteria pass.
Do not silently resolve conflicts between instructions. Record the
conflict and choose the safest reversible option.
Each one is a project-management decision written for an agent: limit dependencies, protect the milestone order, and make conflicts visible instead of letting the agent quietly pick a side.
That is a retrospective. “What went wrong, and what do we change so it doesn’t happen again?” The output is just a line in the agent’s standing instructions instead of a sticky note.
Over time that file becomes the team’s working agreement. It is short, and every line has a reason behind it. If I can’t remember why a rule exists, I delete it.
What stays your job
Even with all of this, some things do not move to the agents:
- Deciding what to build. Agents are good at the “how.” The “what” and “why” are still yours.
- Accepting risk. Deleting data, changing auth, touching production — a person signs off.
- Owning the result. If it ships broken, “the agent did it” is not an answer anyone will accept.
I see a lot of vendor writing right now about AI agents that will manage your projects. I am skeptical. In my experience, agents don’t replace the project manager. They make the project manager’s job more important, because now the team is very fast and needs very clear direction.
The short version
If you want better results from coding agents, try managing them like a team before you switch models:
- Write tickets with goals, scope, non-goals, and acceptance criteria.
- Agree on a definition of done that requires evidence.
- Separate the builder from the checker.
- Limit work in progress to what you can actually review.
- Read the transcript, not just the summary.
- Keep the backlog and decisions outside the agent.
- Turn repeated mistakes into written rules.
None of this is new. That’s the point. The tools changed. The basics of getting work done well did not.
I hope to see you next time. Steve out. Tschau!
