, , ,

Sudo Make Me a Sandwich: DoorDash Launches Command-Line Tool to Let AI Agents Order Your Lunch

DoorDash is bridging the gap between software development and food delivery with the launch of a new command-line interface (CLI) tool called “dd-cli.” Currently in a limited beta phase, this tool allows developers to interact with the delivery platform directly through terminal commands and AI agents. By integrating this tool, users can search local merchants, discover promotional deals, and complete the checkout process without ever opening a traditional mobile app or web browser.

The initiative, announced by DoorDash co-founder and Chief Technology Officer Andy Fang, is initially targeted at macOS developers residing in the United States and Canada. Interested developers must sign up for a waitlist to gain early access. The application process prompts developers to share what kinds of custom integrations they plan to build, signaling DoorDash’s interest in seeing how the developer community will leverage this new capability.

While ordering a sandwich via a terminal prompt might seem like a novelty or an inside joke for programmers, the underlying technology represents a significant step forward in “agentic commerce.” By exposing its ordering infrastructure to AI agents, DoorDash is enabling third-party software, custom scripts, and AI models to autonomously handle transactions. This builds upon the company’s existing AI initiatives, which include its proprietary “Ask DoorDash” chatbot and integrations with major large language models like OpenAI’s ChatGPT and Anthropic’s Claude.

The launch playfully nods to classic programmer humor, specifically the famous XKCD comic where a “sudo” command forces a system to make a sandwich. A demonstration of the tool showcased a highly engineered workflow where an AI agent read Slack messages, parsed JSON data, ran Python scripts, and resolved errors just to order three salads. This blend of high-tech automation and everyday convenience highlights how future digital assistants might seamlessly manage real-world errands.

Key Takeaways

  • DoorDash has launched 'dd-cli,' a command-line tool allowing developers and AI agents to search, select, and purchase items directly.
  • The tool is currently in a limited beta for macOS developers in the United States and Canada via a waitlist.
  • This move accelerates the trend of 'agentic commerce,' enabling autonomous AI systems to conduct real-world transactions.

Editor’s Analysis & Impact

DoorDash’s introduction of a command-line interface is more than a quirky nod to developer culture; it is a strategic play to capture the emerging market of agentic commerce. As artificial intelligence transitions from generating text to executing real-world actions, platforms that provide developer-friendly APIs and CLIs will become the default infrastructure for autonomous AI agents. By allowing software to directly query menus and execute checkouts, DoorDash is positioning itself as the primary logistics layer for future AI assistants. This move could spark a new wave of third-party productivity tools, where food and grocery delivery are seamlessly integrated into workspace applications like Slack or project management software. Over the long term, enabling machine-to-machine commerce will likely expand DoorDash’s order volume and lock in tech-savvy ecosystems before competitors can establish similar developer pipelines.

Frequently Asked Questions

Q: What is the DoorDash CLI (dd-cli)?
A: It is a command-line tool that allows developers to interact with DoorDash's platform using terminal commands, enabling AI agents to search for food, find deals, and place orders programmatically.

Q: Who can access the DoorDash CLI beta?
A: Currently, the limited beta is available to macOS developers located in the United States and Canada who sign up for the official waitlist.

Q: What is 'agentic commerce'?
A: Agentic commerce refers to transactions and purchases executed autonomously by AI agents on behalf of human users, streamlining tasks like ordering groceries or meals through automated workflows.

AI Disclosure: This article is based on verified data and official reports. Our Team and AI have cross-referenced every financial detail with primary sources to ensure total accuracy.