Tratopedia
繁中
Settings

Text size

Language

Theme

High contrast

Version

v1.184.0

The release this page was built from. It is what the service worker caches under.

AI · LLM Engineering · TopicTratopedia · v0003 · 9 Sep 2026

Standing topic · five names, one moving boundary, and the first bill anybody published

LLM engineering

LLM engineering is the umbrella for building systems around a language model rather than training one. It has five names. Prompt engineering was a dictionary headword by 2023; the other four — context, harness, loop and graph engineering — all arrived between June 2025 and July 2026, inside 380 days. The field presents them as a ladder, each layer containing the last. Five separate investigations, one per term, do not support that. No two of the five moved the same way: one narrowed, one inverted, one swelled, one never converged, and one was coined twice a fortnight apart by people who appear not to have known of each other. In every case this project could date — four out of four — the practice was published before the word, by 71 to 182 days, and not one of those four coinages happened in a peer-reviewed venue. What is agreed, across all five arguments about names, is the practice itself, and it has barely moved. Two numbers have since been put against any of it, and both are a vendor measuring its own system: about 3% of benchmark score, the cost of one system-prompt rule in an incident where three named layers degraded the same product at once, each change having passed its own review; and 90%, a saving claimed for routing bulk file reads to a cheaper model, which that benchmark’s own note says counts one model’s context. Neither compares a layer with the one below it. That is still the thing nobody has measured.

The five terms, and how each one moved each has its own article; this is what they show side by side

  • 5named layers, and no two of them moved the same way
  • 380days from the first datable coinage to the last
  • 4 / 4times the practice was published before the word
  • 0 / 4datable coinages introduced in a peer-reviewed venue
  • 3%the measured cost of one system-prompt rule, on the vendor’s own ablation
  • 90%the claimed saving from routing reads away — counted on one model’s context
  • Prompt engineering 提示工程

    It narrowed

    coinage date not established · a headword by 2023

    • Task selector, then teaching by example, then process shaping
    • Then a job title — and then a component inside the layer above it
    • The job ended. The measured sensitivity to wording never did
  • Context engineering 情境工程

    It inverted

    19 Jun 2025 · inverted in 102 days

    • Coined as “providing all the context”
    • Formalised as “the smallest possible set of tokens”
    • Sufficiency became scarcity, and once-per-task became once-per-step
  • Harness engineering 機具工程

    It swelled

    5 Feb 2026 · redefined 33 days later

    • Coined for a habit: an instructions file and a couple of scripts
    • Thirty-three days later: Agent = Model + Harness
    • “If you're not the model, you're the harness”
  • Loop engineering 迴圈工程

    It never converged

    2–7 Jun 2026 · six framings in 29 days

    • Neither of the two people who started it ever defined it
    • Six accounts of five different objects — a person, a goal, a program, two machines, an organisation
    • One vendor conceded in print that nobody agrees what a loop is
  • Graph engineering 圖結構工程

    It was coined twice

    4 Jul 2026 in earnest · 18 Jul 2026 as a joke

    • The careful, sourced essay sank. The twelve-word joke drew 3.1M views
    • A survey had already named the practice in January: flow engineering
    • The technical content is the least disputed of the five

How much of this is established every claim on this page, graded — sorted by standing, never mixed

