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 02 · AI · From a model to an app · about 16 min to read

Watch: When a model claims a proof, what was checked?
▶ VideoPlay it as a journeyTutor comes with a plan

Agents & Tool Use

Agents and Tool Use
Agents and Tool Use · Open board

“Agents and Tool Use”, the board that closes the How LLMs Work track. It draws the loop that every coding agent is running, including whichever one you are reading this in.

Before you start. You need one fact from Inference (sampling, context, KV cache, hallucination): a language model is a text predictor. You hand it a string, it hands back the next stretch of text, and it has no memory, no network and no hands. Everything here is built out of that limitation.

Lesson 17 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 returns desk: a language model is a clerk with no hands
  • October 2022: the tool call, a form the model fills in instead of answering
  • February 2023: training it to know when a tool call helps
  • ReAct, and the agent: think, act, observe, repeat until the job is done
  • Four holes a tool patches: knowing, counting, doing, remembering
  • Guardrails: how an agent fails when the loop runs unwatched
  • What the form really looks like
  • One pad for every desk
  • The long afternoon
  • The back office re-reads the whole folder
  • All of it in code

Terms it explains: How LLMs Work, tool, tool call, harness, ReAct, Human approval, Verification, Error handling, Good tool descriptions, structured output, Model Context Protocol, server, planning, multi-agent, Tools, loop, Knowing, Counting, Doing, Remembering, agent, agent loop, brittleness, Claude Code / this assistant, grounding/computation/action/memory, guardrails, MCP (Model Context Protocol), reliability, tool / function calling, tool schema, tool server.

Related papers

Review AI