Why do we need a LLM wiki? What is the future of shared knowledge between AI & Humans? In today's video, I explore how building a shared memory layer for EVERY AI tool can benefit both your human & AI knowledge systems, forever. Check out "The Book" here for 10% off: https://mdsh.io/wanderloots (Use code: WANDERLOOTS10)
My goal for today's video is to help you understand how to future proof your knowledge systems for both yourself and for AI, so you don't lose your work, ideas, and knowledge between tools. The solution? A custom wiki.
The LLM Wiki has been gaining popularity lately as a result of Andrej Karpathy's github post, but it's a concept that has been around for years. Knowledge Graphs can significantly improve the quality and efficiency of AI tools as compared to standard RAG (retrieval augmented generation), especially for complex systems.
But... that's a bit complex. It's helpful to start by understanding what a knowledge graph is from a basic level, how it can be used alongside traditional AI query systems, and how you can easily get started with building yours today in Obsidian.
Obsidian has been one of my favourite tools for years, where I've built my second brain, my personal knowledge management system. To learn more about how I organize my Obsidian vault with an eye to AI-integration, check out my PKM & Digital Gardening Obsidian Playlist here: https://www.youtube.com/playlist?list=PLWhMzDKA7vJ7p50vW-oeZgKR2aDReZFW6
I hope you enjoy! ✨
P.S. I greatly appreciate any feedback, please let me know what you think 😊
More About The Book The Ultimate Guide to Rebuilding a Civilization by Hungry Minds is a luxury coffee table book packed with handmade illustrations and mind-expanding ideas. If you’re into unique gifts, premium books, or just love going down rabbit holes - this one’s for you.
Timestamps: 00:00 Why Do Knowledge Graphs Matter? 00:50 What Is A Knowledge Graph? 3 Key Elements 01:47 Familiar Knowledge Graph Example 02:37 Example Source Of Knowledge 03:06 Obsidian Demo: Knowledge Graph From Book 05:53 Scaling A Knowledge Graph (3+ Years) 07:16 How AI Currently Works: RAG 08:19 The LLM Wiki (Theory) 09:54 The LLM Wiki (Practice) 10:45 Concluding Thoughts & Ideas
Google built one for the entire internet. I built one for my own brain.
And then I built a second one, not for my own thinking, but for my agentic AI tools.
A separate brain that AI agents build and maintain automatically,
so that every AI tool I use shares the same structured knowledge graph.
The LLM wiki has become more popular recently, but it's actually grounded in years of research.
To understand how and why it all works, I'll go through what a knowledge graph is,
how they can form a wiki for humans and LLMs, and why that matters for the future of AI and knowledge.
If you're already taking notes,
you might just be one step away from building your own knowledge graph.
Now let's build some knowledge.
Hi, my name is Callum, also known as Waterlootz,
and welcome to today's video on the future of knowledge for both humans and AI.
When I first quit my job as an intellectual property lawyer three years ago,
I did a deep dive into understanding what was going to set myself up best for the future of AI.
After months of research, the solution was clear.
Build my own knowledge graph, a map of my brain, how I think that AI can follow forever.
Now, AI is finally at a point where it integrates seamlessly with our existing knowledge,
if you structure it properly.
But before we get into building that, there are three things I want to cover first.
A node, an edge, and a triple.
A node is a thing, a person, an idea, a place, or an event.
It's a component or a concept.
An edge is a named relationship between two nodes.
Caused, depends on, leads to, references, etc.
A triple is the atom of a knowledge graph.
Subject, relationship, and object.
That's the entire model.
Two things and one connector.
Once you understand that atomic building block of a knowledge graph,
it's just about iterating and building on it over time.
Each atomic unit begins to connect to another,
and it scales and compounds as you add more knowledge into your graph.
Just a quick reminder to please like and subscribe if you find this video helpful,
as I appreciate your support a lot.
So thank you.
So for example, if we go to Google and we search something,
like the Toronto Reference Library,
we can see that on the side here we get what's called the knowledge graph panel.
So even though you didn't click on a single link,
Google went through an entire map of all of the relationships
for the Toronto Public Library, the reference library.
It brought in Google reviews, website, directions,
there's a summary here, the address, the architect.
All of this is information where each one of these
is a separate node inside of Google's knowledge graph.
This is also how Wikipedia works.
We can see that each of these highlighted words
is effectively a separate node in the knowledge graph that is Wikipedia.
Someone actually took Wikipedia and dropped it into Obsidian
to show what 1.1% of all of Wikipedia looks like.
All of these dots are nodes, and all of the lines are edges.
And this is just 1% of what Wikipedia looks like.
You can imagine what Google looks like.
Now, before we get into the complexity of an LLM wiki,
I thought it might be helpful for you to take a look at something
that we're all familiar with.
A book.
A book is a great way to understand how knowledge graphs work
because a book is effectively a physical knowledge graph.
Before writing, the author has to come up with all of these concepts
and then how they all connect together.
Nodes and edges.
To help build a knowledge graph so you can understand it,
I thought, why don't we take a look at a few of these pages
and see how we can build a knowledge graph from scratch.
Now, if we go over to Obsidian for a second,
we can see that I have a knowledge graph already built here.
This is my tutorial vault,
where I have all of these different tags,
all of these different node types,
and they all connect between the different nodes and edges
to create this map.
Since I'm an IP lawyer and a patent agent,
I've always been fascinated with inventions.
Why don't I show you how we can create a knowledge graph
with a few of my favorite inventions?
So you can see here, I just created this new node
and that automatically created this node on the side here.
So why don't I write an example sentence?
So we can see here, I have a knowledge graph.
So I can highlight this, press the two square brackets,
and right away, a new node and edge gets brought into my node.
And this is because knowledge graph is now its own node or node
and it's linked because it's written inside of this node here.
I can do the same thing with Flywheel
and we'll start to see the knowledge graph
of this particular node grow in real time.
And if I want, I can click into this separate node
and that creates the new one here.
And I can continue adding more nodes as we go.
And what's nice too, is I can expand the depth of this
where we can see, for example,
I already have a node on a Flywheel
and a Flywheel links to the book, The One Thing.
So we get this ever-growing knowledge graph.
Why don't I add a few more inventions?
So we can see here now how just adding a few more nodes
by connecting them to my node on the favorite inventions,
we start to get this system that's growing here,
this map of all of the different inventions
that I just brought in here.
We can click into my book node
and we start to see how big this gets.
I didn't try to build a graph.
I just wrote about the relationship
between different concepts.
The knowledge graph is just what happens
when you're specific about how you take nodes.
So that was building a knowledge graph from scratch.
But what happens if we scale this to thousands
or tens of thousands of nodes?
But before I show you how my graph has scaled
over the last three years,
I just want to give a quick thank you to Hungry Minds
for sponsoring today's video.
The book on Rebuilding Civilization
is one of the top Kickstarter projects of all time
and for a good reason.
I've been really impressed
with both the quality of information
and the aesthetic of the book.
It feels like a blend between art and science,
which is my favorite way to learn new things,
especially understanding inventions
as a patent agent and intellectual property lawyer.
I often find that the best way to look forward
into an uncertain future is actually to look back
to see how we got where we are now.
By looking to the past
and seeing how different technologies
build together over time,
we can effectively construct
a custom knowledge graph for ourselves
with the parts we resonate with most.
As I continue learning more from this book,
I'll keep adding to my knowledge
in my knowledge graph and build it out over time.
If you're someone who's curious
about how art and civilization
and inventions fit together,
I think that you're really going to like the blend
between art and science that this book provides.
There's even a hidden quest,
an Easter egg that you can explore while reading.
So I invite you to check it out
using the discount link below.
Also, given the topic of today's video,
I want to mention that all of this was handmade by humans.
There was no AI generation involved.
Now, why don't I show you
how my knowledge graph has scaled in Obsidian
over the last three years
before we get into why this matters for AI.
This is three years of notes,
thousands of individual connections,
each one made while writing one at a time.
There's been so many times
when I sat down and found connections
between what seemed like unrelated concepts,
but by looking at the knowledge graph
and the smaller subsets of graphs,
I'm able to make connections
and derive insights in knowledge
that I've already curated.
This is what happens
when you record relationships
consistently over time.
The structure compounds.
And if you're taking notes,
regardless of the system,
if you bring it into something like Obsidian,
you're just one step away
from building this knowledge graph as you go.
I've also had it many times
where I had a new idea,
or so I thought,
and then I went to go write it down
and I realized I already had a note
from a couple of years ago,
which allowed me to just continue building
where I left off with the new element of the idea
rather than having to start from scratch.
Building a knowledge graph
really is like an investment of time and attention
rather than just starting from scratch
every time you're trying to build something new.
Over time, it compounds into a system
that actually matches how I think.
But this personal knowledge system
isn't just for myself.
It's also the perfect foundation
to plug into artificial intelligence.
And that dramatically changes
how the AI works with you
when you're bounding it
within the knowledge
that you've already curated.
But before we get into the automated LLM wiki,
I want to quickly talk about
how AI currently works
when you're using it.
If you understand
how it currently answers your questions,
you'll better understand
the value of a graph-based system
that we'll get into in a little bit.
When you ask AI to search your documents,
it uses something called RAG,
Retrieval Augmented Generation.
It converts your notes into numbers,
finds the ones most similar to your question,
and retrieves those chunks of text.
For simple questions like,
what is X,
this works great.
But the problem is not
when the answer to your question
lives within one or a few documents,
but what happens when it lives
between the documents,
between the connections
and how they relate to one another.
In that case,
you don't just need a chatbot
giving you an answer,
you need a reference librarian.
You need something that knows
which books led to which,
which chapters are related,
which ideas depend on one another.
For simple questions,
normal RAG is fine.
But when you get into complex
or high volume information
across many sources,
we can use something called GraphRAG.
On large or complex datasets,
GraphRAG significantly outperforms RAG.
Rather than retrieving
thousands of chunks of information
burning through your tokens,
the AI can follow the relationship
between sources much more effectively.
The best part is that
we can build a simple version
of GraphRAG ourselves
using something like Obsidian,
or a knowledge graph,
and the AI tools
we're already familiar with.
Many of us switch between AI tools
depending on rate limits
and performance.
Each tool has its own built-in memory,
which works great
while you're in that tool,
but completely fails
when you're switching between tools.
The knowledge isn't lost,
it's just trapped
in the silos of each tool.
What if instead of the context
being fractured
across all of these different tools,
it lived in a structure of its own?
An LLM wiki or a shared brain,
a shared structured knowledge set
for all of your different AI tools.
The LLM wiki as a concept
has been gaining a lot of popularity
recently due to an article
by Andrej Karpathy.
He's formerly from OpenAI
and he's actually the person
that coined the term vibe coding.
He frames it as
the idea here is different.
Instead of just retrieving
from raw documents at query time,
the LLM incrementally builds
and maintains a persistent wiki,
a structured interlinked collection
of markdown files
that sits between you
and the raw sources.
When you add a new source,
the LLM doesn't just index it
for later retrieval,
it reads it,
extracts the key information,
and integrates it
into the existing wiki,
updating entity pages,
revising summaries,
noting where new data
contradicts old claims.
The knowledge is compiled once
and then kept current.
It's not re-derived on every query.
This shared brain that you use for AI
can be a part of your own
existing knowledge base
or it can be completely separate.
It's completely up to you
how you want to separate it
or if you want to keep them together.
For example, for myself,
I like to keep a separate human vault
that's only based on my own thinking
and then I have an LLM vault
or LLM wiki that I use
for my AI generation
to provide the different AI tools.
That way I easily know
what came from me
and what came from AI.
Let's dive a little bit deeper
into the LLM wiki.
The LLM wiki has three layers.
First, raw sources.
Articles and research
clipped directly into your vault.
For example, using something
like Obsidian's web clipper.
The sources remain untouched.
Second, the wiki.
An AI agent reads those raw sources
and compiles them into clean,
interlinked, structured pages.
It's a knowledge graph
written in plain language.
Third, the maintenance.
The agent periodically checks
the wiki for contradictions,
outdated information,
and orphaned pages.
Your knowledge base stays accurate
without you having to monitor it.
The result is a living knowledge graph
that grows with your research,
maintained by AI,
and readable by all of the AI tools you use.
If you want me to show you
how to set up an LLM wiki from scratch,
how to firewall it
between your different vaults,
or how to connect it
between multiple AI agents,
please let me know in the comments
and I'm happy to make a dedicated video
that dives deeper into it.
There's so much we can do
with knowledge graphs and AI.
It's a really exciting time.
Your human vault
is where your thinking lives.
Your agentic vault
is where your AI tools work from.
Together,
they're the closest thing we have
to a true second brain,
an augmented personal
knowledge management system.
If you find this video helpful,
please like and subscribe
as I really appreciate
your support a lot,
so thank you.
Again, there's so much more
that I can get into on this topic,
so if you have any questions
or there's anything else
you would like to learn,
please let me know in the comments
and I'm happy to go deeper into it.
Thanks again for watching
and I will see you in the next video.