StandingWhat is claimedWhere it comes from
ConfirmedThe four coinage dates: 19 Jun 2025, 5 Feb 2026, 2–7 Jun 2026, 4 Jul 2026Each read at source; the two X timestamps re-derived from their post IDs for this page
ConfirmedThe four movements: 102 days to invert, 33 to swell, 29 to fragment, 14 between the two coinagesRecomputed from the dated documents in this topic's research record, not copied from the articles
ConfirmedA January 2026 survey already called the graph practice flow engineeringarXiv:2601.12560 §5.1, read in full. The essay that coined “graph engineering” cites this paper for something else
ConfirmedWikipedia has an article on the agent harness and none on context engineeringBoth checked on 15 Aug 2026; the second returned HTTP 404. Loop and graph engineering were not checked
Confirmed, not verifiable hereCherny's “my job is to write loops” — the sentence most often given as loop engineering's originSpoken at an event on 2 Jun 2026 and reaching this project only through a third party's write-up. Never heard at source
Confirmed, not verifiable hereAnthropic's two definitions — the augmented LLM, and “the smallest possible set of tokens”anthropic.com refuses this session; the text was supplied by djTratoh and is summarised in input/summary/
UnconfirmedWhen “prompt engineering” was first said, and by whomNever established. It is therefore excluded from the four-out-of-four pattern and from the 380-day span, rather than assumed to fit them
This project's readingThat each name arrives when a particular unit of work stops being the one a person controlsAn inference drawn across the five records. No source states it, and it is marked as inference wherever it appears
This project's readingThat four gaps between practice and word amount to a pattern rather than a coincidenceFour instances with no counterexample found. Four is not many, and the page says so
Not publicThe contents of the X Article that announced loop engineering's deathBehind X Premium. Title, byline and timestamp only — this page characterises none of its contents
ConfirmedThree simultaneous regressions in one product, 4 Mar – 20 Apr 2026, and the ~3% ablation cost of the thirdThe vendor's own published postmortem, reported here on 24 Apr 2026
ConfirmedA mean bulk-read saving of 90% from routing large file reads to a cheaper worker model — the exact mean of three scenarios at 82%, 94% and 94%, with a fourth excluded from itThe plugin’s own public repository, read at the file; the arithmetic re-derived here rather than taken from the announcement
ConfirmedThat the same benchmark estimates tokens as characters divided by four, and describes itself as measuring one model’s context rather than a total across bothThe benchmark file’s own description and methodology note, quoted verbatim from the repository
Confirmed, not verifiable hereThat a quarter of engineering leaders already spend $200–$500 per developer per month on tokens, and about 6% spend more than $2,000Trade coverage attributing the figures to an analyst firm’s research. They are not on the firm’s own page that carries its 2028 prediction
Not publicAny independent reproduction of the 90% figure, against any other codebase, and the 162,000-line monorepo it was measured onNeither found nor published. The reproducible fixtures shipped in the repository are small stand-ins in a different language

