Mirage Academy · Course · Advanced · Coding agents

AI-assisted software development course: ship an app with a coding agent

For software engineers and technical product people who build AI features. You learn how a coding agent works, plan work for it, review what it writes and let tests decide when a step is done. In the capstone you build and ship a small application with an agent.

Open the courseSee the loop

The course

Use coding agents and stay in control of design, review and tests

Watch the short intro, then read what the first six chapters teach.

Still from the intro video for the course AI-Assisted Software Development
Intro video, 1 min 9 s. Transcript below.
Read the transcript

You already use coding agents, but their code can drift away from your design. This course shows how an agent works, and how you keep design, review and tests in your hands. Every chapter works inside one loop. You plan the task with a spec and acceptance tests. The agent writes code in small, testable steps. You review the diff for correctness, security and style. Then the tests decide if the step is done. Around that loop come the daily skills. You read a codebase with the agent. You keep small diffs on branches. You debug by finding the cause first. And you write project rules so good workflows repeat. In the capstone you build and ship a small application with an agent, using the whole loop. If you want agents to speed up your work while you stay in control, start with chapter one.

Open the course: AI-Assisted Software Development

What you learn

  1. 01How coding agents work: the loop behind the editorStarts with: The Agent Loop and Why Every Turn Costs More
  2. 02Planning work for an agent: specs, tasks and acceptance testsStarts with: Why plan before the agent starts
  3. 03Reading a codebase with an agentStarts with: Orientation: tree, entry points, config
  4. 04Writing code with an agent in small, testable stepsStarts with: Step size
  5. 05Reviewing generated code: correctness, security, styleStarts with: Review order
  6. 06Tests first: letting tests steer the agentStarts with: Tests as the agent's feedback signal
The course intro video with a play button, beside the six outcomes of the course as a dotted list. Each outcome shows the first lesson of its chapter.

The loop

The chapters work inside one loop with four stations

The chapters keep returning to one routine. You and the agent take turns, and the tests have the last word.

  1. 01

    You plan the task

    Write a spec and acceptance tests, then slice the work into tasks you can review.

    You decideChapter 2

  2. 02

    The agent writes small steps

    Each step is small and testable: red, green, commit.

    The agent worksChapter 4

  3. 03

    You review the diff

    Check the change for correctness, security and style before it goes on.

    You decideChapter 5

  4. 04

    The tests decide

    The step is done when the tests say so.

    The tests decideChapter 6

Four stations in a row: plan, write, review, test. A dotted line leads from the last station back to the first. Under each station stands who acts and the chapter that teaches it.

Daily skills

Four skills around the loop make it work on real code

Chapters 3, 7, 8 and 9 cover what you do every day beside the loop.

  • Chapter 3

    Read a codebase with the agent

    Orientation, search that finds the right thing, tracing a call path and notes whose claims you can check.

  • Chapter 7

    Keep small diffs on branches

    A branch per task, reading diffs, commits and undo, merging and conflicts.

  • Chapter 8

    Debug by finding the cause first

    Reproduce first, read the traceback, run a hypothesis loop and know when the agent is stuck.

  • Chapter 9

    Write project rules so good workflows repeat

    What goes in the instructions file, what a long file costs and the difference between advice and enforcement.

Four cards, each with a small drawing: a file tree for reading a codebase, branches for git, a trace line for debugging and a rules file for project instructions.

Review

Five lessons teach you to review what an agent writes

Chapter 5 covers reviewing generated code for correctness, security and style. Its five lessons are the five marks on the diff below.

checkout.tsIllustration written for this page

  1. @@ checkout.ts @@1
  2. const fee = feeFor(order);
  3. const fee = order.total * rateFor(order.country);2
  4. db.query("SELECT * FROM users WHERE id = " + order.userId);3
  5. import roundMoney from "money-rounder-pro";4
  6. expect(fee).toBeDefined();5
  1. Review order

    Mark 1 on the diff.

  2. Correctness patterns

    Mark 2 on the diff.

  3. Security review

    Mark 3 on the diff.

  4. Dependencies and invented APIs

    Mark 4 on the diff.

  5. Reviewing the tests and deciding

    Mark 5 on the diff.

