Summarize in:
Get an instant AI summary of this article

Listen To Our Podcast🎧

What Is a Context Graph? A Guide for AI Agent Decisions
• 1:49
What Is a Context Graph? A Guide for AI Agent Decisions
Secure. Automate. – The FluxForce Podcast

What is a context graph?

An agent that scores before it understands will score the wrong thing.

A context graph is a connected record of the people, companies, contracts and past decisions that sit behind a business choice, with each link dated and sourced, so an AI agent can see the whole picture before it recommends anything. The term took off with a December 2025 Foundation Capital essay that called it "a living record of decision traces stitched across entities and time so precedent becomes searchable."

This guide is for CIOs who are being asked to put AI agents into approval workflows and want to know what the agent should see first. It uses procurement as the running example, because a supplier decision touches owners, contracts and history all at once. Last updated 30 November 2026.

In This Article, You'll Learn
  • What a context graph is, where the term came from and how it differs from a knowledge graph, a vector store and a log.
  • An entity map example for one supplier, with its owners, contracts and history, that you can copy.
  • How a context graph for agents and LLM apps changes what the model is shown.
  • How to build a context graph in seven steps, starting with one decision.
  • What regulators already expect a decision record to hold, and where a person stays in charge.

Request the entity map example

Bring one supplier decision your team makes often, and we'll walk its entity map through with you, source by source.
Get the entity map example
Entity map example: one supplier linked to its owners, contracts, history and past decisions, each link dated and sourced.

Four checks before an agent scores

Run them on the assembled view, before any recommendation.

  1. Is every entity resolved to one node?
  2. Does each link carry a source and dates?
  3. Which past decisions apply today?
  4. Who decides, and is it recorded?
"
Direct answer

A context graph is a connected record of the entities behind a decision, with dated, sourced links and the past decisions made on them, so an AI agent sees the whole picture before it recommends.

Where the term context graph came from

Nobody has standardised the term yet, so it helps to know the three meanings in circulation.

The first and most cited comes from Foundation Capital. Its essay separates rules, which say what should happen in general, from decision traces, which record what happened in one case, under which policy, with which exception and on what precedent. Collect enough of those traces and they form a graph of "the entities the business already cares about (accounts, renewals, tickets, incidents, policies, approvers, agent runs) connected by decision events (the moments that matter) and "why" links." A month later, the firm put it more plainly as "institutional memory for how an organization makes decisions."

The second comes from Thoughtworks, whose Technology Radar placed the idea in its Assess ring in April 2026. Its definition treats "decisions, policies, exceptions, precedents, evidence and outcomes" as connected nodes, "structured for AI consumption." The detail that matters most for audit is in the next line. A context graph "maintains temporal validity on every edge, so superseded facts are invalidated rather than overwritten."

The third is narrower. IBM uses context graph for a way of arranging information inside a model's context window, where nodes are pieces of information and edges are the relationships between them. That's a retrieval technique, so check which version a vendor means.

In this guide, a context graph means the first two together. It's the entities a decision touches, the dated links between them, and the record of past decisions on those entities, kept so a person or an agent can rebuild what was known at the moment a call was made.

The reason the idea caught on is a gap most CIOs will recognise. Systems of record hold current state. Foundation Capital's point is that without the history, "You can't replay the state of the world at decision time, which means you can't audit the decision, learn from it, or use it as precedent."

Context graph, knowledge graph, vector store or log?

These four get mixed up in vendor decks, but they answer different questions.

Tool What it answers well What it can't tell you on its own
Log What happened, in order, inside one system Which supplier, owner or contract the event was about, across systems
Vector store Which passages read like the question Who owns whom, which fact replaced which, or why a past call went the way it did
Knowledge graph How entities connect, using facts and relationships Which version of a fact held on a given date, and what was decided with it
Context graph What was known about every entity at decision time, and how similar past cases were decided Whether the decision was right; a person still judges that

A knowledge graph is the older idea. The W3C's RDF standard describes a graph as a set of triples, "each consisting of a subject, a predicate and an object." Property graphs got their own ISO query language, GQL, published in April 2024 as ISO/IEC 39075.

