WhoBuilt

Agentic GraphRAG: AI’s Logical Edge

Jul 21, 2025· 15 min· 39K views·Watch on YouTube

Speaker

Stephen Chin, who leads developer relations at Neo4j, explains agentic GraphRAG at an AI Engineer event, including how graph context can improve retrieval and reduce hallucinations.

Why agents need better grounding

Chin argues that LLMs can produce biased or incorrect reasoning when they lack relevant information. He illustrates this with a classroom puzzle where a model misreads the grid, then assigns girls to cooking based on a misleading prompt. In fields such as drug discovery or supply chains, similar errors could lead to poor business decisions.

Connect agents to graph tools

Chin describes agent systems as workflows where models observe, reason, and take actions using tools. He says monolithic architectures can be difficult to maintain, change, and secure, and presents MCP as a way to connect agents with servers, data sources, and graph databases. Neo4j’s MCP tools include prompt-based Cypher generation, agent memory, and cloud database operations.

Combine vector search with graph context

Chin contrasts generic LLM answers and vector-only RAG with GraphRAG, which links vector matches to related graph nodes. In a healthcare example, a search for emphysema can retrieve the emphysema node and connected diagnoses and conditions. The resulting graph context can help answer questions over structured and unstructured data.

Build and tune a GraphRAG pipeline

A pipeline can search vectors or knowledge graphs, use graph analytics to find communities or groupings, then supply the results as context to an LLM. Chin recommends starting with vector search followed by graph traversal, with optional pre- and post-filtering to rank useful context near the top. He cautions that text-to-Cypher can work poorly because LLMs may generate inadequate queries.

Adoption, integrations, and resources

Chin cites CLA’s Great GraphRAG project, which connected its enterprise wiki, HR systems, and internal documentation; after a year, it had handled 250,000 employee questions, averaged 2,000 daily queries, and reached 85% employee adoption. He says Neo4j supports integrations with LangChain, LlamaIndex, and Haystack, and points attendees to GraphAcademy, the Neo4j Certified Developer program, and the NODES conference.

Takeaways

  • Ground agent answers in linked graph data when vector similarity alone misses relationships or relevance.
  • Start with vector search, then traverse connected graph nodes to assemble context for the LLM.
  • Rank or filter retrieved context so the most useful information appears near the beginning.
  • Treat generated Cypher as a component to evaluate; Chin says LLMs may produce poor queries.
  • Use a framework that fits the team: Chin says Neo4j integrates with LangChain, LlamaIndex, and Haystack.

Mentioned in this talk

Search inside this talk

What was claimed 15

Show all 15 facts

Related talks