Connecting the dots for accurate AI
Get the full intelligence
Search transcripts, export clips, track mentions, and explore all topics from “Connecting the dots for accurate AI” inside PodZeus.
In this episode of The Stack Overflow Podcast, host Ryan Donovan interviews Philip Rathley, CTO at Neo4j, about the critical role of knowledge context layers in AI agents. Rathley explains that while large language models (LLMs) are powerful, they suffer from limitations like outdated knowledge, lack of explainability, and stochastic behavior—especially in high-stakes or regulated environments. To overcome these, he introduces the concept of a 'graph-based knowledge layer' as a superior alternative to traditional retrieval-augmented generation (RAG), arguing that graph-based RAG (GraphRAG) enables more accurate, explainable, and deterministic reasoning by connecting data across silos in a structured, networked way. He illustrates how graphs, with their nodes and relationships, allow for multi-hop reasoning and real-time access to up-to-date, contextually relevant information—something vector-based RAG struggles with. Examples from companies like Uber, Walmart, and financial institutions show how graph-powered systems achieve 30–80% higher accuracy and 100% deterministic outcomes where needed. Rathley also highlights the efficiency of Neo4j’s graph database, which leverages index-free adjacency for blazing-fast traversal and reduced hardware needs, even with large-scale data. The episode concludes with practical advice for developers to explore Neo4j’s free Aura platform, Graph Academy, and courses by Andrew Ng to get started. Key takeaways include: 1) RAG alone is insufficient for enterprise AI—GraphRAG adds critical context and accuracy; 2) Graphs enable deterministic reasoning for compliance and high-stakes decisions; 3) Neo4j’s architecture allows for fast, scalable, and efficient data traversal; 4) LLMs are better at generating graph queries than SQL, making graphs more accessible to non-technical users; 5) The future of AI agents lies in combining stochastic (LLM) and symbolic (graph) reasoning—neurosymbolic AI.
Graph-based knowledge layers significantly improve AI agent accuracy and explainability compared to traditional vector-based RAG.
GraphRAG enables multi-hop, deterministic reasoning—critical for compliance, finance, and regulated industries.
Neo4j’s graph database uses index-free adjacency for up to 2 million pointer-chasing operations per second, making it 1,000x faster than relational databases.
LLMs are more effective at generating Cypher queries than SQL, making graph databases more accessible to non-technical users.
Combining LLMs with graph databases creates a neurosymbolic AI system that balances creativity with precision.
…and 3 more takeaways available in PodZeus
Introducing the Knowledge Context Layer for AI Agents
Ryan Donovan welcomes Philip Rathley, CTO at Neo4j, to discuss the foundational role of knowledge context layers in AI agents, setting the stage for a deep dive into graph-based systems as the next evolution beyond traditional RAG.
The Limits of LLMs and the Need for Context
Rathley outlines the core limitations of relying solely on LLMs—outdated training data, lack of explainability, and stochastic behavior—emphasizing the need for external, up-to-date, and structured context layers.
From RAG to GraphRAG: The Next Evolution
“The more you can zero in and be surgical and pull back the thing, the subject and object, their prior interactions, the things that they care about, maybe a few levels out. And you might index into the graph with a vector. And then you might filter out using properties or types or so on. But what that gives you is like a coherent set of context that is laser targeted for the particular entities that I'm dealing with.”
Why Graphs Outperform Vectors in AI Context
“An assertion and then not assertion have an 80% similarity, semantic similarity because it's a linguistic similarity. But of course they should have a zero similarity.”
The Power of Graph Databases: Speed, Efficiency, and Architecture
“You can do that at a rate of around 2 million pointer-chasing operations per second. I mean, if you're going straight memory addresses, so it's going to be very fast, right? It's super, super fast.”
“An assertion and then not assertion have an 80% similarity, semantic similarity because it's a linguistic similarity. But of course they should have a zero similarity.”
“There's exactly one answer to that. You can arrive at it deterministically using a graph query in like some millisecond and a three line query just using Cypher.”
“The more you can zero in and be surgical and pull back the thing, the subject and object, their prior interactions, the things that they care about, maybe a few levels out. And you might index into the graph with a vector. And then you might filter out using properties or types or so on. But what that gives you is like a coherent set of context that is laser targeted for the particular entities that I'm dealing with.”
Host
Guest
Neo4j
organization
Philip Rathley
person
LLM
other
Ryan Donovan
person
Cypher
other
GraphRAG
other
SQL
other
RAG
other
Uber
organization
Aura
other
Seizing the means of messenger production
The Stack Overflow Podcast • 28m • 4/3/2026
He designed C++ to solve your code problems
The Stack Overflow Podcast • 33m • 4/7/2026
The messy truth of your AI strategies
The Stack Overflow Podcast • 31m • 4/10/2026
Who needs VCs when you have friends like these?
The Stack Overflow Podcast • 33m • 4/14/2026
No country left behind with sovereign AI
The Stack Overflow Podcast • 33m • 4/17/2026
Get the full intelligence
Search transcripts, export clips, track mentions, and explore all topics from “Connecting the dots for accurate AI” inside PodZeus.
Start discovering podcast insights today
Start with a 7-day trial and explore a growing catalog of popular podcasts. No credit card required.
No credit card required • 7-day trial • Cancel anytime