Provenance has a standard too. W3C PROV-O defines an agent as something that "bears some form of responsibility for an activity taking place, for the existence of an entity, or for another agent's activity." That vocabulary, entity, activity and agent, is a sensible starting point for recording who did what in a context graph.

The entity map example: company, owners, contracts, history

Here's what a context graph looks like for one supplier. Copy the shape, swap in your own sources, and you have the core of a procurement context graph.

Context graph entity map example: the supplier links to its owners through dated ownership records, to its contracts with start and end dates, and to its history of reviews, incidents and decisions, and the procurement reviewer decides.
  • The supplier links to its owners through dated ownership records from registers such as GLEIF and Companies House. The supplier links to its contracts, each with a start date, an end date and the business owner who signed. The supplier links to its history of past reviews, incidents, complaints and decisions. The history reaches the procurement reviewer with the rest of the map, and the procurement reviewer decides.
One supplier as a context graph: owners, contracts and history, each link dated and sourced.
Node or link What it holds Where it comes from
Supplier (company) Legal name, LEI or company number, registered address, bank accounts LEI record, company register, your vendor master
Owners Parent companies and people with significant control, with ownership bands and dates GLEIF relationship data, the UK PSC register, the supplier's own declaration
Contracts Contract reference, service, start and end dates, signing owner, subcontractors Contract system, ICT third-party register where you keep one
History Past due diligence, incidents, complaints, litigation, screening results Case files, screening results, supplier performance records
Decisions Each approval or exception, with the policy version, evidence, approver and date Your approval workflow
Links owns, controls, signed, subcontracts to, screened on, approved under Each link carries its source and a valid-from and valid-to date

The first figure shows the map. The supplier links to its owners through dated ownership records from registers such as GLEIF and Companies House. The supplier links to its contracts, each with a start date, an end date and the business owner who signed. The supplier links to its history of past reviews, incidents, complaints and decisions. The history reaches the procurement reviewer with the rest of the map, and the procurement reviewer decides.

Store every link as a claim, with its source and the dates it held. A reviewer can weigh a conflict they can see. They can't weigh one the graph overwrote.

None of these columns are invented for this article. US banking regulators expect "a complete inventory of its third-party relationships" and a risk assessment for each. Their due diligence list includes "evaluating the third party's ownership structure (including identifying any beneficial ownership, whether public or private, foreign, or domestic ownership)" and checking whether the supplier "or any owners are subject to sanctions." It also asks about the supplier's "history of addressing customer complaints or litigation and subsequent outcomes." Between them, those lines ask for the owners and history columns almost word for word.

The EU goes further for technology suppliers. DORA requires financial entities to keep a register "in relation to all contractual arrangements on the use of ICT services provided by ICT third-party service providers," at entity, sub-consolidated and consolidated level. The implementing rules require "a valid and active legal entity identifier (LEI)" or an EUID for every such supplier that's a legal person. They also require the register to record "all ultimate parent undertakings" and to follow subcontracting, because services "may rely on potentially long or complex chains of subcontracting." Read together, that's a graph in all but name.

Two cautions on the owners column. GLEIF's relationship data reports each entity's "direct accounting consolidating parent" and "ultimate accounting consolidating parent." That's accounting consolidation, not beneficial ownership, so it can't stand in for a PSC or beneficial-owner check. And the thresholds differ by country. The US customer due diligence rule counts anyone who owns "25 percent or more of the equity interests," while the UK PSC test starts when someone holds "more than 25% of the shares." Keep the source on every ownership link so a reviewer knows which test it reflects.

The Beneficial Ownership Data Standard treats each record as "a claim made by a source at a particular point in time." Do the same for every link. Store the claim, the source and the date, and let the person see any conflict.

Context graph for agents: why understanding comes before scoring

One failure is easy to picture in approval work. The agent scored a supplier on the record in front of it, and the record was incomplete. The owner wasn't linked, or the exception granted two years ago no longer applied.

Context before decision: source records feed the context graph, the context graph gives the agent only the part the decision needs, the agent sends the reviewer a recommendation with evidence, and the reviewer decides and the decision goes back into the graph.
  • Source records feed the context graph, which resolves them into entities and dated links. The context graph gives the agent only the part of the map the decision needs. The agent sends the reviewer a recommendation with the evidence and the path it followed through the graph. The reviewer decides, and the decision goes back into the context graph as a new trace.
