What Kind of Factory Will You Build?

Before AI, software was written line by line. After AI, the best engineering teams stopped writing code and started building software factories: systems that write, test, and ship code for them. The article asks why other teams are not building factories. They are. On November 21, Notion published ‘A New Shape for Work’ and LangChain published ‘How to Build a Knowledge Factory.’ One is a manifesto; the other is a build guide. Both describe the same four-step loop applied to company knowledge: context, agent, trace, curator.

A software factory has four components. A shared context is the specs, docs, and history an agent reads before it starts. An agent runs the skills and specs to do the work. An execution trace flags what shipped, what broke, and what it cost. A curator loop reads the trace and rewrites the skills and specs for the next run. The last two steps compound. A prompt with a document attached is a one-off. The trace turns work into data, and the curator turns data into a better system. That is the difference between a factory that improves every week and a workflow that stays flat. Notion calls this structure among the most valuable IP an organization can have because it defines the limit of what is possible for agents to do within the company. LangChain frames the same loop from the other side: the goal is not to document everything before agents start working but to build a system where doing the work reveals what knowledge is missing, and resolving those gaps makes future work better.

The loop is not a vendor’s idea; it is what work looks like once an agent does most of it. A knowledge factory has the same four parts as a code factory: context is the docs, the agent is the answer, the trace is the wrong answer, and the curator is the fix. Once you see the loop, it generalizes. A marketing factory turns campaign performance into better copy. An online ads factory turns ROAS traces into new creative. A sales pitch factory turns call transcripts into sharper decks.

Satya Nadella described the same shift at Microsoft Ignite: the new company has a founder with a token budget; the founder hires someone who also has a token budget and figures out how to add tokens and wages and keep building. Factories are still rare because a factory is an operations project, not a model purchase. Someone has to own the context, write the specs, read the traces, and run the curator on a cadence. This is the reinvention of work: defining and operating the factory for each team. Different departments share an identical architecture. The question is no longer whether AI can do the work; it is what kind of factory you will build.

What Kind of Factory Will You Build?

View Original