Building a Knowledge Base with LLMs: A Practical Guide for Individuals and Teams
This article presents two actionable models for using large language models to maintain a knowledge base: one for individual long-term research and one for a small team of around ten people to build shared memory. It explains the core shift from treating the knowledge base as a query entry point to treating it as a compiled artifact, outlines a minimal structure for individuals, describes a two-layer architecture for teams, defines where automation is safe, and gives practical rollout advice. The tools and platforms mentioned in the original concept are abstracted into general technical practices and are not tied to any specific product.
1. From Vague Intuition to an Actionable Model
Discussions about using large language models to maintain a knowledge base rarely produce value by adding another concept. The useful output is to converge vague intuition into two actionable models: one for individual long-term research, and one for a team of around ten people to form shared memory. Rather than restating the original idea, this article answers more practical questions: how an individual should get started, how a team should connect, which steps should be automated, and which must never be over-automated.
The specific tools and platforms mentioned in the original idea are treated only as technical background. They have been abstracted into general technical practices and are not bound to any particular product.
2. Core Logic: Compilation, Not Retrieval
The key mental shift is to treat the knowledge base as a compiled artifact rather than a query entry point. The system first collects raw material from multiple data sources, then the model compiles it into structured Markdown documents according to lifecycle management policies. Queries are made against the compiled wiki, not against the raw pile.
This yields three benefits:
- Controlled context: a query loads only the relevant layered pages instead of stuffing the entire base into a single context.
- Traceable conclusions: the compilation process leaves change records, so the evolution path of a conclusion can be traced back.
- Low reuse cost: structured pages are naturally suited to being referenced and synthesized again by later tasks.
3. Minimal Viable Structure for Individuals
The most stable starting point for an individual is not a complex knowledge base system, but three directories plus two index files:
raw/ # Raw material, read-only, never rewrittenwiki/ # Compiled structured pagesAGENTS.md # Compilation rules, writing conventions, naming conventionsindex.md # Global and sub-indexeslog.md # Change and synthesis records
The design point is separation of responsibilities: the raw layer stays immutable to keep the evidence chain intact; the wiki layer can be rewritten repeatedly; the rules file makes “how to compile” explicit, avoiding reliance on memory each time. Once material exceeds a hundred documents, scaling should rely on layered pages, topic summary pages, sub-indexes, and periodic synthesis, rather than enlarging the single context window. Periodic synthesis is the necessary action to distill scattered pages into topic-level conclusions.
4. Two-Layer Architecture for Teams
The most common mistake a ten-person team makes is forcibly merging ten private wikis into one large base, which results in stacked noise and conclusions overriding each other. A more reasonable approach is a two-layer architecture:
- Federated retrieval layer: responsible for “discovery.” Each member keeps their own raw and draft layers, and material is pulled on demand during retrieval.
- Company wiki layer: responsible for “memory.” It only accepts shared conclusions that have been reviewed and compiled.
The two layers are connected by an explicit publishing contract: what level of conclusion may be promoted to company memory, who approves it, and how sources and confidence are labeled. In practice, this architecture is currently better labeled as medium maturity: the individual mode has practical support, the team mode has converged into clear norms, but complete production validation is still missing.
5. The Boundary of Automation
Automation should be concentrated in three low-risk areas: publishing rule validation, draft review assistance, and revision safety guardrails (such as change tracking, conflict detection, and rollback capability). In contrast, nightly tasks silently rewriting company-level conclusions must be prohibited. The criterion is simple: reversible and auditable actions can be automated; actions that affect shared understanding and are hard to roll back require human confirmation.
6. Rollout Recommendations
First get the individual minimal structure working, and introduce topic synthesis after it stays stable for two weeks. In the team phase, define the publishing contract and review process before discussing automation. To host the raw layer and indexes, object storage and logging services can be used for persistence and auditing, a container platform can host compilation and retrieval tasks, and monitoring and alerting can track task failure rates. Technology choices should stay neutral: the focus is on process and boundaries, not on the tools themselves.
