Files
ai-agent-book/slides/lesson-01.md
T
liqiang b119135836
Build latest book artifacts / build (push) Canceled after 0s
dependency resolution / resolve (3.11) (push) Canceled after 0s
dependency resolution / resolve (3.13) (push) Canceled after 0s
deploy-pages / build (push) Canceled after 0s
deploy-pages / deploy (push) Canceled after 0s
i18n consistency check / check (push) Canceled after 0s
provider adoption tests / test (chapter2/context-compression) (push) Canceled after 0s
provider adoption tests / test (chapter2/prompt-injection) (push) Canceled after 0s
provider adoption tests / test (chapter2/system-hint) (push) Canceled after 0s
provider adoption tests / test (chapter3/log-sanitization) (push) Canceled after 0s
web-search-agent tests / test (push) Canceled after 0s
web-search-agent tests / agentbook (push) Canceled after 0s
ai-agent-book 精选快照(<2MB 代码与文档,来自 github.com/bojieli/ai-agent-book)
2026-08-20 13:12:50 +00:00

7.0 KiB

theme, title, info, author, transition, mdc, lineNumbers, monaco, aspectRatio, canvasWidth, layout, class
theme title info author transition mdc lineNumbers monaco aspectRatio canvasWidth layout class
seriph Lesson 01 — How Do We Replace Agent Intuition with Evidence? English video course for AI Agents in Depth Bojie Li slide-left true false false 16/9 980 cover cover
Build · Introduction · Orientation

How Do We Replace Agent Intuition with Evidence?

A practice-first map of AI Agents in Depth

Lesson 01 of 42 · 16 minutes · Introduction; Book Structure; How to Read This Book

layout: center class: text-center

The central question
Why do impressive Agent demos so often fail to become reliable products?

Why this problem matters

Demo success

One lucky trajectory proves possibility—not reliability.

Engineering judgment

Every design choice needs a mechanism and a trade-off.

Scientific progress

Without evaluation, change is indistinguishable from luck.


Three ideas to keep in view

Build

Context, knowledge, tools, and code generation

Improve

Evaluation, post-training, and continual evolution

Expand

Voice, Computer Use, robotics, and collaboration


The book's visual model

The four-part structure of the book
The four-part structure of the book

Demo-driven vs. Principle-driven

Demo-driven

  • Start with a framework
  • Celebrate one successful run
  • Change prompts by intuition

Principle-driven

  • Start with a failure mode
  • Run a controlled comparison
  • Turn evidence into a design rule
The course follows the right-hand loop.

The course's experimental loop

question = define_failure_mode()
hypothesis = predict_mechanism(question)
evidence = run_controlled_experiment(hypothesis)
rule = interpret(evidence, limitations=True)
evaluate(rule)

Test the claim

Course tour1 min

Inspect one companion experiment before running it

Observe: Entry point, modes, providers, outputs, and reproducibility controls

Demo budget: 1 minute · one contiguous terminal block

class: course-terminal

Live demo

Switching to the terminal

$ uv run python chapter1/context/main.py --help
Run the command(s), narrate decisions, and point to the observation—not just the output.

What the evidence supports

Finding 1

The book is organized around recurring engineering questions, not products.

Finding 2

Experiments expose mechanisms through controls, ablations, and receipts.

Finding 3

The author's interpretation—not terminal output alone—is the course's value.


layout: center

Where the claim stops

Boundary condition

A short lesson cannot reproduce every long-running campaign. It can make the protocol and evidence traceable.

layout: center

Engineering takeaway

Design rule

Never present an Agent result without first stating what would count as success or failure.

Continue the experiment


layout: center class: text-center

Pause and apply

Your turn

Which Agent claim have you accepted after seeing only one successful run?

layout: center class: text-center

Introduction complete · Next · Lesson 02
Define an Agent by the interfaces that connect it to the world.