How the vocabulary arrived the mechanisms are 2018–2022; the names are 2025–2026; there is very little in between

  1. 2018decaNLP casts ten tasks as questions over a context. The prompt is a task selector
  2. 2020GPT-3: 175B parameters, few-shot sometimes competitive with fine-tuning. The prompt now carries the examples
  3. Jan 2022Chain-of-thought: eight exemplars beat a fine-tuned model with a verifier. The prompt shapes the process — ten months before ChatGPT
  4. Oct 2022ReAct: reason, act, observe. The inner loop exists as a paper, four years before anyone names loop engineering
  5. 19 Dec 2024Anthropic publishes the augmented LLM — retrieval, tools, memory. This is context engineering, six months before it has a name
  6. 19 Jun 2025Context engineering is named, on X, as “providing all the context”. 182 days after the practice was published
  7. 25 Jun 2025Six days later a second definition: “just the right information for the next step”. Already narrower, and already per-turn
  8. 14 Jul 2025Chroma measures context rot across 18 models: they do not use their context uniformly, and get less reliable as it grows
  9. 29 Sep 2025“The smallest possible set of high-signal tokens.” The term has inverted in 102 days
  10. 26 Nov 2025Anthropic publishes the whole harness practice — an initializer, a feature file, a progress file. The word “harness” is used as an ordinary noun
  11. 18 Jan 2026A survey names the graph practice: it “is often described as flow engineering”. Nobody in the later material mentions this
  12. 23 Jan 2026OpenAI decomposes the inner loop in public, and calls its agent “our agent (or harness)” — the noun needing no defence, two weeks before it becomes a discipline
  13. 5 Feb 2026Harness engineering is coined, on a personal blog, for an instructions file and two scripts. Its author says he knows of no existing term
  14. 4 Mar 2026A coding agent's default reasoning effort drops from high to medium. Users say it feels worse within days; the default holds for 34 days
  15. 10 Mar 2026Agent = Model + Harness. Thirty-three days, and the word now means everything that is not the model
  16. 26 Mar 2026A caching change meant to clear old thinking and keep one block runs on every turn instead of once. Fifteen days. It is the received context-engineering advice, shipped as a bug
  17. 13 Apr 2026A paper formalises the loop as a scheduler whose ready set is exactly one — and calls its own proposal a Structured Graph Harness, three months before “graph engineering” is said
  18. 16 Apr 2026A system-prompt rule capping output length, written for one model, is applied to three. Ablation puts it at about 3% of benchmark score. Four days live
  19. 23 Apr 2026The postmortem is published. It is 40 days before anybody says “loop engineering” and 72 before “graph engineering” is coined — the phenomena, with none of the vocabulary
  20. 2 Jun 2026“I don't prompt Claude anymore. My job is to write loops.” A report of one person's practice, at an event. 130 days after the inner loop was published
  21. 7 Jun 2026An X post turns that report into an instruction — “you should be designing loops that prompt your agents” — and it travels. Neither post defines a loop
  22. Jun – 1 Jul 2026Six framings in 29 days, of five different objects: a person's habits, a goal, a program, two nested machines, a taxonomy, an organisation whose outer loop runs for weeks and contains users
  23. 24 Jun 2026An analyst firm predicts that AI coding costs will overtake the average developer’s salary by 2028. What is now being forecast is the bill, not the capability
  24. 4 Jul 2026Graph engineering is coined in earnest — seven minutes, six citations, three commitments. It sinks without trace
  25. 18 Jul 2026Twelve words on X, as a joke, at 00:34 UTC — 3.1M views. An obituary for loop engineering follows 4h35m later, behind a paywall. The joke is the version that travels
  26. 27–28 Jul 2026A Taiwanese trade title draws the five-layer ladder, dating every rung — and in the text beside it writes 目前還沒有定論, there is no settled conclusion
  27. 13 Aug 2026Wikipedia carries an entry for the agent harness, its etymology marked contested. There is still no article for context engineering, fourteen months after it was named
  28. 14 Aug 2026A read-blocking plugin is committed to a public repository, three weeks before the post that announces it. Its benchmark table is public from the start
  29. 3 Sep 202690%: the first saving anybody in this corpus publishes, from routing bulk reads to a cheaper model. The benchmark’s own note says it counts one model’s context
  30. 6 Sep 2026The only independent commentary found declines to treat the figure as more than self-reported, and separates interception from compression — a distinction the ladder does not make

The field's account of itself: a ladder asserted by the least hedged sources, and by nobody who did the naming

The standard account is a stack: prompt engineering inside context engineering, both inside the harness, the loop above that, the graph above the loop. It is a good story and it is drawn far more confidently than it is argued. The clearest statement of it is a diagram, which dates every layer and fixes the nesting; the article printed beside that diagram, by the same publisher on the same day, says in as many words that there is no settled conclusion about the order — some put the loop above the harness, and some leave the harness out altogether. One of those who leaves it out is the writer who coined graph engineering: his ladder has four rungs, and he omits the harness while leaning hardest on a paper whose proposal is called a Structured Graph Harness. The pattern is consistent enough to be worth naming. Confidence in this vocabulary rises with distance from the person who invented it.

  • 5 vs 4rungs, depending on whether the harness is a layer or a container
  • 4 / 4namers who hedged: “no existing term”, “I'm skeptical”, “should matter less over time”, and a joke

What the records show instead: a boundary moving outwards the reading is this project's; the movements underneath it are not

Read in date order, the five names do not stack. Each one arrives at the moment a particular unit of work stops being the unit a person can control. While the unit was one string, the discipline was prompt engineering. When it became one window, context engineering. When the window stopped being the edge of the system, everything outside the model — the harness. Then the repetition — the loop. Then what happens between windows — the graph. That reading is an inference and is marked as one; no source states it. What is not an inference is the consequence: five terms, and five different failure modes. Prompt engineering narrowed until it was a component. Context engineering inverted. Harness engineering swelled. Loop engineering fragmented into six accounts of five different objects. Graph engineering was coined twice, and the coinage that won was not meant seriously. Not one of the five simply came to mean one thing. A vocabulary that behaves this way is not a ladder being climbed. It is a field naming a boundary it keeps having to move.

  • 182 → 71days between practice and word — the gap narrows as the pace picks up
  • 41days apart, one person's two posts propelled two of the five names. Neither defines anything

