Ugur Ekmekci

agents, philosophy

A Knowledge Factory Needs a Delete Button

November 22, 2026 · ~4 min read

Harrison Chase wrote about what LangChain calls a knowledge factory. Their agents flag missing or wrong knowledge while they work. A separate curator agent runs in the background, reads those flags along with the agent traces and the raw sources, and updates the knowledge the agents use the next day.

I like most of it. The core idea is right: you don't document everything up front. You let the work show you what is missing and close those gaps one at a time.

I also think the design has a failure mode that is easy to miss, and it is the same one I wrote about in Engineering Needs Context, Not Instructions.

Three kinds of knowledge, different shelf lives

The post splits knowledge into three groups:

  • Skills: how the company expects work to be done.
  • Domain knowledge: definitions, policies, facts about products and customers.
  • Data access guidance: what lives where and how to query it.

The last two are things an agent cannot work out alone. It has no way of knowing how your company calculates ARR, or that a column in BigQuery was renamed last week. That is exactly the kind of knowledge I think agents need, and keeping it current is a real job.

Skills are different. Some of them are true external knowledge, like a report header every document has to use. Many are not. They are a person's preferred way of doing something the model could already reason through. If a curator agent reads every trace and turns every correction into a new rule, you end up rebuilding the large AGENTS.md files and strict workflows that stronger models no longer need.

This is a data pipeline

Coming from data engineering, the architecture looks familiar. Flags and traces are ingestion. The curator is the transformation step. The skill files, wiki pages or graph are storage.

Harrison says storage is the least important part, and I agree. What I would add is that pipelines rot when nobody owns retention. Every data team has a warehouse full of tables that were useful once and are now read by nothing. Knowledge stores will go the same way if the only operations are append and update.

So the question I would ask of any curator is how it decides that something should go away.

Hermes already does part of this

I use Hermes Agent daily, and it has a version of this loop built in. The agent writes skills when it solves something new or gets corrected. A background curator tracks how often each skill is used. Skills unused for 14 days are marked stale and archived after 30. The pass that merges overlapping skills is off by default, because it costs tokens and makes broad changes to the library.

The part I find most useful is the pruning, which is deterministic and needs no model at all. A skill that nobody loads for a month is probably not knowledge the agent needed.

What I would keep

If I were building one of these for a team:

  • Let agents flag gaps. That part is cheap and the signal is honest, because it comes from real work.
  • Keep the curator separate from the agents doing the work. Harrison is right that agents editing their own knowledge mid-task makes a mess.
  • Give the curator a bias toward facts the agent can't discover: definitions, data locations, decisions. Be suspicious of new procedural rules.
  • Measure usage and archive what isn't used. Deletion should be a normal output of the curator.

The loop is a good idea. The thing to watch is that it is very good at growing. The more capable the models get, the less of that growth you want.