---
title: Karpathy LLM Wiki Gist
slug: karpathy-llm-wiki-gist-2026-04-04
type: source
created: 2026-06-17
updated: 2026-06-17
status: active
tags:
  - source
  - llm-wiki
  - knowledge-base
  - rag
sources:
  - https://gist.github.com/karpathy/442a6bf555914893e9891c11519de94f
  - https://gist.githubusercontent.com/karpathy/442a6bf555914893e9891c11519de94f/raw/ac46de1ad27f92b28ac95459c782c07f6b8c964a/llm-wiki.md
related:
  - llm-wiki-pattern
  - llm-wiki-vs-rag
  - SCHEMA
confidence: high
contradictions:
  - The gist encourages LLM-owned wiki maintenance, but durable usefulness still depends on human source selection and review.
bead_refs:
  - dark-factory-rr4
---

# Karpathy LLM Wiki Gist

Source URL: [LLM Wiki gist](https://gist.github.com/karpathy/442a6bf555914893e9891c11519de94f)

Created: 2026-04-04. Captured: 2026-06-17. Provenance: primary gist by Andrej Karpathy describing the LLM wiki pattern.

## Compact Takeaways

- The [[llm-wiki-pattern]] differs from ordinary RAG because knowledge is compiled into a persistent Markdown wiki rather than re-derived from raw chunks at query time.
- The architecture has three layers: immutable raw sources, LLM-maintained wiki pages, and a schema that disciplines maintenance.
- Ingest should update source cards, topic pages, backlinks, contradictions, index, and log.
- The wiki is not only a storage format. It is a compounding artifact that future sessions can read before returning to raw sources.
- The source explicitly treats the human as curator and question-asker, while the LLM handles summarizing, filing, cross-referencing, and bookkeeping.

## Wiki Implications

- This repository's `reports/wiki/` directory should be maintained as a durable artifact, not as a one-off report.
- [[log]] and [[index]] are operational necessities because future agents need to know what changed and where to start.
- [[llm-wiki-vs-rag]] should preserve the complementarity: RAG can find raw evidence, while a wiki preserves prior synthesis.

## Caveats

- The gist is an idea file, not a formal standard.
- The pattern does not eliminate the need for source verification, contradiction handling, or human correction.
