Large Language Models as Delivery Rider: Generating Instant Food Delivery Riders’ Routing Decision with LLM Agent Framework
Chengbo Zhang, Zuopeng Xiao ✉ · 2026
Read Large Language Models as Delivery Rider: Generating Instant Food Delivery Riders’ Routing Decision with LLM Agent Framework by Chengbo Zhang, Zuopeng Xiao ✉ (2026) in the Tower of Babel, a free online library of public-domain works preserved in clean, searchable text. No sign-up. The full text is served as a plain-text file at a predictable URL, where text is present: https://antarctic-labs.com/tower-of-babel/arxiv-2603-12559.txt.
Introduction
Chengbo Zhang and co-authors build a simulation test bed for on-demand delivery work. In their system, riders are large language model agents with profiles drawn from real data. Each agent can reject an offer, take one order, or bundle several at once. The system then resolves clashes, builds pickup and drop-off routes, and runs them on road networks. A one-day test with 60 agents and 8,656 orders kept key gaps between rider types seen in real data.
Catalog record
| CREATOR | Chengbo Zhang, Zuopeng Xiao ✉ |
|---|---|
| YEAR | 2026 |
| COLLECTION | PAPERS |
| FORMAT | TXT |
| FILE SIZE | 24936 |
| LICENSE | http://creativecommons.org/licenses/by/4.0/ |
| RIGHTS | CC BY |
| SOURCE | arXiv |
Source: https://arxiv.org/abs/2603.12559
Browse the full library · About the Tower of Babel
Full text
The opening of the work, from the library's hosted text:
Large Language Models as Delivery Rider: Generating Instant Food Delivery Riders’ Routing Decision with LLM Agent Framework Chengbo Zhang, Zuopeng Xiao ✉ Abstract The utilization of Large Language Models (LLMs) to power human-like agents has shown remarkable potential in simulating individual mobility pattern. However, a significant gap remains in modeling cohorts of agents in dynamic and interactive systems where they must take strategic routing decisions to response mobility-specific task. To bridge this gap, we introduce LLM-DR, a novel agent framework designed to simulate the heterogeneous decision-making of riders in the on-demand instant delivery task scenario. Our framework is founded on two principles: 1) Empirically-grounded personas, where we use unsupervised clustering on a large-scale, real-world trajectory dataset to identify four distinct rider work strategies; and 2) Reasoning-based routing process, where each persona is instantiated as an LLM agent that employs a structured Chain-of-Thought (CoT) process to make human-like routing choices. This framework enables the construction of high-fidelity simulations to investigate how the strategic composition of a rider workforce influences system-level outcomes regarding their mobility pattern. We validate our framework on an real-world instant deliver order datasets, demonstrating its capacity to model complex rider behavior in an interactive market scenario. This work provides pioneering findings in agentic mobility system empowered by LLM. † † Funded by the National Natural Science Foundation of China (No. 42571286). 1 Introduction Modeling the mobility behaviors from high-frequency human-machine interactions is a significant challenge in understanding modern urban transportation systems [ 12 ] . This challenge is particularly acute in the context of the rapid expansion of instant e-commerce and on-demand delivery, which has profoundly reshaped urban logistics and transportation systems [ 15 ] . This global market, powered by a workforce estimated at over 25 million individuals and exceeding $380 billion in 2024 [ 5 ] , is governed by the collective, high-frequency decisions of its riders. The intricate interplay between individual strategies and system-level performance has profound implications for urban mobility, traffic congestion, and labor policy. However, the proprietary nature and scarcity of fine-grained rider routing data make empirical analysis difficult [ 13 ] , creating a critical need for high-fidelity simulation. The central challenge in modeling delivery riders’ behavior lies in capturing their complex interactions with real-time order broadcasts [ 10 ] . Furthermore, different rider strategies lead to profound heterogeneity in crucial behaviors, such as order-stacking choices and working-hour preferences [ 3 ] . Traditional models often fail to represent the nuanced cognitive processes that differentiate one rider’s strategy from another [ 8 ] . The key research question is not merely if an order is accepted, but how and why an agent—conditioned by specific behavioral priors, such as risk aversion or income-maximization goals—makes a choice. This requires a modeling paradigm capable of simulating not just actions, but the underlying reasoning. The use of Large Language Models (LLMs) to power human-like agents is rapidly defining a new frontier in the simulation of human activity and mobility [ 6 ] . Recent milestone works have demonstrated the remarkable potential of LLMs to generate behaviorally plausible and semantically rich individual travel patterns [ 9 , 2 ] . Methodologies have emerged for creating synthetic travel diaries that align with real-world activity distributions [ 4 ] and for employing cognitive frameworks like the Theory of Planned Behavior to elicit more realistic travel choice generation [ 7 ] . These studies successfully establish that LLM agents can replicate the scheduling logic and mobility patterns of independent individuals. These advances of LLM agent modeling provide opportunities to generate strategy-based riders’ routing decision and shed lights on collectively mobility analysis. To this end, we propose Large Language Models as Delivery Rider (LLM-DR), a novel agent framework designed specifically to simulate the heterogeneous delivery rider decision-making in response to real-world on-demand delivery orders. Our solution is built on two core principles: • Empirically-Grounded Personas: To ensure behavioral realism, we ground our agents in empirical data. We analyze a large-scale, real-world trajectory dataset to identify and characterize distinct rider work strategies through unsupervised clustering. This process yields four primary personas—the Full-time Workhorse, the Lunch-Peak Specialist, the Super Stacker, and the Dinner-Peak Core—each with unique preferences for order acceptance and routing. Each data-driven persona is then instantiated as a distinct LLM agent. • High-Fidelity Simulation Environment: The framework operates within a realistic simulation environment driven by real-world order data. At discrete time intervals, the system broadcasts new orders to all available agents, replicating the dynamic and competitive nature of actual on-demand delivery platforms. This ensures that agent decisions are a direct response to authentic, time-varying market conditions. • Chain-of-Thought-based Decision-Making: Each persona-driven agent employs a Chain-of-Thought (CoT) reasoning process to mimic human deliberation. When presented with available orders, the agent explicitly analyzes their attributes, evaluates them against its persona’s intrinsic motivations (e.g., income stability vs. peak-hour efficiency), considers the future consequences of its choice, and formulates a final, articulated decision. This framework allows us to construct a high-fidelity simulation to investigate how the strategic composition of a rider workforce influences key system-level outcomes. Our work demonstrates a powerful methodology for using LLM agents to model complex, heterogeneous human behavior in an interactive market setting, providing a crucial tool for understanding and managing urban instant delivery systems. 2 Related Work 2.1 On-demand Delivery Simulation Simulating on-demand delivery systems has traditionally been the domain of operations research and conventional agent-based modeling (ABM). These studies often focus on optimizing system-level metrics like fleet size, order-to-dispatch time, and overall efficiency [ 1 , 16 , 17 ] . While effective for logistical planning, the agents in these models typically operate based on simplified, homogeneous rules or utility functions (e.g., always accept the nearest order, maximize immediate financial gain) [ 14 ] . This approach often fails to capture the rich heterogeneity and complex strategic reasoning of a real-world rider workforce, which is a key driver of emergent system behavior. 2.2 LLM-agent based Mobility Generation The emergence of LLM-powered agents has created new possibilities for human mobility simulation. As noted, studies like [ 9 , 2 , 4 , 7 ] have shown that LLMs can generate realistic daily schedules and travel diaries for individuals. These agents can reason about typical human constraints like work hours, shopping needs, and social engagements. However, the current body of work primarily focuses on single agents or groups of non-interacting agents executing pre-planned or routine activities. The challenge of modeling high-frequency, strategic interactions within a rhythmically evolving order demand environment—remains largely unexplored. Our work extends this frontier by placing LLM agents in such an environment, forcing them to move beyond planning to dynamic, strategic adaptation. 3 Preliminaries and Problem Formulation We model the on-demand delivery system as a discrete-time, multi-agent environment. In this system, rider agents interact with a stream of dynamically arriving delivery orders. Each agent evaluates available orders and makes decisions based on a predefined behavioral persona. 3.1 System Overview At any time step t , the system state is defined as: S_{t}=(\mathcal{O}_{t},\mathcal{R}_{t}) where: • \mathcal{O}_{t} is the set of active delivery orders. • \mathcal{R}_{t} is the set of active rider agents. Each delivery order o\in\mathcal{O}_{t} is represented as: o=(id,loc_{pick},loc_{drop},t_{create},t_{deadline},fee) where: • id is the unique order identifier. •