跳到主内容
@wquguru
精选90SaaStr 博客(RSS)产品与增长

用工单数据生成AI Agent需求与测试用例

Don’t Brainstorm What Your AI Agent Should Do. How Owner Had Its Support Queue Write the Spec

原文
发到 X
推荐理由

给出了从工单到Agent功能清单的完整落地路径,包括聚类方法、优先级判据和测试用例复用机制,读者可直接套用到自己的SaaS产品中。

Owner is at nine figures in revenue, growing triple digits, selling agentic software to manage restaurants. To small SMBs, in essence. So how did they build the Owner Agent? Off their hundreds of thousands of support tickets, to start.

Owner 的年收入达到九位数,以三位数速度增长,向小型中小企业销售用于管理餐厅的智能体软件。那么,他们是如何构建 Owner Agent 的呢?首先,基于其数十万张支持工单。

Owner Agent went GA about two months ago, has handled tens of thousands of conversations, and usage is growing about 30% week over week.

Owner Agent 大约两个月前正式推出(GA),已处理了数万场对话,使用量每周环比增长约 30%。

Daniel Ternyak, Owner’s Head of AI Agents, wrote up how they built it: Building a self-improving agent: Owner Agent.

Owner 的首席 AI 智能体负责人 Daniel Ternyak 撰写了他们如何构建它的过程:《构建自我改进的智能体:Owner Agent》。

(Disclosure: SaaStr Fund is an investor in Owner.)

(披露:SaaStr Fund 是 Owner 的投资方。)

What Owner did

Owner 做了什么

Owner had hundreds of thousands of historical support cases. Each one showed what the restaurant owner asked for, how support handled it, and how long it took.

Owner 拥有数十万份历史支持案例。每一份案例都展示了餐厅所有者提出了什么请求、支持团队如何处理以及耗时多久。

They built an internal tool called Eval Dash to explore those cases and ranked them by how much support time each type took to resolve. When they grouped similar requests together, the hundreds of thousands of tickets came down to about 2,000 distinct operations, things like changing hours, issuing a refund, or updating a menu price.

他们构建了一个名为 Eval Dash 的内部工具来探索这些案例,并根据每种类型所需的解决时间来对其进行排名。当将类似的请求分组在一起时,数十万张工单缩减为约 2,000 项不同的操作,例如更改营业时间、发放退款或更新菜单价格。

Those 2,000 operations did two jobs. They became the roadmap, in priority order by support time saved. And they became the evals the agent is tested against.

这 2,000 项操作承担了两项职能。它们按节省的支持时间优先级排序,成为路线图;同时,它们也成为测试智能体的评估标准(evals)。

Nobody had to guess what restaurant owners wanted the agent to do. Years of support tickets already said so.

没有人需要猜测餐厅所有者希望智能体做什么。多年的支持工单已经给出了答案。

Why it works

为什么有效

A support ticket is about the strongest demand signal a company has. A customer stopped what they were doing and asked for help with something they couldn’t do on their own. That beats a survey or a feature vote.

支持工单是公司拥有的最强需求信号。客户停止了手头的工作,为自己无法独立完成的事情寻求帮助。这比问卷调查或功能投票更有说服力。

Ranking by time to resolve, rather than by ticket count, matters too. It puts the work that costs your support team the most hours at the top of the list, so the agent starts paying for itself early.

按解决时间而非工单数量进行排名也很重要。它将耗费支持团队最多小时数的任务排在列表顶部,从而使智能体能够尽早实现自我盈利。

The evals come almost for free. Knowing whether an agent works, and whether it still works after the next model upgrade, is one of the hardest parts of building one. Most teams write test cases after the fact. Owner’s came from real requests where a person had already produced the right answer.

评估标准几乎是不费吹灰之力得来的。判断一个智能体是否有效,以及在下一个模型升级后是否仍然有效,是构建过程中最困难的部分之一。大多数团队是在事后编写测试用例。而 Owner 的测试用例来自真实请求,其中已有人员提供了正确答案。

Grouping also shows you how big the job really is. Hundreds of thousands of tickets sounds unmanageable. About 2,000 operations is something a team can plan around and finish.

分组还能让你看清这项工作的实际规模。数十万张工单听起来难以管理,但约 2,000 项操作是一个团队可以围绕其规划并完成的工作量。

And customers use it right away, because the first version handles the things they ask for most often. A restaurant owner can change Sunday hours with one sentence between lunch and dinner and approve it on one card.

客户会立即开始使用,因为第一个版本就处理了他们最常请求的事项。餐厅所有者可以在午餐和晚餐之间用一句话更改周日营业时间,并在一张卡片上批准该操作。

The loop after launch

发布后的循环

Owner kept using the same idea after launch.

Owner 在发布后继续沿用这一思路。

An internal system called Owner Agent Insights scores production conversations for capability, completeness, speed and feedback, and tracks how often owners approve or reject each tool. When owners keep asking for something the agent can’t do yet, Insights writes it up as a recommended tool and alerts the team that owns that area in Slack.

