Chin describes context engineering as a broader practice than prompt writing: it combines instructions, retrieved business data, conversation history, and structured outputs. Carefully selecting and ordering relevant information can reduce noise and improve results, especially when models have large context windows but limited attention.
Context Engineering: Connecting the Dots with Graphs
Speaker
Stephen Chin, VP of Developer Relations at Neo4j, explains how knowledge graphs support context engineering, GraphRAG, and agent memory at AI Engineer Code Summit.
Knowledge graphs represent people, things, and their relationships, with properties such as a car’s make and model or how long someone has driven it. Chin says graphs can also hold embeddings for vector search. GraphRAG combines similarity search with graph relationships to retrieve more connected facts and make the supplied context easier to inspect.
Chin demonstrates the Neo4j Knowledge Graph Builder using supply chain and VEX security documents, including information about vulnerabilities in the Jackson library. A two-pass retrieval process first finds similar nodes, then follows their relationships to gather context. The demo returns details such as affected versions and remediation information, while a question about an unmentioned library is intended to fall outside the graph’s knowledge.
Chin describes storing entities, relationships, text, embeddings, and time in a memory graph, then using vector search and graph algorithms to retrieve relevant information. In his example, graph links connect Stephen Chin, colleague Sid, their GIDS presentation in Bangalore, and its timing. He says GraphRAG is especially useful when an answer depends on multiple related facts.
Chin compares preplanned graph queries, text-to-Cypher, and agentic traversal, where an agent repeatedly queries the graph as it gathers evidence. In a Claude Code demo using Neo4j’s Cypher MCP server, the agent inspects the schema, runs several Cypher queries, and retrieves text attached to graph nodes. The resulting vulnerability report includes details such as the CVE, severity, attack type, affected versions, and remediation advice.
Takeaways
- Treat context as a curated mix of instructions, retrieved data, memory, and structured output.
- Use graph retrieval when an answer depends on multiple connected facts; simple vector search can suit one-shot lookups.
- Store relationships and time alongside text and embeddings to support richer memory queries.
- Let agents inspect the graph schema and traverse related nodes when a detailed answer needs evidence from several places.
- Keep answers grounded in a defined knowledge pool, and make retrieved graph evidence available for inspection.
Mentioned in this talk
Search inside this talk
What was claimed 7
- works atStephen Chin works at
Neo4j
Vice President of Developer Relations“I run the developer relations team here at Neo4j.”
0:13inCrabRAG: Why Automated Assistants Need Graph Memory, Not More TokensYouTube Verified6 sources· Talk, Web· archived
- featureGraphRAG: Uses graphs as part of a retrieval pipeline to provide related information as context to an LLM
“GraphRAG is any retrieval pipeline that uses graphs as part of the retrieval process.”
YouTube Unverified1 source· Talk
- feature
Neo4j AuraDB: Online free version of Neo4j“This is the online free version of Neo4j.”
YouTube Unverified1 source· Talk
- featureKnowledge graph construction: Ingests uploaded files and builds a knowledge graph using an LLM
“It lets you upload files”
YouTube Unverified1 source· Talk
- feature
Neo4j Cypher MCP Server: Allows an agent to query a Neo4j graph using Cypher“I've hooked up Claude Code using the Neo4j MCP Cypher server”
YouTube Unverified1 source· Talk
- feature
GraphAcademy: Free, hands-on courses on Cypher queries and GraphRAG“It's an entirely free resource to learn about Cypher queries.”
YouTube Unverified1 source· Talk
- feature
GraphRAG.com: Provides research, how-to guides, and conceptual information about GraphRAG“It has the latest research on different graph approaches, how-to guides, and conceptual information about implementing GraphRAG.”
YouTube Unverified1 source· Talk