The one time the layers were watched at once a vendor postmortem, 23 April 2026 — the phenomena with none of the vocabulary

Everything above is about names. The April 2026 postmortem is the one document in this corpus where the layers are observed together, in production, with numbers. Read against the vocabulary it is striking twice over. First, all three faults sit at named layers — a reasoning default is the model tier the harness selects, the caching bug is context management, and the output cap is a prompt — and yet the report reaches for none of the words, because on 23 April 2026 two of them did not exist: it is 40 days before anybody utters “loop engineering” and 72 before “graph engineering” is coined. That is the practice-before-word pattern seen from the inside, in the same month rather than in hindsight. Second, and more uncomfortably for the ladder: the caching bug was the received context-engineering doctrine, correctly implemented and shipped as a defect. Clear the old thinking, keep the most recent block is exactly the “smallest possible set of high-signal tokens” advice the vendor's own engineering blog had published seven months earlier. The failure was not that the advice is wrong. It was that the clearing ran on every turn instead of once, and nothing in the layer above noticed. A stack where each layer is reviewed on its own has no place to ask what two of them do together, and the postmortem's most substantive remedy is precisely that: extend testing from the single change to the whole model, with a soak period.

The newest work does not name a sixth layer. It moves the bill. September 2026 — routing, and the first published saving

Since graph engineering was coined in July 2026 this corpus has gained no sixth name, and the newest thing in it is not a name at all. A plugin published in September puts a hook in front of a large file read, stops it reaching the frontier model, and hands the file to a cheaper worker model instead; its published benchmark reports a mean saving of 90%. Read against the vocabulary, three things stand out. First, it has no rung. By the definitions above it is context engineering, but nothing in those definitions is about which model does the reading, and a ladder of layers has nowhere to put a routing decision. Second, what it measures is not what the headline says: the benchmark file’s own description is that it measures the frontier model’s context with and without the plugin, and its token counts are characters divided by four. That model’s consumption falls, and the spend of whoever is billed for it falls with it. Whether fewer tokens are spent in total is not established anywhere, and the announcement’s own phrasing — free where it matters — concedes the distinction rather than hiding it. Third, and most useful for anyone reading this field: the checkable version was one link away from the announced one. The post gives a rounded figure and a sentence about a Java monorepo. The repository it tells you to install from gives the per-scenario token counts, the arithmetic behind the mean, the estimation method, and a limitation the post never mentions — that only the reading half is enforced at all, the generation half being left to the model’s own judgement.

  • 82 · 94 · 94the three scenarios whose mean is the headline. A fourth was excluded from it
  • 1 of 2models the benchmark counts. What the cheaper one consumes is not published

What is actually agreed assembled across all five terms, and disputed by none of them

  1. 1Write at the right altitudeSpecific enough to guide, general enough to survive the next case. Not a list of every situation you have met
  2. 2Keep the tool set minimal and non-overlappingTwo tools that do nearly the same thing are a decision the model now has to get right, for no gain
  3. 3One job per nodeReached independently by three sources across two different terms. “A good node is boring”
  4. 4Verify from outsideThe system exists to disagree with the model's “I am done”. Asking a model to review its own answer is not external verification
  5. 5Checkpoint the state, not the transcriptState with a schema, written at every step. If memory is “whatever survived compaction”, failure at step 40 means starting again
  6. 6Put the budget in the stateThree sources, three terms, one sentence: if you cannot stop the system at a spend threshold, it is not autonomous — it is running up a bill. By mid-2026 the forecasts had caught up with the advice

The evidence, and where it runs out the weakest part of the subject, and the field says so about itself

