Automate replenishment with MMF, Databricks Genie, and Amazon Quick AWS published a technical walkthrough for an unattended retail replenishment loop that combines Databricks Many Model Forecasting (MMF) serving Chronos-2, a Databricks Genie Agent, and Amazon Quick Flows. The system forecasts 7-day demand for every SKU, flags surges where the next-7-day average is at least 1.5 times the prior-14-day average for SKUs whose prior-14-day average is at least 1, then reconciles surging SKUs against live supplier availability in Amazon S3 Tables and places a purchase order through a Supplier Order API or raises a human-review ticket when no single supplier can cover the surge. The deployment requires the Databricks CLI 0.299.0+, AWS CLI 2.36.2+, jq 1.7, and uv or Python 3.11, with code in the aws-samples sample-isv-databricks repository. Artificial Intelligence /blogs/machine-learning/ Automate replenishment with MMF, Databricks Genie, and Amazon Quick AWS Machine Learning Blog: technical walkthrough. Commands and expected outputs are from a working deployment. Substitute your own account values throughout. Replenishment automation starts with a demand forecast, and in retail that forecast has a short shelf life. By the time a planner exports it, checks it against supplier availability, and works down tens of thousands of stock keeping units SKUs , the fastest movers have stocked out. For years the hard part was the forecast itself. Foundation models changed that, predicting demand across an entire catalog with no per-item tuning. The bottleneck moved downstream to the gap between a good forecast and an order placed on it. That gap persists because the forecast and the action live in different systems. The forecast sits in a governed data platform. Supplier availability lives in a separate operational feed. And the person who places the order has a login for neither. This post builds the missing piece: a loop that detects a demand surge, decides which supplier can cover it, and places the order unattended. It escalates to a human only when no rule fits. It runs on Databricks and Amazon Quick, and the companion repository https://github.com/aws-samples/sample-isv-databricks/tree/main/autonomous-retail-replenishment-genie-quick-mmf , together with the accelerator’s fresh retail net example that produces the forecast, has everything you need to reproduce it. The solution runs in four stages: Databricks handles the Forecast, while Amazon Quick repeats the last three in the loop on a schedule. - Forecast: Databricks Many Model Forecasting https://github.com/databricks-industry-solutions/many-model-forecasting MMF serves Chronos-2 https://www.amazon.science/blog/introducing-chronos-2-from-univariate-to-universal-forecasting to predict 7-day demand for every SKU. - Detect: a Databricks Genie Agent https://docs.databricks.com/aws/en/genie/ surfaces the SKUs in a surge, defined as a next-7-day average at least 1.5 times the prior-14-day average, and only for SKUs whose prior-14-day average is at least 1 the floor that keeps low-volume noise out . - Decide: Amazon Quick reconciles each surging SKU against live supplier availability in Amazon S3 Tables /s3/features/tables/ , a capability of Amazon Simple Storage Service Amazon S3 , and picks the cheapest supplier that can cover it. - Act: Amazon Quick Flows /quick/flows/ places a routine purchase order through a Supplier Order API or raises a human-review ticket when no single supplier can cover the surge. The following diagram shows how the four stages connect across Databricks and Amazon Quick. How the pieces fit Amazon Quick sits in the middle, the only component that touches both worlds. It reaches the forecast through a Databricks Genie Agent over the Model Context Protocol MCP , pulls the supplier feed from S3 Tables, and calls the Order API through an OpenAPI connector, joining them on a shared product key at decision time rather than copying everything into one warehouse. Databricks produces the intelligence. Amazon Quick acts on it. Prerequisites and setup Everything runs from your local terminal with these tools: the Databricks CLI 0.299.0+, the AWS CLI 2.36.2+, jq 1.7, and uv or Python 3.11 for the supplier-feed loader. The solution uses the create-flow , create-data-source , and create-space subcommands under aws quicksight . Clone the accompanying repository and run all commands from its root. Key files are genie/ genie space.json the Genie Agent definition , flow/ flow definition.json the flow , and cleanup/ cleanup.sh teardown . Two account-level prerequisites gate the console steps, so confirm them before you start: your Amazon Quick user needs an Author or Author Pro role Quick Flows and the MCP and OpenAPI connectors require it, and a plain non-Author Enterprise seat cannot create them , and your Databricks identity needs CREATE CATALOG on the metastore or an admin to pre-create the mmf catalog . Next, authenticate a Databricks workspace profile with databricks auth login . Then run databricks auth describe : the User line it reports is your