Context before decision: assemble first, recommend second, a person decides, the decision is recorded.

Gartner says it directly. "AI agents need to understand the context inputs in each step of the agentic workflow to deliver accurate responses at an optimal cost." It also predicts that by 2027, "organizations that prioritize semantics in AI-ready data will increase their agentic AI accuracy by up to 80% and reduce costs by up to 60%." That's a forecast, not a measurement, and it should be read as one.

We call the principle context before decision. Before anything is scored, the agent assembles the supplier, customer, claim or application in front of it, with linked records and outside sources, into one view. Only then does it weigh the case.

The second figure shows the order. Source records feed the context graph, which resolves them into entities and dated links. The context graph gives the agent only the part of the map the decision needs. The agent sends the reviewer a recommendation with the evidence and the path it followed through the graph. The reviewer decides, and the decision goes back into the context graph as a new trace.

That last step is what makes the graph grow. Foundation Capital's essay describes the same loop starting with a person in charge. "Even when a human still makes the call, the graph keeps growing, because the workflow layer captures the inputs, approval, and rationale as durable precedent instead of letting it die in Slack."

Order matters for a technical reason too. Anthropic describes "context rot," where "as the number of tokens in the context window increases, the model's ability to accurately recall information from that context decreases." Chroma's July 2025 study of 18 models found performance "degrades as input length increases, often in surprising and non-uniform ways." Dumping every supplier record into a prompt is the wrong answer. Picking the right part of the graph is the right one.

Context graph for LLM apps: retrieval, not a bigger prompt

Context engineering is the name for that picking. Anthropic calls it "the natural progression of prompt engineering," and says good practice means "finding the smallest possible set of high-signal tokens that maximize the likelihood of some desired outcome." LangChain, quoting Andrej Karpathy, describes it as "filling the context window with just the right information at each step of an agent's trajectory."

A context graph is one of the better places to pick from. LangChain notes that "Embeddings and / or knowledge graphs for memory indexing are commonly used to assist with selection." Anthropic reports teams adding "just in time" context, where agents keep lightweight references and load data when they need it. In a graph, a reference is a node ID, and loading means following the edges that matter to this decision.

Graphs also help with a weakness plain retrieval has. Microsoft Research put it bluntly, "Baseline RAG struggles to connect the dots." Its GraphRAG method builds "an entity knowledge graph from the source documents" first. In its 2024 paper, on questions about a whole corpus of around a million tokens, it reported "substantial improvements over a conventional RAG baseline for both the comprehensiveness and diversity of generated answers." It also "provides the provenance, or source grounding information, as it generates each response," which is what a reviewer needs to check the answer.

Time is the other piece. Zep's researchers describe a bi-temporal design that tracks when events happened and, separately, when the system took them in. That's the same idea as Thoughtworks' validity on every edge.

The Model Context Protocol, whose current revision is dated 28 July 2026, gives applications a common way to "Share contextual information with language models." MCP moves context, but it doesn't decide which context is true, current or allowed. That's the graph's job.

Enterprise context graph: what procurement shows

An enterprise context graph is the same structure kept across departments, so procurement, finance, compliance and risk see one supplier, one set of owners and one decision history. Procurement is a good place to see why it matters.

The ACFE's 2026 study of occupational fraud counted billing schemes in 21% of cases, with a median loss of $90,000. Those schemes ran a median 14 months before anyone caught them. Tips are still how most of it gets found. The report calls whistleblowers "our best detection method," and "43% of frauds in this year's study were detected after a tip was reported."

Hidden ownership is the pattern a context graph exposes. In a 2019 review of 32 adjudicated cases, the US Government Accountability Office found "price inflation through multiple companies owned by the same entity to falsely create the appearance of competition" and contractors winning work they weren't eligible for. In one case, defective parts from an ineligible foreign maker "led to the grounding of at least 47 fighter aircraft." Three bids from three companies with one owner look like competition on a spreadsheet. They look like one supplier on a graph.

Public audits show how messy vendor data gets. A 2025 internal audit in Madison, Wisconsin found "9,927 out of 19,629 active vendors have had no recorded transactions for over four years." A 2014 audit in San Diego County "Matched vendors to employees by tax ID, bank account number, name, and address" to look for conflicts of interest. That match is a graph query. It just took an audit team to run it.

