Skip to content
BlueAlly
Let's talk
Menu
Blog

Your Agents Have Memory. Do They Have Context?

Memory, business context and decision controls each play a role in making AI agent decisions defensible. Start by examining one decision and the records behind it.

Most enterprise agent programs can now tell you what an agent did. Far fewer can tell you what the agent knew when it did it.

A new IDC InfoBrief commissioned by Quantexa puts numbers on that. The study surveyed 366 leaders at the director level and above in financial services and government across North America and the UK, all piloting or running agentic AI. Agents already run in 21.6% of the workflows respondents consider suitable, and they expect that to reach 32.1% within 12 months. Only 8.7% say the context those agents need is broadly available.

The same respondents are confident and uneasy at once: 73.8% rate their AI data as good or excellent, and 86% say it needs improvement. The study covers two regulated sectors, so treat the percentages as directional elsewhere. The pattern will look familiar in any enterprise scaling agents.

A recorded decision can still be a bad one

We have covered two parts of this before. Who Decided the Machine Could Do That? set out the evidence an auditor will ask for: who authorized the action and what record exists. The Memory Layer That Makes AI Trustworthy described how persisted KV cache state can act as a flight data recorder for what the model saw.

Both assume the agent had the right information in front of it. Picture an agent approving a vendor payment. The log is complete, the approval chain is intact, and the replay is exact. What the agent never knew is that the vendor shares a bank account and a director with an entity your compliance team flagged last quarter.

Nothing in that record is wrong. The decision is still one you cannot defend because the fact that mattered lived in a relationship between two systems and the agent saw only one. In the IDC study, 27.0% of respondents identified relationships and networks as the missing context that most limits AI-driven decisions.

Three layers between an agent and a defensible decision

A defensible agent decision depends on three layers, and each answers a different question.

LayerQuestion it answersBuilt fromWhat fails without it
MemoryWhat did the model see?Persisted KV cache state, token-level loggingYou cannot reconstruct the decision
ContextWhat does the business know?Resolved entities, relationships, a shared ontology, data lineageThe agent decides on a partial picture
DecisionWhat was the agent allowed to do, and why?Policy as code, authorization checks, decision logs, human approval pointsNobody can show the action was permitted

The IDC findings show uneven adoption of these capabilities. About half of respondents report audit trails (56.2%), entity resolution (53.8%) and knowledge graphs (51.5%) in at least some use cases. Only 23.6% run entity resolution broadly, and 16.7% run knowledge graphs broadly.

The layers also depend on each other. Memory without context faithfully replays a thin picture. Context without a decision layer gives you a well-informed agent with no limits. A decision layer without context enforces policy against the wrong entity.

The hard problem changes as you mature

The study’s most useful finding is that the obstacle moves. Among the least mature organizations, data silos are the top challenge. Among the most mature, relationships and networks lead at 37.4%.

Getting data into one place is the first project, and it is the one most budgets are written for. Once it is done, the question changes. It stops being “Can the agent reach the data?” and becomes “Does the agent know these three records refer to one client, and that the client is tied to that supplier?”

Plan for the second problem while you fund the first. A lakehouse or a vector store can improve access. It does not, by itself, ensure that entities are resolved or relationships are modeled. Adding those capabilities once agents are in production is harder than designing for them up front.

Lineage is a design requirement

The top two barriers to trusting AI decisions in the study are nearly tied: lack of data lineage at 35.5% and lack of decision lineage at 35.2%. Model complexity is third at 29.8%.

Data lineage says where an input came from and what happened to it on the way. Decision lineage says which inputs, which policy and which approvals produced a specific action. You need both, tied to the same decision, to answer the question a regulator or a client will ask.

Do not assume you can rebuild either afterward. Design capture into the pipeline and the policy engine. Open-source policy engines such as Open Policy Agent can record policy decisions when decision logging is enabled. The remaining work is connecting that log to the context the agent used and the memory state used for that decision.

Where to start: one decision, three layers

Pick one agent decision that is in production or close to it, and choose one with financial, legal or client impact. Then ask four questions about it.

  • Memory: Can you replay what the model saw for that decision six months from now?
  • Context: Is every entity involved resolved across your systems, and can the agent see the relationships between them?
  • Decision: Is the rule that permitted the action written as policy, evaluated at run time and logged?
  • Lineage: Can you connect those three records for the same decision?

Fix the weakest layer for that one decision before you add agents. Start with what your AI platform and data platform already ship before you buy a point product. Then measure the result by decision accuracy and trust, not by the number of agents deployed.

Sources

Put the idea into practice

BlueAlly helps clients design the three layers together: the memory tier in the inference stack, the context layer over the data estate, and the decision layer that authorizes and records agent actions. We pair that work with AI tokenomics and agentic defense, so an agent program has its cost, security and decision controls in place before it scales.

Reach out to BlueAlly with the outcome you want, your constraints and your current environment, and we will help you build it.

Talk to an expert