An example diff of a checkout function with five numbered marks. Mark 1 sits on the file header, mark 2 on a calculation, mark 3 on a database query, mark 4 on an import and mark 5 on a test line.

Tests first

A step counts as done when four checks pass, in this order

Chapters 4 to 6 teach red, green, commit and how to stop test gaming. This example runs one step through four checks. Change the facts and see which check stops it.

Example: one step an agent worked on

Start from an example step
Facts of the step
  1. 01Passes

    A failing test came first

    You saw the test fail before the agent wrote the code.

  2. 02Passes

    The test was not edited after it failed

    If the agent changes the test to make it pass, the step does not count.

  3. 03Passes

    The tests pass

    Every test is green now.

  4. 04Passes

    A person reviewed the diff

    You read the change and accepted it.

VerdictDone: commit the step.

The rule: the four checks run in order and the first one that fails blocks the step. A green run counts only if the test was not edited after it failed. If a test is wrong, fix it as a step of its own.

Done: commit the step.

A step with four facts you can switch and four checks in a row. The first failing check blocks the step, and the checks after it are not reached. All four passing means the step is done.

The path

Ten chapters, the last one a capstone you ship

Ten chapters of five lessons each. The first lesson of a chapter stands under its name.

  1. Chapter 1

    Coding agents

    The Agent Loop and Why Every Turn Costs More

  2. Chapter 2

    Planning

    Why plan before the agent starts

  3. Chapter 3

    Reading a codebase

    Orientation: tree, entry points, config

  4. Chapter 4

    Small steps

    Step size

  5. Chapter 5

    Review

    Review order

  6. Chapter 6

    Tests first

    Tests as the agent's feedback signal

  7. Chapter 7

    Git workflows

    A branch per task

  8. Chapter 8

    Debugging

    Reproduce first

  9. Chapter 9

    Project rules

    What goes in the instructions file

  10. Capstone

    Capstone: build and ship a small application with an agent

    Choose and specify, plan and slice, build with tests first, review and security pass, ship and measure.

Open the course: AI-Assisted Software Development
Ten chapters on a dotted path from chapter 1 to the capstone. Chapters 1 to 9 are numbered dots, the capstone is a flag.

Learn to build AI agents →Sibling course: MCP tools and integrations →

How you learn it

How a lesson works, and what comes with the course

A lesson, the Academy's AI coach and a certificate make up the way you study here.

  • 01

    Lessons

    Each lesson explains one idea visually, then gives you questions, a task and a quiz.

  • 02

    AI coach

    The Academy's AI coach listens while you explain the idea by voice, then follows up. The coach is an AI.

  • 03

    Certificate

    Completing the course earns a certificate. In the Academy's words it is Mirage's own confirmation of the course, not a state-recognized degree.

Three parts in a row: a lesson with questions, a task and a quiz, the AI coach, and the certificate drawn as a seal.

Questions about AI-assisted development

  • What is the AI-assisted software development course?

    It is an Advanced course with ten chapters for people who want to ship an application with coding agents while staying in control of design, review and tests. Chapter ten is the capstone.

  • Who is the course for?

    Engineers and technical product people building AI features who want to ship with coding agents. The level is Advanced.

  • Is this a vibe coding course?

    It teaches you to keep the work in your hands. You write the spec and the acceptance tests, review the diff and let the tests decide when a step is done.

  • What will I be able to do afterwards?

    You can explain the loop behind a coding agent, plan work for it, read a codebase with it, write code in small testable steps, review generated code and use tests first to steer the agent.

  • What gets shipped in the capstone?

    You build and ship a small application with an agent. The five lessons are choose and specify, plan and slice, build with tests first, review and security pass, and ship and measure.

  • Which course teaches how to build tools for agents?

    The MCP course covers how to build servers that give an agent business capabilities. You can open its page from the path section above.