Clay AI负责人Jeff Barg谈GTM Agent构建与工程实践
How Clay Builds GTM Agents — Jeff Barg, Head of AI
Clay实战复盘,涵盖Agent架构选型、后训练时机判断及高并发调度细节,对做GTM Agent的工程同学极具参考价值。
Open video on YouTube ↗
在 YouTube 上观看视频 ↗
Clay wants you to get about the same results whether you use its own agent or point Claude Code at Clay. Usage is already split close to 50/50 between Clay’s agent and outside harnesses. In this episode, we chat with Jeff Barg, Head of AI at Clay, about what it takes to build go-to-market infrastructure that any agent can use.
Clay 希望你无论使用其自有代理还是让 Claude Code 对接 Clay,都能获得大致相同的结果。目前,Clay 的代理与外部框架之间的使用量已接近 50/50 平分。在本期节目中,我们与 Clay 的 AI 负责人 Jeff Barg 探讨了构建任何代理均可使用的上市基础设施需要付出哪些努力。
Jeff joined Clay when it acquired Avenue, the ops alerting startup he cofounded. At the time, Clay had about 50 people, and Avenue had five. AI was already a big part of how Clay thought about its product, but nobody there worked on AI. Since then, the business has grown roughly 10x, and the team is up to around 600 people. In September, Clay raised $115 million at a $7.1 billion valuation.
Jeff 在他联合创办的运营警报初创公司 Avenue 被 Clay 收购时加入 Clay。当时,Clay 约有 50 名员工,而 Avenue 有 5 人。AI 已经是 Clay 思考其产品方式的重要组成部分,但当时没有人专门从事 AI 工作。此后,该公司的业务增长了约 10 倍,团队规模扩大到约 600 人。今年 9 月,Clay 以 71 亿美元的估值融资了 1.15 亿美元。
By Jeff’s napkin math, it would cost about $1,500 to check all 40 million companies in Clay’s database against your ideal customer profile with a classifier like TypeSafe’s Jev. Models have been acing Clay’s lead-qualification evals for about a year now. Jeff sees more value in using frontier models for orchestration and deep research. We also talk about why customers hate picking a model, how Clay plans to pick one for them, and why the team still runs its agents on a system it built with BullMQ, without Temporal or LangGraph.
根据 Jeff 的粗略计算,使用类似 TypeSafe 的 Jev 的分类器,将 Clay 数据库中所有 4000 万家公司与你的理想客户画像进行比对,成本约为 1500 美元。模型在 Clay 的潜在客户资格评估中表现优异已有大约一年时间。Jeff 认为,在前端模型用于编排和深度研究方面具有更大的价值。我们还讨论了为什么客户讨厌选择模型、Clay 计划如何为他们选择一个模型,以及为什么团队仍然在其使用 BullMQ 构建的系统上运行其代理,而不使用 Temporal 或 LangGraph。
Jeff tells us what happened when OpenAI called off Clay’s ChatGPT apps launch with two days to go. We get into why customers hated Workflows at first, how agents came to build most workflows, and when post-training pays off. We also talk about why agents still can’t debug other agents, even as Clay’s agent can count its YC customers in about a minute.
Jeff 告诉我们,当 OpenAI 在最后两天取消 Clay 的 ChatGPT 应用发布时发生了什么。我们深入探讨了为什么客户起初讨厌 Workflows、代理是如何开始构建大多数工作流程的,以及何时后训练能带来回报。我们还讨论了为什么代理仍然无法调试其他代理,尽管 Clay 的代理可以在大约一分钟内数出其 YC 客户数量。
Sculptor started as a tool loop. Now it's a coding agent.
Sculptor 最初是一个工具循环。现在它是一个编码代理。
When Jeff took over as Head of AI, one engineer was doing all of Clay’s agent work. He soon left to start his own company. Claude Code changed what Jeff wanted to build. His first launch was Sculptor, which shipped in September 2025 on models from the Sonnet 3.5 era. It ran a set of tools in a loop with a system prompt the team had spent a lot of time tuning. It was great at adding columns but terrible at booking ten qualified meetings.
当 Jeff 接任 AI 负责人时,只有一名工程师负责 Clay 所有的代理工作。他很快离职创办了自己的公司。Claude Code 改变了 Jeff 想要构建的东西。他的首个发布产品是 Sculptor,于 2025 年 9 月上线,基于 Sonnet 3.5 时代的模型。它在循环中运行一组工具,并使用了团队花费大量时间调优的系统提示词。它在添加列方面表现出色,但在预订十个合格会议方面却糟糕透顶。
The evals didn’t catch much. Clay used an LLM to judge which tools Sculptor called. That missed things people actually did with it, like asking it to analyze a table or giving it an enterprise table with millions of rows.
评估未能捕捉到很多问题。Clay 使用 LLM 来评判 Sculptor 调用了哪些工具。这遗漏了人们实际用它做的事情,比如让它分析表格,或者给它一个拥有数百万行的企业级表格。
Jeff took away three lessons. Coding agents are really good at Bash and Python. Sculptor’s tools were too limited to do much by stringing them together. And the agent couldn’t see CRM data or campaign results. So Clay rebuilt Sculptor as a coding agent on the Pi harness. It runs the Clay CLI in a cloud sandbox. A new data layer called Audiences matches records across the CRM and Gong so the agent can see them together.
Jeff 总结了三个教训。编码代理在 Bash 和 Python 方面确实表现出色。Sculptor 的工具过于有限,难以通过简单串联来实现复杂功能。而且代理无法查看 CRM 数据或营销活动结果。因此,Clay 将 Sculptor 重构为基于 Pi 平台的编码代理。它在云端沙箱中运行 Clay CLI。新增了一个名为 Audiences 的数据层,用于匹配 CRM 和 Gong 中的记录,使代理能够同时查看这些数据。
Jump to the Sculptor discussion →
跳转到 Sculptor 讨论 →
Most companies post-train too early
大多数公司在训练后阶段介入得太早
For Jeff’s first eighteen months at Clay, the team talked about training its own models. It only started to look viable in the past couple of months. Jeff sees two ways to bring costs down. First, swap in an off-the-shelf open-weight model, which is already much cheaper than Opus. Then you can post-train a smaller model on your own tools and queries until it does as well as Opus on your tasks.
在 Jeff 加入 Clay 的前十八个月里,团队一直在讨论训练自己的模型。直到过去几个月,这一方案才看起来切实可行。Jeff 认为有两种降低成本的方法。首先,替换为现成的开源权重模型,这已经比 Opus 便宜得多。然后,你可以使用自己的工具和查询对较小的模型进行后训练,直到它在你的任务上达到与 Opus 相当的水平。
Jeff sees companies make two mistakes here. One is trying to beat the frontier models, which is still really hard even in a single domain. The other is starting before you spend enough on inference for the savings to matter. Jeff puts that threshold somewhere between $10 million and $100 million.
Jeff 指出公司在此方面常犯两个错误。一是试图超越前沿模型,即使在单一领域内这也非常困难。二是在推理支出尚未达到节省成本有意义的程度之前就过早开始。Jeff 认为这个阈值大约在 1000 万美元到 1 亿美元之间。
Jump to the post-training discussion →
跳转到后训练讨论 →
$1,500 to score every company in the world
仅需 1500 美元即可为全球所有公司打分
Clay hasn’t put TypeSafe’s Jev into production yet, but Jeff has run the numbers. Clay’s database has about 40 million companies. A LinkedIn page is roughly a thousand tokens, and an ideal customer profile adds about 500 more. Ask a classifier whether each company is a good fit, and the bill for all 40 million comes to around $1,500. Today, most customers qualify a list of maybe 10,000 companies. At these prices, you can start with the entire market.
Clay 尚未将 TypeSafe 的 Jev 投入生产环境,但 Jeff 已经核算过数据。Clay 的数据库包含约 4000 万家公司的信息。一个 LinkedIn 页面大约包含一千个 token,而理想客户画像(ICP)会增加约 500 个 token。让分类器判断每家公司是否匹配,处理全部 4000 万家的费用约为 1500 美元。目前,大多数客户仅对大约 1 万家公司的列表进行资格筛选。按此价格计算,你可以从整个市场起步。
Jeff puts a good enrichment budget at $1 to $10 per qualified lead and $10 to $100 per booked call. He thinks qualification itself is close to solved. Models have been scoring about as high as they can on Clay’s evals for roughly a year. Just about any model from the past year can pull a company’s latest funding round. Frontier models still matter for deep prospecting research and for orchestration, where Jeff says the best plays can be ten to a hundred times as effective as an average one.
Jeff 认为合理的线索丰富预算是每条合格线索 1 至 10 美元,每个预约通话 10 至 100 美元。他认为资格筛选本身已接近解决。在过去一年左右的时间里,模型在 Clay 的评估中得分已达到其极限水平。几乎任何过去一年发布的模型都能获取公司最新的融资轮次信息。前沿模型在深度潜在客户调研和编排方面仍然至关重要,Jeff 表示,在这些场景中,最佳策略的效果可能是平均策略的十到一百倍。
Jump to the Jev discussion →
跳转到 Jev 讨论 →
Customers hate the model selector
客户讨厌模型选择器
Customers complain when they see Clay’s model selector. They can’t check the evals for their use case every time a new model ships, and they shouldn’t have to. Clay is about to launch an automatic router that picks a model for each task. There’s no fancy branding. Finding Apple’s CEO is a very different job from finding the CEO of an obscure local company.
客户看到 Clay 的模型选择器时会抱怨。他们不可能在每次新模型发布时都去检查其对自己用例的评估结果,也不应该被迫这样做。Clay 即将推出一款自动路由器,为每项任务挑选合适的模型。这款产品没有花哨的品牌包装。寻找苹果 CEO 与寻找一家不知名本地公司的 CEO,是完全不同的两回事。
The selector isn’t going away. Agency owners and power users still want control. Everyone else just wants to get on with their work. Clay has to earn their trust before they’ll leave it on auto.
这个选择器不会消失。代理商所有者和高级用户仍然希望拥有控制权。其他人则只想继续自己的工作。在他们愿意将其设置为自动模式之前,Clay 必须先赢得他们的信任。
Jump to the model routing discussion →
跳转到模型路由讨论 →
No Temporal, no LangGraph
无需 Temporal,无需 LangGraph
Clay built most of its agent stack itself. It uses BullMQ to keep agent jobs running, Postgres and ClickHouse for product data, and Snowflake for analytics. Jeff isn’t sure how BullMQ will hold up if usage grows another tenfold, but it’s held up so far. Clay recently shipped 25 to 30 new integrations. Contracts and testing took longer than the engineering work.
Clay 自行构建了其大部分智能体(agent)栈。它使用 BullMQ 来保持智能体任务的运行,使用 Postgres 和 ClickHouse 存储产品数据,并使用 Snowflake 进行数据分析。Jeff 不确定如果使用量再增长十倍,BullMQ 能否承受得住,但到目前为止它表现良好。Clay 最近发布了 25 到 30 个新集成。合同签署和测试工作比工程开发本身花费了更长的时间。
Where Clay did run into trouble was scale. People run an agent per row, so if someone starts a run on a table of 50,000 companies, inference demand spikes all at once. Clay brought in LangSmith to see what was happening. The team also built a way to throttle requests and to pause and resume work when a provider goes down or starts rate-limiting. The harder part is keeping things fair. Someone running a workflow for ten people still needs it to run when an enterprise customer is enriching a million rows.
Clay 遇到麻烦的地方在于扩展性。人们通常按行运行一个智能体,因此如果有人在包含 50,000 家公司的表上启动一次运行,推理需求会瞬间激增。Clay 引入了 LangSmith 来排查问题。团队还构建了一种限流机制,并在提供商宕机或开始限制速率时暂停和恢复工作。更难的部分是保持公平性。当企业客户正在处理一百万行数据的丰富工作时,为十个人运行工作流的请求仍需得到保障。
Jump to the infrastructure discussion →
跳转到基础设施讨论 →
Built for every agent, not just Clay's
为所有智能体打造,而不仅仅是 Clay 的智能体
Clay plans to ship a sandboxed agent that’s free to use any of Clay’s tools and building blocks. Jeff wants someone using Clay from Claude Code to get about the same results. People should be able to use Clay wherever they already work. Usage is already much closer to a 50/50 split between Clay’s agent and outside harnesses than Jeff expected.
Clay 计划推出一个沙盒化智能体,可免费使用 Clay 的任何工具和构建块。Jeff 希望从 Claude Code 使用 Clay 的用户能获得大致相同的结果。人们应该能够在他们已有的工作环境中使用 Clay。目前,Clay 自身智能体与外部框架的使用比例已经非常接近 Jeff 预期的 50/50 分庭抗礼局面。
The push came from inside Clay. Its own go-to-market team lived in Cursor and wouldn’t leave it, so they asked for a CLI. The MCP team switched over to build it, and Clay’s sales team now does deal prep in Codex. So why build a first-party agent at all? Plenty of customers live in the Clay UI and want an agent right there.
这一推动力来自 Clay 内部。其自身的上市营销团队深耕于 Cursor 且不愿离开,因此他们要求提供一个 CLI。MCP 团队转而负责构建该工具,现在 Clay 的销售团队也在 Codex 中进行交易准备。那么,为什么还要构建一个第一方智能体呢?许多客户仍停留在 Clay UI 中,并希望在界面内直接获得一个智能体。
Jump to the agent platform discussion →
跳转到智能体平台讨论 →
Keep building when the plan blows up
当计划崩盘时,继续构建
Jeff thinks it takes more courage to change plans at 600 people than it did at 50. Clay was a launch partner for ChatGPT apps. In the middle of the quarter, Clay put about a quarter of its engineers on the integration for a month. Two days before launch, OpenAI postponed it indefinitely. Clay kept building on the assumption that OpenAI would change its mind. Three or four days later, it did.
Jeff 认为,在拥有 600 名员工时改变计划比在只有 50 人时更需要勇气。Clay 是 ChatGPT 应用的早期合作伙伴。在季度中期,Clay 将约四分之一的工程师投入集成工作长达一个月。在发布前两天,OpenAI 无限期推迟了该计划。但 Clay 仍假设 OpenAI 会改变主意并继续开发。三到四天后,OpenAI 果然改变了决定。
When Clay first showed customers Workflows, they were confused. Some were upset. They wanted their spreadsheet. Now agency owners like it, and a growing share of the work that used to run in tables runs in Workflows. Most workflows are built with the CLI or the agent. CEO Kareem Amin spent five years building Clay when almost nothing was working. Jeff still sees that persistence in the company today.
当 Clay 首次向客户展示 Workflows 功能时,他们感到困惑。有些人甚至感到不满,因为他们想要的是电子表格。如今,代理商所有者喜欢上了它,越来越多原本在表格中运行的工作现在都在 Workflows 中运行。大多数工作流是通过 CLI 或代理构建的。CEO Kareem Amin 花了五年时间构建 Clay,期间几乎没有任何功能能正常运行。Jeff 至今仍能在公司中看到这种坚持精神。
Jump to the ChatGPT apps discussion →
跳转到 ChatGPT 应用讨论 →
Agents still can't debug agents
代理仍然无法调试代理
更进一步:量化金融体系
看懂新闻只是起点——沿量化金融路径,把它变成能交付的工程能力