Σ 0:00▸ 0:00

Module 3 · Agent Tools, Knowledge, Memory & Research Design · outlined

Exercise: The Archive

30 minoutcomes: tool-design, knowledge-systems

The goal: make self-training cheap

"Read the Manual" made a claim: an agent can train itself at the moment of need — if the archive is shaped for a reader who pays per look. The table of contents sharpened it: one small routing file beats a pile the agent has to dig through. This exercise attaches numbers to both claims, and puts two design levers in your hands:

The two levers

The ARCHIVEhow the information is organized — file names, folders, indexes, granularity
The INSTRUCTIONSthe agent's standing orders — how it is told to approach an unknown archive
Fixed:the tools (list_files, search_files, read_file)
Measured:tool calls, input tokens, output tokens

Open the simulator: /exercises/archive. You build a fake documentation tree — invent paths and contents freely, or load a template — pick a task, and press run. No approval gates: the agent works alone, and the lab meters every look it takes. Each run lands in a table so designs can be compared on the same question.

The exercise at a glance

  1. 1
    Step 1: run one task against the three template shapes and read the bills.
  2. 2
    Step 2: rewrite the agent's instructions and see how far orders alone can rescue a bad archive.
  3. 3
    Step 3: try the synthesis and trap tasks — notice how the "best" organization depends on the question.
  4. 4
    Step 4: design your own archive and instructions for a domain you know.

Experiment 1 — organization

The three templates hold the same facts in three shapes: one giant file (everything.md), the filing cabinet (small files behind a README.md index), and the attic (the same files scattered under unhelpful names, no index). Run The powdered sample against each and compare the input-token column. The facts never changed; only the architecture did — the difference is what the shape itself costs. Then look at how the agent moved: did it read the index first, or gamble on search_files, or swallow the whole handbook?

Experiment 2 — instructions

Open the agent's instructions and edit them. The default is deliberately generic. Try standing orders like:

Re-run the attic with your instructions. The question this experiment asks: can instructions rescue a badly organized archive — and what do those instructions cost on a well-organized one? Runs record which instructions they used, so the table shows default vs custom side by side.

Experiment 3 — tasks that want different shapes

Not every question rewards the same organization:

Run all three against your favorite shape. If you had to pick one organization for a mixed stream of questions, which survives best?

Design your own

Pick a domain you actually know — your group's onboarding notes, an instrument's documentation, a project wiki — and rebuild it as a tree with synthetic contents only (invent every fact; an LLM you already use can generate plausible fake documents). Write tasks a newcomer would really ask, add answer checks if you like, and iterate on both levers:

One run proves nothing; models are probabilistic. Run each comparison a few times before you trust it — and bring your best before-and-after numbers to the discussion.