AI for Government
Capable · M1 · lesson 1 of 43 · in progress
Preview — browse every lesson free. Enroll to mark lessons complete, open partner links and save your progress. Login & enroll →
📖
in this lesson

Agile and Iterative AI Development

15 min

Learning Objectives

After completing this lecture, you will be able to:

  • Understand the key concepts of agile and iterative ai development in a government context
  • Connect agile and iterative ai development to your agency's AI initiatives
  • Identify next steps for applying these concepts in your role

Key Topics Covered

-
Sprint-based AI development

-
Iteration cycles

-
When to pivot, persevere, or stop

Why This Matters for Government

Government agencies face unique challenges when it comes to AI adoption. This lecture addresses these challenges head-on by providing analysts, project leads, team supervisors with the knowledge and frameworks needed to navigate AI in the public sector responsibly and effectively.

As part of the L2 (AI Practitioner) curriculum, this lecture builds on the foundational principle that every AI system in government ultimately serves citizens. Whether you are working with AI tools daily or setting strategy for your agency, understanding agile and iterative ai development is essential for responsible, effective government AI adoption.

======================================================================

TRANSCRIPT: Agile and Iterative AI Development

======================================================================

Chapter: 4 -- AI Project Management

What you will learn:

  • Why agile and iterative methodologies work better for AI
  • How to structure sprints for AI projects
  • What a minimum viable product (MVP) means for AI
  • How to measure progress in iterative development
  • How to manage stakeholder expectations in iterative projects
  • How to balance learning and shipping in AI development
  • Common pitfalls in AI project execution

If you've managed traditional IT projects using waterfall methodology--requirements, then design, then implementation, then testing, then deployment--you already know why that doesn't work for AI. AI projects are fundamentally discovery-driven. You don't know upfront exactly which approaches will work, what accuracy is achievable with your data, or where fairness concerns will emerge.

Traditional waterfall assumes you can know everything upfront. Agile and iterative approaches assume you'll learn as you go, and that's exactly what AI projects need. In this lecture, we'll explore how to structure AI projects iteratively, how to release early and gather feedback, how to build MVPs (minimum viable products) that actually prove value, and how to maintain momentum while learning.

This isn't just project management theory. Government agencies increasingly operate under tight timelines and need to deliver results. Agile approaches, done well, actually deliver value faster than waterfall, especially for AI.

PURPOSE STATEMENT

Agile and iterative development is not optional for government AI projects--it's necessary. The uncertainty inherent in AI work requires an approach that treats learning as a first-class deliverable. This lecture teaches you how to structure AI projects iteratively, define what "done" means at each stage, measure progress accurately, and maintain stakeholder confidence while learning.

WHY THIS MATTERS FOR GOVERNMENT

Waterfall project management in government typically looks like this: Plan for 18 months, spend 12 months gathering requirements and designing, 12 months building, 6 months testing, miss timelines, deliver over budget. When projects are as uncertain as AI projects, this approach fails catastrophically.

Agile and iterative approaches for government AI look different:

  • Start with clarity on the business problem and success metrics (requirements are still important)
  • Build a minimum viable version quickly (weeks, not months)
  • Get it in front of users or run it against real data
  • Measure performance against success criteria
  • Learn what's working and what isn't
  • Iterate and improve based on learning
  • Maintain regular stakeholder visibility throughout

