Your AI Agent Is Ready. Is Your Commerce Stack?
Retailers are increasingly exploring AI to make digital shopping more personal, responsive, and autonomous. AI shopping assistants can help customers discover products, compare options, answer questions, and increasingly support multi-step purchasing journeys.
This shift is a move toward agentic commerce, where AI agents can take action throughout the shopping experience rather than simply providing recommendations or search results. But there’s a problem hiding underneath the AI experience: The agent may be modern, but the systems it needs to work with may have been built years or even decades ago.
A shopping agent that recommends a product needs access to a product catalog.
- To answer “Can I get this tomorrow?”, it needs inventory and fulfillment information.
- To explain why the price changed, it needs pricing and promotion data.
- To recognize a loyal customer may require customer and loyalty systems.
- To complete a purchase, it eventually needs to interact with order management and payment workflows.
That puts legacy commerce architecture directly in the path of the AI opportunity.
Google Cloud has recently announced Google Cloud Modernize. Its portfolio makes this connection particularly clear, with an approach for adding AI capabilities to existing business systems without rebuilding them from scratch, using Google Kubernetes Engine (GKE) as a containerized layer that connects modern cloud services directly to core applications.
Google Cloud Modernize also highlights continuous synchronization across services such as BigQuery, AlloyDB, and Spanner, enabling applications and AI agents to work with fresh, unified information. This means retailers may be able to introduce AI into the customer journey before replacing the underlying systems.
The Legacy Commerce Stack Has More Value Than Its Technology Suggests
Retailers often inherit complicated technology estates for a simple reason: those systems run the business.
- A product catalog may have accumulated years of merchandising logic.
- An inventory system may encode complex allocation rules.
- A pricing platform may support market-specific pricing and promotions.
- A loyalty platform may contain years of customer history.
- An order management system may coordinate fulfillment across stores, warehouses, marketplaces, and delivery partners.
While these legacy environments introduce operational and technical friction during modernization, their embedded business logic can make them difficult to replace.
Replacing all of them before launching a meaningful AI experience can create lengthy modernization timelines, introduce operational risk, and consume resources that could otherwise be used to create new customer experiences. That creates a more pragmatic modernization question:
How can we give modern AI access to valuable legacy capabilities while progressively modernizing the underlying architecture?
The answer starts with creating a controlled layer between the AI experience and the systems of record.
Think of the AI Agent as a New Digital Employee
A useful way for retail executives to think about an AI shopping or service agent is to view it as a digital employee.
A human store associate may ask several systems for information while helping a customer:
- “Do we have this in the customer’s preferred size?” → They may check inventory.
- “Is there another color available?” → They may query the catalog.
- “Can I apply the member discount?” → They may consult loyalty and promotions.
- “Can we deliver it tomorrow?” → They may check fulfillment.
The customer sees one conversation, but behind that conversation are multiple systems.
An AI agent introduces the same architectural challenge, except it can potentially perform these interactions much faster and at much greater scale. The architecture therefore needs to support orchestrated access to business capabilities, rather than expecting the agent to interact directly with every underlying application.
What an AI Shopping Agent Actually Needs to Know
Consider a customer asking: “I need a lightweight black jacket for a business trip next week. I’m a loyalty member, and I’d like delivery by Friday. Can you find the best option under €200?”
A useful agent has to reason across several domains.
Product catalog
The agent needs product descriptions, attributes, sizes, colors, materials, images, categories, and potentially semantic relationships between products. The catalog may live in a traditional commerce platform or product information management system.
Inventory
The agent needs current availability, ideally at the level relevant to the customer’s purchase and fulfillment option. “Available” can mean very different things in retail. A product could be available somewhere in the network but unavailable at a particular store, distribution center, or fulfillment location.
Pricing
The agent needs to understand the applicable price for the customer, market, channel, currency, and time. Pricing logic may sit entirely outside the commerce platform.
Promotions
A customer’s final price may depend on campaigns, coupons, bundles, loyalty status, seasonal promotions, or combinations of rules. An AI agent needs access to those rules rather than simply seeing a product’s base price.
Loyalty
Customer context can make the interaction significantly more useful. Membership tier, points balance, previous purchases, preferred categories, and available benefits can all influence an offer. This information also tends to sit in a separate system.
Order management
Once the customer says “Buy it,” the agent needs to shift from answering questions to taking action. That requires access to order creation, fulfillment selection, delivery options, payment flows, and potentially fraud or risk controls.
Customer history
A broader customer context can help an agent understand the relationship, preferences, previous purchases, and ongoing service issues. That information may be distributed across CRM, loyalty, customer service, and commerce systems.
Put all seven together, and the challenge becomes clear: The agent doesn’t need one modern application. It needs a modern way to interact with many existing applications.
Modernize the Connection Before You Modernize Everything
Google Cloud describes an “agentify existing systems” approach in which GKE provides a containerized layer that connects modern cloud services directly to core applications. This approach can introduce AI capabilities without requiring the underlying systems to be rebuilt from scratch.
For a retailer, a practical architecture could look like this:
This architecture creates an important separation that gives retailers more room to innovate:
- The AI agent understands the customer’s intent.
- The integration layer understands how to safely interact with enterprise systems.
- The systems of record continue to own the transactions and business processes they were designed to manage.
APIs Become the Language Between Legacy and AI
For many retailers, one of the most important modernization steps will be turning existing capabilities into well-governed services.
A legacy application might still perform critical pricing or order management logic, but exposing those capabilities through APIs creates a standardized interface for modern applications and AI-enabled experiences. That changes the modernization path.
Instead of:
Legacy system → Complete replacement → New AI experience
a retailer can pursue:
Legacy system → API abstraction → Controlled integration → AI experience → Progressive modernization
The difference is substantial. The AI initiative can begin creating value while the modernization program continues underneath it.
Fresh Data Matters as Much as Modern Interfaces
APIs solve part of the problem. The other part is data freshness.
An AI agent that knows a product was in stock yesterday isn’t particularly useful to a customer trying to purchase it today. Similarly, an agent who encounters an outdated promotion, an outdated loyalty balance, or a stale delivery estimate can quickly create customer frustration.
Google Cloud Modernize explicitly highlights continuous synchronization across operational databases and analytics platforms, enabling applications and AI agents to work with fresh, unified information.
For retail, this can mean bringing together information that traditionally lived in separate domains.
A customer interaction might require context from:
Commerce + Inventory + Pricing + Promotions + Loyalty + Fulfillment + Customer data
The objective isn’t necessarily to place every system into a single database; it’s to make the relevant context accessible to the applications and agents that need it, with appropriate latency, consistency, governance, and security.
The Agent Shouldn’t Become a Shortcut Around Governance
Giving an AI agent access to enterprise systems introduces architectural responsibilities that retailers should address from the outset. Retailers therefore need to separate access from authority.
- An agent that can read product information has a different risk profile from one that can issue refunds.
- An agent that can recommend a promotion has a different level of authority from one that can change pricing.
- An agent that can create a basket has a different blast radius from one that can submit a completed order.
A modern architecture should answer questions such as:
- What data can the agent access?
- Which actions can it perform?
- Which actions require customer confirmation?
- Which actions require a human employee?
- How is every action authenticated and audited?
- What happens when the underlying system is unavailable?
- How can the action be reversed?
These decisions should be designed into the architecture from the start. The AI layer should operate within clearly defined boundaries established by the retailer’s security, compliance, and business policies.
Modernization Should Follow the Customer Journey
One of the biggest opportunities for retail CIOs is to stop thinking about modernization only in terms of infrastructure components.
Start with the experience. Suppose the strategic objective is to launch an AI-powered shopping assistant. Map the customer journey first:
Discover → Compare → Personalize → Check availability → Apply promotion → Purchase → Fulfill → Support
Then map every underlying system required at each stage. This immediately exposes modernization priorities. Perhaps the product catalog is relatively modern, but inventory data takes hours to refresh, or order management has strong APIs, but loyalty data is inaccessible outside the original application, or everything works technically, but pricing relies on a batch process, making real-time AI recommendations unreliable.
The result is a modernization roadmap tied directly to a business outcome, which creates a better investment conversation than simply asking which applications have the oldest technology.
A Practical Framework for Retail AI Modernization
Retailers can think about the transition through three practical patterns.
Pattern 1: Wrap
Keep the core application intact and expose selected capabilities through APIs or integration services. This works well when the underlying business logic is sound, and the primary constraint is accessibility.
Pattern 2: Extend
Introduce a modern cloud-native layer around the existing application.
New capabilities, such as AI orchestration, personalization, event processing, or real-time analytics, can run in the modern layer while the legacy system continues to handle core transactions. This is particularly useful when the retailer needs new capabilities quickly but has a longer-term modernization roadmap.
Pattern 3: Replace selectively
Modernize the parts of the stack that create the greatest business or technical constraint.
A retailer might progressively replace a legacy promotion engine while keeping order management intact. Another may modernize customer data first because personalization and AI depend heavily on it.
The important thing is that modernization becomes selective and outcome-driven. Every system gets a destination based on its business value, technical condition, integration requirements, and strategic importance.
What Retail CTOs Should Measure
AI modernization needs metrics beyond model accuracy. Retailers should measure whether the architecture is becoming more capable of delivering AI-enabled experiences.
Useful indicators include:
- Time to launch a new AI-enabled customer experience: How quickly can engineering teams move from an idea to production?
- Data freshness: How current is the information available to the agent?
- API coverage: How many critical commerce capabilities can be accessed through governed interfaces?
- Agent action success rate: How often can the agent complete an intended workflow without falling back to a human or failing downstream?
- Human escalation rate: Which interactions still require manual intervention?
- Modernization dependency reduction: How many critical workflows still depend on tightly coupled legacy components?
- Cost per customer interaction: Are AI capabilities generating enough business value to justify their infrastructure and operational cost?
These measures connect technology modernization with outcomes the business can understand.
The Real Goal Is an AI-Ready Commerce Foundation
Retailers don’t need to choose between keeping legacy systems and adopting AI. They need an architecture that lets them do both strategically.
- A product catalog can continue to run the business while a modern AI layer helps customers find products.
- An existing inventory platform can remain the system of record while new services make availability accessible in real time.
- A legacy loyalty system can continue calculating benefits while an AI agent uses that context to personalize recommendations.
- An order management system can retain transactional responsibility while a modern orchestration layer determines when and how an order workflow should be initiated.
Over time, each underlying component can be modernized according to its own business case. This approach turns modernization from a prerequisite for innovation into an enabler of innovation.
Your AI Agent Is Only as Good as the Systems It Can Reach
The next generation of retail experiences will increasingly depend on AI that can understand customer intent, access real business context, and execute actions across multiple systems. That makes the commerce stack part of the AI strategy.
A complete overhaul of legacy systems can delay AI initiatives, increase modernization risk, and require significant investment before new customer experiences can be delivered. Selective modernization can help retailers unlock core business capabilities while making those capabilities more secure, observable, and accessible to AI-enabled workflows.
For a retail CTO, the core challenge goes beyond deploying an AI shopping agent; it is ensuring the agent can securely and reliably connect to core operational systems with the context it needs. A brilliant AI experience connected to stale inventory, outdated pricing, inaccessible loyalty data, or fragile order workflows can only be as intelligent as the architecture behind it.
At Kartaca, we help retailers modernize the architecture that powers AI-enabled customer experiences, from cloud infrastructure and application modernization to data platforms, APIs, integrations, security, and AI-ready workflows. We can help you identify which parts of your commerce stack should be wrapped, extended, modernized, or replaced, and build a roadmap that connects those technology decisions to measurable business outcomes.
Contact us today for a free assessment and find out whether your commerce stack is ready for your next generation of AI experiences.
Author: Gizem Terzi Türkoğlu
Published on: Dec 3, 2026