Your AI's Amnesia is Costing You
Your AI has a dirty little secret: it suffers from severe amnesia. Modern Large Language Models (LLMs) like Claude lack persistent memory, forcing them to re-read your entire project context from scratch for every single query. This slow, expensive brute-force method costs you time and computing power with each interaction; you are paying for an AI that forgets what you just told it, every single time.
This constant re-reading means your AI struggles to make subtle connections across disparate files. Imagine feeding it hundreds of documents; it processes them as a flat, undifferentiated mass, unable to truly link ideas. The result? Generic or inaccurate answers to complex, domain-specific questions that require understanding nuanced relationships, leading to frustratingly superficial output.
Worse yet, without a truly structured memory system, LLMs become significantly more prone to hallucination. Instead of admitting it can't locate a specific detail within the vast sea of provided text, the AI often attempts to fill in the gaps with fabricated information. This leads to confidently incorrect facts and unreliable responses, undermining the very reliability you expect from an advanced tool.
Graphify: From Files to Concepts
Graphify tackles AI amnesia by acting as a digital cartographer for your entire project. Point it at a directory—whether it's code, notes, or PDFs—and it gets to work. It meticulously ingests all these disparate files, then constructs an interconnected knowledge graph of the core entities and their relationships.
This process transforms your flat file structure into a dynamic, semantic map. Instead of merely seeing a list of documents, the AI now perceives a rich network of ideas. For instance, it understands that 'Soulmaking Dharma' isn't just a phrase, but a concept linked to specific teachings, historical dates, and related meditation practices within your collection.
Crucially, this graph itself is a highly efficient, low-token index. When you pose a query, the AI doesn't blindly re-read hundreds of files. Instead, it first navigates this conceptual map, pinpointing exactly which source documents contain the most relevant information. This targeted approach avoids processing irrelevant data, saving significant time and computational expense, making your AI interactions faster and far more cost-effective.
Obsidian: Visualize and Own Your Graph
The real magic happens when Graphify exports this entire knowledge graph into a standard Obsidian vault. Every concept Graphify identifies—whether it's a specific code function, a person from meeting notes, or a key term from a PDF—becomes a distinct Markdown note. Their discovered relationships translate directly into bidirectional links, creating a truly interconnected knowledge base that isn't some abstract database; it's a folder full of files you can open and read.
This makes your AI's 'brain' genuinely tangible and explorable. Using Obsidian's interactive graph view, you can visually explore the complex web of connections within your project. Suddenly, dependencies between code modules, related research papers, or overlooked connections in meeting notes become clear, revealing patterns and insights you never knew existed. It's like seeing your project's entire intellectual landscape laid out before you.
Crucially, this system gives you full ownership of your knowledge base in an open, future-proof format. you're not locked into a proprietary cloud service or a vendor's specific API; your AI's memory is a set of local Markdown files you control, stored directly on your machine. This means your project's institutional knowledge remains yours forever, independent of any single tool or company's changing fortunes. For a deep dive into how Graphify builds and structures these queryable graphs, visit the GitHub - Graphify-Labs/graphify: Turn any codebase, with its docs, SQL schemas, configs, and PDFs, into a queryable knowledge graph. page.
Enjoying this? Get one like it in your inbox each morning.
one email a day · unsubscribe in two clicks · no third-party tracking
The Payoff: Surgical AI Queries
This entire setup unlocks a new level of AI interaction, delivering hyper-specific queries previously impossible with standard LLMs. you can ask complex, multi-hop questions about your entire project context, receiving precise, synthesized answers directly from your source material. Imagine asking Claude, "What are the core technical differences between the LandingPageBuilder module and the BuddhistPractice module, as described in their respective design documents?" and getting an accurate, grounded response, not a generic summary.
The trick lies in a clever two-step process. First, the AI queries the meticulously built knowledge graph to pinpoint relevant concepts, entities, and their connections. Second, it retrieves text only from the specific source files explicitly linked to those nodes, presenting you with exact citations. This isn't a general web search or a broad RAG pull; it's a surgical extraction of information from your private, structured data.
This workflow transforms a generalist LLM like Claude from a clever guesser into a true expert system for your personal or project knowledge. It stops hallucinating or relying on vague internet data, because it's operating with a dedicated, persistent memory. Instead, it reasons based on the structured, interconnected data you provided, giving you reliable, context-aware insights grounded in your actual work. This is how you make AI genuinely useful.
Frequently Asked Questions
What is Graphify?
Graphify is a command-line tool that scans a directory of files (like code, documents, or notes) and automatically builds a knowledge graph of the core concepts and their relationships.
How does this improve AI memory over standard RAG?
Instead of searching through entire documents (RAG), the AI first queries the low-token knowledge graph to find the most relevant concepts. It then pulls only the specific source files linked to those concepts, resulting in faster, more accurate, and less hallucinatory answers.
Why use Obsidian with Graphify?
Graphify exports its knowledge graph into an Obsidian vault. This allows you to visually explore the interconnected ideas, own your AI's memory in an open Markdown format, and manually edit or add to the graph.
Do I need to use Claude?
While the video demonstrates the workflow with Claude, the core concept of a knowledge graph is model-agnostic. The Graphify-generated Obsidian vault can serve as a memory source for any advanced LLM capable of tool use and file system interaction.

