Skip to content
STIRUP

TECHNOLOGY INTELLIGENCE

Understand what's next.

Walmart Deploys Multi-Agent LLM Workflows for Inventory Forecasting

Walmart Global Tech implemented multi-agent LLM workflows across 4,700 U.S. stores for nightly batch inventory forecasting, using sequential agents to gather data and provide precise inventory directives.

Share
AI-generated conceptual illustration accompanying: Walmart Deploys Multi-Agent LLM Workflows for Inventory Forecasting
AI-generated editorial illustration of the article topic; not a photograph, product screenshot or measured result.

Deployment of Multi-Agent LLM Workflows at Walmart

Walmart Global Tech deployed multi-agent LLM workflows across 4,700 U.S. stores for nightly batch inventory forecasting, as explained by Aditya Mulik in a presentation titled Batch Intelligence at Scale: Cost-Efficient Multi-Agent LLM Workflows with Built-In Resilience. The approach involved a sequential workflow of agents, where each agent performed specific tasks, such as gathering context from various data sources for a particular department. This agentic flow combined real-time data with forecasting model outputs to provide store managers with precise directives on inventory orders. The system emphasized cost-efficiency and resilience, ensuring accurate decision-making at scale. According to the presentation, the workflow was designed to avoid monolithic architectures, instead leveraging multi-agent orchestration to enhance flexibility and responsiveness in inventory management.

Resilience and Validation in Agent Workflows

In the context of multi-agent LLM workflows, resilience and validation are critical components for ensuring reliable outputs. As noted in the discussion, every agent's output must be validated through a grounding mechanism, ensuring accuracy and consistency across the system. The workflow includes specialized sub-agents such as data gathering, synthesis, and grounding agents, each playing a distinct role in the process. While some approaches may not be the most cost-efficient, the inclusion of a max iteration limit for specific agents helps manage resource usage while maintaining performance. The system is designed to allow for increased iterations as needed, ensuring that workflows are computed properly and outputs are saved effectively. Error handling is also a key focus, with traditional engineering approaches encountering 4xx or 5xx errors. The goal is to achieve a high success rate, such as 99%, and examples include scenarios with a 97% success rate and a 2.3% failure rate.

Cost Considerations and Token Usage

Cost considerations are a central focus in deploying multi-agent LLM workflows at scale. As noted in the discussion, leveraging foundational models across a large number of stores—such as 4700—results in a significant increase in token generation, which directly impacts overall expenses. The team addressed this by securing 400 PTUs to support the required scale, though this came with a monthly cost estimate of approximately 100k to 120k. This highlights the need for cost-effective strategies that balance performance with financial constraints. The challenge lies not only in managing the high token usage but also in ensuring inventory accuracy while keeping expenses under control. These insights underscore the importance of carefully evaluating resource allocation and cost structures when implementing large-scale AI solutions.

Sources and reporting notes

Based on published source material. No independent hands-on testing is claimed.

Read more