By HRTG Group
A context graph is a connected record of the facts, state, and past decisions an AI agent needs to act, including why earlier decisions were made. In regulated industries, HRTG's view is simple: a context graph only earns its place if it can prove which context shaped each answer, under whose permissions, and who approved the result.
The term moved fast in 2026. Venture firms, graph database vendors, and data catalog companies all use it, and they do not mean exactly the same thing. That matters for a bank or insurer, because the definition you adopt decides what you build, what you log, and what you can show an examiner.
What is a context graph?
There are three working definitions in circulation. Each is useful. None is complete for a regulated firm on its own.
- A record of decisions. Foundation Capital describes a context graph as accumulated decision traces, linked across entities and time so precedent becomes searchable. Its argument is that systems of record store current state but not why an exception or override was allowed.
- A memory system for agents. Neo4j describes three layers: long-term knowledge, short-term conversation, and reasoning memory made of decision traces.
- A structure for the context window. IBM frames it as a way to organize information for a language model as nodes and edges, and calls it a form of knowledge graph that is more dynamic and application-specific.
The common thread: a context graph connects what is true, what is happening now, and what was decided before, so an agent can act on the full picture instead of a pile of retrieved documents.
What is the difference between a context graph and a knowledge graph?
A knowledge graph models what is generally true: entities, relationships, and business meaning. A context graph adds the situation and the history. DataHub puts the difference as scope and grounding: a knowledge graph is a world model, a context graph is a model of one organization's data and decisions.
| Dimension | Knowledge graph | Context graph |
|---|---|---|
| Core question | What is true? | What is true here, now, and why did we decide this before? |
| Contents | Entities, relationships, definitions | Knowledge plus current state, conversations, and decision traces |
| Change rate | Slow, curated | Continuous, written during work |
| Main user | Search, analytics, data teams | AI agents and the people who supervise them |
| Regulated-industry value | Consistent definitions | Evidence of how an answer or action was produced |
Most enterprises already own pieces of both. Enterprise search platforms such as Glean maintain a knowledge graph built from connected systems. What is usually missing is the decision layer.
What is a decision trace?
A decision trace is a structured record of how an agent reached a decision. Neo4j's decision trace guide describes it as capturing the decision, the reasoning steps, the tools called, the linked context, and the outcome. It separates three kinds of record:
- 01InputsData and documents considered
- 02PolicyRules that applied
- 03DecisionWhat was decided and by whom
- 04OutcomeWhat happened next
- Logs answer what happened and when.
- Model traces answer what happened inside a model run.
- Decision traces answer why the agent made this decision.
Foundation Capital adds a useful constraint: traces have to be captured in the execution path when the decision is made. Rebuilding them later from logs and warehouses loses the context that mattered.
Why do context graphs matter for banks and insurers?
Because the regulatory gap is real. On April 17, 2026, the Federal Reserve, OCC, and FDIC issued revised model risk management guidance, SR 26-2, which supersedes SR 11-7. The guidance places generative and agentic AI outside its scope and points banks to their broader risk management and governance practices. That leaves each institution to define how it evidences agent behavior.
In Europe, Article 12 of the EU AI Act requires high-risk AI systems to support automatic recording of events over their lifetime. Logging is the floor. A context graph with decision traces is one way to go beyond the floor and answer the question examiners actually ask: why did the system do that?
We covered the control side of this in our agentic AI governance checklist for banks. A context graph is where much of that evidence can live.
What should a regulated context graph include?
The vendor definitions focus on capability. Regulated firms need four more properties.
- Permission-aware nodes. Every node carries the access rules of its source system. An agent should never see a decision trace its user could not see.
- Source provenance. Each fact links back to the system and version it came from: core banking, policy admin, or claims platforms; document stores such as SharePoint, Box, or Google Drive; ticketing such as ServiceNow or Jira.
- Human approvals as first-class records. Overrides, exceptions, and sign-offs are stored as nodes with a named approver, not buried in chat threads.
- Retention and legal hold. Decision traces are records. They need the same retention schedules as the email and documents they reference.
Without these, a context graph becomes another unmanaged data store full of sensitive reasoning. With them, it becomes the backbone of explainability.
How does a context graph relate to grounding and context engineering?
Context engineering is the discipline of deciding what an AI system sees at each step. We described it in context engineering and the enterprise context layer. The context graph is one of the main structures that discipline draws from.
Grounding is the outcome. When bank AI gives wrong answers, the cause is often stale, conflicting, or out-of-scope context, as we explained in AI grounding: why bank AI gives wrong answers. A well-governed context graph reduces that risk because it records which version of a policy or precedent applied, and when.
For agents built on enterprise platforms, the same design applies. Our guide to governing Glean agents in a regulated bank covers identity, permissions, and approvals that a context graph should reflect.
How should a regulated firm start?
Start narrow. Pick one workflow with frequent exceptions, such as credit exceptions, claims escalations, or policy interpretation questions.
- Map the decision. List who decides, what evidence they use, and where approvals happen today.
- Capture traces at the point of decision. Instrument the agent or workflow, not the warehouse.
- Reuse existing permissions. Inherit access rules from source systems instead of building new ones.
- Test the examiner question. For a sample of decisions, can you show what the agent saw, which tools it used, and who approved the result?
If the answer to the last test is no, the graph is not ready for production, however good the answers look.
Where does HRTG fit?
HRTG helps regulated firms build governed enterprise context. For teams on Glean, our Glean Readiness Assessment maps sources, permissions, and decision points first. Foundation, Activate, Operationalize, and Optimize then take that map into production with controls an examiner can follow. The approach draws on our reference experience in a Glean implementation at a national bank.
When the output reaches a customer or employee screen, RISE, HRTG's Verifiable Experience Platform, records which governed context and rules produced each experience. If you are deciding how a context graph should fit your AI program, use the form below to start the conversation.
FAQ
What is a context graph in AI? A context graph is a connected record of the knowledge, current state, and past decisions an AI agent needs to act. Unlike a static knowledge graph, it also stores decision traces that explain why earlier actions were taken.
Is a context graph the same as a knowledge graph? No. A knowledge graph models what is generally true. A context graph builds on it and adds the specific situation, conversation history, and decision traces for one organization.
What is a decision trace? A decision trace is a structured record of how an agent reached a decision, including its reasoning steps, the tools it called, the context it used, and the outcome.
Do banks need a context graph for agentic AI? Not by regulation. SR 26-2 places agentic AI outside model risk guidance, so banks set their own controls. A context graph with decision traces is one practical way to evidence what an agent saw and why it acted.
How does a context graph support AI governance? It links each answer or action to its sources, permissions, and approvals. That lets risk and audit teams reconstruct a decision instead of inferring it from logs.
Built for a longer tomorrow.
Start a conversation
Tell us what you're building.
A new system, a partnership, or a Glean rollout that's stuck. We reply within one business day.