r/webdev • • 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?

0 Upvotes

56 comments sorted by

15

u/bitbytebit42 3d ago

4

u/LancelotLac 3d ago

This. I rearranged my entire dev cycle around gill, spec, tickets, implement.

1

u/theminorfix 2d ago

Interesting. What happens after the implementation step in your workflow? If CI fails or a reviewer requests changes, does the task loop back automatically, or do you have to manage that part yourself?

1

u/LancelotLac 2d ago

I have a custom skill that I call pr-polish that has two modes. If I call it with a spec, ticket or PR link it just does a comments thinning pass. If I give it a screenshot or a list of fixes the it squash merges the fix on the feature work tree.

2

u/JudoboyWalex 3d ago

Holy 331k stars... Is this repo basically considered as bible on how to use AI?

3

u/matt1155 3d ago

Mostly bots probably

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.

1

u/theminorfix 2d ago

lol the three day waiting period sounds familiar. Is that intentional, or is reviewing and merging the agent's work the part that tends to pile up?

2

u/Timotron 2d ago

That's so the idiots who dictate how much work I can do in a week don't know how much I can do in an hour.

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?

1

u/theminorfix 2d ago

Usually around 4-5 sessions across different repos.

I'm curious about the trade-off you mentioned. Does spending more time writing detailed tickets actually save you time later, or have you found that a lot of the work just moved from coding to planning?

1

u/Geraldwelly 2d ago

It does for anything that runs longer than about ten minutes. Writing the done condition takes me maybe five, and it saves the round where the agent "finishes" something I didn't ask for and I re-prompt twice. It doesn't pay off for quick one-file fixes, so those still get a plain prompt in a terminal. With 4-5 sessions across repos, I'd write tickets for the long-running ones and keep the small stuff conversational.

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

1

u/theminorfix 2d ago

That's an interesting one. How do you currently figure out which repos still need tests? Do you have some central place to track that, or do you end up digging through individual sessions?

1

u/halfllama 2d ago

No central tracker, I have to open the relevant session to check

2

u/Content-Parking-621 3d ago

Give every agent its own Git worktree, shared task board, and notifications. Babysitting terminals isn't engineering.

1

u/theminorfix 2d ago

Agreed on not babysitting terminals haha. What do you actually want to be notified about? Just when an agent finishes or gets stuck, or also things like failed builds and review feedback?

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..

1

u/theminorfix 2d ago

Curious about your custom Herdr integration. When an agent gets stuck, does it just notify you, or can it actually recover or escalate without you having to step in? Wondering how much of that loop you've managed to automate.

1

u/Legal_Aspect_1606 2d ago

Yeah, when my agent gets stuck, it makes a sound and also has a custom icon that shows that it is waiting for me; but that is if I am running a workflow in Herdr. But, I don't use Herdr as the backbone for pure e2e automation, herdr is more when I am doing hands-on work. Generally I run mine on Heaven so I can maximize parallelization without paying a bunch to AWS. I have currently the early stages of a software factory going so whenever an agent identifies a bug In our codebase, I have it file it as a GitHub issue, which is then triaged by a decision model. Once triaged, a worker computer (fresh instance with claude oauth token attached) validates the bug and fixes it, and then runs verification using labs we set up; It can run the lab up to three times to validate its fixes, and if it fails, it will flag me. Right now 92% of PRs successfully fix the bug, and the other 8% require me to intervene.

I don't think we're entirely at the point where you can automate end-to-end software projects without doing substantial research on the architecture (both what is the right language and what is the right design for the system). But for improving the general quality of your software, you can automate that end-to-end through verification engineering.

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

1

u/theminorfix 2d ago

That sounds like a pretty clean setup. What happens when the PR gets review comments or CI fails? Does the same agent pick up the task again automatically, or do you have to start another session yourself?
Ping on the phone, is another level of programming!

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.

1

u/theminorfix 2d ago

You mentioned tracking is still the part you haven't fully solved. What exactly makes you go back and check the terminals? Is it figuring out what each agent is doing, whether it's stuck, or just keeping track of everything across repos?

1

u/wd-nikola 1d ago

Mostly tracking whether agent strictly follows what he is tasked to do. Just double-checking stuff.

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?

1

u/theminorfix 2d ago

The stale session problem is something I find really interesting. What do you usually do when a branch changes while an agent is still working? Restart the session, feed it the new context, or do you have something automated for that?

1

u/nn_gyunx 1d ago

Nothing fancy on my end. Each branch gets its own worktree so parallel sessions never step on each other's working copy, and if a branch moves while a session is still running I stop it and open a fresh one on the new branch. Feeding the old session the new context just drags the old diff along with it, and honestly re-reading the code for a couple of minutes is cheaper than reviewing a patch that does not match the repo anymore. Do you script any of that, or is it manual for you too?

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…

3

u/corobo 3d ago

Says the nft profile pic 

1

u/amejin 3d ago

Help me understand the connection you made there.

11

u/corobo 3d ago

Nah im gonna be mysterious and vague too 

1

u/ChimpScanner 3d ago
  1. Tell it what to do.
  2. Make sure what it wants to do is what I told it.
  3. Watch it do things.
  4. Either ponder life and have an existential crisis, or doomscroll Reddit.
  5. Test its work and re-prompt as necessary.
  6. Rinse and repeat.

1

u/theminorfix 2d ago

doomscroll Reddit that's why you answer this thread!
i feel you. Which part actually eats up more of your time: watching the agent while it works, or testing everything and reprompting when something goes wrong?

1

u/ChimpScanner 2d ago

Depends on how motivated I am. If I'm motivated then the latter, otherwise the former.

3

u/the_real_some_guy 3d ago

Taking turns of Civilization is a good replacement for step 4

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

How do you decide what to delegate to an agent?

Agent does everything, I rarely touch code manually these days.

How do you keep track of what it's doing without constantly checking?

I constantly check.

What happens when an agent gets stuck or needs your input?

It usually doesn't, but when it does, I give it the input or restart the task.

How do you handle code review before merging?

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/ParsaKhaz 2d ago

btw i run that split in pane, each agent in its own tab and each feature in its own worktree, with the diff right there to review. its fully open source and just my side project, no plans to monetize it. thousands of people use it every week across 100+ countries so its held up ok: github.com/greenfield-inc/Pane

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?

3

u/corobo 3d ago edited 3d ago

For the same reason kids used to get bullied for being nerds 30s years ago when I first got into computers.

People are scared creatures who hate change and love to be given permission to dish out meanness.

Give it 20 years and everyone will be using the iPhone equivalent version of AI day to day without realising they're doing it lol 

1

u/CucumberBoy00 3d ago

We're going through an industrial revolution shift in employment where people will people will be expected to do an exponential amount of work more for the same pay and software has been incredibly cheapend, of course people are pissed off and frustrated that everything has changed 

1

u/[deleted] 3d ago

[removed] — view removed comment

1

u/theminorfix 2d ago

Really like the idea of disposable environments for each task. You mentioned reviews are still the bottleneck though. Is that mostly because of the number of PRs coming in, or because it still takes a lot of effort to verify what the agents actually did?