Skip to content
EScd ..
AIPOST 015 · DEC 4, 2026 · 7 MIN

“A knowledge factory for your AI agents”Read in full and fact-checked

By Semanalia

Post reviewed: “How to build a knowledge factory”, by Harrison Chase (@hwchase17), posted on X on Nov 21, 2026.

In short. LangChain's co-founder argues that a company's AI agents need knowledge, not only context: skills, definitions and data-access guides kept current by a curator agent. I read the whole article and checked it against studies on what goes wrong when several agents edit the same document.

On November 21 Harrison Chase, co-founder and CEO of LangChain, published an article on X called “How to build a knowledge factory” that has about 1.04 million views. His thesis fits in one sentence: for AI to work inside a company, the agents are missing knowledge, meaning how the company works, which standards it follows and where its data lives, and neither a better model nor more context fixes that. One line of disclosure: LangChain sells what the article mentions (agents, the LangSmith platform, its Engine agent and a store for context), the text ends with an invitation to contact them and it publishes no measurements.

The article in four numbers

3kinds of knowledge
3parts of the factory
1workflow to start with
0result figures published
Source · Harrison Chase, “How to build a knowledge factory”, Nov 21, 2026. Three kinds of knowledge, three parts of the factory, one workflow to start with. No result figures.

Two words need separating. Context is what the agent has in front of it for one task, like the desk with today’s papers. Knowledge is the house manual, what lets it do that task the way the company does it. Chase splits it into three drawers. Skills explain how the work is done (steps, templates, scripts). Domain knowledge holds definitions, policies and facts that change slowly. Data-access guidance says where each piece of data lives and how to query it, and its point is not to copy what a complete, current system already stores. The starting problem is old: a company’s most effective people carry all this in their heads, and the thinker Michael Polanyi wrote in 1966 that “we can know more than we can tell.”

The factory has three parts. A tool the agent uses to report that something is missing or wrong. A curator agent that runs in the background on a schedule and reads the raw sources, the agents’ traces and those reports to update the knowledge. And a place to store it, which Chase calls, “in some ways,” the least important piece (GitHub, Notion, a graph, LangChain’s Context Hub). His example is a revenue report: the agent notices that a BigQuery column was renamed, finds the new one and reports it; the finance lead asks for a new header; that night the curator sees the report and the conversation and fixes the two skills. His closing advice is to start with one recurring workflow, see where the agents struggle and close that loop, instead of documenting everything first.

The best-supported part is the split of roles. Whoever does the work should not be the one editing the shared knowledge. Chase’s reasoning is that agents are trying to finish their own task and would leave the knowledge full of contradictions, and there is indirect evidence. In Anthropic’s article on agent memory, several agents writing to one table of contract terms kept 41 of the 57 graded facts, because they overwrote each other; with one page per contract and one agent per page, all 57 survived.

When several agents edit the same thing

Several agents, one table41 of 57 facts
72%
One agent per contract57 of 57 facts
100%
16 facts lost out of 57 because agents overwrote each other
Calculation · Contract facts that survived in the wiki. 41 / 57 = 0.72; 57 − 41 = 16 facts lost. Anthropic test, a single series.

The other risk is rewriting. A study by Zhang and colleagues (arXiv, 2025) showed that when a model rewrites in full the playbook it has been building, it can compress it without meaning to. In their example a context of 18,282 tokens became 122 at the next step and accuracy fell from 66.7 to 57.1, below the 63.7 of the agent with no adaptation. The authors propose small, cumulative changes, which is why a curator should propose one-line edits and not rewrite the manual. LangChain reports something similar about Engine, its trace-reading agent: they separated “spot the problem” from “propose the fix” because a single agent struggled to do both (their own observation, not measured).

Rewriting everything can be costly

No adaptationbase agent
63.7
Context of 18,282 tokensbefore rewriting
66.7
After rewriting: 122 tokensthe next step
57.1
−9.6 points lost in a single step
Calculation · Accuracy in the authors' experiment with a rewriting method (Dynamic Cheatsheet). 66.7 − 57.1 = 9.6 points lost in one step; 63.7 − 57.1 = 6.6 below doing no adaptation at all. A single case.

