
Retrieval-Augmented Generation (RAG) architectures excel at surfacing semantically relevant documents but fall short in providing actionable context for AI agents. Addressing this limitation, a novel framework known as a decision context graph empowers agents with structured memory, time-aware reasoning, and explicit decision logic. Rippletide, a startup operating within the Neo4j ecosystem, has developed such a system, featuring agents capable of non-regressive operation—meaning they can freeze validated action sequences and build upon them over time.
“The key objective is non-regressivity: ensuring that when an agent generates something new, it can effectively compound on previous discoveries,” explained Yann Bilien, Rippletide’s co-founder and chief scientific officer.
The Limitations of Standard RAG in Enterprise Settings
The complexities of enterprise environments mean that relevant data is often fragmented across disparate systems such as ERP tools, operational logs, databases, vector stores, and policy repositories. While generative AI can access this information through various methods—including keyword search, SQL queries, or RAG pipelines—retrieval capabilities alone reach a performance ceiling.
A significant challenge is that retrieved data may not directly pertain to the immediate decision at hand, potentially leading to generative AI hallucinations. Furthermore, even when agents obtain the correct information, they often lack the necessary guidance to formulate decisions based on robust reasoning. Essentially, RAG retrieves documents, not the critical decision context needed for informed action.
“Many start with RAG: fetch relevant documents, load them into the prompt, and let the model figure it out,” noted Wyatt Mayham of Northwest AI Consulting. He points out that while this approach might suffice for basic chatbots, it “breaks down immediately” for agents tasked with making decisions and executing actions. “The most significant hurdle for builders is the disconnect between retrieval and applicability.”
A retrieved document, Mayham elaborated, does not inherently inform the agent whether it remains valid, has been superseded by newer information, or is subject to a conflicting rule with higher precedence. “Agents require decision context, not merely information.”
In practical scenarios, such as the construction industry, this could mean understanding that a pricing exception has expired, a safety policy is jurisdiction-specific, or a standard operating procedure was updated recently. “Overlooking any of these details can lead an agent to confidently execute the wrong action,” Mayham cautioned.
Without structured decision context, agents may inadvertently combine incompatible rules, invent constraints to bridge information gaps, or rely on what Bilien describes as “probabilistic guesses over unbounded data.” This opacity makes error reproduction difficult, as tracing the precise reasoning behind an agent’s choice becomes challenging.
The issue of compounding errors is particularly concerning. A minor miss rate at each step can escalate into “catastrophic” failures across multi-step workflows. “This is the primary reason why most enterprise agents fail to progress beyond pilot phases,” Mayham added.
Decision Context Graphs: Enabling Accurate and Reliable AI Decisions
A decision context graph addresses these shortcomings by establishing a structured representation of applicable information, governing rules, and their temporal relevance. This framework is meticulously designed to answer a singular, crucial question: “Given this situation, which context applies right now?” Time is treated as a fundamental dimension, with every rule, decision, and exception explicitly scoped to its period of validity.
“The objective is to proactively address missing, incoherent, or contradictory data during graph construction, thereby mitigating probabilistic errors once the agent is operational,” Bilien stated.
The system is founded upon three core principles:
-
Applicability: Logic is explicitly encoded, ensuring the agent understands which rules to retain and apply in specific situations. Context is delivered only when it is pertinent to the current scenario.
-
Time-Aware Memory: Each rule, decision, and exception is time-stamped. This capability allows agents to differentiate between past and present truths, thereby enabling them to reproduce or explain their decision-making process.
-
Decision Paths: The system can elucidate the journey from initial state to outcome, including the rationale behind its conclusions. For instance, it can explain why certain contextual information was included while other data was excluded. Agents are provided with “decision path” examples derived from the resolution of similar past cases.
During the setup phase, unstructured data is ingested and transformed into a structured ontology that defines existing entities, applicable rules, and criteria for exceptions. Neuro-symbolic AI techniques handle the pattern recognition and formalize logic into a machine-readable format. The system continuously refines its knowledge base as new decisions are recorded and processed.
“Neuro-symbolic AI integrates two essential components: a neural component that grants agents significant autonomy, and a symbolic component that minimizes data requirements while enhancing control,” Bilien explained.
The agent undergoes rigorous testing during the development phase (pre-production) to validate its behaviors and identify areas for improvement. This proactive approach minimizes risks and optimizes computational resource utilization during inference, he added.
Advancing Agent Learning Beyond Regression
Regarding non-regression, the critical factor is the ability to compound learning across both intelligence (models) and knowledge (shared across agents). It is vital that agents can explore different avenues when faced with unknown tasks, typically within controlled environments or simulations—akin to a customer support bot testing various response strategies.
“Once a solution is deemed satisfactory, the graph captures that sequence of actions,” Bilien stated. Subsequent exploration then originates from this “stable foundation of validated behaviors,” preventing newly acquired skills from undermining previously learned competencies.
Before executing an action that impacts a customer, the agent cross-references its intended behavior against the graph. Key checks include adherence to rules, prevention of hallucinations, and maintenance of operational constraints. Furthermore, the system assesses the potential for generalizing the solution to analogous cases.
At a higher level, the system evaluates outcomes to determine if the executed behavior led to long-term performance improvements, demonstrated generalizability across similar contexts, and preserved existing capabilities.
“This level of determinism is fundamental for agents to operate reliably at scale,” Bilien emphasized. It results in more consistent, predictable, and explainable behavior, facilitating enhanced control and auditability.
“You want your agents to be capable of autonomous learning when encountering novel situations,” he continued. “You want them to explore and discover new solutions.”
Moving Past Episodic Memory Limitations
While the Rippletide team initially anticipated widespread adoption of Reinforcement Learning (RL), they discovered its implementation in enterprise settings to be “exceptionally challenging.” Bilien noted, “Data are scarce for certain specific use cases and often messy for others.”
Traditionally, achieving reliable predictions using raw data has been an arduous and time-consuming manual process. However, “we have now entered a new era with agents, where building ontologies automatically has become feasible,” Bilien observed.
Conventional supervised fine-tuning methods can lead to performance oscillations, where models forget previously learned skills while acquiring new ones. This results in non-compounded learning, significant knowledge compression, and “episodic” rather than continuous model improvement, leading to recurrent failures on new or unfamiliar tasks.
As Bilien aptly put it: “You will never achieve a fully self-learning model if you are constantly regressing.”
For enterprise applications, particularly those handling high volumes of transactions like in banking, an exceptionally high degree of reliability is paramount. “One question I pose to all clients is: Is 95% sufficient? For many use cases, the answer is no. You need 99.999%. A 1% deviation is simply too much,” he stressed.
Decision context graphs, Bilien contends, can bridge this reliability gap. When the same customer support query is encountered repeatedly, the agent can deliver a “satisfactory” response consistently and without regression, all while maintaining operational autonomy.
Incorporating applicability and temporal validity into a structured graph, rather than relying on a large language model (LLM) to infer these crucial elements, represents a “sound approach” to overcoming a significant limitation in current retrieval frameworks, according to Mayham. However, he notes that the viability of automatic ontology generation against the complex and varied data found in real-world enterprises remains an open question. “That,” he concluded, “is consistently the most difficult aspect.”
Business Style Takeaway: The development of decision context graphs addresses a critical gap in current AI agent capabilities, moving beyond simple information retrieval to provide structured, time-aware reasoning essential for complex enterprise decision-making. This innovation promises to enhance reliability, explainability, and scalability, potentially accelerating the adoption of AI agents in high-stakes business environments previously constrained by performance limitations.
Details can be found on the website : venturebeat.com
