DoorDash moved its recommendations to agentic AI
· Do Minh Tuan · Tech Made Simple 💡
Sudeep Das, who leads machine learning at DoorDash, described how the company moved its food recommendations from one-shot predictions to what he calls agentic AI. The old version made a single guess about what you might want and moved on. The new one keeps context, remembers preferences in natural language, and checks the live menu before suggesting anything.
That last part is what I care about. A recommender that checks the actual menu is doing something different from a recommender that predicts what you might like. It is grounding the suggestion in the current state of the world. The example in the write-up is a bakery that has run out of croissants. An old model would happily recommend them because it learned you like croissants. An agent that checks the menu cannot.
The three pieces
Consumer memory is the first. Instead of a sparse set of settings, the system keeps a longer record of what you tend to want: oat milk, no cilantro, quick lunches on weekdays. Natural language is a flexible way to store that, and it is easy to extend without a product team designing a new field for every preference. It is also a privacy question, and I would want to know how a person corrects a wrong memory and what happens when they ask for deletion.
Semantic IDs are the second. DoorDash converts menu items into identifiers using a method called RQ-VAE, short for Residual Quantized Variational AutoEncoder. The jargon is heavy and the idea is simple: similar items get similar IDs, grouped by meaning rather than by keyword. That lets the system treat a new dish as related to ones it already understands, which matters on a menu that changes constantly.
Grounded search is the third, and the least glamorous. It checks the suggestion against live store menus before showing it. Most of the damage in a recommendation system comes from confidently suggesting something unavailable, not from suggesting something slightly off. Removing that failure is worth more than a small ranking improvement.
Where I get sceptical
Agentic is a word that hides a lot of design. A system that remembers you, plans a recommendation and checks inventory is several systems working together, and each one can fail. The memory can be stale. The semantic grouping can put two unrelated dishes together. The inventory check can time out. When that happens, does it fall back to the old ranker, or show an error? I would want the fallback before I trusted the demo.
Personalization that is too confident can also feel claustrophobic. If the app has decided you are a ramen person on Tuesdays, it may stop showing you things you would have discovered. The goal in the original piece is anticipating what you want right now, which is reasonable. The risk is a system that gets very good at predicting your past.
The measurement question matters more than the model. If order completion rises, is that the recommendations, the latency, or the order of the list? Disentangling those is hard, and announcements rarely try. I would want the experiment design, not the percentage.
The developer version
The portable lesson is about context. Do not dump your database into a prompt. Store the small, stable facts about a user somewhere fast, retrieve only the relevant ones when a request arrives, and check live inventory before the model answers. In a Node or React app, that usually means a cache like Redis for profile snippets and a database call for current state. A prompt built from the right three facts is cheaper, faster and more accurate than one built from everything.
A second lesson is about IDs. If your catalogue is large and changes often, a keyword index will keep missing new items. Embedding-based grouping helps, and you do not need the full RQ-VAE machinery to get some benefit. A good text representation of each item plus a nearest-neighbour lookup will carry a small catalogue a long way.
There is also a testing lesson. A system that occasionally recommends an unavailable item needs an evaluation that catches it, not a spot check before launch. Log every recommendation and whether the item was available at the time. That gives you a number you can defend, and it is the kind of metric a product manager can actually use.
What a small business should take from it
For a restaurant or a small shop, the realistic version is not an agent. It is remembering the customer and checking stock before you suggest. A return customer who always orders the same coffee should get one tap. Someone browsing a category should see what is available in it. Those two things beat a clever model recommending sold-out items, and they cost nothing to build.
If you run a marketplace in Vietnam and you are tempted to buy a personalization platform, I would spend on inventory accuracy first. The recommendation is only as good as the availability data behind it. A plain list of what is in stock, updated properly, will outperform a smart ranker working from stale data every time, and it will cost a fraction of the effort.
What I would watch is whether DoorDash says anything about memory correction and opt-out. That is the unglamorous side of remembering customers, and it is where a helpful feature turns into a liability if nobody designed it. The ranking is the interesting engineering. The trust is the harder product.
Written with AI assistance, reviewed and edited by Do Minh Tuan.