01

§ Session 07 / 1 October 2026

Task decomposition and specialized agents

02

A long context degrades before it is full, so each task is cut to fit one fresh session and end with one approved test. The plan lives in a file. Then one question, where does the output go, sorts each step into a skill, a tool, a script or an agent

03

Three workflows, one example

The decision in Part 02 asks one question of every step in a task: where does the output go? These figures follow one question about an airfoil through the AeroAgent example, done three ways. Each ends with what is left in the context afterwards, and what never entered it.

Fig. 1 A skill is instructions the model reads when the task matches. pi lists seven skills by name and description; the question matches one; that SKILL.md is read into this context, then one cited passage, bounded by a route record. Not the 490 extracted pages.

Open the skill figure full size

Fig. 2 A tool is a function with a schema, run by the harness. The extension registers xfoil_polar; the model fills in the arguments; the harness runs the session 6 XFOIL wrapper with no model involved; the table comes back as text; the model reads 0.715 off it.

Open the tool figure full size

Fig. 3 A specialized agent is a definition file run in a fresh process. The parent session makes one tool call; a child pi process starts from the definition's model, tools and system prompt, uses the skill and the tool, and returns five lines. The parent context holds the call and the answer. The child's context is discarded.

Open the agent figure full size

The skill figure is a summary. The full picture of the reference library, with the route record and the passage it points to, is below.

Fig. 4 The AeroAgent reference library in detail: 490 extracted pages on disk, seven skill descriptions advertised at startup, one skill and one route record read per question, one bounded passage, and an answer with a citation and a stated limit.

Open the library figure full size

The example is a work in progress. The reference library exists. The solver wrapper and the specialist’s definition file are planned, and the figures mark them as such.

04