Chin describes an assistant memory loop of prompting, responding, using tools, and observing results. OpenClaw-style Markdown files are readable and easy to compact, but his agents load at least 100K tokens per round because they repeatedly bring in information in case it is useful. At larger scale, that approach can waste context and still leave an assistant forgetting prior work or choosing the wrong skill.
CrabRAG: Why Automated Assistants Need Graph Memory, Not More Tokens
Speaker
Stephen Chin, who leads developer relations at Neo4j, explains how graph memory can help AI assistants retrieve connected information and answer complex questions, in an AI Engineer talk.
Vector databases store embedded information and use similarity search to retrieve related material. Chin says similarity does not guarantee an actual relationship, and complex multi-hop questions can return related but incorrect facts or fail to find an answer. He compares a vector-only setup with a graph-backed one using the same home lab data.
Graphs represent entities as nodes and their relationships as edges, and can also store embeddings. In Chin's architecture, vector search finds seed nodes, then graph traversal retrieves and ranks related neighbors for multi-hop questions. He says the resulting paths make answers more precise, explainable, and auditable because developers can inspect which context informed them.
Chin built a digital twin of his home lab from Markdown files, with one vector store and one graph store using Cognee and its Neo4j backend. In a test for internet-exposed systems running outdated software, the vector agent failed to provide specific details, while the graph agent identified a Debian 8 Jessie server. For exposed management ports, the graph agent traced the pfSense router to HAProxy and OpenVPN; Chin says he patched the security issues found.
Chin argues that large enterprise and financial services data sets need memory beyond Markdown files and a model's context window. He mentions *GraphRAG: The Definitive Guide*, co-authored with Michael Hunger and Jesús Barrasa, and Neo4j GraphAcademy's free courses on agent memory and context graphs.
Takeaways
- Use Markdown files for readable, compact notes, but measure how much repeated context agents load each round.
- Treat vector similarity as a way to find starting points, not proof that retrieved facts are connected.
- For multi-hop questions, traverse explicit relationships and rank the resulting graph context.
- Make agent answers inspectable by retaining the query path and context that produced them.
- Compare memory approaches on the same source data and task; Chin's home lab test exposed a gap in vector-only retrieval.
Mentioned in this talk
Search inside this talk
What was claimed 10
- works atStephen Chin works at
Neo4j
Vice President of Developer Relations“I run the developer relations team here at Neo4j.”
YouTube Verified6 sources· Talk, Web· archived
- feature
Hermes Agent: Reflects at the end of each task and adds new skills or knowledge
“At the end of each task, it reflects and adds new skills”
YouTube Unverified1 source· Talk
- feature
Goose: Treats memory as an MCP server, with commands to retrieve, remember, and forget memories
“What it does is treat memory just like another MCP server.”
YouTube Unverified1 source· Talk
- uses
“It relies heavily on MCP as the layer”
YouTube Unverified1 source· Talk
- feature
OpenClaw: Comes with PGVector out of the box
“OpenClaw comes with PGVector out of the box.”
YouTube Unverified1 source· Talk
- featureRelational memory: Combines vector search for seed nodes with graph traversal to retrieve and rank related neighbors
“It uses vector search to get the seed nodes where the traversal starts. Then it uses graph search to pull the nearest neighbors”
YouTube Unverified1 source· Talk
- feature
Claude: Can write Cypher and build entity extractors
“Claude can write Cypher better than I can.”
YouTube Unverified1 source· Talk
- integrates with
“They have a Neo4j backend.”
YouTube Unverified1 source· Talk











