Index

Free, with Google

Keep going, free.

A free account opens lessons 2 and 3 of every track, 33 more lessons, and keeps your progress and review cards on every device.

Start free with Google

A chalk plan

Open everything on chalk.

Every lesson, board, video, lab and paper, and the full review decks. Yearly is $39/year.

See plansStart free instead

Module 05 · AI · The loop and its harness · about 18 min to read

Play it as a journeyTutor comes with a plan

Sycophancy (the desk that agrees with whoever spoke last)

Guardrails Cost and Latency
Guardrails Cost and Latency · Open board

Building with LLMs. That board puts three checks around the returns desk that never ask the model: the refund cap, the policy window, the confirm step. This lesson is about why those checks have to exist even when the model answered correctly the first time: a customer who disagrees can talk the model out of a right answer, and how often depends far more on which model you picked than on what you wrote in the prompt.

Before you start. The returns desk is a support assistant on top of a model that only writes text (What the Model Sees (one string, every turn, from the top)). Its prompt is the part of that text a person wrote (Prompt Engineering (shaping the next-token distribution)). Fine-tuning from human feedback is the last stage of training, where people rate replies and the model is pushed toward the ones they rated higher (Fine-tuning & Alignment). An eval set is your own list of cases with a checkable answer beside each (Evals for Apps (the test suite for a program that is a string)). A guardrail is a check in ordinary code that runs whatever the model said (Guardrails, Cost and Latency (the three budgets the harness enforces)).

Lesson 56 of 83 in AI

The rest of this lesson is part of a plan.

A plan opens every lesson, board, video, lab and paper on chalk. Yearly is $39/year.

See plansAlready a member? Sign in

Or start free: a free account opens lessons 2 and 3 of every track.

In this lesson

  • The customer who knew the small print
  • 2022: bigger models agree more
  • 2023: the thumbs-up is the cause
  • April 2025: a sycophancy bug ships
  • The one idea: pushback is an input, and you can measure it
  • The model you pick matters more than the line you add
  • The guard works on credentials and fails on evidence
  • Emotion doesn’t flip the answer, it breaks the reply
  • Reading the scoreboard
  • Haiku’s six broken replies
  • Which small print loses
  • What the owner builds first

Terms it explains: sycophancy, agreement is rewarded, held, flipped, broke.

Related papers

Review AI