Two approaches to the AI software development life cycle

A woman in a white turtleneck stands and gestures with her hands while speaking to a male colleague seated at a desk in an office setting

Adopting AI coding tools shifts engineering focus upstream to problem definition and downstream to code review. Organizations can implement AI in the software development life cycle through developer-led local agents or autonomous cloud agents. Scaling either approach depends on robust specs, trusted test suites, and structured review processes.

Key takeaways

  • Shift engineering effort to defining job specs up front and reviewing agent output downstream.
  • Combine local workstation agents for tight feedback loops with autonomous cloud agents for well-scoped tasks.
  • Build a solid foundation with trusted test suites, standardized pipelines, and clear review paths before scaling.

Most teams adopting AI coding tools are optimizing the wrong thing. The tools write code quickly. What holds teams back is whether anyone has defined the job well enough for the tools to do it.

That’s the shift in the AI software development life cycle (AI SDLC). Engineering time moves upstream, to decomposing the problem and specifying the outcome, and downstream, to reviewing what comes back. Writing the code in between is the part that gets cheaper.

In our work with engineering teams across organizations, we see two ways to handle that middle step: Local agents work alongside a developer at their workstation, or cloud agents pick up tasks and work on their own. Most teams need both approaches, and the quality of your tests decides how much work you can safely hand to cloud agents.

Approach 1: Local agents at the developer’s workstation

Here the agent works inside the developer’s own environment: terminal agents such as Claude Code or OpenCode, editor extensions, and local git hooks. The developer stays in the loop on every step.

  • Workspace agents. The agent navigates the repository, makes multi-file edits, runs unit tests and debugs failures while the developer watches and steers.
  • Local workflow automation. It runs preliminary checks, summarizes diffs and drafts commit messages inside the developer’s session.
  • Developer identity and sign-off. The engineer owns the session, reviews every change and commits under their own credentials. Agent-generated changes are labeled as such, so reviewers can match their effort to the risk.

This is where most teams should start. The feedback loop is tight, a person catches mistakes as they happen, and it builds the habit that matters most later: writing down what you want before asking for it.

Approach 2: Cloud agents that work on their own

The second approach takes the developer out of the loop for well-scoped tasks. Agents run in the cloud, pick up work from system events, and hand back a pull request.

  • Event-driven triggers. A webhook starts the agent when a pull request is opened, a Jira issue is tagged, or a branch is pushed.
  • Harnesses and sandboxes. Each agent runs in a harness that manages its context, tools, memory, and retries, inside an isolated sandbox with its own scoped identity.
  • Bounded feedback loops. For bug fixes, small features or dependency updates, the agent clones the repository into an ephemeral sandbox, drafts the change and runs the test suite. It iterates within a fixed retry budget until the checks pass, then opens a pull request. A human reviews and merges.

The design principle we hold to: deterministic orchestration on the outside, model reasoning on the inside. Plain code decides which job runs, assembles everything the agent needs up front, and checks the result. The model does the reasoning within that job. When the model is left to manage its own state and pick its own next steps, you get runs that loop, drift and can’t be reproduced or audited.

The self-healing loop, where failed tests go back to the agent for another attempt, is both the most valuable part of this approach and the most dangerous. When it works, it removes the slowest loop in traditional delivery: the ticket going back and forth between developer and QA. When it fails, it produces confident pull requests that pass shallow tests and miss the point. An agent can only be as autonomous as your test suite is trustworthy.

What connects them: Design the job

Both approaches fail the same way. Teams hand an agent a vague request, get a broken or off-topic answer, and conclude the tool isn’t ready. Usually the job wasn’t.

Designing the job means doing the decomposition before any code is written:

  • Intent: The outcome, in a sentence a reviewer can check.
  • Scope: Which files, interfaces and systems are in play, and which aren’t.
  • Acceptance: The tests and criteria that decide whether it’s done.
  • Context: Everything the agent needs, assembled before it starts, rather than left for the agent to fetch.

That’s what people mean by spec-driven development. It isn’t an extra process. It’s the work that used to happen in an engineer’s head, written down so a model can act on it and a reviewer can check against it. Whether the spec goes to a local terminal or a cloud agent, the engineer defines the target, lets the model implement it and steps back in to evaluate the result.

In our experience, this is where most AI SDLC efforts succeed or fail. Time spent on decomposition pays back many times over downstream. Time saved by skipping it comes back as rework.

What actually changes for the team

The work concentrates in two places: writing the spec and reviewing the output. Both need experienced engineers. Teams that adopt agents without planning for review find their most senior people buried in pull requests. One team we worked with received 20 agent-generated pull requests, touching hundreds of files, in a single afternoon. That isn’t a productivity gain. It’s a review problem that has moved onto the people least able to absorb it.

Plan the review path before you scale the agents. Keep changes small enough to review. And measure adoption by active use and outcomes, not by seat counts, and never by ranking people on how much they consume. Rank people on consumption and you get consumption.

Building the foundation

Scaling either approach depends on a few foundations:

  • Tests you trust. Your test suite sets the ceiling on agent autonomy. If you don’t trust it to catch a bad change, don’t let an agent merge on its say-so.
  • Standardized CI/CD. Cloud agents need reliable triggers, sandboxed execution environments, and pipelines that validate their work the same way every time.
  • Scoped identity. Give each agent its own identity with the minimum permissions it needs, separate from any person’s credentials, so every action is attributable and contained.
  • Model-agnostic orchestration. Keep the orchestration layer independent of any one model, so you can use the best model for each task (code generation, reasoning, test synthesis) as they change.
  • Observability. Instrument agent runs from the start: what was attempted, what passed, what it cost, and where people intervened. You can’t improve a workflow you can’t see.

Start with your test suite. It decides how much you can safely hand to an agent.

Frequently asked questions

Portrait of Samuel Gallagher

Samuel Gallagher brings disciplined engineering and rigorous evaluation to rapidly move AI from concept to production. He is head of the AI/ML Practice at Egen, leading Egeneers across the globe in helping organizations deploy AI and machine learning for delivering measurable outcomes. 

Samuel Gallagher

Global AI/ML Practice Lead

Performing-ai-featured

Start accelerating value with AI.

Scroll to Top