DEV Community

Jonathan Berg
Jonathan Berg

Posted on

The knowledge factory starts where the work happens

Harrison Chase published a piece this week that I have not been able to stop thinking about: how to build a knowledge factory. His argument is that companies do not need better models or even more context. They need better knowledge. The tacit understanding your best people carry, who to ask, why things are done a certain way, has to be collected, curated and maintained so agents can use it. He calls the system that does this a knowledge factory.

He is right, and the part I keep turning over is how it translates to coding agents, because there the problem has a different shape. The knowledge is not sitting quietly in someone's head waiting to be interviewed. It is being produced constantly, inside agent conversations, and most of it dies there. The component you finally got right. The procedure that worked on the third attempt. The reason a decision went one way and not the other. All of it evaporates when the chat ends.

For coding agents, the factory's first problem is not curation. It is capture.

Capture beats documentation

Chase's conclusion is the part I agree with most: do not try to document everything upfront. Build the loop where doing the work reveals what knowledge is missing, and closing the gaps makes future work better. I would push it one step further for coding agents. Do not ask anyone to document at all.

The knowledge already exists. It lives in your finished projects, which is why Sirro can read existing repos with your permission and start the library from real work instead of nothing. And it is created fresh every session, which is why the agent itself should offer to save at the moment something proves worth keeping. Nobody stops mid-flow to write things down. The capture has to happen inside the work, or it does not happen.

The loop is the product

The factory pieces Chase describes, flagging what is missing, curating what exists, storing it somewhere, map cleanly onto what I have been building. A flag when knowledge is missing becomes an offer when knowledge is created. Curation becomes versions and history, so an edit never silently overwrites what worked before. And the part I care about most: every reuse is a run, and every run is evidence. A saved method that keeps passing is worth more than a page of documentation nobody re-reads.

That is what makes it a factory rather than a wiki. A wiki gets maintained on good intentions and decays on schedule. A loop runs every time work happens, and the library gets sharper from being used, not from being edited.

Where to start

His advice is to start with one recurring workflow and close the loop around it. For coding agents that workflow is whatever you built this week that you will need again next month. Save it. Let the next run prove it. Let the run after that prove it still works.

The knowledge factory is not a place. It is a loop, and it starts where the work happens, which for most of us is a conversation that is about to be forgotten.

Top comments (0)