QuestionWhat existsStanding
Does a change at one layer cost anything measurable?Yes, once. An ablation put a single output-length rule in a system prompt at about 3% of benchmark score, across three models, and a context-clearing bug degraded recall for 15 daysA vendor measuring its own regression, not an independent comparison — and it prices a mistake, never a layer
Does the harness matter?One comparison with the right shape — model fixed, harness varied, on a third-party leaderboard. The same frontier model scores far apart in two harnessesThe strongest thing in the whole corpus, and it covers one term of five
Does a loop beat prompting?Nothing. No controlled comparison was found in any sourceAn absence found by looking for it, not a gap in the search
Does a graph beat a loop?Nothing. The one rigorous paper says of itself: “not a production implementation or empirical results”, under an explicit fairness disclaimerTwo terms running now rest on no measurement at all
Is the paper trail reliable?Not yet. An encyclopaedia entry mis-dates its own primary source by a year; the one survey behind the graph case reports 42, 41, 49 and 68 in four places for a study stated as 70Both checked against the documents. Check dates and URLs yourself; this material is young
Does routing a read away from the frontier model save money?One published benchmark: a mean 90% cut in the frontier model’s own context across three scenarios, with tokens estimated as characters over four. No independent reproduction was foundA vendor measuring its own plugin on a corpus it does not publish — and measuring one model’s share, not a total. It prices a technique, which is one more than the layers have

The same problem, five ways, and none of them has a name on the ladder four of the five are the model vendor’s own, documented rather than announced

MechanismWhat it targetsWhat it does with it
Routing to a worker modelBulk file reads, and boilerplate generationBlocks the read before it reaches the frontier model and hands it to a cheaper one
SubagentsAny reading-heavy sub-taskRuns it in its own context window, and can pin it to a cheaper model
Multi-agent sessionsIndependent sub-tasks, fanned out in parallelEach delegated agent gets its own model and its own isolated history
Deferred tool loadingTool definitions, not file contentsLoads the few tools a request needs, instead of the whole catalogue up front
Context editingResults already admitted to context, and paid for onceClears stale tool results once a threshold is crossed — after the fact, not before

Five mechanisms, four of them first-party and documented rather than announced, and not one of them has a name on the ladder. The distinction that actually separates them is not this project’s: the writer of the only independent commentary found on the routing figure splits interception — stopping a read from ever entering the context — from compression, summarising or evicting what has already been admitted and paid for once. On that split, four of the five above intercept and one compresses, and the difference decides whether the tokens are ever billed at all. The five named layers make no such distinction, and cannot: the thing being decided is not where in the stack the work sits but which model does it, which is a question about architecture and price rather than about altitude. It is the clearest case so far of the vocabulary’s real limit. The ladder is a decent map of what a system is made of, and no map at all of what it costs.

Two facts about where this vocabulary comes from are worth more than any of the advocacy. The first: of the four coinages this project could date, none happened in a peer-reviewed venue — two X posts, a personal blog, a personal site and a conference talk between them. The papers are real and they arrive afterwards, adopting a word the field has already chosen. The second: the people who did the naming are the ones least sure about it. The man who coined harness engineering said he knew of no existing term and did not press the point. The man who named loop engineering wrote “its still early, I'm skeptical” in the same paragraph. The man whose definition of the harness everyone else restates argues that harnesses should matter less over time. And the post that made graph engineering famous was a joke, which a named analyst pointed out four days later — while insisting, correctly, that the joke worked because it pointed at something real. That last distinction is the one to keep. The naming is noise. The practice under it is not.

So what what to take from four names in 380 days

The practice comes first. Every time.

Four terms, four datable gaps, no counterexample: 182 days for context engineering, 71 for harness, 130 for loop, 167 for graph. In the graph case the practice was not merely being done — it had already been named, in a January survey, as flow engineering. If a new term appears, the useful question is not what it means but what has already been shipping under another name for the last six months.

This is a vocabulary, not a technology.

The mechanisms are 2018 to 2022 and they are published and peer-reviewed. The names are 2025 to 2026, and not one of the four datable coinages happened in a peer-reviewed venue. Almost nothing sits in between. That does not make the terms worthless — a field needs words — but it does mean a new name on this ladder is evidence about the conversation, not about the systems.

Trust the namers over the repeaters.

Every one of the four hedged — “I know of no existing term”, “I'm skeptical”, “harnesses should matter less over time”, and one outright joke. Downstream, the hedges vanish: the confident five-rung ladder is drawn by a publisher whose own article says there is no settled conclusion. Where a claim about this vocabulary sounds certain, check how far it is from whoever invented the word.

The layers are reviewed one at a time. They fail together.

