Knowledge Graphs

Move beyond basic RAG with four knowledge graph patterns for agentic AI.

Knowledge graphs are moving from the background to the backbone of agentic AI, and Cassie Shum is here to show you why.

4 min readInfoQ
Move beyond basic RAG with four knowledge graph patterns for agentic AI.

The gap between a promising demo and a system that holds up in production is where most AI initiatives go to die. Cassie Shum's presentation on moving from retrieval to reasoning with knowledge graphs speaks directly to that gap. She isn't proposing another framework or a silver bullet. Instead, she lays out four architectural patterns that treat the knowledge graph as the connective tissue for agentic systems. This is a grounded, practical approach that deserves attention, especially when so much of the current conversation is stuck on hype.

Shum's argument is that basic retrieval-augmented generation, or RAG, is table stakes. The real challenge is reasoning: how does an agent decide what to retrieve, how does it justify its actions, and how do you trust its output? Her patterns, including context bundling and decision provenance, address these questions head-on. Context bundling is about giving the agent the right frame of reference, not just a pile of documents. Decision provenance is about tracing why an agent took a certain path. This is the kind of thinking that moves us from "interesting experiment" to "reliable tool." It also connects directly to the work others are doing on bridging retrieval and action, where the focus is on explicitly connecting the dots between what a system knows and what it does. Shum's patterns are a natural evolution of that idea, giving us a vocabulary for the missing middle layer.

What we find most compelling is her emphasis on "code as truth" and "agent visibility." In practice, this means treating the knowledge graph not as a static store but as a live environment where the rules are explicit and the agent's behavior is observable. This is a direct answer to the black-box problem that plagues many agentic systems. If you can see why an agent made a decision, you can fix it. If you can't, you're just guessing. This is also where the engineering harness she describes becomes valuable. It's a way to close the feedback loop, not just in theory but in daily practice. The focus on token usage is a smart, pragmatic detail. It's easy to ignore cost when you're prototyping, but in production, efficiency is a feature. This aligns with the broader push toward more stateless, efficient protocols, such as those discussed in scaling AWS server deployments, where the goal is to reduce overhead and increase responsiveness.

If a reader asked us what to take from this, we'd say this: stop trying to build a general-purpose brain and start engineering for context and accountability. The knowledge graph is the right foundation because it gives you structure, which is exactly what reasoning requires. The patterns Shum outlines are not academic exercises. They are practical blueprints for systems that need to explain themselves. The real test will be in the adoption of these patterns across teams that are used to shipping models and hoping for the best. The open question is whether the broader ecosystem will embrace this level of rigor or continue to chase the next flashy demo. We're watching to see if "agent visibility" becomes a standard requirement, not a nice-to-have. That would be a concrete sign that the industry is serious about moving from retrieval to reasoning.

From InfoQ

Cassie Shum discusses why knowledge graphs serve as a critical foundation for agentic systems. Moving beyond basic RAG, she explains 4 practical architectural patterns: context bundling, decision provenance, code as truth, and agent visibility. She demonstrates an engineering harness built on a knowledge graph to streamline feedback loops, optimize token usage, and maintain system reliability.

Read the original at InfoQ