Loop Engineering for FDEs

Dr. Greg Loughnane, Ph.D.

CEO & Author of The AIE Bootcamp Book

Chris Brousseau

AI FDE & Author of LLMs in Production

Build trustworthy agent loops to pass your spec without babysitting

An agent is an LLM running tools in a loop. Run it long enough and you often get nonsense.

Why? You hand a coding agent a task and walk away. Forty turns later, it is debugging its own confusion.

The fix isn’t a better model. It’s a better harness: the code around the agent that decides what it sees, checks its work, and stops it.

This workshop teaches loop engineering, a hands-on slice of harness engineering, so you can actually walk away.

Part I: Loop Engineering with Deep Agents

As in The AI FDE Certification, we start with a real business use case and build it with a leading framework, LangChain’s Deep Agents.

Part II: Loop Engineering from Scratch

Then we rebuild it in plain Python using Ralph Loops and Spec-Driven Development. FDEs need both: in a large enterprise, writing the code yourself is often faster than getting a new library approved.

Building it both ways shows what a framework gives you, and what it never will: the stop condition is yours to write.

Half the day is hands-on. You’ll work through both notebooks in small groups, then write a spec and checker for your own work with Dr. Greg and Mr. Chris in the room.

What you’ll learn

Go from babysitting coding agents to engineering harnesses that pass the spec or stop and tell you why.

  • Goal, checkable acceptance criteria, and constraints

  • Turn “make it good” into criteria a loop can stop on

  • Pass a “strict” checker with code that ignores its input

  • Assert values, not membership or shape

  • Three exits: passed, budget exhausted, no progress

  • Test the loop with scripted agents before any model call

  • Start a fresh agent each round, with no memory of past chats

  • Give it notes from past failures that it can read but not edit

  • Direct model calls, notes in a list, same checker

  • Ship without waiting for library approval

  • Write a spec and checker for a real task from your job

  • Decide if it’s loop-shaped, or if a single run is enough

Workshop agenda

  • [Lecture + Live Code] Part I: Loop Engineering with Deep Agents (1 hour 30 min)

    Learn harness engineering, specs, and how to attack your own checker. Then watch a Ralph loop get built live with LangChain Deep Agents on a real model.

  • [Group Work] Part I Notebook (30 min)

    Work through the Deep Agents notebook in small groups. Run the loop yourself, break the checker, and compare results with your group.

  • Lunch + Open QA (1 hour)

    Recharge before the afternoon build.

  • [Lecture + Live Code] Part II: Loop Engineering from Scratch (30 min)

    Rebuild the same loop in plain Python, with no library approval needed. Add memory so the second run starts smarter than the first.

  • [Group Work] Part II Notebook (30 min)

    Work through the from-scratch notebook in small groups, and compare what the framework did for you with what you wrote yourself.

  • [Hands-on] Co-Building Session (45 min)

    Write a spec and checker for a real task from your own work, with support from Dr. Greg, Mr. Chris, and peers.

Learn directly from Greg & Chris

Dr. Greg Loughnane, Ph.D.

Dr. Greg Loughnane, Ph.D.

Building the people who build AI, through engineering and data science training.

AI Makerspace
FourthBrain
University of Dayton
Wright
Chris Brousseau

Chris Brousseau

AI engineer at AI Aspire, and co-author of LLMs in Production from Manning.

AI Makerspace
Utah State University
JPMorgan Chase & Co.
See all products from AI Makerspace

Who this workshop is for

  • Engineers working full-time inside a company that are prepared to bring a real use case from work and iterate on the AI solution weekly.

  • Engineers and technical builders who are interested in learning the details of loop engineering and spec-driven development

  • If you are not technical, this course is likely NOT for you.

What's included

Live sessions

Learn directly from Dr. Greg Loughnane, Ph.D. & Chris Brousseau in a real-time, interactive format.

Lifetime access

Go back to course content and recordings whenever you need to.

Community of peers

Stay accountable and share insights with like-minded professionals.

Certificate of completion

Share your new skills with your employer or on LinkedIn.

Maven Guarantee

Your purchase is backed by the Maven Guarantee.

Share this Workshop with a Colleague

Frequently asked questions

Maven for Teams

Reimbursement

Get your company to pay

Everything L&D needs: email template, receipts, and certificate of completion.

Get reimbursed

Team discount

Learn with your teammates

Save 20%+ when 2 or more teammates enroll in the same cohort.

Save 20%+ with a team

Private cohort

Run a cohort for your org

A dedicated cohort with a custom schedule and curriculum, tailored to your team.

Book a private cohort

$750

USD

Nov 24
·

10am–3pm EST

Enroll