Zaim describes short-term memory as conversation history, long-term memory as knowledge about people and organizations, and reasoning memory as support for decisions. Context graphs connect data and relationships, then add policies and rules so agents can account for why an action is appropriate, not just what information or tools are available.
Context Graphs for Explainable, Decision-Aware AI Agents
Speakers
Zaid Zaim and Andreas Kollegger of Neo4j explain how context graphs can help AI agents make decisions by connecting memory, policies, risks, and prior outcomes; they present the session at AI Engineer with Zaim and Kollegger.
Kollegger argues that agents encounter choices their setup does not cover, such as whether to buy Red Bull when rent is due. The problem grows when multiple specialized agents act together, so he proposes making the human decision process explicit in a framework that can be implemented in LangGraph, ADK, or custom skills.
The framework starts by identifying the objective, the events that led to uncertainty, and the operating environment. It then considers prior decisions alongside applicable hard and soft business rules. Risk analysis includes checking whether a person belongs to an unusual reference class, whether an action is reversible, and what a mistake would cost; Kollegger uses medical prescribing as an example where the typical case may not apply.
Kollegger suggests one agent generate alternatives with pros and cons, while another determines whether it has authority to choose and act. If certainty or authority is lacking, the agent should defer or escalate to a human or a more privileged agent. The reasoning, decision, and resulting actions can be saved in the graph as traceable precedent for future agents.
Kollegger says the workflow is general, but each step is difficult to generalize and depends on the domain. He invites attendees to discuss domains not yet covered and points them to free Neo4j GraphAcademy courses on graphs and context graphs.
Takeaways
- Give agents explicit objectives, decision rules, and operating context, not only facts and tools.
- Check who is affected and how much a mistake could cost before relying on typical-case patterns.
- Separate generating options from authorizing action, and escalate when certainty or authority is missing.
- Record reasoning, decisions, and actions in the graph so later agents can use them as precedent.
- Treat a general decision workflow as a starting point and adapt its steps to the domain.
Mentioned in this talk
Search inside this talk
What was claimed 7
- featurecontext graph: Represent policies and rules to capture why an agent should do something.
“provide agents with the right rules and policies to help them drive decisions”
YouTube Unverified1 source· Talk
- feature
Neo4j: Uses context graphs to represent policies and rules that help agents make decisions.
Uses context graphs to represent policies and rules that help agents make decisions.“At Neo4j, we say that graphs are everywhere.”
YouTube Unverified1 source· Talk
- featureAgent memory: Combine short-term conversation history, long-term organizational and people context, and reasoning based on policies and rules.
“we capture the conversations and state history”
YouTube Unverified1 source· Talk
- featureCypher: Translates human text into the graph database query language.
“translate human text into our query language”
YouTube Unverified1 source· Talk
- featureDecision-making framework: Frames the problem, considers local and global context, analyzes risk and value, proposes alternatives, and routes action or escalation according to authority.
“here's a workflow for making good decisions”
YouTube Unverified1 source· Talk
- featureDecision-making framework: Saves reasoning, decisions, and actions in the graph so future agents can use them as precedent.
“saved into the graph along with the decision itself and the actions that were taken”
YouTube Unverified1 source· Talk
- feature
GraphAcademy: Offers free online courses about context graphs and graphs.“we have free online courses at GraphAcademy”
YouTube Unverified1 source· Talk









