DoorDash CLI tool reveals the mechanics of AI commerce
DoorDash has launched a command-line tool allowing AI agents to order food, signalling a shift toward automated "agentic commerce" that European tech firms will soon have to accommodate.
DoorDash has introduced a limited beta of a command-line interface that allows developers to order food directly through AI agents. The tool, called "dd-cli", is open to macOS developers in the US and Canada via a waitlist, according to co-founder and CTO Andy Fang. Users can utilize it to search stores, locate deals, and complete checkouts without ever opening a traditional application.
On the surface, the launch is a deliberate nod to a classic programming joke about using the "sudo" command to force a computer to make a sandwich. A video demonstrating the feature leans into this absurdity, depicting an AI agent parsing JSON, running Python scripts, and calculating totals just to order three salads.
Beneath the humor, however, lies a significant shift in how digital commerce is evolving. DoorDash is effectively exposing its core transactional platform to AI agents rather than human users. This concept, known as agentic commerce, treats the delivery service as a set of building blocks that developers can weave into their own software.
For European tech companies and investors, this North American experiment offers a clear preview of coming platform infrastructure requirements. As AI assistants from firms like OpenAI and Anthropy gain the ability to execute complex, multi-step tasks, consumer businesses will need to adapt. If an AI agent cannot read a menu or process a payment on behalf of a user, that business loses the transaction.
DoorDash has been laying the groundwork for this transition. The company previously integrated its services into iMessage, launched an AI chatbot named "Ask DoorDash," and made its platform accessible to OpenAI’s ChatGPT and Claude. The new CLI tool is the most direct attempt yet to turn a consumer app into a background utility for software agents.
The shift from graphical user interfaces to command-line and API-driven transactions represents a fundamental change in the digital economy. European retailers and service platforms will face increasing pressure to strip away visual interfaces and offer raw, accessible data endpoints. DoorDash’s beta program is currently asking developers exactly what they intend to build with the tool. Their answers will likely dictate how automated software will manage everyday consumer spending in the near future.