As AI agents evolve beyond writing code toward handling everyday tasks for people, the infrastructure required to keep them on track must keep pace. And that’s why food delivery giant DoorDash is rolling out a new terminal tool that lets agents place real orders on its platform.Andy Fang, DoorDash’s co-founder and CTO, took to X this week to announce the new command-line interface (CLI) dubbed “dd-cli,” available for macOS developers in the US and Canada via a waitlist now.In short, the new CLI gives developers a direct way to wire DoorDash ordering into whatever agent they’re building. They could, for example, create a personal assistant and use dd-cli to let that assistant search nearby restaurants, compare prices, add items to a cart, and pay — all with a single command.The DoorDash “dd-cli” in action“A big milestone”: Letting agents go it aloneIt’s worth noting that DoorDash already lets AI help people shop through a Claude connector, a ChatGPT integration, and its own in-app “Ask DoorDash” assistant. In each case, a person stays in the loop, reviewing an order before it goes through. The CLI removes that step, setting up DoorDash to serve not just human customers navigating an app, but autonomous software acting entirely on someone else’s behalf.Today we're opening up the DoorDash CLI in limited beta.`dd-cli` lets you order DoorDash directly from your agent: search stores, find the best deals, check out, and more.Early access for US/Canadian macOS developers by waitlist. Excited to see what folks build! pic.twitter.com/rSFhjJnvjJ— Andy Fang (@andyfang) July 15, 2026While this is no doubt great news for developers, insofar as their agents can now act without waiting for approval on each purchase, the move is already sparking debate about whether it is actually good for DoorDash’s bottom line.On X, Gergely Orosz — a.k.a. the Pragmatic Engineer — comments that he’s surprised that DoorDash has decided to go this route, given that food delivery is already a very low-margin business. They make money by owning the full “end-to-end customer relationship,” often involving selling ads.“It’s why these services […] never offer APIs for devs to build [their] own apps!” Orosz explains.“Right now these companies are in a delicate balance — they own the end relationship with the customer and being disintermediated would be a bad thing.”Dax Raad, creator of popular open-source coding agent OpenCode, agrees with that broad assertion, noting that the DoorDash CLI marks a “big milestone” in the agentic AI race. “Right now these companies are in a delicate balance — they own the end relationship with the customer and being disintermediated would be a bad thing,” he writes on X.The long and short of all this, Raad argues, is that the customer no longer uses the company’s app or goes through its flows, all of which are “designed to make things stickier and increase revenue.”However, Raad goes on to suggest that there is just as real a risk if DoorDash doesn’t act now. If agent-led ordering becomes the norm, refusing to offer a sanctioned way in doesn’t stop agents reaching DoorDash — it just means DoorDash has no say in how they do it, whether that’s a competitor capturing the order instead, or developers building their own unsanctioned workarounds to get there.“If there is a real paradigm shift happening, then they’re dead if they don’t offer this,” he notes. “If there is a real paradigm shift happening, then they’re dead if they don’t offer this.”Follow the moneyThe announcement lands just days after the Linux Foundation confirmed the operational launch of the X402 Foundation, an open governance body for “internet-native payments” between agents, APIs, and applications. Backed by roughly 40 members, including Google, Coinbase, Mastercard, Visa, Stripe, and Shopify, x402 lets one piece of software pay another for access to something the moment it needs it, without a human setting up an account or a subscription in advance.Even though they solve different problems, both pieces are part of the same shift: the infrastructure being built specifically for AI agents to transact on people’s behalf. While x402 is about enabling an agent to pay a merchant with whom it has no existing relationship, the DoorDash CLI assumes the opposite: a consumer who already has an account and a saved payment method, with the agent simply reaching that existing relationship directly.It’s one early example of that approach, and it’s unlikely to be the last.The post “They’re dead if they don’t offer this”: DoorDash’s CLI for agents may be out of necessity appeared first on The New Stack.