GLEIF puts the risk to agents plainly. When data is "incomplete, inaccurate, outdated, manipulated, or unavailable, automated systems can amplify misinformation, reinforce errors, or produce unreliable results at scale."

Illustrative scenario: a contract renewal

Illustrative scenario, not a customer result.

This case is made up to show the method. A supplier asks to renew a contract on last year's terms.

  1. A new parent company appears in the owners.
  2. The agent holds the renewal with both records.
  3. The procurement reviewer checks and decides.

Context graph engineering: how to build a context graph

Context graph engineering is mostly data work and discipline about sources. These seven steps start small on purpose.

How to build a context graph: choose one decision, list the entities it touches, run identity resolution so one supplier is one node, add dated relationships with a source, then attach decision traces with policy, evidence, exception and approver.
  • Choose one decision first, then list the entities that decision touches. The entities go through identity resolution so one supplier is one node. Identity resolution hands over clean nodes for dated relationships, each with a source and a valid-from date. Dated relationships then carry decision traces, recording the policy, evidence, exception and approver for each call.
Start with one decision and build outward; every link keeps its source and dates.
  1. Pick one decision. Supplier onboarding, a contract renewal or an exception request. Foundation Capital's follow-up says the teams getting this right start narrow, with "one workflow, one wedge," and passes on one builder's advice that "you don't prescribe an ontology upfront."
  2. List the entities that decision touches. For a supplier, use the entity map above.
  3. Resolve identities. The same supplier shows up under three spellings and two tax IDs. Entity resolution is usually described as four stages, "attribute alignment → blocking → record linkage → canonicalization." Pick a method you can explain. The UK Ministry of Justice chose a simpler probabilistic model for its open-source Splink tool partly because "it is easier to understand and explain how biases in linkage may occur."
  4. Add relationships with a source and dates. Every edge gets where it came from, when it became true and when it stopped. Never overwrite a fact. Close it and add the new one.
  5. Attach decision traces. For each past decision, record the policy applied, the evidence consulted, any exception and the approver. Foundation Capital's follow-up names exactly those four as "the how."
  6. Serve only what the decision needs. Give the agent the subgraph for this supplier and this decision, with access controls on who and what can read each part.
  7. Keep lineage on the graph itself. OpenLineage describes how "a lineage graph can be created by weaving together observations of many Jobs across multiple platforms." Use the same idea so you can show where every node and edge came from.

The third figure shows the first five steps. Choose one decision first, then list the entities that decision touches. The entities go through identity resolution so one supplier is one node. Identity resolution hands over clean nodes for dated relationships, each with a source and a valid-from date. Dated relationships then carry decision traces, recording the policy, evidence, exception and approver for each call.

Data quality decides whether any of this works. The Basel Committee's 2023 progress review of its risk data principles found "Of the 31 banks assessed, only two banks are fully compliant with all the Principles," and several "still lack a common taxonomy and complete data lineage." Its January 2026 newsletter defines lineage as "the traceability of data from its origin to its final use" and says it "remains a challenging component" for banks. If the best-funded banks still struggle with lineage, budget real time for step 7.

What regulators expect a decision record to hold

No regulator mentions context graphs. Several describe what a decision record should hold, and those descriptions make a good specification.

The EU AI Act is the most detailed. It was amended by Regulation (EU) 2026/1744, and its high-risk rules now apply from 2 December 2027 for Annex III systems and 2 August 2028 for Annex I systems. Most procurement agents won't be high-risk under the Act, so treat these articles as a model, not a legal duty. Article 12 says high-risk systems "shall technically allow for the automatic recording of events (logs) over the lifetime of the system." Article 14 lets the person in charge "disregard, override or reverse the output" and stop the system through "a 'stop' button or a similar procedure." Article 26 says deployers "shall assign human oversight to natural persons who have the necessary competence, training and authority."

NIST's AI Risk Management Framework asks that "Processes for human oversight are defined, assessed, and documented." Its Generative AI Profile flags "improper supplier vetting across the AI lifecycle" as a risk.

