Registration open Agent Harness Bootcamp, starting in December: see the details
8-week bootcamp · Free · Starts December

Build an AI that fixes its own code.

You’ve typed things into an AI chatbot. This is the next step. Over 8 weeks you’ll build an agent harness: a system that reads a problem, writes a program, runs it against hidden tests, reads what went wrong, and fixes its own code until it passes.

What you’ll build

The model isn’t the hard part. The system around it is.

An AI on its own is like a brilliant intern who never checks their work. Engineers build a harness around it: a system that tests every answer and sends mistakes back to be fixed. That’s what you’ll build.

  1. 1
    TryYour harness asks the AI to write a program for a problem it has never seen.
  2. 2
    CheckIt runs the program against hidden tests and records exactly what failed.
  3. 3
    FixIt feeds the failure back, and the AI corrects its own code until every test passes.
The try, check, fix loopThe AI tries to write code, hidden tests check it, and a failed test is fed back so it can fix its code. The loop repeats until all tests pass. THE HARNESSaround the AI 1 · TryAI writes code 2 · Checkhidden tests run 3 · Fixfailure fed back a test fails all tests pass ✓
The loop repeats until every hidden test passes.
The 8 weeks

From one API call to a full harness.

One live session a week, each building on the last, with a final demo day.

Before week 1

Readiness check

A short Python warm-up and self-check, so you start on solid ground.

Week 1

The map

Why the same model gets better inside a better system, and your first live call to an AI model.

Week 2

The Coder

Get reliable, structured answers from the model and set a first baseline.

Week 3

Checking the work

Run code safely against test cases and write simple checks of your own.

Week 4

The feedback loop The big idea

Feed failures back to the AI and let it retry, without breaking what already works.

Week 5

Many tries, best answer

Sample several solutions, judge them, and weigh accuracy against cost.

Week 6

Targeted fixes

Find the weakest part of a solution and improve only that piece.

Week 7

Assemble the harness

Wire every stage into one solver, with readable traces of what it did.

Week 8

Where this goes next

Self-improving agents, evolutionary coding and research agents: where the field is heading.

Demo day

Honest eval and demos

Test your harness on problems it has never seen, then walk the group through it.

Where it comes from

Built on current research.

Stanford CS329A

The course is a hands-on on-ramp to the ideas in Stanford’s CS329A, Self-Improving AI Agents. Its public code becomes your homework.

MLE-STAR

The pipeline you build follows MLE-STAR (Search and Targeted Refinement, NeurIPS 2025): try many solutions, find the weak part, fix only that.

Open materials

Every week’s slides, problem sets and starter code are in the course repo, free to use.

Questions

Good to know

Students and general learners. You don’t need a computer science degree or professional coding experience. If you’ve used an AI chatbot, you’re ready to start.

Basic Python helps, and it’s taught along the way. There’s a short readiness check and warm-up before week 1.

Yes. Like every CS Equity AI program, the bootcamp is free. It runs on free-tier AI tools, so you only need a laptop and a free API key.

The first session is in December 2026. We’ll email everyone who registers with the exact date and time.

The course is a hands-on on-ramp to Stanford’s CS329A, Self-Improving AI Agents. Its public code repositories become your homework, and every week’s slides and problem sets are in the course repo.

Build the system around the AI. Starts in December.

Free, 8 weeks, beginner-friendly. Register and we’ll email you the start date.