What the article does not show is the result. In March LangChain published figures for its sales agent: 250% more conversion from lead to opportunity between December 2025 and March 2026, and 40 hours a month saved per rep, 1,320 in total (my calculation: 1,320 / 40 = 33 people). The March post describes a loop that learns from each rep’s edits and a weekly job that compacts memories, but it does not call that a knowledge factory, it has no control group and it does not say how much of the result comes from the loop. These are the company’s own figures about its own product, so they count as context and not as proof.

LangChain's figures, without a control

250% more conversion to opportunity
40hours a month per rep
1,320hours in total
0control groups
Calculation · LangChain's sales agent, Dec 2025 to Mar 2026, figures published by the company. 1,320 / 40 = 33 reps (my calculation). The post has no control group.

Six claims, one by one

1

“In order to make AI work for your company, the missing bit is not better models, it’s not just more context - it’s better knowledge.”

The article does not compare models with knowledge or show data. An academic study (ACE, 2025) beat its comparison methods by 10.6% on average on agent tests by adjusting only the context, which fits the idea but does not measure it for a company.
Unverified
2

“Asking agents … to properly update and maintain this knowledge will cause it to become unruly and full of contradictions.”

Two indirect results support it: 41 of 57 facts with shared writers against 57 of 57 with one per page, and the loss of detail when rewriting. Nobody has measured “agents that use it” against “a separate curator”.
Checks out
3

“One of the best ways to learn what pieces of knowledge are missing is to have agents flag it as they are working.”

There are no data on how often an agent notices and reports. A study on reasoning finds that models do not correct themselves well without outside help; reporting works when there is an observable signal, like a column error.
Unverified
4

“Our internal GTM and content studio agents are powered by a knowledge factory.”

The March post on the sales agent describes a learning loop, not a factory by that name, and its figures do not isolate the loop. There is no detail on the content studio.
Unverified
5

“As an industry, we’ve converged on skills for ‘procedural memory’.”

The Agent Skills format was created by Anthropic, is open, and its site says a growing number of products adopt it. The split between procedural and semantic memory comes from the literature (CoALA, 2023).
Checks out
6

“In some ways, this is actually the least important thing.”

An opinion with no evidence. In Anthropic’s study the wiki alone (48%) did worse than search (53%) and together they reached 61%, so how things were stored did matter. The article also lists a product from LangChain itself among the options.
Unverified
How to read · Consistent: published work supports it. Not shown: it cannot be checked with what exists. No claim was found to contradict the data.

The article also does not say how to bring this to a real team, and there is room to add. The first step is to pick one workflow and write down 10 to 20 past tasks with what a good result looks like, before building anything, because without that yardstick “it works” is a belief. Then a rehearsal helps: a new agent tries 5 of those tasks using only the knowledge folder and reports every gap, so the holes show up in an afternoon and not in the middle of a board report. Every document needs an owner, a source and a review date, and the business definitions (what counts as an active customer, how ARR is calculated) are approved by their owner, not by the curator. Data guides should carry a check that proves the pointer still works, and numbers that change often are fetched from the system instead of copied.

Agent reports should come with proof, such as an error message, a quote or a trace line, and with a cap of about 5 per run, because an agent that reports everything reports nothing. Text that arrives from tickets, emails or chats is data and not orders, since someone can plant an instruction there (Greshake and colleagues described it in 2023 as indirect prompt injection). The curator can be a person once a week at the start; its changes go to a new copy, small, with the proof quoted and nothing deleted, and a second reader checks them. To measure, run the same tasks with no knowledge, with the launch version and with the curated one, three times each, and count how many fixes come back and how many corrections people still make by hand. One example of mine: if whoever reviews a monthly report corrects 10 things per report, that is 120 a year, and that is the figure that should fall. With 12 runs a year and 8 documents, a manual review once a month is probably enough and the curator is overkill.

This post’s skill, semvarro, automates it with scripts that run on your machine and three subagents: it audits the knowledge folder, gives agents the reporting tool, ranks a queue for the curator, applies its changes to a new copy and computes the loop’s metrics. It is named after Marcus Terentius Varro, the scholar Caesar put in charge of Rome’s public library.

