Lesson 01.10 · Phase 01 · LLM Foundations for Agents

Why capable models still fail

Some failures aren't about the model being small or the prompt being bad. They come from how LLMs work: tokens, next-token prediction, training cutoffs, and wanting to agree with you. Know them, probe for them, and design around them.

Learning objectives

  • Name the failure modes that follow from how LLMs work, and explain the cause of each.
  • Build a probe suite where every probe has an automatic check and a mitigated variant.
  • Measure base versus mitigated pass rates on a real model, and read the failing replies.
  • Find bugs in your own probes, because a wrong checker teaches the wrong lesson.

Your agent handles complex refund workflows, then tells a user that "strawberry" has two r's, gets a 17% calculation wrong, confidently gives a date from last year, or drops a correct answer the moment the user pushes back. These aren't random. They're predictable consequences of how the model works, and that means you can test for them and design around them, mostly with tools and context rather than better prompts.

Loading the full lesson…