The business benefits are real:

  • Faster time to value (3 months to first deployment vs. 18 months)
  • Earlier problem discovery (find issues while they're cheaper to fix)
  • Better stakeholder alignment (learning happens transparently)
  • Reduced risk (you're not betting the farm on one big design)
  • More realistic cost estimates (you're learning about what's actually feasible)

This is particularly important in government because resources are constrained. Agile approaches let you prioritize, learn what's achievable, and make deliberate tradeoffs rather than discovering halfway through that your approach won't work.

WHY WATERFALL FAILS FOR AI (AND WHAT TO DO INSTEAD)

Waterfall assumes:

  • You can specify requirements completely upfront
  • Once designed, implementation follows the design
  • Testing validates against the original design
  • Problems discovered late are cheap to fix

Reality for AI:

  • Requirements discover themselves as you learn what's achievable
  • AI systems rarely follow a predictable design trajectory
  • Testing often reveals that your fundamental approach needs to change
  • Late-stage problems are catastrophically expensive to fix

Example of waterfall failure: A government agency spent 6 months gathering requirements for a benefits eligibility AI, specifying exactly what accuracy targets they wanted, what fairness metrics mattered, how the system should work. They designed a system, contracted for development, built it for 12 months, tested it, discovered that the accuracy achievable with their data was 78% instead of the required 92%. Now they're 18 months in and have to redesign. Total cost: $2M+ and 2 years late.

Example of iterative success: A different agency had the same business problem. In 4 weeks, they built a very simple eligibility screening model (baseline: just flagging obviously-eligible cases). It got 40% accuracy but solved the core problem: it was already faster than manual review. They deployed it to 2 pilot offices. In the next 8 weeks, they added features based on pilot feedback, got accuracy to 68%, refined fairness metrics based on real outcomes. Within 4 months, they had a deployed system serving 6 offices, accuracy at 82%, fairness analysis showing no significant disparities. They learned what was achievable and made deliberate tradeoffs based on actual data.

Key differences:

  • Waterfall: Assumption-driven. Problems discovered late.
  • Iterative: Learning-driven. Problems discovered early and fixed cheaply.

SPRINT-BASED DEVELOPMENT FOR AI

AI projects should operate in sprints--typically 1-2 week cycles where you set a clear goal, execute, measure, and make decisions about the next sprint.

TYPICAL AI PROJECT SPRINT STRUCTURE (2-week sprints):

Week 1-2:

  • Goals: Data exploration, simple baseline model, initial validation
  • Deliverables: Working script that produces predictions on sample data, initial accuracy metrics
  • Demo: Show the stakeholders "here's our data, here's what a simple model produces"

Week 3-4:

  • Goals: Add features, improve accuracy, begin fairness analysis
  • Deliverables: Improved model with 5-10% accuracy gain, fairness analysis on protected classes
  • Demo: "Accuracy improved to X%, here's our demographic performance analysis"

Week 5-6:

  • Goals: Build production infrastructure, design human review workflow, plan monitoring
  • Deliverables: API for model serving, human review interface, monitoring dashboard design
  • Demo: "Here's what the system will look like in production, here's how reviewers will use it"

Week 7-8:

  • Goals: Pilot with small user group, gather feedback, refine based on real usage
  • Deliverables: System deployed to 1 pilot office, initial user feedback, performance metrics
  • Demo: "System is live with pilot users, here's what we're learning"

Week 9-12:

  • Goals: Address pilot findings, optimize performance, prepare for broader rollout
  • Deliverables: System improvements based on feedback, expanded pilot, final validation
  • Demo: "Pilot results show X performance, Y user satisfaction, we're ready for broader rollout"

Key principles for AI sprints:

  • Each sprint produces working software/model (not just documents)
  • Sprints have clear, measurable goals
  • Measurement happens at end of each sprint (accuracy, fairness, user feedback)
  • Learning from each sprint informs next sprint planning
  • Stakeholders see progress regularly (every 2 weeks)

MVPS FOR AI--WHAT DOES "MINIMUM VIABLE" ACTUALLY MEAN?

An MVP for AI is NOT a perfect system scaled down. It's the simplest version that tests your core assumptions and provides value to users.

CASE EXAMPLE: Fraud Detection AI

Wrong MVP approach: Build a system with all the features you eventually want (network analysis, temporal patterns, transaction behavior modeling), test it thoroughly, deploy it. This takes 8 months and might not even work.

Right MVP approach:

  • Start with the simplest approach: Rules-based flagging of obvious fraud patterns (doesn't require machine learning at all)
  • Deploy this baseline in 2 weeks
  • Measure: "Is this catching obvious cases? Is it reducing manual review time?"
  • If yes: Start adding ML features incrementally
  • If no: Either the data is fundamentally unsuitable or the basic approach is wrong--learn this early and cheap

The MVP answers these questions:

  • Does the basic approach solve the business problem?
  • Can we get access to the data we need?
  • Do users actually want what we're building?
  • What's the achievable accuracy with our data?
  • Are there fairness concerns we didn't anticipate?

MVPs for AI should be:

  • Deployable: Actual production system, not a prototype
  • Measurable: You can see real performance metrics
  • Minimal: Simplest version that tests core assumptions
  • Valuable: Users/stakeholders see value immediately
  • Iteratable: Clear path to improvement in next sprint

MEASURING PROGRESS IN ITERATIVE DEVELOPMENT

You can't manage what you don't measure. In iterative AI development, you need measurements across multiple dimensions:

ACCURACY METRICS

  • What was accuracy in the previous sprint? This sprint?
  • Are we improving? How much per sprint?
  • Are we on track to hit success criteria?

Example dashboard:

Sprint 1: 65% accuracy

Sprint 2: 71% accuracy (+6 points)

Sprint 3: 74% accuracy (+3 points)

Target: 85% accuracy

Trajectory: At current rate, we'll hit 85% in sprint 6

FAIRNESS METRICS

  • How does accuracy vary by demographic group?
  • Are we introducing or reducing bias?

Example:

Sprint 2 fairness analysis:

  • Overall accuracy: 71%
  • Accuracy for Group A: 68%
  • Accuracy for Group B: 74%
  • Disparity: 6 points (concerning--investigate)

BUSINESS METRICS

  • How much time is the system saving reviewers?
  • How much has cost changed?
  • How has customer satisfaction changed?

Example:

Sprint 3 business impact:

  • Manual review time per case: 40 minutes (baseline) -> 15 minutes (with AI)
  • Cost per decision: $12 -> $4
  • User satisfaction: Improving (iterative feedback)

ENGAGEMENT METRICS

  • How many cases is the system processing?
  • What's the override rate? (when do humans disagree with AI?)
  • Are users confident in the system?

Example:

Sprint 4 engagement:

  • Cases processed: 150/week
  • Human override rate: 8% (good--users trust system most of the time)
  • User training completion: 95% (excellent engagement)

Update these metrics every sprint. Track them visibly. Use them to guide sprint planning.

MANAGING STAKEHOLDER EXPECTATIONS IN ITERATIVE PROJECTS

Overview

One of the biggest challenges in iterative AI development is stakeholder management. Stakeholders often expect waterfall-style progress. You need to reset expectations.

EXPECTATION-SETTING CONVERSATION

"We're going to take an iterative approach. This means:

  • We'll release a very simple version in 4 weeks. It won't be perfect, but it will work and teach us what's achievable.
  • We'll improve it every sprint based on what we learn.
  • You'll see progress every 2 weeks through demos and metrics.
  • We might discover that our original timeline was optimistic or pessimistic--we'll know this after sprint 2.
  • We'll make tradeoffs openly: 'We can improve accuracy another 5%, but it means delaying launch by 2 weeks. What's your priority?'
  • Success means achieving the agreed-upon success criteria, not following the original plan."

MANAGING DISAPPOINTMENT IN EARLY RESULTS

It's common in sprint 1 to have disappointing results. Your MVP might show only 55% accuracy when the target is 85%. This is normal and information.

How to handle it:

  • "This is expected. Our MVP tests whether the basic approach works and what's achievable with our data. 55% shows us the data has signal--we can improve it."
  • "Here's what we learned: [X], here's what we're doing differently in sprint 2: [Y]"
  • Show the plan: "Here's our path to 85% accuracy. We'll hit it in sprint 5-6."
  • Make sure stakeholders understand this was the learning goal of the MVP.

DEMO DISCIPLINE

Demos every 2 weeks are essential for managing expectations and maintaining momentum. But demo discipline matters:

Effective demo:

  • Here's what was the goal for this sprint
  • Here's what we accomplished
  • Here's the metric: Accuracy was 68%, now 74%
  • Here's what we learned
  • Here's the plan for next sprint
  • Questions?

Ineffective demo:

  • Long technical deep-dive no one understands
  • Showing code or model internals
  • Talking about effort without showing results
  • Vague statements like "the system is working better"

KNOWING WHEN TO ITERATE AND WHEN TO SHIP

Overview

A key decision in iterative development is: When do we stop iterating and actually deploy for real?

Criteria for deciding to ship:

  • Success criteria are met (or agreed-upon acceptable tradeoff is reached)
  • Fairness analysis shows no unacceptable disparities
  • Human override rate is reasonable (typically 5-15%)
  • User acceptance testing is positive
  • Monitoring and alert systems are in place
  • Rollback procedures are documented
  • Stakeholders have signed off
  • We have a plan for monitoring and updating post-launch

Criteria for continuing to iterate:

  • Success criteria not yet met and achievable with more work
  • Fairness concerns exist and are addressable
  • User feedback indicates the system isn't solving the problem
  • Technical architecture needs to change to proceed
  • We're learning critical information that changes the design

The ship decision isn't a one-time decision. You might ship MVP to 2 pilot offices, iterate for 2 sprints based on pilot feedback, then decide whether to expand or redesign.

ANTI-PATTERNS

ANTI-PATTERN 1: "Waterfall in Agile Clothing"

Teams claim to be agile but actually operate waterfall. They spend 6 weeks planning before writing any code. They don't deploy anything until it's "done." They claim to be iterative but actually deliver in one big bang at the end.

How to avoid it: Ship something to real users/data by week 4. Make shipping a core part of each sprint cycle.

ANTI-PATTERN 2: Iteration Without Measurement

Teams iterate constantly but don't measure whether they're improving. They're just changing things without clear goals. Six months in, they've made lots of changes but haven't measured whether accuracy improved or fairness got better.

How to avoid it: Define metrics upfront. Measure them every sprint. Let measurements guide iteration priorities.

ANTI-PATTERN 3: MVP as an Excuse to Ship Poor Quality

"We're shipping an MVP so we don't need to worry about monitoring, fairness analysis, or documentation." Teams use MVP as an excuse to be irresponsible.

How to avoid it: MVP means minimum viable--viable means it actually works, has fairness analysis, has monitoring. It doesn't mean half-baked.

ANTI-PATTERN 4: Ignoring Pilot Feedback

Teams deploy to a pilot group, get feedback, and ignore it. They were already planning to iterate so the feedback doesn't change their plan. User complaints are dismissed as "they'll adjust when we train them."

How to avoid it: Take pilot feedback seriously. If multiple users report a problem, it's real. If users hate something, change it before broader rollout.

ANTI-PATTERN 5: Premature Optimization

Teams spend 6 sprints optimizing accuracy from 85% to 87% when the real problem is user adoption. They're optimizing the wrong thing.

How to avoid it: Measure what matters. If the problem is user adoption, improve usability, not accuracy.

PRACTICE PROMPTS

EXERCISE 1: Sprint Planning

Take a government AI project you're familiar with. Design 6 two-week sprints that would move from problem statement to deployed MVP:

  • What's the goal of each sprint?
  • What's the deliverable?
  • What gets measured?
  • What decision does each sprint inform?

EXERCISE 2: MVP Definition

For a real or hypothetical government AI system, define the MVP:

  • What's the simplest version that tests core assumptions?
  • What would success look like for the MVP?
  • What would you measure?
  • What would prompt you to pivot vs. persist?

EXERCISE 3: Measurement Dashboard

Design a dashboard for tracking iterative progress. What metrics would you show stakeholders each sprint? How would you present results to keep them informed and confident?

KEY TAKEAWAYS

  • Agile and iterative development is essential for AI projects. The discovery-driven nature of AI work makes waterfall approaches fail catastrophically.
  • Structure projects in 1-2 week sprints with clear goals and measurable deliverables. Each sprint should produce working software/model that teaches you something.
  • Deploy MVPs early to real users or real data. Don't spend months perfecting in a lab. Get real feedback from real conditions.
  • Measure progress across accuracy, fairness, business impact, and user adoption. Don't optimize only for accuracy if the real problem is user adoption.
  • Demo progress every 2 weeks to manage stakeholder expectations. Transparency about learning and iteration prevents surprise disappointments.
  • Ship when success criteria are met (or deliberate tradeoffs are documented). Don't ship until fairness analysis is done and monitoring is in place.
  • Use pilot deployments to inform broader rollout. Data from real users is more valuable than months of lab testing.
  • Plan for continuous improvement post-launch. Shipping isn't the end--it's the beginning of real-world learning.

GLOSSARY

Sprint: A time-boxed period (typically 1-2 weeks) during which a team completes a defined set of work and produces a measurable increment of the product.

MVP (Minimum Viable Product): The simplest version of a system that solves the core business problem and tests fundamental assumptions, providing value to users while maximizing learning per unit of effort.

Iterative Development: A development approach where the system is built incrementally in multiple cycles, with each cycle incorporating learning from previous cycles and producing working software.

Pilot Deployment: A limited deployment to a small group of users or offices to test the system in real conditions and gather feedback before broader rollout.

Sprint Metrics: Measurable indicators (accuracy, fairness, business impact, user adoption) tracked at the end of each sprint to assess progress and inform next sprint planning.

The shift from waterfall to agile thinking is one of the most important mindset changes for government AI teams. Waterfall assumes that planning and prediction are possible; agile assumes they're not and structures work accordingly.

In practice, this means:

  • You're comfortable shipping something imperfect because you're learning
  • You measure everything because metrics guide decisions
  • You're flexible about scope and timeline because you're discovering what's achievable
  • You involve users/stakeholders continuously because their feedback is data
  • You treat failure as information, not catastrophe

This is harder than waterfall in some ways (you can't hide behind a plan) and easier in others (you're not betting the farm on one design). The teams that master iterative AI development deliver value faster and with lower risk.

Reflect on a project where initial planning turned out to be wrong. Why did the plan fail? What did you learn only after you started working? How would an iterative approach have changed the outcome? Use this reflection to develop intuition for why iterative development works better for uncertain work like AI.

You've learned how to structure AI projects iteratively. The next lecture focuses on testing and validation--how to know whether your iterative improvements are actually improvements and whether your system is ready to deploy. Good measurement and validation practices are what make iteration meaningful.

See you in the next lecture.

Government AI CLUB Certification Program

Level 2: AI Ready | Agile and Iterative AI Development | Lecture 2.4.3

A GOVT.CLUB initiative

Visit: https://govt.club/learn/lectures/l2/243-agile-iterative-development.html

======================================================================

<- 2.4.7 Communicating AI Projects to Leadership
2.5.1 Systematic AI Output Validation ->

Start Your CLUB Certification

This lecture is part of L2: AI Practitioner -- 40 hours of comprehensive government AI training.

Explore CLUB Certification

L2
2.4.1 -- How AI Projects Differ from Traditional IT
60 min - Video + Comparison

L2
2.4.2 -- Requirements Gathering for AI
60 min - Workshop

L2
2.4.3 -- Working with AI Vendors and Contractors
60 min - Video + Checklist