In the UK, the ICO's draft guidance on automated decisions, updated in March 2026, says "If a decision includes meaningful human involvement, it is not solely automated." It adds that human review "cannot be tokenistic," that the reviewer should "take into account the relevant data and factors that the decision was based on," and that firms should "keep a record of how the human reviewed the decision." A context graph puts those factors in front of the reviewer and keeps the record.

US bank model guidance won't settle the question. The Federal Reserve's SR 26-2 replaced SR 11-7 on 17 April 2026, and the OCC's matching bulletin says "Generative AI and agentic AI models are novel and rapidly evolving. As such, they are not within the scope of this guidance." The agencies say they plan a request for information on banks' use of AI, including agentic AI. Until that lands, the records discipline above is the safer default.

Who owns which part of the graph

The agent assembles and recommends; named people decide.

ComponentResponsibilityBoundary
AgentAssembles the subgraph and prepares a recommendation.Never approves or changes a record alone.
Procurement reviewerDecides each request and records why.Doesn't edit the graph schema.
Data ownerOwns sources, identity merges and dates.Doesn't decide requests.

A named person decides every request; the agent prepares the case and never approves on its own.

Where context graphs go wrong

A context graph makes an agent better informed. It can also make a wrong answer look well supported. Five failure modes are worth planning for.

The first is stale precedent. Foundation Capital's follow-up warns that "Decisions have a half-life." "A pricing exception from three years ago under a different CFO may not apply today." If precedents don't carry their policy version and date, the agent will cite rulings that no longer hold.

The second is poisoned context. OWASP's 2026 list for agentic applications includes memory and context poisoning. Its example is close to procurement, where "The attacker inserts bogus refund policies into shared memory, other agents reuse them, and the business suffers bad decisions, losses, and disputes." Its fixes are ones a graph supports, "Require source attribution" and "Prevent automatic re-ingestion of an agent's own generated outputs into trusted memory."

The third is too much agency. OWASP's LLM list advises "human-in-the-loop control to require a human to approve high-impact actions before they are taken" and says "Implement authorization in logic rather than relying on an LLM to decide if an action is allowed or not." A graph tells an agent what's true, not what it's allowed to do.

The fourth is automation bias. Gartner warns that "Although humans execute decisions, advisory agents can anchor judgment, creating downstream risk when inaccurate outputs are trusted due to automation bias." Show the reviewer the evidence and the path along with the recommendation, and track how often reviewers change the agent's call.

The fifth is data that isn't ready. Gartner predicts "through 2026, organizations will abandon 60% of AI projects unsupported by AI-ready data." A separate Gartner forecast expects "Over 40% of agentic AI projects will be canceled by the end of 2027, due to escalating costs, unclear business value or inadequate risk controls." Both are forecasts, and both put the risk in data and governance rather than the model.

Questions a CIO should ask before buying

  • Which entities and links does the graph hold for our decision, and where does each one come from?
  • Does every edge carry a source and valid-from and valid-to dates, or does it overwrite?
  • Can we replay exactly what the agent saw for a past decision, on the date it saw it?
  • Does the agent only recommend, with a named person deciding, and is that decision written back with its reasons?
  • What is the false-positive rate on our own data, measured in shadow mode before anything changes?

How FluxForce approaches context before decision

FluxForce is the platform your departments run AI agents on. The agents investigate and prepare the work, a person makes the call, and every step leaves evidence an examiner can replay.

Five public stages of the FluxForce platform: take in passes the source records to understand, understand passes one assembled view of the case to weigh, weigh passes the checked recommendation and its reasons to prove, and prove passes the evidence record to report and learn, with governance controls and data protection on every step.
  • Take in passes the source records to understand. Understand passes one assembled view of the case to weigh. Weigh passes the checked recommendation and its reasons to prove. Prove passes the evidence record to report and learn.
Take in, understand, weigh, prove, report and learn, with governance controls on every step.

The platform works in five public stages, take in, understand, weigh, prove, and report and learn, with governance controls and data protection on every step. The fourth figure shows the order. Take in passes the source records to understand. Understand passes one assembled view of the case to weigh. Weigh passes the checked recommendation and its reasons to prove. Prove passes the evidence record to report and learn.

