跳到正文
原文
rohanpaul_ai· @rohanpaul_ai · X·· 3 小时前AI 评分52

Restless 用一条命令让 API 把 agent 当作主要用户

AI 导读

readme 团队推出 Restless,可用 `npx restless init` 一条命令接入 API,记录用户 AI agent 发出的每次请求,并在调用失败时让错误响应直接告诉 agent 如何修复。该团队称其自身文档流量中约 72% 已来自 agent,认为每家公司都应把 agent 视为主要用户,否则 agent 会转而选择能以这种方式访问的工具。

正文 · 原文

“Every company is an API company now, whether they want to be or not.” (Sam Altman)

The @readme team, which built Restless, says ~72% of its own docs traffic is already agents. If your product can’t be reached that way, the agent picks a tool that can.

Their idea is to treat agents as your main users.

Restless is a tool you add to your API by running one command, `npx restless init`.

It records every request your users’ AI agents send, and when a call fails, the error response itself tells the agent how to fix it.

来源:rohanpaul_ai · x.com