llm-assembly-line A developer has published a pattern for running long, raw, dictated work orders through AI coding agents, called 'llm-assembly-line'. The method involves cutting a brief into work packages, each passing through a build station and two independent inspection stations, with a rework loop that only ends on passed inspection. The pattern builds on Andrej Karpathy's LLM Wiki pattern for persistent context and is designed to let agents work autonomously on entire batches of feedback and change requests. A pattern for running long, raw, dictated work orders through AI coding agents. One brief goes in. It gets cut into work packages. Each package passes a build station and two independent inspection stations. Nothing leaves the line uninspected. BRIEF ──► cut ──► build ──► inspect ──┐ ▲ │ └────── rework ◄─────┘ │ ──► REPORT Most people hand an agent one wish at a time. That works, and it wastes the thing agents are actually good at. The alternative is to hand over a whole batch at once: everything you noticed this week, dictated raw, one point after another, three hundred lines if that is what it takes. Do that and the brief stops being the hard part. The hard part becomes the instruction for how the batch gets worked. That instruction is what follows: cut into work packages, one builder per package, independent inspectors that try to break the work, a rework loop that only ever ends on a passed inspection, decisions made on the agent's own authority instead of questions back to you, and a final report you can check line by line without having to remember what you ordered in the first place. I use this on every sizeable brief and it has held up. Take it, change it, make it yours. The line itself is my working method. Its foundation is not. For an agent to work a three-hundred-line brief reliably, it needs context that is not reassembled from scratch in every session. The structure that provides it is Andrej Karpathy's LLM Wiki pattern : https://gist.github.com/karpathy/442a6bf555914893e9891c11519de94f https://gist.github.com/karpathy/442a6bf555914893e9891c11519de94f That idea is his, not mine. In short: instead of re-deriving knowledge from raw documents on every question RAG , the agent builds and maintains a persistent, interlinked markdown wiki in three layers — immutable raw sources, the wiki the agent writes, and a schema the two of you evolve together. Knowledge gets compiled once and then kept current. Read his gist first if you want to understand the foundation. What you have here is the floor built on top of it. An agent harness with subagents. Claude Code, Codex, Pi or equivalent. Without separate independent contexts the inspection collapses, because the same agent reviews its own work and predictably finds it good. Recommended: a maintained wiki structure in the project , per the pattern above. The line runs without one, but then the agent works from whatever it can scrape together in the moment instead of from what the project knows about itself. Step 7 of the line is the other half of that deal: it feeds what each brief taught back into that structure. - Dictate or write your entire brief in one message. Feedback, change requests and new features, one point after another, raw and long. Give too much context rather than too little, and do not polish it. - Append the prompt below to that message. Or drop it into the project once as a file say llm-assembly-line.md and end your brief with: Work this order per llm-assembly-line.md . - Everything from The order above is a long, raw, dictated brief onward is addressed to the agent, not to you. One warning about step 5 of the line: it decides ambiguities on its own instead of asking you. That is the point of the thing, and it means you have to actually read the final report. The decisions are listed there, and that is where you overturn them. Everything inside the block is the prompt. Copy the whole block, without the explanation around it. The order above is a long, raw, dictated brief: feedback, change requests and new features, listed one after another but written in one pass. Work through it completely and on your own authority, following this line. Two properties separate this from ordinary work: 1. It runs start to finish without stopping. Questions back to the user are the exception, not the route. 2. Nothing counts as done until an independent check passes. Not even a fix. 1. Cut the brief into work packages Read the whole brief before you cut the first package. Every self-contained point — one piece of feedback, one change request, one feature — becomes one work package with a running number WP1, WP2, … , the wording or a close paraphrase from the brief, and the files it touches. Nothing is silently merged or dropped. A point that turns out to be moot stays a package and is explained as such in the report. Write the package list into a ledger file ASSEMBLY-LINE-