Skip to main content



From prompt chaos to predictable delivery: The agentized agile loop that works

How I map story creation, story review, development, and code review to agents

A young adult man is dressed in a light gray suit with a matching bow tie, standing outdoors. He is smiling and looking slightly away from the camera, with soft natural light on his face. Green trees and foliage create a blurred background, suggesting a garden or park setting. A small white flower is pinned to his lapel, adding a subtle decorative detail.
Eli Jackson
Senior Principal,
Slalom
Published:
5 minute read

TL;DR

  • Traditional Agile breaks down when AI agents, prompts, and humans operate in disconnected workflows.
  • An agentized Agile loop creates continuous feedback between planning, development, testing, and deployment—making AI delivery more predictable.
  • The biggest gains come from orchestrating AI across the entire software development lifecycle, not adding isolated AI tools.
  • Organizations that redesign delivery around human + AI collaboration can reduce rework, accelerate iteration, and scale quality with greater confidence.

Why traditional Agile struggles in the age of AI agents

Over the past few months, I’ve moved from ad-hoc prompt experiments to shipping features with AI in production. I’m a hands-on engineering leader working in brownfield codebases where CI fragility, legacy constraints, and delivery pressure are the default.

Who is this for?

You’re an engineer or tech lead working in a brownfield codebase, juggling CI fragility and legacy constraints. You’ve tried AI copilots, but you want a reliable loop from idea to review that respects your standards. If you care more about predictable delivery than clever prompts, this is for you.

Why prompts are not enough

Prompts set intent, but context sets boundaries. In real delivery work, the hard parts are the constraints: existing APIs, test rules, rollout plans, and the current story state. If those constraints aren’t in the model’s context, the output might look correct but drift from how the system actually works.

The fix isn’t a longer prompt. It’s deliberate context: The right docs, standards, and story artifacts loaded at the right step in the loop. That’s what turns “helpful” into “reliable.”

Three frameworks I evaluated (and what stuck)

I evaluated these three because they represent the main patterns I see in agentic delivery today—prompt-to-plan, spec-first, and role-based agile—and I wanted to know which held up best in brownfield work. I tested a few frameworks side by side and kept notes on where each one shines in real delivery work.

  • PRP (Product Requirements Prompting): Lightning-fast for small, bounded tasks; great when you want a linear prompt-to-plan flow.
  • Spec Kit: Excellent slash-command ergonomics and a clear spec-first discipline; the maintainers describe it as experimental and evolving (see README section “Experimental Goals”), so I use it for exploration spikes and learning.
  • BMAD: Heavier setup, but closest to how agile teams actually work (distinct PO, Dev, QA roles) and resilient in brownfield repos.

Today I lean on BMAD because its role separation matches how I deliver, but this space is moving fast. Frameworks may come and go; the concepts below work with any tool that lets you control context and artifacts.

The agentized agile loop: story > review > build > review

Four steps form the shortest path from idea to “Ready for Review”:

  1. Create the story
  2. Review the story
  3. Build the change
  4. Review the code against the story

In BMAD, that maps cleanly to Scrum Master (SM) for drafting, Product Owner (PO) for validation, Dev for implementation, and Quality Assurance (QA) for review. Use the equivalents in your framework; they only work if your config points to the real docs and standards, so keep it current.

Here is what that looks like in BMAD:

*agent po *validate-story-draft 1.1
*agent dev *develop-story 1.1
*agent qa *review 1.1

How I run the loop end-to-end

  1. Create the story (SM/PO): Draft a small, testable story with clear acceptance criteria.
  2. Review the story (PO): Tighten scope, surface dependencies, and find test gaps before code starts. The point is to let a context-aware agent critique the ticket, not to handwave and hope.
  3. Develop with context loaded (Dev): Use your Dev build command so coding standards, tech stack notes, and source-tree maps load automatically, and implementation aligns with the repo’s reality.
  4. Review code changes against the story (QA): Use your QA review/gate command as a context-rich code review, writing notes that document risk, tests, and NFR coverage.

These four moves are all context-engineered prompts; together they replicate the agile loop and form a predictable lane from idea to merge, regardless of which framework you pick.

Why this matters in brownfield repos: Context is how you avoid invisible coupling. When the agent sees your standards, architecture, and current story state, it stops proposing “clean” changes that break existing contracts. It also makes CI failures legible—the model can relate a test failure back to the story, the standards, and the acceptance criteria instead of guessing. That is the difference between a one-off AI assist and a repeatable delivery practice.

What “good” context looks like day to day

These practices keep the model grounded in the real system instead of an idealized one.

  • Shard aggressively: Split long product requirements documents and architecture docs into smaller sharded files. Smaller shards mean cheaper, more precise context.
  • Keep standards close: Make coding standards and tech stack notes easy for agents to load (whatever your framework’s “always include” list is).
  • Document decisions: Let QA or Dev agents write brief notes alongside gate files so reviewers see why changes were made.
  • Keep roles tight: Use SM/PO for stories, Dev for code, QA for gates. It prevents context bloat and accidental overwrites.

What improves in brownfield work

  • Less thrash on migrations: When context includes CI pipelines and rollback steps, the model proposes reversible SQL changes instead of risky big-bang edits.
  • Faster reviews: QA gate files give reviewers a single place to see risk, coverage, and decisions.
  • Safer parallelization: Feature flags and story shards let multiple agents work without trampling each other in monorepos.

Make it stick: Start with a clean slice

If you are starting something brand new, the BMAD “greenfield” initialization is a good on-ramp—it scaffolds the docs and workflow so agents know where to look. If you are in a brownfield repo, carve out a clean slice that behaves like greenfield (one service, one story, one gate) and run the loop end-to-end. The goal is to prove the loop in a low-risk corner before scaling it.

Closing: Context is the new dependency

AI copilots aren’t magic; they’re deterministic functions of the context you feed them. When you design that context with the same care you design your APIs, the model stops hallucinating and starts behaving like a trustworthy teammate. Frameworks will change or disappear, but the durable ideas are role separation, artifact-aware prompts, and keeping the wiring (docs, standards, shards) accurate.

If you try this, start tiny: Initialize your framework, run one story through the loop, and keep every decision in version control. The payoff is a development loop that’s faster, clearer, and—best of all—boringly reliable.

Modern software delivery starts here

Accelerated Engineering embeds AI throughout the software development lifecycle to reduce delivery friction and improve business outcomes.