May 20268 min read

My personal wiki using Karpathy's framework

I built a personal wiki maintained by an LLM. Here's how it works and what it taught me.

building a personal knowledge base on karpathy's llm content

based on the LLM Wiki pattern by Andrej Karpathy

i came across an interesting blog post on Karpathy's LLM knowledge base which was extremely interesting. for the past couple of years, i have been using notion to document my goals, career progression, interview prep, and anything related to tech. instead, i decided to try something new and export all of my data into my own llm knowledge base; chow wiki that's based off of karpathy's new llm pattern.

the idea is pretty simple, follow a 3 layer approach where the llm builds a persistent wiki where you are able to ingest raw documents, extract key concepts and information to create markdown files that integrate within the wiki.


what i use it for and how it works

since most of my notion notes were career-related, my wiki is mostly built around computer science concepts — system design, data structures, the stuff that actually comes up in interviews. i also use it to track applications and, more importantly, the feedback i get from each process. the next time i'm prepping for an interview, the LLM can pull up past feedback, cross-reference it with the relevant concepts, and tailor the prep session to my actual weak spots.

for career stuff specifically, my routine is simple — every week i write a short summary of what i worked on, what i learned, and anything worth remembering. those notes go into the raw sources folder and get ingested into the wiki. i'm also setting up a cron job to handle the ingestion automatically, so i don't have to think about it. simply i just drop the notes in and the wiki stays up-to-date on its own.


the setup: three layers

raw sources — videos, transcripts, blog posts, paper PDFs, articles, etc

the wiki — a directory of LLM-generated markdown files. summaries, concept pages, comparisons

the schema — a CLAUDE.md that tells the LLM how the wiki is structured, what conventions to follow, and what to do when ingesting a new source


what the wiki looks like in practice

the wiki isn't organized in one way — it's more of a mix depending on what the content is. concept pages (system design patterns, data structures, distributed systems topics) are grouped by subject. interview stuff is organized by company, with each process getting its own page that covers the rounds, the questions, and the feedback. and some things are just chronological — notes from a course, a book, or a random rabbit hole that i wanted to remember.

in obsidian, the graph view is where it all comes together. you can see which concepts are heavily linked — messaging systems, for example, ends up connected to pages on kafka, event-driven architecture, consistency tradeoffs, and a few specific interview experiences where it came up. the orphan nodes are the opposite — things i filed once and never connected, a reminder to either dig deeper or let it go.

the structure isn't perfect and it doesn't need to be. the point isn't a clean taxonomy, it's that when i need something, the LLM knows where to look — and more often than not, the relevant pages are already linked together.

here's an example of my wiki at a high-level

chow wiki view


querying: good answers get filed back

querying the wiki is where it starts to feel different from just having good notes. you ask a question, the LLM scans the relevant pages, and gives you an answer that's already established in your own context, one that references the specific things you've read, the feedback you've logged, and the concepts you've been building up.

but the part i didn't expect: the answers themselves are worth keeping. if i ask something like "when does it actually make sense to introduce kafka over a simpler queue" and get a solid breakdown back — consumer groups, log retention, the replayability angle — that doesn't need to live and die in a chat session. i file it as a page. next time that topic comes up in an interview or a system design discussion, it's already there, already in my own words, and already connected to the other distributed systems concepts in the wiki.

it sounds small but it adds up fast. every good question you ask makes the wiki a little more useful for the next one.


takeaways

i've only been doing this for a little while but it already feels like the right way to manage knowledge. the big thing for me is that it compounds every source i add, every question i ask, makes the next session a little more useful. that never happened with notion.

the career progression angle is what i'm most excited to keep building out. lessons from a job tend to fade once you're onto the next thing. having a place where that stuff actually sticks which i can query later feels genuinely useful, not just nice to have.

if you spend any real time learning and you're not happy with how you retain it, i'd give this pattern a try.

~ AC