是的,现在你可以用命令行点 DoorDash 了
英文标题:Yes, you can now order DoorDash from the command line
DoorDash 推出限量测试版命令行工具 dd-cli,让开发者和 AI Agent 能在终端里搜索店铺、组装购物车并下单。此举意味着 DoorDash 将订餐平台开放给 AI 代理,推动“代理式商务”新模式。开发者可以将其集成到自己的软件与服务中,创建自定义点餐体验。该工具目前面向美国和加拿大的 macOS 开发者通过候补名单提供。
100.7 KB
4.6 KB
201.0 KB
435.1 KB
中文
Sudo make me a sandwich。未来已来!DoorDash 刚刚推出了 DoorDash CLI 的限量测试版,这是一款面向开发者的命令行工具,让您可以直接通过 AI 代理下单 DoorDash。该公司表示,该工具可用于搜索商店、查找优惠和结算。
这款名为“dd-cli”的新工具已向美国和加拿大的 macOS 开发者开放候补名单,DoorDash 联合创始人兼 CTO Andy Fang 在 X 上的一篇帖子 中宣布。DoorDash 已就这一新功能接受置评请求。
这一公告之所以引起大量关注,表面上是因为它颇为滑稽。命令行工具与编程相关,与点午餐毫无关系。运行命令让 AI 代理为您点沙拉或三明治最初会让人觉得有些荒诞。
但 DoorDash CLI 并非玩笑;它展示了代理式商务(agentic commerce)可能会呈现的样子。
通过此举,该公司正将 DoorDash 的点餐平台暴露给 AI 代理,允许开发者为自己的软件和服务添加功能。这意味着,开发者不用再访问 DoorDash 应用,可以自己构建点餐、买生鲜或寻找本地午餐优惠等工具,也可以将这些功能作为搭积木式的模块与其他工具相结合。
DoorDash 也 尝试过通过 iMessage 提供服务,如今又推出了 自有 AI 聊天机器人 “Ask DoorDash”——这两个例子展示了代理式商务的运作方式。它还将服务开放给 AI 聊天机器人,如 OpenAI 的 ChatGPT 和 Claude。
该公司用于申请试用新 CLI 工具的 报名表 中有一栏询问开发者如果被允许参与测试,他们会构建什么。
这次发布带着一点幽默,因为它让人回想起 那个古老的 XKCD 漫画,讲的是程序员将荒唐的任务自动化——比如做三明治。漫画中,程序员说“给我做个三明治”,另一个人回答“什么?你自己做”。于是程序员说“sudo 给我做个三明治”,那个人说“好的”。(这是编程圈的幽默,好吧?)
视频/嵌入内容:X 帖中附带的视频展示了过度工程化的一面 ,它读取 Slack、回忆记忆、解析 JSON、检查菜单结构、运行 Python 脚本、从错误中恢复并计算总价,只是为了点三份沙拉这么简单的事情。随着任务执行,界面显示 “Flibbertigibbeting”,让整件事更加滑稽。
English / 原文
Sudo make me a sandwich. The future has arrived! DoorDash just introduced a limited beta of DoorDash CLI, a command-line tool for developers that lets you order DoorDash directly from your AI agent. The tool can be used to search stores, find deals, and check out, the company says.
Called “dd-cli,” the new tool is open to U.S. and Canadian macOS developers via a waitlist, said DoorDash co-founder and CTO Andy Fang in a post on X. DoorDash was asked for comment about the new feature.
The announcement is getting a lot of attention because, on the face of it, it’s rather funny. Command-line tools are associated with programming, not ordering lunch. An AI agent running commands to order your salad or sandwich can initially feel somewhat absurd.
But the DoorDash CLI isn’t actually a joke; it’s an example of what agentic commerce can look like.
With this move, the company is exposing DoorDash’s ordering platform to AI agents, allowing developers to add functionality to their own software and services. That means instead of visiting DoorDash’s app, developers could build their own tools for ordering food, groceries, or finding local lunch deals, among other things, or use those capabilities as building blocks that are combined with other tools.
DoorDash, too, has experimented with offering its service via iMessage and now has its own AI chatbot, “Ask DoorDash” — offering two examples of how agentic commerce can work. It also exposes its service to AI chatbots, like OpenAI’s ChatGPT and Claude.
The company’s sign-up form for access to the new CLI tool includes a field asking developers what they would build, if allowed into the beta.
The launch has a bit of humor to it, as it recalls that old XKCD comic about programmers automating ridiculous tasks — like making a sandwich. In the comic, a programmer says “make me a sandwich,” and the other person responds, “What? Make it yourself,” so the programmer says “sudo make me a sandwich,” and the other person says “OK.” (It’s programming humor, okay?)
The attached video in the X post leans into the over-engineering angle, as it reads Slack, recalls memories, parses JSON, inspects menu structures, runs Python scripts, recovers from errors, and calculates totals, just to do something as simple as ordering three salads. As the task runs, the interface reads “Flibbertigibbeting,” making the whole thing even funnier.