The Agentic SDLC

Part II · What changes

Chapter 5

What an agentic SDLC is

An agentic software development lifecycle is one where agents carry out most of the steps from intent to release, and people set direction, approve at a few deliberate points, and handle what agents cannot.

It is easiest to see by following one bug through it.

A customer reports that exported invoices show the wrong currency. The report lands in the issue tracker and starts a bug-fixing process. An agent reads the report and the code around invoice export, then writes a test that reproduces the problem: it fails, which proves the bug is real. The agent changes the code until that test passes, then runs the full test suite to check nothing else broke. It opens a pull request with everything a reviewer needs: the original report, the failing test, the fix, the test results. An engineer reads the evidence, not every line, and approves. The fix ships, and the test stays behind so the bug cannot quietly return.

Nothing in that story is exotic. What makes it work is that the process was defined in advance: what starts it, what each step must produce, when it is finished, and where a person decides. That definition is called a loop.

The exit rule stops an agent from declaring victory too early.

Triggera bug report Stepsreproduce, fix, test Evidencefailing, then passing Exit ruledone? Approvala person yes no: try again Retry limit reacheda person is called in
Figure 3. Anatomy of a loop. The exit rule decides when the work is done, and the retry limit decides when a person steps in.

Every loop has six parts:

Part What it answers In the invoice example
Trigger What starts it? A bug report
Steps What happens, in what order? Reproduce, fix, run all tests
Evidence What must each step produce? A failing test, then a passing one
Exit rule When is it finished? Fixed and all tests pass, or shown not to be a bug
Retry limit How many attempts before asking for help? A fixed number, then a person is called in
Approval points Where does a person decide? Before the fix ships

Two of these parts do most of the work. The exit rule stops an agent from declaring victory too early. The retry limit stops it from spinning forever on something it cannot solve.

The same shape appears in public guidance on building agents. Anthropic's guide describes agents that check real results at each step, pause for a person at checkpoints or when they are blocked, and stop after a set number of attempts. AWS recommends stopping conditions such as time limits so long-running agent work does not run up costs unnoticed.