How DoorDash built Ask DoorDash, its AI shopping assistant
DoorDash built Ask DoorDash, an AI assistant that turns a customer's own words, recipe links and photos into restaurant picks and grocery carts, from specialized agents, MCP tools and a consumer memory layer.
DoorDashUnited StatesInternet platforms and advertisingIn production since Jun 2026Who built it Built in-house (Anthropic and Google)Time to production 2 monthsHuman oversight People approve each outputKind of solution Conversational assistantScale Over two million conversations across Restaurant, Grocery and ReservationsScenario Conversational shopping assistantBusiness function Sales and marketingOrganization EnterpriseAI types Generative AI, Agentic AI, Conversational AI
- Who built it
- Built in-house (Anthropic and Google)
- Time to production
- 2 months
- Human oversight
- People approve each output
- Kind of solution
- Conversational assistant
- Scale
- Over two million conversations across Restaurant, Grocery and Reservations
- Scenario
- Conversational shopping assistant
- Business function
- Sales and marketing
- Organization
- Enterprise
- AI types
- Generative AI, Agentic AI, Conversational AI
tl;drMemory-backed grocery sessions converted to checkout about 24% more often in a seven-day test.See the results
DoorDash runs Ask DoorDash, a conversational AI shopping assistant that turns a customer’s own words, recipe links and photos into restaurant picks and grocery carts2. It launched in select areas on iOS on June 11, 20262.
Behind the chat, an orchestrator routes each turn to specialized agents for restaurants, groceries and reservations. The agents call DoorDash services through Model Context Protocol (MCP) tools and use a memory of each customer’s preferences1, 3.
DoorDash described the system in a three-part engineering series1, whose evaluation part came out in June 20265. In a seven-day evaluation, grocery sessions backed by consumer memory converted to checkout about 24% more often than sessions without it, and open-ended restaurant queries converted 15% more often1.
Before the deployment
Before Ask DoorDash, customers searched the app and scrolled through restaurants and stores to build a cart6. DoorDash held that traditional search works best when the customer knows the exact restaurant or table they want2.
- Choice: The average person in the U.S. has an estimated 800,000 menu items and grocery products available on DoorDash2.
- Cart building: Grocery customers built a cart one item at a time2.
- Earlier agents: DoorDash agent experiments in 2025 showed how quickly an experience breaks down when its state is unreliable3.
- Quality signal: During development, agent quality rested on employee feedback and manual testing, about one feedback item a day5.
- Competitors: Uber Eats launched an AI cart assistant in February 2026, and Instacart offers an AI shopping assistant to grocers6.
“We’ve spent over a decade building an app that puts everything in your city at your fingertips, but more options shouldn’t mean more work.”
What was built
A customer taps the Ask button in the search bar and describes what they want, pastes a recipe link, or uploads a photo of a cookbook page or a grocery list2. For groceries, the assistant builds a cart from the customer’s usual grocer with ingredients and quantities filled in2. For restaurants, it lists nearby places with a note on why each fits, then suggests an order by dietary preferences, budget, group size or past orders2.
- Orchestrator: Routes each message to a domain agent. Follow-up turns go straight to the chosen agent, which hands control back when the conversation leaves its scope3, 5.
- Domain agents: The Restaurant, Grocery and Reservations agents each own their instructions, skills, tools, evaluation criteria and model choice3.
- MCP tools: The model picks the tool. Deterministic code validates each request and enforces permissions and business rules before it reaches a DoorDash service3.
- Consumer memory: Supplies long-term preferences, in-session signals and stated facts, so the grocery agent leaves out items the customer already has at home4.
- Customers: Confirm recommendations and generated carts, swap brands and check out1, 2.
- Teams: Domain teams build the agents. Platform teams maintain orchestration, MCP tooling, memory, evaluation and shared components1.
Alternatives considered
- One agent for every domain: Combining Restaurant, Grocery and Reservations made testing difficult and forced every domain onto the same release cycle3.
- Direct API access or rules in prompts: Raw APIs force models to read low-level interfaces, and rules in prompts add context without guaranteeing enforcement3.
- Static embeddings: Pre-computed embeddings freeze the embedding model at ingestion and force a full reprocess on every upgrade4.
- Proprietary protocols: DoorDash adopted Agent2Agent (A2A) and Google’s Agent Development Kit (ADK) instead of building its own equivalents3.
Rollout
- June 11, 2026: Launch in select areas on iOS for restaurant search and grocery shopping, with DoorDash Reservations and more U.S. users to follow2, 6.
- After launch: Reservations became the third domain and took one week to add, against roughly two months for the first two3.
Technology and architecture
The agents run on Google’s Agent Development Kit (ADK), with DoorDash modules on top for tracing, model access, durable state and rollout controls3. The Gateway uses the Vercel AI SDK to stream text and widget payloads, such as store and item cards, over Server-Sent Events3.
| Layer | What they used | Role | Source |
|---|---|---|---|
| Language model | Claude Sonnet 4.6 | Ran the agents before the migration to Gemini 3.5 Flash | 5 |
| Language model | Gemini 3.5 Flash | Runs the agents after a migration that the evaluation harness validated | 5 |
| Chat interface | DoorDash app | Ask button in the search bar opens the conversation, with text, recipe links and photos | 2 |
| Service API | Gateway | Authenticates requests, assembles context and streams text and widgets to clients through the Vercel AI SDK | 3 |
| Agent orchestration | Orchestrator | Routes each conversational turn to the right domain agent | 3, 5 |
| Task agent | Domain agents | Restaurant, Grocery and Reservations agents with their own instructions, skills and tools | 3 |
| Framework or library | Agent Development Kit | Framework for building and running the agents, extended with DoorDash modules | 3 |
| Tools and actions | Shared MCP server | Exposes more than 60 typed tools over DoorDash services and enforces business rules in code | 1, 3 |
| Prompt and context management | Skills system | Loads only the instructions and tools a turn needs | 3 |
| Data platform and storage | Managed Agent Services | Stores session state, memory and artifacts in distributed SQL with vector search | 3, 4 |
| Data preparation | Long-term memory pipeline | Offline batch LLM pipelines turn order history into structured memory blocks | 4 |
| Offline evaluation | Evaluation harness | Simulates conversations and grades sessions with a calibrated LLM judge, offline and online | 5 |
Models and context
Domain teams choose their models, and the platform standardizes how models are invoked, traced and protected by fallback behavior3. The agents ran on Claude Sonnet 4.6 until DoorDash validated a move to Gemini 3.5 Flash, released in mid-May 20265.
The skills system loads only the instructions and tools a turn needs. A Restaurant conversation loads a search-discovery skill to find a place and a cart-ordering skill to fill the cart3. Deterministic actions update versioned artifacts, such as shopping lists, without invoking the language model1.
Consumer memory
- Long-term memory: Offline batch LLM pipelines turn order history into memory blocks, about 100+ facts for a customer with hundreds of orders4.
- In-session context: Cart contents, active searches and items viewed or rejected, weighted so current behavior overrides history4.
- Conversational memory: A dedicated LLM extracts durable facts from each conversation in the background, adding no latency to the reply4.
- Retrieval: Semantic vector search finds relevant memories, which are ranked and added to the prompt1.
- Forgetting: A separate LLM call deletes only the facts that match a forget request, and the agent confirms what it removed4.
Data inputs
- Requests: The customer’s words, recipe links and photos of cookbook pages or grocery lists2.
- Order history: Behavioral signals distilled into blocks such as dietary preferences, brand affinities and store preferences4.
- Merchant data: In-stocks across restaurant and grocery items, with menus, prices, hours and delivery distances that change fast7.
- Traces: OpenTelemetry traces of each session, stored in ClickHouse for debugging and grading5.
Integrations
- DoorDash services: The shared MCP server exposes catalog search, recommendations, carts, checkout, order history and consumer memory as more than 60 tools1, 3.
- Client apps: The Gateway converts HTTP requests from DoorDash clients into A2A requests and streams the answers back3.
- Memory store: Managed Agent Services keeps session state, memory and artifacts in distributed SQL storage with vector search3, 4.
Evaluation harness
- AI component
- Data
- Handoff to people
Raghav Saboo, RecSys and search lead at DoorDash, framed the problem in a post: “Knowing if it is actually good is even harder.”1
- Simulation: An LLM plays the customer through about 50 scenarios with 8 trials each, against fixtures that replace live API calls5.
- Judge: The LLM judge grades binary rubric criteria, such as constraint satisfaction and result diversity, into a session score5.
- Calibration: People define rubrics, label calibration sets and audit the judge. GEPA refines the judge prompt against the human labels5.
- One judge for both: The same rubric and judge run offline and in production5.
How one grocery request flows through the system
- The customer uploads a photo of a recipe through the Ask button. The Gateway authenticates the request and passes it to the Orchestrator2, 3.
- The Orchestrator routes the turn to the Grocery agent, which loads only the skills the task needs3.
- The Grocery agent retrieves brand and category preferences from consumer memory and excludes pantry items the customer already has4.
- The agent calls MCP tools to search the customer’s usual grocer. Tool code validates each call before it reaches the service2, 3.
- The agent builds the cart with ingredients and quantities and asks the customer to check for staples such as butter and salt2.
- The customer reviews the cart, swaps brands if needed and checks out2.
- A background job extracts any durable preference the customer stated into conversational memory4.
Results
The memory figures cover a representative seven-day window in the early rollout, and the evaluation results came out in June 20264, 5.
| Metric | Before | After | Scope and timeframe | Reported by |
|---|---|---|---|---|
| Higher grocery checkout conversion with consumer memory | Sessions with no computed memory | 24% | Grocery agent sessions, seven days in the early rollout | DoorDash, via InfoQ and ZenML, measured1, 4 |
| Higher conversion on open-ended restaurant queries | Sessions with no computed memory | 15% | Open-ended restaurant queries, seven days in the early rollout | DoorDash, via InfoQ and ZenML, measured1, 4 |
| Gain in agent quality score | Not disclosed | 8 points | Before the nationwide launch | DoorDash, via InfoQ and ZenML, measured1, 5 |
| Lower p50 turn latency after a model migration | Agents on Claude Sonnet 4.6 | 35% | Move to Gemini 3.5 Flash, quality unchanged | DoorDash, via InfoQ and ZenML, measured1, 3, 5 |
- Conversion with memory: Grocery and restaurant sessions with consumer memory were compared with sessions with no computed memory. Grocery baskets were also 17% larger, with 7% fewer conversational turns1, 4.
- Quality score: The 8 points came from the judge’s rubric scores before the nationwide launch, with error rates cut nearly in half5.
- Latency: The 35% cut in p50 turn latency followed the move from Claude Sonnet 4.6 to Gemini 3.5 Flash, and a later model upgrade cut it by another 40%3, 5.
- Testing time: A full sweep of 400 simulated conversations takes about 20 minutes, against over 6 hours of manual chatting5.
- Volume: The harness grades 2,000 sessions a day, and the assistant has handled over two million conversations3, 5.
- Cart speed: Andy Fang wrote on LinkedIn that Ask DoorDash builds a grocery cart about 5x faster than doing it manually1.
Lessons learned
The figures are DoorDash’s own, from its engineering series, as InfoQ and ZenML’s LLMOps Database summarized it1, 3, 4, 5.
The memory results compare sessions with full memory profiles against sessions with no computed memory over seven days. ZenML calls them a snapshot of the early rollout, and notes that LLM judges might favor outputs from systems with richer context4.
More memory isn’t always better. Too many competing facts in one prompt made the agents drop instructions, and DoorDash concluded that exclusion is often harder than inclusion4.
Daily scoring caught failures that the team then fixed. The grocery agent sometimes used system terms, such as tool names, in its replies, and a prompt fix cut leakage by 11% in offline tests5.
A model swap needed more than a configuration change. Gemini 3.5 Flash first scored sharply lower because it formatted some tool parameters differently and the prompts had been tuned to Sonnet. Deterministic guards on tool inputs and prompt updates brought it to parity5.
The harness has faults of its own. A meaningful share of flagged failures are judge false positives or tracing gaps, and ZenML warns that LLM judges carry biases that can drift5.
The shared platform let Reservations launch in one week, but ZenML points out that the first two months included building the platform, and that the latency gains likely came from the model providers3. DoorDash notes that shared infrastructure increases blast radius, and that A2A and ADK sometimes limited its design choices3.
Case study scorecard
- 24% Higher grocery checkout conversion with consumer memory1, 4
- 15% Higher conversion on open-ended restaurant queries1, 4
- 8 points Gain in agent quality score1, 5
- 35% Lower p50 turn latency after a model migration1, 3, 5
- Source quality: 69%, High quality. Rests on a news report.
Sources by publication date
- Organization 1
- Press, academic, and regulators 6
Build this solution yourself
Analysis
What you need
- Services behind typed tools: You need catalog, cart and checkout services that agents can call through tools that enforce your business rules in code, because prompts don’t guarantee enforcement3.
- Rich order history: You need enough past orders per customer to distill preferences, because the conversion gains came from sessions with memory4.
- Live inventory data: You need current menus, prices and in-stocks, because the assistant uses merchants’ in-stock data to decide its responses7.
- An evaluation harness before launch: You need traces, a simulator and a judge calibrated to human labels, because DoorDash used them to raise quality before the nationwide launch and to validate a model swap5.
Reference architecture
Conversational assistant
A conversational assistant answers the questions of customers or employees in a chat inside an app or website, from the organization's own content and records, and can carry out simple requests. A language model works out what the person asks, and the assistant answers from the knowledge content or the person's records. Staff take the conversations that the assistant doesn't settle, and a team improves the assistant from ratings, conversations, and monitoring.
- App or website
- Chat interface (documented in this case study)
- Assistant platform
- Context assembly (documented in this case study)
- Model gateway
- Language model (documented in this case study)
- Guardrails
- Content search
- Knowledge content
- Tools and actions (documented in this case study)
- Fixed workflows
- Business systems
- Predictive models
- Handoff to staff
- Feedback capture
- Monitoring
A check mark shows a building block that this case study's sources document.
Open the reference architectureOthers who built it
- Ralph Lauren: Ralph Lauren's Ask Ralph AI stylist builds shoppable outfits. Ask Ralph raised Ralph Lauren's revenue 12% and customer engagement 50%.
- Allstate: Allstate's AI assistant handles 15% of auto service chats. Ask Allstate handled 15% of ASC auto service chats within months of its July 2026 launch.
- TELUS: TELUS resolves customer issues 87% faster with AI agents. AI agents now take 30% of TELUS contact center traffic, and issues are resolved 87% faster.
- Salesforce: Salesforce puts an Agentforce AI agent on its IT help desk. The Techforce Agent's satisfaction score rose from 76% to 90%, and it handles 40% of IT cases.
- Octopus Energy: Octopus Energy's AI assistant Arlo answers routine emails. In a three-month trial, Arlo's replies scored 76% satisfaction, against 72% for human replies.
- Lucardi: Lucardi automates order and return chats with AI agent Lucie. Lucie resolves 79% of Lucardi's website chats and 91% of order questions without staff.
Cite this case study
Enterprise AI Case Studies. "How DoorDash built Ask DoorDash, its AI shopping assistant." Updated Nov 30, 2026. https://case-studies.ai/case-studies/customer-engagement/CE-141-ask-doordash-shopping-assistant/
@misc{csai-ce-141,
author = {{Enterprise AI Case Studies}},
title = {{How DoorDash built Ask DoorDash, its AI shopping assistant}},
year = {2026},
note = {Updated 2026-11-30},
url = {https://case-studies.ai/case-studies/customer-engagement/CE-141-ask-doordash-shopping-assistant/}
}Sources
The following reporting, and every passage quoted from it, belongs to its publisher, not to this site. Sources and ownership
- Source 1:
How DoorDash Built an AI Shopping Assistant That Doesn't Rely on the LLM Alone
Supporting excerpts (14)
DoorDash has shared the architecture behind Ask DoorDash, its conversational AI assistant that helps consumers discover restaurants, plan meals, and build grocery carts via natural-language interactions.
Over the course of a three-part engineering deep dive
computed consumer memory improved grocery checkout conversion by approximately 24%, increased basket sizes by 17%, and reduced conversational turns by 7% during a seven-day evaluation
For restaurant discovery, the assistant achieved a 15% higher conversion rate on open-ended queries.
As Raghav Saboo, RecSys and search lead at DoorDash, noted in a post,
Building a useful AI agent is hard. Knowing if it is actually good is even harder.
DoorDash said the platform scaled quality measurement to more than 2,000 automated evaluations daily, improved quality scores by eight points, reduced regression testing from six hours to twenty minutes, and validated a model migration that reduced latency by 35% while maintaining quality.
An Assistant Runtime coordinates interactions among specialized agents, while a shared MCP layer exposes business functionality, including catalog search, recommendations, carts, checkout, order history, and consumer memory.
Rather than embedding business logic directly into prompts, the assistant invokes reusable tools backed by existing DoorDash services
Relevant memories are retrieved through semantic vector search, ranked, and incorporated into prompts, separating memory management from model inference.
In a LinkedIn post announcing the feature, Andy Fang, co-founder at DoorDash, said:
Ask DoorDash can build you a grocery cart ~5x faster than doing it manually, and that it takes a single prompt to complete your cart in under 2 minutes.
including deterministic actions that update versioned artifacts without invoking the language model and confirmation workflows for recommendations and generated carts
domain teams build specialized agents while platform teams maintain orchestration, MCP tooling, memory, evaluation, and shared components
- Source 2:
Stop Scrolling, Just Ask: A New Conversational Way To Search on DoorDash
Supporting excerpts (13)
Today, we're introducing Ask DoorDash, a new way to search the app in your own words.
Tap the Ask button in the search bar
The average person in the U.S. has an estimated 800,000 menu items and grocery products available to them on DoorDash.
We've spent over a decade building an app that puts everything in your city at your fingertips, but more options shouldn't mean more work
Ask DoorDash is available now in select areas on iOS for restaurant search and grocery shopping, and is rolling out for DoorDash Reservations and to more users across the U.S. in the coming weeks.
No more building a grocery cart item by item only to give up halfway through. No more endless scrolling through restaurants.
uploading a photo from your favorite cookbook, pasting a recipe link, or snapping a pic of your grocery list, and the app quickly builds your cart
DoorDash builds a grocery cart from your usual grocer with the right ingredients and quantities already filled in
The app will even prompt you to check for staples like butter and salt so you don't buy something you already have in your pantry. Review your items, swap brands if needed, and you're good to go.
nearby restaurants surface instantly, each with personalized context for why it's a great match
the app will suggest an order based on your dietary preferences, budget, group size or past orders
Spots with availability surface right away
Traditional search works best when you know the exact restaurant or table you're looking for. Ask DoorDash is designed for the moments when you don't.
- Source 3:
DoorDash: Building a Multi-Domain Agent Platform with Shared Infrastructure and Specialized Agents
Supporting excerpts (32)
handles over two million conversations across multiple domains (Restaurant, Grocery, and Reservations)
the initial Restaurant and Grocery domains took roughly two months to launch, while adding Reservations as the third domain took only one week
Agent Development Kit (ADK) as the framework for building and running agents
They adopted Agent2Agent (A2A) for agent-to-agent communication
While the authors acknowledge that these standards sometimes limited design choices, they provided shared contracts across teams and eliminated the need to develop proprietary equivalents.
Each request enters through a Gateway that handles authentication, assembles context, and translates between the client
The Gateway then passes requests to the Orchestrator, which routes each conversational turn to the appropriate domain agent while maintaining continuity as conversations shift between domains.
Restaurant, Grocery, and Reservations have different tools, policies, and evaluation criteria. Combining them made testing difficult and forced every domain onto the same release cycle.
However, routing through an orchestrator adds latency and input tokens on every turn.
where follow-up turns are sent directly to the previously selected domain agent, avoiding the orchestrator call
If the conversation changes direction and moves out of scope, the domain agent recognizes this and returns control to the orchestrator, which reroutes within the same turn invisibly to the user.
The Gateway handles this translation by converting client HTTP requests into A2A requests and using the Vercel AI SDK to send text updates and widget payloads to clients over Server-Sent Events (SSE).
Domain teams retained ownership of the instructions, skills, tools, evaluation criteria, and model choices that define their agent behavior.
New features added instructions and tools to every turn, even when unused, increasing input token costs and potentially confusing agents with overlapping or conflicting instructions.
The solution was a skills system that allows agents to dynamically load only relevant instructions and tools for each turn.
turn used approximately 20,000 tokens compared to ~42,000 tokens with all skills loaded (a 50%+ reduction), while the Grocery agent showed approximately 10,000 tokens versus ~25,000 tokens (a 60% reduction)
Exposing APIs directly would force models to interpret low-level interfaces, while encoding all permissions and business rules only in prompts would add context without guaranteeing enforcement.
The model chooses which tool to call, but deterministic code validates each request and enforces permissions and business rules before reaching the underlying service.
The shared MCP server now provides more than 60 tools across public and internal agent workflows.
Domain teams choose which models their agents use, while the platform standardizes how those models are invoked, traced, and protected by fallback behavior.
they evaluated and deployed it, cutting p50 turn latency by 35% with no quality score degradation, followed by another 40% reduction from a subsequent model upgrade
The platform team estimates that providing tracing through shared infrastructure saves approximately one month of observability work for each new agent launch
State management proved critical based on earlier DoorDash agent experiments in 2025, which showed how quickly experiences break down when state is unreliable.
DoorDash centralized them in Managed Agent Services, which provides ADK-compatible APIs.
every shared change must pass common quality checks and release safeguards
Shared infrastructure increases blast radius
the first loads the search-discovery skill while the second loads the cart-ordering skill
final responses may combine prose with interactive UI elements like store or item cards
production operation at DoorDash required distributed tracing, model access abstraction, durable state management, and rollout controls
Their stated principle is to standardize a capability only after multiple domains need it and separate implementations would create reliability or operational problems.
The initial two-month timeline included building the platform itself, so subsequent domains would naturally be faster regardless of platform quality.
the latency gains likely came primarily from model providers rather than DoorDash engineering
- Source 4:
Doordash: Agent Memory System for Personalized Food Ordering and Discovery
Supporting excerpts (26)
The long-term memory layer runs offline batch LLM pipelines that transform order history and behavioral signals into structured memory blocks.
These blocks include dietary preferences, dining patterns, item brand affinities, item taxonomy patterns, store preferences, and cross-channel behavioral patterns.
For users with hundreds of orders, this distills historical engagement into approximately 100+ discrete facts.
The managed agent services layer provides distributed SQL storage with vector search capabilities.
In-session context captures real-time signals about current intent, such as cart contents, active searches, and items viewed or rejected
Conversational memory captures preferences users state directly during conversations
with recency weighting that allows current behavior to override historical patterns
Recipe requests trigger searches against brand and category preferences.
This guarantees independent scaling per signal type, clean access-control boundaries, and domain safety that prevents a grocery agent querying brand preferences from inadvertently surfacing restaurant data.
Extraction and classification uses a dedicated LLM to evaluate raw conversation and isolate durable facts from ephemeral chatter. The extraction prompt serves as a strict policy gate enforcing explicit guardrails around what can be committed to long-term storage.
The agent initiates a tool call to execute a memory extraction job in the background as a fire-and-forget operation, adding zero latency to the live user experience.
Second, a separate LLM call receives the candidates and the original natural-language deletion request with explicit instruction not to remove facts that are merely related but do not match the deletion intent.
Unlike save operations which are fire-and-forget, delete is synchronous so agents can confirm in their reply exactly what was forgotten.
Static embeddings freeze model choices at ingestion time, forcing complete corpus reprocessing when upgrading embedding models.
For bulk ingestion when offline pipelines process millions of users, the system accepts pre-computed embeddings to maximize throughput.
One non-obvious lesson DoorDash highlights is that exclusion is often harder than inclusion.
it actively degrades model reasoning
The team observed this directly: too many competing facts injected at once caused agents to start dropping instructions.
Instead of adding pantry items to shopping lists and letting users remove them, the agent proactively excludes items users already have at home.
Treating memory as an agent-specific feature forces every subsequent team to independently solve the same fundamental problems: query planning, context budgeting, extraction, and deduplication.
analyzed a representative seven-day window comparing sessions backed by consumer memory against baselines with no computed memory
For grocery agents, utilizing full memory profiles drove approximately 24% higher relative checkout conversion rates, 17% increases in average basket size, and 7% reduction in conversational turns
Restaurant assistants achieved approximately 15% higher relative conversion rates on open-ended queries
sessions with memory were 33% less likely to misunderstand user intent and 24% less likely to generate egregiously irrelevant results
The reported improvements reflect a seven-day snapshot during early rollout rather than sustained long-term performance.
The ~33% reduction in intent misunderstanding measured by LLM judge evals introduces potential evaluation bias since LLM judges may favor outputs from LLM systems using richer context.
- Source 5:
DoorDash: Scalable Evaluation Harness for Multi-Agent Conversational AI System
Supporting excerpts (37)
This case study, published in June 2026, focuses specifically on the evaluation infrastructure built to support production deployment of this agentic system.
primarily employee feedback and manual testing that covered known scenarios but missed edge cases and systematic failure modes
Ask DoorDash uses a multi-agent architecture where an Orchestrator agent receives user messages and routes them to specialized domain agents like the Restaurant Discovery Agent or Grocery Shopping Agent.
Each criterion is graded as a binary check, and individual checks aggregate into a session-level score.
dimensions include constraint satisfaction (ensuring recommendations meet explicit requirements like delivery time, budget, and dietary restrictions) and result diversity
each evaluation criterion declares what evidence it depends on, and the builder provides only that slice to the judge
each failed session already carries the criterion it violated, so rubric criteria act as initial issue clusters
DoorDash leverages AI coding agents that inspect failing traces, relevant code paths, recent changes, and prior investigations starting from a failure cluster.
Daily online scoring surfaced a spike in reasoning leakage
Other fixes were prompt updates that stated explicitly what Sonnet had inferred implicitly
re-running the evaluation brought Flash to quality parity with Sonnet within the noise of the harness
the checklist verifies that every item is a relevant ingredient for vegetarian tacos and the subtotal meets the budget constraint
The raw observability data comes from OpenTelemetry instrumentation, with each session becoming a trace stored in ClickHouse.
a conversation simulator where an LLM plays the role of a simulated user, driving the agent through predefined scenarios
the harness uses fixtures: recorded tool payloads that are returned instead of live API calls
A comprehensive evaluation sweep covers approximately 50 scenarios with 8 trials each, producing 400 conversations.
Without simulation, this would require a developer to manually chat with the agent for over 6 hours (at roughly 1 minute per conversation). The simulator reduces this to about 20 minutes
rather repositioned to where it provides maximum leverage: defining rubrics, labeling calibration sets, and auditing judge behavior
The company applied GEPA (presumably a prompt optimization algorithm) to refine the judge
expand from approximately 1 employee-submitted feedback per day to 2,000 auto-graded sessions daily
the same rubric and calibrated judge run in both offline (development) and online (production) environments
If these used separately tuned judges, scores could diverge in ways that are difficult to reconcile, undermining confidence in offline validation as a predictor of production performance.
When fixes are clear, these agents can draft pull requests directly; for prompt or in-context learning changes, they produce diagnoses and proposed changes for human review.
the grocery agent completed tasks but occasionally used system-oriented language in user-facing narration
Offline validation using scenarios most prone to this failure mode showed an 11% reduction in leakage rate.
When Gemini 3.5 Flash was released in mid-May
agents were running on Claude Sonnet 4.6
Initial Flash runs through the harness showed sharp score drops.
Flash formatted some tool parameters differently than Sonnet and interpreted parts of the system prompt that had been implicitly tuned around Sonnet
Some were deterministic guards on tool inputs
a 35% latency reduction with no loss in quality metrics
Agent quality scores improved by 8 points ahead of nationwide launch, with error rates cut nearly in half
judges need transcript views shaped for the specific question being asked
Second, the evaluation environment must be controlled or scores measure noise rather than agent performance.
Third, offline results only matter if they carry to online performance.
A meaningful share of flagged failures are faults in the harness rather than agent issues, typically judge false positives or tracing gaps that provide incomplete views.
the reliance on LLM-as-judge introduces its own potential biases and failure modes that could drift over time
- Source 6:
DoorDash's new AI chatbot lets you order with prompts and photos
Supporting excerpts (4)
instead of having to scroll through restaurants and stores to build a cart
In February, Uber Easts launched an AI-powered
while Instacart has rolled out an AI shopping assistant that grocers can offer to their customers
The chatbot is rolling out on iOS in select regions for restaurant search and grocery shopping, and within DoorDash Reservations.
- Source 7:
DoorDash launches conversational shopping assistant
Supporting excerpts (2)
in-stocks across restaurant and grocery items to help determine its responses
This matters, DoorDash said, because data on menus, prices, hours, delivery distances and inventory change rapidly.
Comments
Start the conversation.
Invited members of the library comment here. Sign in to join the conversation.