Understand is where the context graph lives. The agent assembles the supplier, customer or claim in front of it, with linked records and outside sources, into one view before anything is scored. Weigh compares that view with your policy and similar past cases, prove keeps the evidence in tamper-evident form, and report and learn feeds each reviewer decision into a learning loop, where models only change after a person approves.

What each agent may do on its own is set by you per risk band, and every agent has a kill switch. Start in shadow mode, with the agent preparing cases beside your team and changing nothing, until you've compared its findings with your own.

The closest of our solutions is AI Model Governance, which keeps the record of the models and agents themselves. Its page says the inventory shows "Which version was live on any date." It also says "Release needs the model owner's approval" and "Rollback is logged with who did it and why." See how AI Model Governance works.

On fit, our first app line is financial crime and compliance. AI agents that investigate AML, sanctions, fraud and KYC alerts and prepare the case. Your analyst makes the call, with evidence an examiner can replay. You decide how much each agent does on its own, and every one has a kill switch. A procurement context graph runs on the same platform in the same pattern, and we can't point you to customer results for it yet. AI Model Governance records which model or agent version was live on any date; the supplier entity map itself is data your team owns and builds.

How to start

Pick one supplier decision your team makes often, such as onboarding or renewal. Draw its entity map using the table above, and mark every column where you don't know the source. That list is your first data project.

Then load 12 months of past decisions as traces, run an agent in shadow mode against new requests, and compare its recommendations with what your reviewers decided. Decide, per risk band, which requests always go to a reviewer. Every approval, rejection and exception stays with a person.

Our guide to decision traces covers what one decision record should hold, and defensible AI decisions covers the test it should pass. Decision context objects and the AI agent audit trail go deeper on the record. For matching, see entity resolution and graph analytics. Agentic AI and real-time decisioning explains why manual hand-offs break at speed, and the AI agents directory shows the agents on the platform.

Primary sources behind the entity map

Interagency third-party guidance

Inventory, ownership, sanctions and history checks.

US banking agencies, June 2023.

2026-11-30

DORA register ITS 2024/2956

LEIs, ultimate parents and subcontracting chains.

EU financial entities; Official Journal text (copy hosted by the Bulgarian FSC).

2026-11-30

Foundation Capital essay

Decision traces across entities and time.

December 2025 opinion essay.

2026-11-30

Where AI Model Governance fits

AI Model Governance records which model or agent version was live, who approved each release and every rollback.

See how AI Model Governance works

It governs models and agents; your team owns the supplier data. No customer results to quote yet.

A first context graph test

  1. Draw one decision's entity map.
  2. Load 12 months of past decisions.
  3. Run the agent in shadow mode.
MetricDefinitionDecision guardrail
Reviewer change rateShare of agent recommendations a reviewer changes.A rising rate pauses wider use.
Key takeaways
  • Context before decision: assemble, then score.
  • Every link needs a source and dates.
  • Start with one decision, not an ontology.
  • Precedents expire when policy changes.
  • A named person decides every request.

Conclusion

A context graph is the record of what an agent should know before it recommends anything: the entities, the dated links between them and the decisions already made on them. We'd start with one supplier decision and the source column of the entity map, because the gaps in that column are where agents go wrong and where reviewers lose time.

Request the entity map example

Bring one supplier decision your team makes often, and we'll walk its entity map through with you, source by source.
Get the entity map example
Entity map example: one supplier linked to its owners, contracts, history and past decisions, each link dated and sourced.

Frequently Asked Questions

It's a connected record of the entities behind a decision, such as companies, owners, contracts and people, plus the dated links between them and the past decisions made on them. Foundation Capital described it as "a living record of decision traces stitched across entities and time so precedent becomes searchable."

About the author

Sahil Kataria, Founder and CEO of FluxForce

Sahil Kataria

Founder and CEO of FluxForce

Sahil works on secure AI and financial technology for regulated industries. His engineering background spans identity verification, payment security and compliance automation. He has led teams across Africa, the United States, Europe and India.

At FluxForce.ai, his focus is on explainable AI and auditable financial workflows. He writes for banking and compliance teams about the practical decisions behind these systems: how to assess risk, keep controls visible and introduce automation without losing accountability.

View Sahil Kataria author profile →

Enjoyed this article?

Subscribe now to get the latest insights straight to your inbox.

Recent Articles