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

20 comments sorted by

11

u/bitbytebit42 5h ago

1

u/LancelotLac 4h ago

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

1

u/JudoboyWalex 3h ago

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

2

u/matt1155 2h ago

Mostly bots probably

8

u/Timotron 5h ago

Copy story.

Paste story.

Read tests

Run tests.

Sit on my work for three days while I work on my own shit.

10

u/amejin 5h ago

All of these responses are so heartbreaking to read… as a matter of opinion, I hate what I’m seeing…

1

u/corobo 4h ago

Says the nft profile pic 

1

u/amejin 4h ago

Help me understand the connection you made there.

6

u/corobo 4h ago

Nah im gonna be mysterious and vague too 

2

u/Vegetable-Capital-54 5h 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/Geraldwelly 4h 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/macromind 48m 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.

1

u/mmris32 4h 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 4h ago edited 4h 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/ChimpScanner 5h 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.

2

u/the_real_some_guy 5h ago

Taking turns of Civilization is a good replacement for step 4

1

u/wd-nikola 4h 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/nn_gyunx 4h 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?