The single production incident in this corpus is not evidence for or against the ladder. It is evidence about how a stack of layers is governed: three changes at three named layers, each of which passed its own review, presenting as one broad decline for 47 days because nothing owned the question of what they would do together. One of the three was the field's own context advice, implemented correctly and shipped as a defect. If the vocabulary has a practical use, it is not as a ladder to climb but as a checklist of the places a change can land — and a reason to test the whole thing rather than the diff.

And the part that actually holds.

Right altitude, minimal tools, one job per node, external verification, checkpointed state, a budget you can stop the system at. Six practices, assembled from five separate arguments about what to call the layer they belong to, and contradicted by none of them. That is the durable part of this subject, and it would still be worth doing if every one of the five names were withdrawn tomorrow. Five of the six remain unmeasured. The sixth — the spend ceiling — is the only one anybody has since put a number near, and the number turned out to be about where the spending goes.

When a figure finally arrives, read what it counts.

The first saving published against any of this is 90%, and everything worth knowing about it is in the vendor’s own repository rather than in the post that announced it: it is the mean of three scenarios out of four, its tokens are characters divided by four, and its own description says it measures the frontier model’s context. The routing works, and the saving is real for the party being billed. But a number about whose context is spent is not a number about how much is spent, and this subject is young enough that the difference has to be looked up rather than assumed. Two numbers now exist across eight reports, both produced by a vendor measuring itself, one pricing a mistake and one pricing a technique. The comparison the ladder implies — that a layer beats the one below it — still has nothing behind it at all.

Take-home and sources

Articles on this topic

In reading order. A series is kept together and starts at its first part.

  • · LLM engineering · a hook, a cheaper model, and what the savings figure covers

    Shunting Bulk Reads to a Cheaper Model — What the 90% Actually Cuts

    Spotify's engineering blog describes shunt, a Claude Code plugin that blocks a bulk file read before it reaches the frontier model and routes it instead to a cheaper worker model — gemini-2.5-flash in the published…

  • 1/5 · First of five · the innermost layer

    The Tricks Moved Into the Model. The Writing Stayed.

    Prompt engineering is writing a model’s instructions so that it does what you meant. The phrase is in the research literature by February 2021. By March 2023 it was a job advertised at up to $335,000 a year, and by…

  • 2/5 · Second of five · the layer around the prompt

    Enough, or Less? Context Engineering Said Both in One Week

    Context engineering is the work of choosing everything a language model sees before it answers — instructions, documents, tool definitions, conversation history — and not only the prompt. The phrase is on record by…

  • 3/5 · Third of five · the outermost layer

    It Began as Tuning an Agent. By March It Meant Everything but the Model.

    On 4 November 2025 Dex Horthy wrote that he was seeing a new practice and would call it harness engineering: applying context engineering to the commands, hooks, skills and tools a user plugs into an existing coding…

  • 4/5 · Fourth of five · the one that never settled

    Everyone Agrees You Should Write Loops. Nobody Agrees What One Is.

    In the spring and early summer of 2026 some of the best-known engineers working with coding agents said the same thing: stop prompting the agent, and write loops that prompt it. Boris Cherny, who created Claude Code,…

  • 5/5 · Fifth of five · the one that arrived twice

    One Term, Coined Twice, Two Weeks Apart. The Joke Won.

    On 4 July 2026 Josh C. Simmons published a careful, sourced essay coining graph engineering: design an agent system as an explicit graph of nodes, edges and checkpointed state, instead of one model in a loop. Fourteen…

  • · Prompt · context · harness · loop · graph

    Five Names for One Stack, and No Agreed Order

    Since ChatGPT arrived in 2022, five terms have described how developers work with AI models: prompt, context, harness, loop and graph engineering. Each can be traced to dated writing by named people — prompt…

  • · Resolved in v2.1.116 · the API itself was unaffected

    The Claude Code Quality Postmortem — Three Unrelated Changes

    A lowered default reasoning effort; a caching bug that kept clearing reasoning history; a system-prompt rule capping output length. The three touched different slices of traffic at different times, and together they…

Versions

This document is rewritten when what it says has to change. Every version stays published at its own address.

  1. v0003 current
  2. v0002 superseded
  3. v0001 superseded

The current version is also at latest/.