Skip to content

Connecting the Dots with Context Graphs — Stephen Chin,…

Talk by Stephen Chin of Neo4j arguing that vector-based RAG retrieval alone is insufficient for agentic AI systems. He introduces context graphs, which capture not only retrieved information but also the decisions made, the reasoning behind them, applicable policies, and outcomes, so past precedent becomes queryable for future similar cases. Examples include a healthcare scenario where a graph grounded in a patient's history (e.g., smoking, prior surgery) yields more tailored recommendations than generic RAG, and a financial services demo where a loan decision surfaces a prior rejection, related margin trades, and fraud risk patterns, with graph traversal made visible to the human decision-maker. # Channel Identity Observations — "Connecting the Dots with Context Graphs — Stephen Chin, Neo4j" ## Speaker Self-Description (Explicit Claims) - **Name and role stated directly:** > "My name is Stephen Chin. I run the developer relations team at Neo4j" - **Positioning within a series:** > "I'm the first speaker. We have some other amazing talks after me" — this is one session in a multi-talk event, with colleagues "Zaid and ABK" presenting follow-up talks on "agentic use cases of context graphs." - **Organizational affiliation:** The speaker repeatedly frames work as collective company effort — > "we've hooked it up to a support ticket system," > "we've used our cloud agents," > "We're happy to have conversations… at the Neo4j booth." ## Intended Audience - **Software engineers and developers using AI tooling:** > "how we've all been feeling with the AI revolution where we are trapped as engineers. We are using AI coding tools… or maybe they're using us." - **Engineers whose code is agent-reviewed:** > "Who here has their work reviewed by an agent when they check in their PRs? Yes. All of you." - **Developers of agentic/AI applications in enterprise settings**, evidenced by the financial-services demo with CRM, support tickets, compliance, and auditability concerns. - **Live, in-person event audience:** repeated audience interaction ("Who's a fan of Lenny's podcast in the room?") and a closing invitation to visit a booth. ## Claimed Scope of the Channel/Team's Work - **Education as a core mission:** > "I run the devrel team. One of our big pushes is free education. So, we just want to help people to understand how to use graphs, how to use context graphs, how to use AI." - **Open-source contributions:** > "the Neo4j agent memory package… an open source package which we built on top of Neo4j. We have an open GitHub repo. We encourage other folks to contribute." Also the "Lenny memory podcast" demo described as "an open-source project." - **Free training infrastructure:** a "new context graph course that we just released on GraphAcademy" plus > "we spin up a free Aura instance… a graph database to play with for free." ## Demonstrated Presentation Patterns (Observable) - **Technical depth with demos:** the talk moves from concept (knowledge graphs, graph RAG, memory layers) to live demo walkthroughs (podcast memory map; financial approval decision for "Jessica Norris" with visible Cypher queries). - **Pop-culture framing:** the Matrix "red pill/blue pill" metaphor runs throughout — > "escape from the matrix," "now we're like Neo." - **Third-party validation cited:** Gartner ("context graphs as part of the AI hype cycle") and Foundation Capital ("$3 trillion startup opportunity post"). - **Evangelistic, developer-community tone:** humor, audience polling, calls to action (try the GitHub project, take the GraphAcademy course, visit the booth). ## Claims vs. Demonstrations — Distinction - **Creator claims:** free education focus, open-source packages, hosted demo availability, GraphAcademy course. - **Demonstrated:** detailed technical fluency in graph databases, RAG, agent memory architecture, and Cypher; comfort presenting to a technical live audience; promotional intent for Neo4j's ecosystem (Aura, GraphAcademy, MCP tools, booth). # Delivery Observation: "Connecting the Dots with Context Graphs" — Stephen Chin, Neo4j ## Overall Tone - **Conversational and energetic**: casual phrasing throughout, e.g., opening with "you are in store for the power hour of context and graphs." - **Humorous, audience-aware delivery**: jokes woven into technical explanation, e.g., "So we know who who wears the pants in this relationship." - **Self-aware light humor even in closing**: "Gartner approves of." ## Recurring Rhetorical Devices ### Extended metaphor: The Matrix - The dominant recurring device, opening to close: - > "is it going to be the the blue pill where we're stuck inside of this mire" - > "Or do we want to dive in and and embrace the red pill, escape from the matrix" - > "we're like Neo. We can do kung fu, we can shoot bullets" - > "help all of us to escape the matrix. So, thank you very much." - Also invokes a **superhero frame**: "become the superheroes of our organization." ### Direct audience interaction - Repeated show-of-hands prompts to the live room: - > "Who Who here has their work reviewed by an agent when they check in their PRs?" - > "who's who's who's going to who's in the escape club?" - > "Who's a Who's a fan of Lenny's podcast in the room?" - Notes audience response: "Oh, okay, a bunch of folks." ## Vocabulary & Phrase Patterns ### Repeated key terms - **"Context graph(s)"** — the anchor term, used dozens of times. - **"Escape from the matrix"** / **"stuck in this mire"** — repeated framing of the problem. - **"Open-source project"** — repeated when introducing demos: - > "the Neo4j agent memory package. So this is an open source package" - > "we built a little demo, Lenny memory podcast, again an open-source project" - > "the architecture again, it's an open-source project, you can try this out" ### Stylized filler and disfluency - Frequent **doubled words** ("the the," "who who," "is is," "that that") — suggests rapid, live-paced delivery; could indicate unscripted or semi-scripted talking. - Hedging phrases: "you know," "um," "kind of," "a little bit." ### Contrastive teaching structure - Repeatedly sets up **before/after or three-stage comparisons**: - Blue pill vs. red pill. - Baseline LLM → RAG → graph RAG answers ("generic answer... pretty generic medical advice... grounded complete information"). - "us controlling them" vs. "they are controlling us." - > "It's not like you have to join a bunch of tables together. It's a natural progression." ## Teaching Habits - **Demo-driven structure**: announces demos explicitly ("The first demonstration I'm going to show...", "what I'm going to show here as an example is a financial services application"). - **Concrete scenario walkthroughs**: a healthcare patient ("Andre Jenkins' emphysema") and a named fictional user ("Jessica Norris") to make retrieval/approval flows tangible. - **Authority citations**: Gartner hype cycle and Foundation Capital's "$3 trillion startup opportunity" to validate the topic. - **Calls to action / free resources**: closing push to GraphAcademy course, "free Aura instance," open GitHub repos, and invitation to the Neo4j booth. - **Handoff to co-presenters**: names colleagues ("Zaid and ABK") and previews their topics — a multi-speaker event format. ## Uncertainty Notes - Timestamps bracketed in the transcript ([14], [25]...) appear to be timing markers, not quoted content; no specific time-based delivery observations were made. - Audience laughter/applause is not recorded, so tonal audience reception beyond one noted response ("Yes. All of you.") cannot be verified. # Observation Document: Connecting the Dots with Context Graphs — Stephen Chin, Neo4j ## Speaker - **Stephen Chin**, Head of Developer Relations at Neo4j (identified in transcript by self-introduction). ## Central Thesis - Engineers are "trapped" in a limbo with AI tools: rather than engineers controlling AI agents, the agents are increasingly controlling/reviewing engineers' work (e.g., agent review of PRs). - The proposed escape is **context graphs** — connecting enterprise data sources, decision traces, and reasoning tool calls into a consolidated, queryable view. ## Key Claims and Reasoning ### Industry Recognition - **Gartner** has placed context graphs in its AI hype cycle (Chin presents this as validation). - **Foundation Capital** sparked this thread with a "$3 trillion startup opportunity" post claiming context graphs will dramatically change application building. ### Knowledge Graphs as Foundation - Knowledge graphs hold **nodes** (people, things, companies) and **relationships** with **properties** (example: Dan lives with Anne; drives her car). - Graphs can carry **embeddings** for similarity search, combining structured knowledge with LLMs. - Complementarity argument: LLMs are good at **language, reasoning, creativity**; knowledge graphs are good at **knowledge, context, enrichment** — together enabling visualization, hidden pattern discovery, and insights. ### Retrieval Comparison (Healthcare Example) Three tiers of answer quality for "What was the care plan associated with Andre Jenkins' emphysema?": 1. **Baseline LLM**: generic advice (prevent lung damage) — broad knowledge, no patient context. 2. **Vector/RAG**: somewhat personalized but generic (respiratory therapy, breathing exercises). 3. **GraphRag / grounded complete information**: pulls patient history, prior diagnoses, operations — recommends medication management, smoking cessation counseling, pulmonary rehabilitation. Chin argues similarity search **loses background information** that graphs retain. ### Memory Architecture - **Short-term memory**: current pipeline state, conversation, agent activity — persistable in the knowledge graph. - **Long-term memory**: requires good domain modeling of business processes and entities; spans tasks and customer interactions. - **Reasoning traces**: LLMs normally return only results; traces capture the "why" behind decisions, enabling repeatability, decision provenance, compliance, and debugging. - Graphs are well-suited for memory because **relationships are first-class**, hop traversal is performant (cited as noted in GraphRAG research papers), graph embeddings (e.g., **FastRP**) enable vector lookups, and algorithms like **Louvain** support community grouping. ### Tooling and Open Source - **Neo4j Agent Memory package**: open-source, combines short-term memory, long-term memory, and reasoning into a context graph structure; contributions encouraged. - **Lenny's Podcast demo**: open-source project ("Lenny memory podcast") built on Neo4j agent memory APIs; extracts dense podcast content into a graph, e.g., mapping locations mentioned in episodes — providing a holistic, navigable view rather than partial similarity matches. ### Context Graphs for Business - Unlike a traditional **audit log**, context graphs capture the **"why"** — decision traces during model evaluation — organized by entities and relationships. - Architecture: agent search uses context graph retrieval (knowledge graphs + vector search + data science); agent loop results push back into context memory for future reasoning traces. ### Financial Services Demo - Entities (people, organizations), events (decisions, transactions, approvals), and context (policies, risk factors, employee reasoning). - Integrates a **support ticket system, CRM, and internal business data** via **10 MCP tools**; uses OpenAI embeddings to populate Neo4j; exposed via a Next.js UI. - Example query on "Jessica Norris" loan approval: system surfaced bank account, related margin trades, a **previous rejection** via visible Cypher queries. - Outcome: the model recommended **denying the loan**, with explicit reasons, risk factors, previous decisions, and fraud detection patterns — giving humans decisions they "can stand behind." ### Education Resources - New **context graph course on GraphAcademy**, with a free Aura instance spun up automatically. - Upcoming talks by colleagues **Zaid and ABK** on agentic use cases. ## Qualifications and Unresolved Tensions Noted - Chin's framing ("blue pill vs. red pill," "escape the matrix," "superheroes") is rhetorical/motivational rather than evidence-based. - The claim that engineers are "controlled by" AI tools is presented as shared sentiment via audience show of hands, not measured data. - Demo outcomes (loan denial for Jessica Norris) are from a staged demonstration application, not production evidence. # Speaker Attribution & Provenance Record **Video:** Connecting the Dots with Context Graphs — Stephen Chin, Neo4j **Video ID:** `01a15ca9-4ac5-7fc3-a6cd-dcf38c8e636a` ## Speakers - **Stephen Chin** — Creator/presenter - Self-identified: *"My name is Stephen Chin. I run the developer relations team at Neo4j."* - Delivers the full recorded talk; describes himself as the **first speaker** in a multi-talk session. - **Mentioned but not speaking in this segment:** - **Zaid** and **ABK** (colleagues) — announced as subsequent presenters on agentic use cases of context graphs. ## Roles Observed - **Narrator/Presenter:** Stephen Chin (entire transcript). - **Audience:** Live in-room audience; interaction noted via rhetorical questions (e.g., show of hands on agent-reviewed PRs, Lenny's Podcast fans). ## Third-Party Claims & Referenced Sources - **Gartner** — claim that context graphs are now part of Gartner's AI hype cycle. - **Foundation Capital** — cited "$3 trillion startup opportunity" post regarding context graphs. - **Lenny's Podcast** — dataset used in the first demo ("Lenny memory podcast" open-source project). - **Graph RAG research papers** — referenced generally regarding performance of graph traversal (no specific titles cited). ## Technologies / Projects Referenced (provenance facts) - **Neo4j agent memory package** — open-source, public GitHub repo, contributions invited. - **Cypher**, **FastRP graph embeddings**, **Louvain algorithm**, **OpenAI embeddings**. - **GraphAcademy** — new context graph course with free Aura instance. - Demo architecture: support ticket system, CRM, internal business data system, 10 MCP tools, Next.js frontend; hosted and local GitHub versions available. ## Promotional Segments (flagged) - **Closing segment:** promotion of Neo4j's free education, GraphAcademy context graph course, free Aura database instance, invitation to visit the **Neo4j booth** and talk with the team — explicitly promotional on behalf of Neo4j. - Recurring vendor framing of Neo4j open-source projects and demos throughout. ## Availability & Uncertainty - **Comments availability:** No metadata supplied; comment availability **unknown**. - Speaker names "Zaid" and "ABK" are as transcribed; spelling uncertain (no metadata to confirm). Hello and welcome everybody to connecting the dots with context graphs. My name is Stephen Chin. I run the developer relations team at Neo4j and you are in store for the power hour of context and graphs and all of this technology. So I'm the first speaker. We have some other amazing talks after me. So I hope you enjoy all the great content which you're going to see over the next um hour or so. So what I'm going to talk about is a bit about how we've all been feeling with the AI revolution where we are trapped as engineers. We are using AI coding tools or or maybe they're using us. Where our work is being reviewed. Who Who here has their work reviewed by an agent when they check in their PRs? Yes. All of you. So we are we're stuck in this limbo where we have amazing tools, we have amazing capabilities, but rather than us controlling them, they are controlling us. And we would like to get to a state where we're in control of this. So we have to decide is it going to be the the blue pill where we're stuck inside of this mire of disparate knowledge stuck in in Slack discussions and little customer threads and different enterprise systems which are all segregated and siloed. And when it when we ask the agents to make critical business decisions or our applications to make critical business decisions with with all this spread, it can't possibly give good answers cuz it doesn't have the context. Or do we want to dive in and and embrace the red pill, escape from the matrix, and have a system of reasoning where we actually have all these systems connected, all of our different enterprise data sources, previous decision traces, the reasoning tool calls of the tools to give us a more consolidated view of our enterprise stack, and escape from the matrix. So who who's who's going to who's in the escape club? Who Who wants to break out? Okay, hopefully if you're in the room, you're you're with me. Um and guess who else is with us? Gartner has now officially made context graphs as part of the AI hype cycle. So we have been officially recognized by the um the analysts of the world. They they also realize that we're all stuck in this in this mire. Um Foundation Capital actually started this thread with their $3 trillion startup opportunity post about how context graphs are going to move forward the industry and dramatically change how we build applications. And um what I'll do is I'll I'll show some demos and I'll talk about how we can move from being stuck in this matrix, stuck in this world, and then become the superheroes of our organization and actually build the capability of the systems using technologies like knowledge graphs. So knowledge graphs are a very powerful tool for us to aggregate all this information, create the connections, create the relationships. And at a fundamental level, they they hold nodes which are are people or or things or companies or relationships. Um You have relationships between nodes where um in this case um you know, Dan, those are properties. Um lives with Anne. They He drives her car apparently. So we know who who wears the pants in this relationship. And we have some embeddings on top of the car. So we're embedding vector information in it so we can also do similarity searches and kind of combine the best of both worlds with building information, but then also combining it with LLMs. So when we take what LLMs are really good at, this language, this reasoning, this creativity, when we combine that with what knowledge graphs are really effective at, so knowledge, context, and enrichments, then we can start doing things with our data like um storing all these relationships together, visualizing them, so we can get to the data which matters, finding hidden patterns, and then analyzing this and getting more insights which will help power the context graph demonstrations which I'm going to show you all. So here's a a simple example of how graphs power retrieval because I think it's it's good to understand what the difference is between a baseline LLM. So this is a um healthcare case. What was the care plan associated with Andre Jenkins' emphysema? And when you ask the LLM, it has broad knowledge. It It understands a lot of information. It knows what emphysema is. It knows what standard practices so it gives a a very generic answer, preventing damage to the lungs, yada yada yada. Now when we give it a rag system, so we go to vector database, now it has more context. It knows a bit about the the patient and their information and it tells you maybe recommend some activities like respiratory therapy, deep breathing, coughing exercises. So this is pretty generic medical advice. Now where we want to get to is grounded complete information where we're pulling in who's the patient, what was the previous diagnosis, what operations have they have. And you can see here that it it's specifically recommending medication management, smoking cessation counseling, pulmonary rehabilitation exercise. So that Clearly the parent here has a the patient here has a history of of smoking, has had an operation. So like there's there is certain things which are background information that was lost in the similarity search. And if our agents have this information, then like the matrix, now we've loaded all up up this information and we can you know, we're like Neo. We can do kung fu, we can shoot bullets, we can do all this amazing stuff with the right memory structure in place. So this is kind of the second layer. So now we have the the grounding with with graph rag and retrieval and we can pull things out of knowledge graphs. But we need to now store the the memories, the short-term memory, the long-term memory, and the reasoning memory so that we have our complete history of what's happened that we can build on top of this. Um so I think you all know that short-term memory is things which are happening in the current pipeline with agents, the conversation, the the current state of um activities which your your agent architecture is working on. So this can all be persistent in the knowledge graph and it gives important information in the execution pipeline. Long-term memory is really important and needs to be organized well cuz there's so much of it. So you have to figure out how to aggregate and pull this information in, have a good domain model for representing the the different business processes, the entities, the um folks who are part of your application or part of your domain. And then you can actually store the information which your agents are working on over longer um tasks and procedures and across multiple different um user or customer interactions to give that history and context for what your application has done. And then finally, reasoning traces give us the ability to understand why decisions were made and how they're done. So typically, what we get from LLMs is we we get the result, right? They'll they'll tell us, "Well, this is what I recommend. This is, you know, advise this." But to get to that result, there is there is thinking, there's reasoning which happens behind the scenes. And we'd like to make it repeatable where that information it's learning from the experience of the previous traces, it has that decision providence for if there were previous decisions, you're going to draw on that knowledge and we'll use that to come up with better future decisions. And this also gives us a great hook in for compliance and debugging. One of the great things about knowledge graphs is they're great for tooling, they're great for LLMs. LLMs can build Cypher, which is the query language for knowledge graphs. They can create knowledge graphs and create structure out of um unstructured documents. But it's also how we would represent things as humans. It's how we would draw things on a white board. It's how we would show things. And with these, now we are loading up the memory into a structure where we can actually start to do interesting things with our memory. So graphs are a a great use case for memory because relationships are first class within knowledge graphs. They're part of the structure. It's not like you have to join a bunch of tables together. It's a natural progression. They're highly performant from all the hop traversal. Um a lot of the graph rag research papers talk about this specifically as a major advantage to graph rag and graph AI architectures where they can navigate more complex structures at a very performant speed. Um using graph embeddings like fast RP, we can also do vector lookups, which is a great way to get a starting point or hook into the graph where we navigate using algorithms like the Louvain algorithm for community grouping. And then we get explainable decisions. We have more cross knowledge and we're building asset compliant um solutions with things like the Neo4j agent memory package. So this is an open source package which we built on top of Neo4j. We have an open GitHub repo. We encourage other folks to contribute for it. And it brings these three concepts together, short-term memory, long-term memory, reasoning into a context graph structure. And the first demonstration I'm going to show is an example of how you can build a knowledge graph which ties your short-term your long-term memory and your reasoning memory together to answer questions from Lenny's podcast. Who's a Who's a fan of Lenny's podcast in the room? Oh, okay, a bunch of folks. Um it's a great resource and um but it's hard like podcasts are hard. They're very dense. There's a lot of connected information and topics and we'd like to be able to extract that and then understand more of the context and things which are happening with the help of AI. So, um we built a little demo, Lenny memory podcast, again an open-source project. Um what it lets you do is it has all the podcasts loaded up. Um for those of you don't know, Lenny talks a lot about different AI topics, about product management. And um one of the things we can do is we provide the AI with different tools for accessing the memory. This is all written on top of the Neo4j agent memory APIs. And then, for example, we're pulling back locations in the episode and it's using that to design and build a graph and or in this case a a map and show us all the different locations of things mentioned in the film by aggregating all that context. And because we have it in a graph format, it's not just pulling out some similar locations and getting like part of the data, we get a holistic view of the entire data set which can be navigated and queried dynamically. So, now we've shown what we can do with graphs, what we can do with memory. But, what we're all here for is is context graphs, right? How can we take this and actually apply this to solve those cross-domain business problems where it's very hard to get the information, it's very hard to quantify why decisions are made. And um context graphs are really powerful for this because unlike a traditional audit log, they're capturing the the why, the decision traces that happens while you're evaluating your models. It organizes these by entities and relationships. And then it's pulling all the knowledge from from different sources. So, rather than having conversations hidden in Slack or emails or other informal um conversations, now your app becomes a central point where they can look up previous decisions, they can get that advice, and then they can add that recommendation back to the reasoning traces for um future lookups. Broadly, the architecture is you're you're searching, you're using your context graph retrieval tools from your agentic architecture. It's using a combination of knowledge graphs, vector search, and um data science algorithms. Then they when you go through the agent loop, it's then pushing that back into the context memory which gets added back into the graph. And subsequent queries are then pulling this back as part of your reasoning traces in your output to solve specific domain problems. So, what I'm going to show here as an example is a financial services application. Um for this, we're going to have entities of different people and organizations, um different events for decisions, transactions, and approvals which happened during the workflow of the application. And then the context of why, what policies were applied, what risk factors are there, what was the employee reasoning behind giving a certain recommendation. And the architecture again, it's an open-source project, you can try this out on we have a hosted version of this and you can try it out with the GitHub project and run locally. But, it's pulling in from a variety of different data sources. So, we've hooked it up to a support ticket system, a CRM, and an internal business data system with 10 different MCP tools that it has access to. And then we've used our cloud agents to create open AI embeddings and then populated Neo4j context graph with a lot of this information so that it has a a domain domain graph and a reasoning graph which it can look into. And then finally, it's exposed with a user interface which is a simple Next.js application that gives us a front end like what we'd want a an end user or consumer to to use for this particular use case. And for this application, what it does is it presents to you a prompt where you can ask it a bunch of questions. We're going to ask it about Jessica Norris and see whether she should get an approval. And it's going back to the graph and it's querying both information about her history. So, it it knows what her bank account is, it knows that she has some related margin trades. You can see some of the Cypher queries there that were queried through the model. And you can also see the knowledge graph that we're traversing and populating. So, this is why knowledge graphs make things explainable and auditable because now we see exactly the information which is being populated and used. You can see there was a previous rejection. And these are the sort of things which get which get lost in in disparate systems and tooling where we don't bring all this information together in a in a queryable, in a understandable form where we can build and pull out that knowledge. Now, unfortunately for Jessica, the the AI model recommends not giving her the loan, but it gives us the reasons, the risk factors, it gives us previous decisions which should influence this. And um fraud detection patterns about why this may be a big risk for our organization. And as a an agent who's or a a user, a human who's using the system to make decisions, this is the sort of information you need to actually make a decision you can stand behind and you can justify to your organization. And then us as developers, now we can justify why our agentic applications are actually solving real business problems, providing grounded information that our users can rely on and are taking advantage of the latest techniques with context graphs which um as we know, Gartner approves of. All right. So, let me leave you with some resources that you can use to learn more. Um I run the devrel team. One of our big pushes is free education. So, we just want to help people to understand how to how to use graphs, how to use context graphs, how to use um AI. We have a new context graph course that we just released on GraphAcademy. Um also, it makes it really easy to get started because we in the background, we spin up a free Aura instance. So, you just have a graph database to play with for free. You can try a bunch of these techniques out before you even try it in, you know, your own production instance, your own enterprise instance. So, I hope you guys enjoyed the talk and learned a little bit about what the possibility with context graphs is. The next set of presenters, my my colleagues, um Zaid and ABK, are going to dig a little bit more into agentic use cases of context graphs. And, you know, please come chat with us either after the talk or at the Neo4j booth. We're We're happy to have conversations, kind of dig more into demos, dig more into your use cases, and help all of us to escape the matrix. So, thank you very much.