一个名为 Owner Agent Insights 的内部系统会对生产环境中的对话进行能力、完整性、速度和反馈评分,并追踪所有者批准或拒绝每个工具的频率。当所有者反复要求代理执行其尚无法完成的任务时,Insights 会将其记录为推荐工具,并通过 Slack 通知负责该领域的团队。

When a conversation fails, Forge, Owner’s internal platform for background coding agents, turns it into an offline eval case, works on a fix, and runs the full test suite. The new case has to pass and stays in the suite.

当对话失败时,Forge(Owner 用于后台编码代理的内部平台)会将其转化为离线评估案例,修复问题,并运行完整的测试套件。新案例必须通过测试并保留在套件中。

The support history gave them the first spec. Real usage keeps adding to it.

支持历史为他们提供了最初的规范。实际使用不断为其增添内容。

How they built so much so quickly

他们如何如此迅速地构建出大量功能

Owner treats the agent as another client of its platform, alongside the dashboard and mobile app. Each product team ships its own capabilities into the agent rather than waiting on a central AI team.

Owner 将代理视为其平台的另一个客户端,与仪表板和移动应用并列。每个产品团队都将自身功能直接交付给代理,而不是等待中央 AI 团队。

As of October 2026, Owner Agent has 241 tools across 27 product areas, from 829 merged pull requests in 25 weeks. The ranked list of operations told each team what to build and in what order.

截至 2026 年 10 月,Owner Agent 拥有涵盖 27 个产品领域的 241 个工具,这些工具来自 25 周内合并的 829 个拉取请求。按优先级排序的操作列表告诉每个团队该构建什么以及构建顺序。

Other things Owner got right

Owner 做对的其他事情

The agent gets the same permissions as the user it’s acting for. If someone can’t change special hours in the dashboard, the agent can’t change them either.

代理拥有与其所代表用户相同的权限。如果某人无法在仪表板中更改特殊营业时间,代理也无法更改。

Every tool is labeled with how costly a mistake would be. Looking up today’s sales is harmless. Closing a store on the wrong day costs a day of revenue, so those actions get an extra confirmation.

每个工具都标注了犯错的成本。查询今日销售额是无害的。但在错误的一天关闭门店会导致一天的收入损失,因此这类操作需要额外的确认步骤。

Every change is shown before it happens. If an owner asks to remove a taco at one location and raise the price of guac at another, the approval screen lists each change on its own line with the before and after, and the owner can approve or reject each one.

所有变更在执行前都会展示出来。如果所有者要求移除一家门店的塔可并提高另一家门店鳄梨酱的价格,审批屏幕会将每项变更单独列在一行,显示变更前后的状态,所有者可以批准或拒绝每一项。

Quality dropped once they passed about 200 tools, because loading every tool on every request filled up the model’s context. Now the agent loads only what a request needs. Raising the price of guac loads 3 menu tools instead of 241.

当他们通过的工具体量超过约 200 个后,质量开始下降,因为每次请求都加载所有工具会耗尽模型的上下文窗口。现在,代理仅加载请求所需的内容。提高鳄梨酱价格只需加载 3 个菜单工具,而非全部 241 个。

When the agent can’t finish a job, a support rep takes over with the full conversation.

当代理无法完成任务时,由支持代表接管并获取完整的对话记录。

How to do this at your company

在你的公司如何实施

You don’t need Owner’s scale to try this.

你不需要达到 Owner 的规模就可以尝试这种方法。

  • Export your support history from Zendesk, Intercom, Gorgias or whatever you use, going back as far as the data is clean.
  • Use an LLM to group tickets into distinct operations, such as “change billing date,” “add a user” or “export a report.” Expect hundreds to low thousands.
  • Rank them by total support time: how often each comes up multiplied by how long it takes to resolve.
  • Build the top 20 first.
  • Turn the resolved tickets for those 20 into test cases. You already know what the right outcome looks like.
  • After launch, score real conversations, send unmet requests to the team that owns that area, and add every failure to the tests.
  • 从 Zendesk、Intercom、Gorgias 或你使用的任何平台导出支持历史记录,回溯至数据保持清洁的最早时间点。
  • 使用大语言模型(LLM)将工单归类为不同的操作,例如“更改账单日期”、“添加用户”或“导出报告”。预计会有数百到数千种。
  • 按总支持时间对其进行排名:即每种操作出现的频率乘以解决所需的时间。
  • 首先构建排名前 20 的工具。
  • 将解决那20个工单的过程转化为测试用例。你已经知道正确的结果应该是什么样的。
  • 上线后,对真实对话进行评分,将未满足的请求发送给负责该领域的团队,并将每次失败都加入测试中。

Most AI agent roadmaps start from guesses. Owner started from what customers had already asked for, ranked by what it cost to help them. If you’re about to plan your own agent, start with your support tickets.

大多数AI智能体路线图始于猜测。Owner从客户已经提出的请求出发,并根据帮助他们的成本进行排序。如果你正准备规划自己的智能体,请从你的支持工单开始。

Read the full write-up from the Owner team: building.owner.com/self-improving-agent

阅读Owner团队的完整文章:building.owner.com/self-improving-agent

更进一步:量化金融体系

看懂新闻只是起点——沿量化金融路径,把它变成能交付的工程能力

进入量化体系 →

相似阅读

关联信息,但可能不是同一事件