Andrej Karpathy just shared a better way to use LLMs (and it got super viral). let me summarize that for you, with a simplified algorithm of what to do:
He suggests to use llms as a knowledge system.
The workflow is simple:
Collect raw sources
Put articles, papers, repos, datasets, and images into araw/folder.Ask the LLM to read each source
Extract the key facts, entities, concepts, and contradictions in short notes.Write or update wiki pages
Turn those notes into markdown pages for the source, related entities, and related concepts.Update the index
Keepindex.mdshort and searchable so the LLM can quickly find the right pages.Append the log
Add a brief entry tolog.mdwith what changed and why.Run lint passes
Ask the LLM to find stale claims, missing links, contradictions, and gaps.Query the wiki
Let the LLM search, read, and synthesize answers from the relevant pages.Keep it in git
Version everything so the knowledge base can evolve safely over time.
repost to let others know!
Built the working version: github.com/satish860/llm-kb Apr 5 5 likes