Manuscript Offprint

arXiv:2610.36980

AutoVend: Benchmarking LLM Agents on Long-Horizon Autonomous Vending Operations

Qiming Shi, Yikun Li, Beidi Luan, Rui Sun, Yan Ma, Jing Li, Daxin Jiang, Zuo Bai

Abstract

Large language model (LLM) agents are extending agent-mediated commerce on the Web from shopping for consumers to operating businesses for sellers. In online-to-offline (O2O) commerce, decisions are issued through Web-based platforms but realized through costly physical execution. Evaluating such agents requires going beyond individual transactions to ask whether decisions made online turn into sustained economic returns. We introduce AutoVend, a benchmark in which one LLM agent manages 20 vending machines across five site types through a Web-based operating interface for 180 simulated days. Its data-grounded simulator combines a shared warehouse, procurement lead times, paid replenishment, inventory expiration, and recurring operating costs. We evaluate five LLM agents against a rule-based inventory-control baseline and diagnose their site coordination, execution, and performance over time. Four of five evaluated LLM agents fall short of this baseline, and returns per dollar of inference cost rank models differently from returns alone. Operational analyses show that gains in individual metrics do not consistently yield stronger economic growth, as inventory and execution costs erode these gains. Trajectory analysis further reveals difficulties in grounding feasible actions, managing inventory commitments, and converting feedback into effective policy revisions.

1 Introduction

Agent-mediated commerce is emerging as a Web application domain for large language model (LLM) agents, with buyer-side research spanning product discovery (Yao et al., 2022), personalized shopping (Kim et al., 2026), and customer support (Wang et al., 2025). Seller-side autonomy requires repeated decisions about assortment, pricing, procurement, and inventory whose consequences extend beyond an individual interaction (Shi et al., 2026; Fan et al., 2026). In online-to-offline (O2O) commerce, decisions are made on Web-based management platforms, while their economic returns

Figure

Figure 1: AutoVend connects Web-based agent decisions to distributed physical retail through shared inventory, procurement lead times, and paid on-site replenishment.

depend on the costs and constraints of physical execution. For agents managing distributed retail through such platforms, this requires coordinating digital decisions with physical execution over time. Smart vending is a compact instance, as connected machines are increasingly run through cloud management platforms (Fortune Business Insights, 2026) while every restock requires a paid site visit. It also retains the dependencies among assortment, inventory, execution, and cash management. For Web economics, AutoVend thus provides a controlled testbed for seller-side agent-mediated commerce that measures both the returns an agent generates through a Web-based interface and the inference cost of generating them.

Sustaining performance in this setting requires three interdependent capabilities. (1) Cross-site Resource Coordination. The agent must match heterogeneous local demand while allocating shared resources and monitoring conditions across the network (Eppen, 1979). An allocation to one site changes the resources available to others, so local decisions must account for consequences

  • Equal contribution. Work done during internship at StepFun

†^{\dagger} Corresponding author: Zuo Bai

(baizuo@stepfun.com).

across the network. (2) Physical Execution Planning. Stock in a shared warehouse cannot meet local demand until it is placed on machine shelves. Procurement requires advance ordering to account for delivery lead times, while on-site replenishment incurs visit costs. The agent must coordinate advance orders and site visits to maintain product availability while controlling execution expenses, storage costs, and expiration losses (Coelho et al., 2014; Nahmias, 1982). (3) Continual Strategy Improvement. Demand is initially unknown, and observed sales depend on the agent's own assortment, prices, and stock availability. The agent must use accumulated feedback to refine its demand estimates and revise its decision rules so that subsequent decisions become more effective (Zhang et al., 2026; Shi et al., 2026).

Existing benchmarks provide important foundations for evaluating long-horizon business agents. Vending-Bench studies the operation of a single vending machine and simulates physical tasks through a separate execution agent (Backlund and Petersson, 2025). RetailBench evaluates supermarket operation with inventory aging, delayed deliveries, and cash-flow constraints (Zhang et al., 2026). MerchantBench examines seller-side e-commerce under mixed-latency feedback (Shi et al., 2026), while E-Commerce Bench extends business evaluation to multiple online stores with pooled inventory, fulfillment costs, and delayed settlements (Fan et al., 2026). These evaluations do not establish how effectively agents can coordinate shared inventory across heterogeneous physical retail sites when on-site replenishment itself incurs costs and delays. Assessing this capability requires an environment that brings these constraints together and exposes their cumulative economic consequences.

We introduce AutoVend, a benchmark for evaluating LLM agents on long-horizon autonomous vending operations. A single agent manages 20 vending machines spanning factory, campus, residential, commercial, and office locations, with heterogeneous demand and a shared warehouse. The agent selects products, sets prices, places procurement orders, and arranges replenishment through tool calls that mirror such a platform. The simulator models procurement lead times, paid on-site stocking, product expiration, and storage charges on warehouse stock. These mechanisms connect decisions made through the interface to inventory availability and subsequent economic outcomes.

AutoVend combines terminal net assets with operational metrics and trajectory diagnostics. We examine site coordination, the cost and availability of paid replenishment, and changes in operating performance over time. Our contributions are threefold.

• We introduce AutoVend, a benchmark for long-horizon seller-side agent-mediated commerce, with a unified task, operating interface, and evaluation protocol for managing a distributed retail network.

• We develop a simulator grounded in real vending records that models heterogeneous demand, procurement lead times, inventory aging, and paid site visits, and validate its demand behavior against observed sales patterns.

• We evaluate five LLM agents and find that four of five fall short of a rule-based inventory-control baseline. Operational diagnostics and trajectory analyses reveal difficulties in coordinating inventory commitments, execution costs, and policy revision.

References (20)