eCommerceNews UK - Technology news for digital commerce decision-makers
United Kingdom
The modern data stack wasn't built for AI agents

The modern data stack wasn't built for AI agents

Wed, 25th Nov 2026 (Today)
Onur Alp Soner
ONUR ALP SONER CEO & Co-founder Countly

Much of the modern data stack was built around collecting, moving and analysing information. AI agents introduce a different challenge: they need to operate through a continuous decision loop, in which information forms an action, the action changes the state of the system, and the resulting outcome feeds into the next decision.

Most organisations have many of the components needed to support this, from event streams and data warehouses to APIs, AI models and workflow systems. The challenge is getting them to work together so each decision accounts for what happened before and what has changed since.

The decision loop: observe, understand, decide, act and, learn

A decision loop begins with a change in the world the agent operates in – a user performs an action, a system changes state, an external signal arrives or another agent completes a task. The system interprets the event, decides how to respond, carries out the action and observes the result.

This loop is simple to describe, and yet, difficult to build well. Most existing systems were not designed to operate this way. A data warehouse might contain information that is missing from the operation system, while an AI model may be working with historical data that does not reflect the latest events. Even when the workflow engine carries out an action, the outcome is not always fed back into the decision-making process.

Each component works individually, but the loop is incomplete. Without a reliable feedback loop, an autonomous system can continue making decisions without accounting for its previous actions.

Following a decision through the system

Consider a failed payment during checkout. The agent receives a failure event, checks the order and sees that no payment has been confirmed. The customer has already tried twice, and the payment provider reported a temporary problem. Automatically issuing a discount would miss the point. Offering a safer retry is a better response.

The context layer brings together the relevant information and its reliability. Based on this, the policy allows another payment attempt but rules out a discount, since price is not the issue. Before the retry, the order service checks whether the original payment has gone through.

If the order is already paid, the service prevents the retry. Although the agent's proposed action is not carried out, this is precisely how the safeguard is intended to work. The reasoning behind the decision should also be retained, preserving the link between the original event, the information that shaped the agent's response and the outcome of the action it proposed. This allows the next agent to take over with a clear understanding of where things stand, rather than leaving it to piece together the events that led to the failure event.

The value of this architecture lies in how these responsibilities fit together. Events record what happened, the operational system holds the current order state, and the policy determines acceptable actions. The outcome then informs subsequent decisions.

This determines the role of historical data. A warehouse can help assess patterns and evaluate decisions over time, but it is the operational system, not the historical record, that determines whether the payment can proceed.

Context becomes infrastructure

Much of the discussion around AI focuses on giving agents more context. Less attention is paid to how that context is organised, maintained and made available. If every agent has to query multiple systems, reconstruct user history and judge information reliability, complexity becomes harder to manage.

Context therefore needs to be treated as part of the architecture. An agent needs dependable information, kept current as circumstances change and its actions alter the underlying state. This may involve event stores, operational databases and memory systems, each holding part of the context needed for decisions.

Useful context may remain local or be accessed within an authorised environment, without copying every underlying record into a central profile. The priority is making the right context available within appropriate boundaries.

We will need new analytics for the agents themselves 

Agentic systems introduce behavioural patterns that differ from traditional digital products. User activity is no longer confined to navigating pages or moving through a conversion funnel but increasingly involves delegating tasks to systems that interpret requests, make decisions and act on the user's behalf.

For an AI travel agent arranging a holiday, a completed booking might register as a success, but it doesn't reveal whether the agent understood the customer's requirements, used unnecessary tools or needed human intervention. An agent might even approach an incorrect booking before recognising and correcting the mistake. If it changed direction, was that because the user's intent changed or because it misunderstood the conversation?

Whereas analysing how users navigate a product often sufficed for traditional software, agentic software also requires analysing how the system navigates the problem. That will require a new generation of analytics. The architecture must preserve a reliable account of what the agent knew, what it was allowed to do and what happened next.

Autonomy doesn't remove guardrails but makes them more important

There is sometimes an assumption that more capable AI means organisations can gradually remove constraints. But the boundaries within which AI systems operate only become increasingly important as they are given more autonomy. 

There need to be explicit rules for what the system can do, which data it can use, what requires approval and which actions are reversible. Practical limits matter too, including spending limits and how frequently it can contact a customer. The system must know when to stop, when to escalate and how to identify technically valid behaviour that produces poor outcomes.

This reframes trust as a matter of design rather than human sight alone. Reviewing outputs remains important, particularly for consequential decisions, but becomes insufficient as more actions become autonomous. Systems must be designed so their actions remain within defined limits and can be traced, challenged and interrupted. Rather than trusting an AI model blindly, the aim should be an architecture in which unlimited trust is unnecessary.