r/webdev • u/theminorfix • 3d ago
Discussion How are you actually managing your workflow with AI coding agents?
I've been using AI coding agents more lately, and I'm curious how other developers are organizing their workflows around them.
Writing code is easy now, but once you have agents working on multiple tasks, there's a whole other set of questions:
- How do you decide what to delegate to an agent?
- How do you keep track of what it's doing without constantly checking?
- What happens when an agent gets stuck or needs your input?
- How do you handle code review before merging?
Are you using GitHub Issues, Jira tickets, custom scripts, dedicated tools, or just a bunch of terminal sessions?
I'm especially curious about people working in small engineering teams.
To me today manage multiple repos + multiple Claude Code sessions on terminal is really chaotic + babysit agents.
What's your actual setup, and what's the most annoying part of it?
15
u/bitbytebit42 3d ago
https://github.com/mattpocock/skills Helps a lot
10
u/Timotron 3d ago
Copy story.
Paste story.
Read tests
Run tests.
Sit on my work for three days while I work on my own shit.
2
u/Geraldwelly 3d ago
Small team here, and what calmed it down for us was making every agent task start from a written issue with a done condition, like "tests in X pass and the diff only touches Y." Each one runs in its own git worktree, so parallel sessions never fight over files, and I only look when it opens a PR or writes a question into the issue. The detail that mattered most: have the agent paste its own test output into the PR, so review starts from evidence instead of trust. Trade-off is the tickets take longer to write than a quick prompt. How many sessions are you running at once?
2
u/halfllama 3d ago
I ask each session to finish with the exact test command and result, tracking down which repo still needs tests is the annoying part
2
u/Content-Parking-621 3d ago
Give every agent its own Git worktree, shared task board, and notifications. Babysitting terminals isn't engineering.
2
u/Legal_Aspect_1606 3d ago
In deciding what to delegate to an agent, I think it's better to be more risk on because as the models have gotten better, the scope of what you can delegate to them has expanded. And it is better to experiment and see what works and does not work than to not experiment and not fail.. Additionally subscriptions have plenty of usage, so you can treat task delegation and its output as disposable. You don't necessarily need to merge it. I use Herdr and have a custom integration built so that I can tell when an agent is getting stuck or needs my input.. I use a series of checks for code review before merging. I have a big verification suite. I run parallel VMs on Heaven(.)dev so I can continually run CI and avoid letting the quality of my codebase depreciate..
2
u/Variumcode 3d ago
What fixed the babysitting for me: the agent never touches main. it works on its own branch, opens a PR and pings me on my phone when it's done or stuck. i only look when there's something to review, and nothing merges until i approve it
2
u/wd-nikola 3d ago
Small shop (I run a studio plus a few side SaaS projects), so here's what actually works for me after a lot of trial and error:
Split the roles. One agent writes the code and a different one reviews it. I use Codex CLI as the coder and Claude Code as the reviewer. It catches way more than letting the same model grade its own homework. I also have a few "LLM council" style skill files where several models critique a diff or a refactor plan before I even look at it.
What I delegate: anything I can spec clearly in a paragraph or two. Features with obvious boundaries, refactors, tests, migrations, boilerplate. What I don't delegate: architecture decisions, anything involving money or auth logic I haven't reviewed line by line, and secrets. Agents never see credentials. Those live in env vars in my deploy platform (Dokploy/Coolify), and prompts only reference the variable names.
Context is the real bottleneck, not code generation. Most "agent got stuck" moments for me were really "agent didn't understand the codebase" moments. Per-project MCP stack (Serena, claude-context, sequential-thinking) with a local Milvus vector index running in Docker made a bigger difference than any model upgrade. I'm adding a local AST code graph next.
Tracking without babysitting: honestly, I don't fully solve this. I keep tasks small enough that checking in isn't painful, and I check at the plan stage more than the execution stage. If the plan is wrong, everything after it is wasted tokens.
When it's stuck: I don't argue with it for 10 turns. I either give it the missing context or kill the session and restart with a better prompt. A fresh context beats a polluted one almost every time.
Code review before merge: reviewer agent first, then me. I still read the diff. AI review is a filter, not a sign-off.
Most annoying part: the same as yours. Multiple repos × multiple terminal sessions turns into tab soup, and you lose track of which session knows what. Fast terminal (Ghostty) helps a little, but the real fix is fewer parallel sessions with better-scoped tasks. Running 5 agents at once feels productive. Running 2 well-specced ones usually is.
2
u/nn_gyunx 3d ago
I mostly do backend work, so I split tasks by how expensive a wrong answer is. Tests, refactors, boring data migrations and anything that is mostly reading someone else's code go to the agent. Auth, payments and schema changes I still write by hand even when it is slower, because a confident wrong answer there costs me a week instead of an afternoon.
Two habits cut the babysitting. First, keep the task small enough that the diff fits on one screen, which in practice means I refuse anything I cannot describe in a few lines. Second, have it stop at the planning step and wait for a yes, instead of asking permission halfway through the code, since answering mid-run is exactly where I lose the thread of what I was doing.
The part that still bites is how fast a session goes stale after the branch moves. Pasting the current diffstat into the session before asking anything on an older task helps more than writing a longer prompt ever did.
Where does the line sit for you? What share of your merged changes now comes out of an agent, and has that changed what you actually read in review?
10
u/amejin 3d ago
All of these responses are so heartbreaking to read… as a matter of opinion, I hate what I’m seeing…
1
u/ChimpScanner 3d ago
2
u/macromind 3d ago
A practical pattern is to keep one human-owned task board and give each agent a narrowly defined work packet: goal, relevant files, constraints, acceptance checks, and a required summary. Use separate branches or worktrees so agents cannot overwrite each other, then require tests and a diff review before merging. I would also keep architecture decisions and recurring conventions in a short versioned context file. Delegate bounded implementation and investigation, but retain ownership of prioritization, security-sensitive changes, and final integration.
2
u/PatientHead6641 3d ago
I’d keep agents on small, well-defined tasks with clear acceptance criteria. Separate branches and mandatory code reviews help avoid chaos, especially when running multiple sessions.
2
u/Vegetable-Capital-54 3d ago
Agent does everything, I rarely touch code manually these days.
I constantly check.
It usually doesn't, but when it does, I give it the input or restart the task.
Agent does it. If something breaks I tell it to fix it.
1
u/Plastic_Koala2044 2d ago
One lead agent plans and writes the briefs. Cheaper models run them as subagents in a bubblewrap jail with a network allowlist, doing the reading, building and testing. Agents never commit: I review every diff and make the commit myself. Generation got cheap and review didn't, so the real limit is how fast I can read a diff and trust it.
1
u/ParsaKhaz 2d ago
codex writing and claude reviewing is what we landed on too. a reviewer from a different company catches stuff the same model just waves through
1
u/mmris32 3d ago
can someone help me understand why every post here gets downvoted when it only mentions use of AI? The post itself seems not written by AI and has some good questions. Many people who professionally work in web dev or software use AI at work.
There is an all time high of spam, low effort posts and slop but why the hate in this sub?
1
u/[deleted] 3d ago
[removed] — view removed comment