One idea needs no purchase: you do not have to document everything before agents start; it is enough that doing the work shows what is missing and that someone with proof fixes it. What Chase contributes is a good map of that loop, with the caveat that nobody has yet published how much it improves the agents.

This post’s skill

Technique

semvarro

Builds and watches the knowledge loop of a team of agents: sorts skills, definitions and data guides, gives agents a tool to report gaps, prepares a curator's queue, applies its changes to a new copy and measures whether the loop closes. Includes scripts with tests and three subagents.

How to use it

  1. Claude Code. Add the repository, then install the skill:/plugin marketplace add SrD836/sem-skills/plugin install semvarro@sem-skills
  2. Codex, Cursor or Gemini CLI. Copy the folder skills/semvarro into its skills folder.
  3. ChatGPT, Claude or Gemini. Open the chat version, copy the text and paste it at the start of the conversation.

In English · MIT license · By Semanalia

Tested with Anthropic’s Claude models (Haiku and Sonnet), with and without the skill, and graded blind.

Questions this post answers

What is a knowledge factory?

It is the system that collects, organizes and maintains a company's knowledge so its AI agents can use it. According to Harrison Chase it has three parts: a way for agents to report what is missing, a curator agent that updates things in the background and a place to store it all.

Which kinds of knowledge does Chase separate?

Three: skills (how the work is done), domain knowledge (definitions, policies and facts about the business) and data-access guidance (where each piece of data lives and how to query it, without copying it).

Is there evidence that a knowledge factory works?

The article publishes no measurements. LangChain gives figures for its sales agent, such as 250% more conversion, but they are its own, have no control group and are not attributed to the knowledge loop.

Why not let agents edit the knowledge themselves?

Because several writers overwrite each other. In an Anthropic test 41 of 57 facts survived with a shared table and 57 of 57 with one page per contract. Rewriting a whole document can also erase detail.

Sources

  1. Harrison Chase (@hwchase17), "How to build a knowledge factory", article on X, Nov 21, 2026 (x.com/hwchase17/status/2124181216719151585).
  2. LangChain, the same article on its blog, Nov 21, 2026 (langchain.com/blog/knowledge-factory).
  3. LangChain, "How we built LangChain's GTM Agent", Mar 9, 2026 (langchain.com/blog/how-we-built-langchains-gtm-agent).
  4. LangChain, "How We Built LangSmith Engine, Our Agent for Improving Agents", May 19, 2026 (langchain.com/blog/how-we-built-langsmith-engine-our-agen…).
  5. LangChain, "Introducing LangSmith Context Hub", May 13, 2026 (langchain.com/blog/introducing-context-hub).
  6. Lance Martin (Anthropic), "The components of agent memory", Nov 6, 2026 (anthropic.com/research/components-of-agent-memory).
  7. Zhang et al., "Agentic Context Engineering: Evolving Contexts for Self-Improving Language Models", arXiv, Oct 6, 2025 (arxiv.org/abs/2510.04618).
  8. Huang et al., "Large Language Models Cannot Self-Correct Reasoning Yet", arXiv, 2023 (arxiv.org/abs/2310.01798).
  9. Greshake et al., "Not what you've signed up for: Compromising Real-World LLM-Integrated Applications with Indirect Prompt Injection", arXiv, 2023 (arxiv.org/abs/2302.12173).
  10. Agent Skills, format specification, read on Dec 4, 2026 (agentskills.io/specification).
  11. Open Knowledge Format, project page, read on Dec 4, 2026 (okf.md).
  12. Sumers, Yao, Narasimhan and Griffiths, "Cognitive Architectures for Language Agents", arXiv, 2023 (arxiv.org/abs/2309.02427).
  13. "Tacit knowledge" (quoting Polanyi, The Tacit Dimension, 1966), Wikipedia, read on Dec 4, 2026 (en.wikipedia.org/wiki/Tacit_knowledge).
  14. Latent Space, profile of Harrison Chase, as of Sep 15, 2026 (latent.space/wiki/harrison-chase).
  15. "Marcus Terentius Varro", Wikipedia, read on Dec 4, 2026 (en.wikipedia.org/wiki/Marcus_Terentius_Varro).