TL;DR: Once you know which workflow to change, reshape it before you drop in an agent.
- Start from how the work actually flows, not from the tool you want to use.
- Drop steps that only exist to coordinate people or work around slow manual effort.
- Add the steps agents make necessary, mainly verifying output and deciding where a person stays involved.
- Spell out the intent, constraints, and definition of done that people used to supply from memory.
- Design the loop the agent will run, including the check that tells it when to stop.
- Treat a loop that keeps cycling, or an approval role no one can name, as a signal to review how work flows between teams.
Finding the bottleneck tells you which workflow is worth changing. The next move is to resist dropping an agent into that workflow as it stands. The largest gains come from reshaping the flow rather than speeding up a step inside the old one.
This page covers how to look at a workflow as a whole rather than step by step, which steps to remove, which steps to add, and why stating intent plainly matters more once an agent is doing the work.
Start from the workflow, not the tool
A workflow that was efficient for a team of people is not automatically the right workflow once agents are involved. The tools matter, but the larger opportunity is to rethink how the work gets done rather than place agents into steps that were shaped around people alone. Before adding an agent, look at the workflow as a whole and ask what it should be now that part of it can be done a different way.
Engineering leaders who have made AI stick describe the same starting point: understand how developers actually build, test, review, and deploy before choosing where AI fits, rather than selecting a tool and bending the work around it. Reshaping the flow does not mean relocating the developer. Adoption climbs when AI is embedded in the languages, repositories, and pipelines a team already uses, so it reads as an extension of the developers already work in. Fitting AI into what a team has today, and letting the workflow evolve from there, moves faster than replacing how they work all at once.
Drop the steps that only coordinate people
Steps that existed to coordinate people, or to work around how long something took by hand, may no longer be needed. A status handoff, a scheduled review meeting, a queue that batched work so a scarce person only had to look once: many of these exist to manage human timing, not to move the work forward. When part of the work changes speed, those steps can quietly become pure overhead.
Watch especially for steps that push work into large batches. When a step is slow or expensive to pass through, teams respond by making each change bigger, so they pay that cost less often. That is rational, and it works against you: bigger changes are harder to review, harder to trace, and riskier to ship. A step that encourages batching is often one worth removing or redesigning rather than keeping.1
To decide, walk each step and ask what it exists to do. If the honest answer is that it coordinates people or compensates for slow manual work, it is a candidate to cut. If it moves the work toward a result someone relies on, it stays.
Add the steps agents make necessary
Reshaping a workflow is not only subtraction. New steps, such as verifying an agent’s output, may need to be added. Two additions matter most, and both are covered in depth elsewhere in the playbook: deciding where a person stays involved, and checking the output before it counts as done. Build both into the workflow from the start rather than adding them after something goes wrong. Deciding where human judgment stays and placing checkpoints on purpose is the subject of Working with agents, and verifying what an agent produces is the subject of Verify what agents produce.
State the intent that people used to fill in
People are good at working from vague instructions. They can ask clarifying questions, notice when something is off, and fill the gap with judgment. Agents do not do this by default. They act on what they are given, at speed, so an instruction that a person would have quietly corrected can turn into a confident, plausible, wrong result in an agent’s hands. Where people absorb ambiguity, agents amplify it.2 Keeping plans and decisions connected to the work in GitLab Well Architected covers how to keep intent and decisions available as plans change and work moves between people and agents.
The response is to make the intent explicit as part of the workflow, rather than leaving it in people’s heads. The requirement, the constraints, and the definition of done need to be stated clearly enough that an agent has something concrete to work toward, and, where the stakes justify it, expressed in a form the system itself can check. Much of what a person used to carry as understanding becomes something the workflow has to spell out.3
An objective such as “optimize for company profit” drives nothing, because individual changes sit too far from it. Break the goal into steps, from change to feature to business result, with an objective at each step that ladders up to the next. Agents also need more specificity than people do. A requirement such as “it has to feel right” gives an agent nothing to check, so write down what correct and incorrect behavior look like.
Set up the path agents run on: Loop engineering
Stating intent and a definition of done gives an agent more than a target for a single run. It sets up the loop the agent repeats: plan, make a change, check the result against that definition, revise, and continue, until the work is done or the agent hands it back to a person. Designing a set loop an agent runs through, rather than writing a fresh prompt for each run, is a practice called loop engineering.4 Decide what starts the loop, what the agent can reach while it runs, and above all the check that tells the agent it’s done. A definition of done the system can test becomes the condition that ends the loop, and a loop with no clear place to stop runs past the point of usefulness. A faster loop also produces mistakes faster, so build the verification it checks against into the workflow now rather than after something breaks. How far the loop runs on its own, and where a person steps back in, is the subject of Working with agents.
Watch how many passes a loop takes, and set an iteration limit before the first run. A loop that keeps cycling without converging usually points to unclear boundaries in the task, and more passes will not close that gap. Each pass uses tokens, so an unbounded loop shows up as a large bill at the end, with output that has outrun its quality. When a loop reaches its limit, a person clarifies the intent, constraints, and definition of done before the next run. Defining done up front gives the agent a place to stop and gives you a clear trigger for bringing a person in. Map the team dependencies that limit agent speed explains why the cost grows as bad output accumulates. Verify what agents produce covers the same ceiling for review loops.
Loop engineering covers the loop an agent runs on one task. A delivery system has three:
- Inner loop: a person or agent iterating on one change. Optimize it for fast feedback.
- Outer loop: validating the change and merging it to trunk. Optimize it for flow.
- Continuous learning loop: improving the outer loop itself, using what production shows (metrics, logs, and user actions) to add validations that every later change must pass.
Teams that build the third loop turn each surprise, whether it appears in production or in exploratory testing, into a check that stays. Keep the inner loop deterministic, and feed the third loop with exploratory agents, as described in Verify what agents produce. As changes shrink and ship behind feature flags, testing and monitoring converge, because production becomes part of the test environment.
Feed what the continuous learning loop surfaces back into your Value Stream Reference Architecture (VSRA), which maps how your teams depend on each other and interact. A surprise that recurs, or a loop that keeps reaching its limit, points to a place where the architecture or the way information moves between teams needs adjustment, and fixing it there prevents the same problem in later runs. An enabling team can then share what it learns, so other teams use agents more efficiently without rediscovering the same problem.
In practice: Replacing a change advisory board
In one organization,1 every production change had to pass through a change advisory board that met twice a week. Six to eight people worked down a list, minor bug fixes included, and if someone with a question wasn’t in the room, the change waited for the next meeting, and sometimes the one after that. The average change took months. The board also bred exactly the batching problem above: teams made changes larger to get more through each review, which made every change riskier.
Rather than speed the meeting up or add an agent to it, the team asked what the step was actually for. The real requirement was not a committee; it was that someone other than the person making a change approved it. So they removed the meeting and rebuilt the requirement into the workflow itself. Each change carried structured fields for who requested it, who reviewed it, and who approved it, and the person who opened a change could not approve their own, with a pool of reviewers to draw from. The review was narrowed to a few clear questions, and the depth was matched to risk: larger changes drew two human reviewers, while a low-risk fix could clear with an automated review. Approval time fell from about four weeks to under an hour, and the redesigned workflow held up across later audits with smaller changes and fewer bugs than the board had produced.
A VSRA treats this kind of clarity as a design requirement. It gives each team clear boundaries and responsibilities, and approvals are part of that. For every type of change, the VSRA defines who requests it, who reviews it, and who approves it. The structured fields in this example put that definition into the workflow itself.
If you cannot fill in those roles for a change, treat that as a finding about the organization. A gap or a dispute over who requests, reviews, or approves shows that the architecture or the communication structure may have changed without anyone declaring it, and an undeclared change has a larger impact the further downstream it travels. Review your VSRA, and how knowledge work moves through the organization, when that happens. An enabling team that monitors flow and realization metrics is well placed to own that review.
The workflow was reshaped around what the work needed, the step that only coordinated people was removed, the intent was made explicit in the fields and the questions, and an agent was placed only where it fit. That is the order this page argues for.
Try this. Take the workflow you identified as your bottleneck and list every step. Next to each, write why it exists. Mark the steps that move the work toward a result someone relies on, and the steps that exist mainly to coordinate people or work around slow manual effort. Before you add an agent anywhere, decide which of that second group you can remove or redesign, and write down the intent, constraints, and definition of done that a person has been supplying from memory. Then count how many passes the agent’s loop takes on that workflow, set a limit, and decide who clarifies the definition of done when the loop reaches it.
Related
- Find the real bottleneck comes first: know which workflow is worth reshaping before you reshape it.
- Match the method to the task helps you decide, step by step, whether an agent, deterministic automation, or a person is the right fit for the reshaped workflow.
- Working with agents covers deciding where human judgment stays and building checkpoints into the workflow you’ve reshaped.
- Map the team dependencies that limit agent speed shows where agent-speed work will queue across teams, and how to organize those interactions so it keeps flowing.

