Everything Is a Transformation

There is one more habit of mind that makes all of this click, and it comes from the shape of the machine underneath. A large language model is a transformer, and it is extraordinarily good at one thing: turning an input into an output. So the most useful way to frame any task you hand it is as a series of transformations — and the skill in using an agent is sizing each transformation to the model and to the guarantee you need. This chapter is about that sizing, and about how the three skills are all built from it.

Size the leap to the model and the guarantee

Give a model an input and either examples of a transformation or a precise description of it, and it will apply that transformation to something new — as long as the new thing is close enough to the examples, or the rule is precise enough. The stronger the model, the bigger the leap it can make reliably. A strong model turns abstract instructions into working code; a weak one turns the same instructions into a dumpster fire, or nothing that compiles. So you tune two things together: the level of abstraction you speak at, and the size of the leap you ask for — against the model's strength and against how much guarantee you want.

The trade has a sweet spot, and you can feel for it by counting reasoning steps. Want high guarantees? Ask for smaller leaps, and check the result of each one as it lands. Want speed? Ask for bigger leaps, and accept that you trade away some of that per-step trust. There is a middle: demand tiny changes and you pay in many steps and many tokens; demand a huge leap and you pay in the long reasoning it takes to make it. The right size is big enough to use the model's full power, but not so big it needs an exhausting chain of thought. And there is a hard reason not to let the chain run long: probabilities compound. A one-percent chance of going wrong per step is nothing over two steps and almost a certainty over a hundred. Size the transformation to the task's complexity and the model's scale, and you keep the failure probability where you can live with it.

The right-sized leap, and the wrong-shaped one

Two transformations from this book show the lens at work — one sized right, one shaped wrong.

The remediation core could ask a strong model for the whole leap: here is a document, hand back an accessible one. That is a single enormous transformation, and a strong enough model can sometimes make it. But it is expensive — the model reasons over the entire document on every call — slow, and unauditable, because you cannot see which change it made or why. So the system sizes the leap down. It scopes the work to a closed vocabulary of small typed edits — set the alt text on this image, set the role of this block, reorder these children — the same edit language the editor speaks in Part 1. The model is asked for one bounded edit at a time; each call reasons over one scoped task instead of the whole document, and each edit comes back typed, stamped, and reversible. This is where the transformation-sizing lens earns its keep, and changes a decision the loop-and-model lens does not: that lens says call the model to remediate; the sizing lens says call it for one edit at a time — cheaper, faster, and auditable, all at once.

Sizing is only half of it. The transformation also has to be the right shape for the task and the model. I learned this the expensive way. For two weeks I sized a transformation beautifully and pointed it at the wrong problem — pulling a PDF's reading order out of the geometry of its bounding boxes, and handing that geometry to cheap vision models, which are bad at geometry. The model cheerfully made a doomed shape better and better. A well-sized transformation of the wrong shape is still the wrong transformation. The skill is not only sizing the leap; it is finding the one leap that fits both your task and your model, and abandoning the one that does not.

The skills are transformations all the way down

The three skills are transformation chains all the way down Each of the three skills carries an input to an output through a sequence of sized transformations, sharing one skeleton. Self-communicate starts from the model's language weights, then adds rhetorical figures, then the Diataxis writing genre, then the lexicon for this context, and leaves the top layer — audience — to you. Self-operate maps an incoming event to a kind of activity, transforms it into a design or defect characterization, then into steps, then into distinct agent launches with briefs. Self-governance transforms a recurring symptom into the mechanism that ends it, one catalogue entry per arrow. The shape is the same across all three: a general reasoning task broken into a series of input-to-output steps the model can follow, each step sized to the model and the guarantee you need. input output self- communicate language weights figures + genre the lexicon audience (you supply) self-operate event → activity design / defect steps agent launches self-governance a symptom one catalogue entry = the transformation the mechanism One skeleton: a reasoning task broken into sized input-to-output steps each step sized to the model and the guarantee you need
The three skills share one skeleton. Each carries an input to an output through a sequence of sized transformations. Self-communicate stacks language weights, rhetorical figures and genre, then the lexicon, and leaves the audience to you. Self-operate maps an event to an activity, then to a design, then to steps, then to agent launches. Self-governance turns a symptom into a mechanism, one catalogue entry per arrow. The shape is the same: a reasoning task broken into input-to-output steps the model can follow, each sized to the model and the guarantee you need.

Once you see everything as a sized transformation, the three skills reveal a common skeleton. Each holds a set of models the agent reasons over, and each names the steps — the transformations — that carry an input to an output. What you supply, in your own context, is the breakdown: the playbooks and runbooks for the steps your work actually takes.

That last point is the through-line of the whole book, so it is worth stating plainly: each skill takes a general reasoning task and breaks it into a series of transformations over inputs into outputs, with steps the model can follow. This is not a coincidence of design — it is the shape of working with a transformer at all. It is why the companion catalogue can be read like a lookup table: you arrive with a symptom and leave with the mechanism, because the entry is the transformation between them. Work with agents through this lens — every task a sized sequence of input-to-output steps — and you will find yourself a much happier engineer.

Contents
© James C. Davis, 2026–present