Skip to content
all lessons6.1●●○○○

The harness: the loop, made real

A harness wraps the frozen model in a loop: it proposes an action, a tool runs, repeat.

1A chatbot just talks. Tap the piece that makes it edit your files.your turn
the desk
the loopyour turn
🔧 toolread sheet
💭 modelpropose fix
🔧 toolapply fix
💭 modelpropose action
🔧 toolre-check totals
💭 modelread result · done
the notes (what the model reads back)

task: fix the expense report

Frozen for now. The notes fill up once the loop runs.

A chatbot just talks. Tap the piece that makes it edit your files.
Step 1 / 9

You've reached the end of the free preview. The next lesson needs your pass:

That whole loop runs inside one finite thing: the context window.

6.2 What's in the context window