Klaviyo CEO:全员L3、Dark Factory与AI代理构建系统
Klaviyo’s CEO on Building at $1.5B With Agents: “Dark Factory,” Composer, and Why Every Single Employee Had to Hit L3 by June
给产品与增长从业者:一套可照搬的AI产品构建系统——L1/L2/L3全员分级、Dark Factory的代理协作流程、教练层调优,以及“问代理缺什么”的迭代思路,今天就能用。
Klaviyo co-founder and co-CEO Andrew Bialecki came to SaaStr AI to walk through how a 2,300-person public company builds AI products. Not the vision deck. The actual build system.
Klaviyo 联合创始人兼联合 CEO Andrew Bialecki 来到 SaaStr AI,分享一家拥有 2300 名员工的上市公司如何构建 AI 产品。不是愿景幻灯片,而是实际的构建系统。
Klaviyo won B2B for e-commerce with one insight: instead of showing merchants how many emails they sent and how many got opened, connect to the cart and to Shopify and show them the campaign made $18,372. Merchants still post those screenshots on LinkedIn years later. Changing what the dashboard reported took Klaviyo to roughly 80% share in the Shopify ecosystem, one of the only IPOs in the 2023 cohort, and the most beloved app I’ve come across in years. Talk to e-commerce merchants and they like a lot of tools. They love Klaviyo.
Klaviyo 凭借一个洞察赢得了电商 B2B 市场:不向商家展示发送了多少封邮件、有多少被打开,而是连接到购物车和 Shopify,向他们展示活动带来了 18,372 美元的收入。多年后,商家仍在 LinkedIn 上发布这些截图。改变仪表盘报告的内容,让 Klaviyo 在 Shopify 生态系统中占据了约 80% 的份额,成为 2023 年少数成功 IPO 的公司之一,也是我多年来遇到的最受喜爱的应用。与电商商家交谈,他们喜欢很多工具,但他们热爱 Klaviyo。
Now all of it has to be rebuilt for agents.
现在,这一切都必须为智能体重新构建。
Klaviyo did $370.6M in Q2 ’26, up 26%, with 205,000+ customers and full-year guidance raised to $1.526B to $1.534B. Composer, the marketing agent Andrew describes below, hit 95,000+ users in its first month, about a quarter of them coming back weekly, with credit consumption growing 30% week over week. The first working prototype of that agent was built over a single weekend by other agents.
Klaviyo 在 2026 年第二季度实现了 3.706 亿美元的收入,同比增长 26%,拥有超过 20.5 万客户,并将全年指引上调至 15.26 亿至 15.34 亿美元。Andrew 下面描述的营销智能体 Composer 在第一个月就吸引了超过 9.5 万用户,其中约四分之一每周回访,积分消耗每周增长 30%。该智能体的第一个可用原型是由其他智能体在一个周末内构建的。
Andrew’s Top Takeaways
Andrew 的核心要点
- Every employee has to be “L3” or they don’t survive this era. Klaviyo defined levels of AI autonomy the way self-driving cars are defined. L1 is using AI to search. L2 is spinning up a session and running an agent. L3 is constantly running multiple sessions or a team of agents. Everyone had to be L3 by the end of June, including PMs, designers, sales and marketing. Everyone commits code, from Andrew down to the summer interns.
- Use teams of agents to build your agents. Klaviyo’s internal system, “Dark Factory,” takes a prompt, acts as the PM, writes the specs, decomposes the problem into engineering subsystems, writes contractual API interfaces between them, then runs subagents against each piece. It builds through the weekend and interrupts with questions when requirements are ambiguous.
- The LLM is a great general athlete. The harness is the coaching. Klaviyo treats the base model like an athletic high schooler who could play any sport well. To make Composer great at marketing specifically, they feed it live signal on how consumers across the entire Klaviyo network are responding, and a “coach” agent scores every proposal on predicted engagement and revenue before it ships.
- Agents are power users on day one, and they sit to the right of your best human users. Software has a power law of user sophistication: a few experts, a long tail of novices who have an hour a week. Agents skip the curve. Onboarding matters less. What matters is what the agent asks you to build next.
- Headless is the default now, so your product is infrastructure. Anything a human used to log into should be treated as infrastructure, which means it needs APIs. Klaviyo is building a path to sign up, configure and pay without ever touching the UI, with a dedicated engineer whose only mission is that experience.
- 每位员工都必须达到“L3”水平,否则无法在这个时代生存。Klaviyo 像定义自动驾驶汽车一样定义了 AI 自主性的级别。L1 是使用 AI 进行搜索。L2 是启动会话并运行智能体。L3 是持续运行多个会话或一组智能体。到 6 月底,每个人都必须达到 L3,包括产品经理、设计师、销售和营销人员。从 Andrew 到暑期实习生,每个人都提交代码。
- 使用智能体团队来构建你的智能体。Klaviyo 的内部系统“Dark Factory”接收提示词,充当产品经理,编写规格说明,将问题分解为工程子系统,在它们之间编写契约式 API 接口,然后针对每个部分运行子智能体。它会在周末进行构建,并在需求不明确时打断并提出问题。
- LLM 是一位出色的全能运动员。框架是教练。Klaviyo 将基础模型视为一名运动天赋出众的高中生,可以擅长任何运动。为了让 Composer 在营销方面表现出色,他们向其提供关于整个 Klaviyo 网络中消费者如何反应的实时信号,并且一个“教练”智能体在每次提案发布前根据预测的参与度和收入对其进行评分。
- 智能体从第一天起就是高级用户,它们位于你最好的真人用户的右侧。软件存在用户熟练度的幂律分布:少数专家,以及大量每周只有一小时时间的初学者。智能体跳过了这条曲线。入职培训变得不那么重要。重要的是智能体要求你接下来构建什么。
- 无头模式现在是默认,所以你的产品就是基础设施。任何人类过去需要登录使用的东西都应被视为基础设施,这意味着它需要API。Klaviyo正在构建一条无需接触用户界面即可注册、配置和付费的路径,并配备一名专门工程师,其唯一使命就是优化该体验。
1. The L1/L2/L3 Mandate
1. L1/L2/L3 指令
The framework is borrowed from levels of driving autonomy, and it applies to every function.
该框架借鉴了驾驶自动化的分级,适用于所有职能。
- L1: I use it to search.
- L2: I spin up a session and run an agent.
- L3: I’m constantly running multiple sessions or a team of agents, decomposing a problem into pieces, and validating the output.
- L1:我用它来搜索。
- L2:我启动一个会话并运行一个智能体。
- L3:我持续运行多个会话或一个智能体团队,将问题分解为多个部分,并验证输出。
Klaviyo told 2,300 people to be at L3 by the end of June. Andrew says there was very little pushback, even though the slope is steep. His argument to the team wasn’t about Klaviyo. It was about them: very few people are going to get to L3 in the next year or two, and if you can put a team of agents to work, decompose a problem, and check and validate the output, you’ll be enormously successful in this next era whether you stay at Klaviyo or not.
Klaviyo要求2300名员工在6月底前达到L3水平。Andrew表示,尽管难度很大,但几乎没有遇到阻力。他对团队的理由并非关于Klaviyo,而是关于他们自身:未来一两年内很少有人能达到L3,如果你能让一个智能体团队工作、分解问题并检查和验证输出,无论你是否留在Klaviyo,你都会在这个新时代取得巨大成功。
The average PM at Klaviyo who was writing wireframes and specs pre-AI now has to hit L3. That’s a job redefinition applied to an entire org at once, not a tooling rollout.
Klaviyo中平均水平的项目经理在AI时代之前编写线框图和规格说明,现在必须达到L3。这是对整个组织的一次性岗位重新定义,而非工具部署。
2. Dark Factory: Agents That Build Agents
2. 黑暗工厂:构建智能体的智能体
The name comes from lights-out manufacturing. You keep the lights on in a factory because humans are the ones fixing the machines. Automate enough of it and you turn the lights off, because the machines don’t need them.
这个名字来源于熄灯制造。工厂保持灯亮是因为人类需要修理机器。当自动化程度足够高时,你就可以关灯,因为机器不需要灯光。
Klaviyo started building Dark Factory last fall for a specific reason. Their early agent code looked like most agent code looks: prompts built one at a time, stacked on top of each other, an unmaintainable mess.
Klaviyo去年秋天开始构建黑暗工厂,原因很具体。他们早期的智能体代码看起来像大多数智能体代码:提示词逐个构建,层层堆叠,难以维护。
The loop works like this. You give Dark Factory a prompt, through a standalone repo or through Slack. It acts as the PM and writes out specifications. It decomposes the problem into engineering subsystems. It writes actual contractual API interfaces between those subsystems. Then subagents build against each contract.
这个循环是这样的。你通过独立仓库或Slack给黑暗工厂一个提示词。它扮演项目经理的角色,编写规格说明。它将问题分解为工程子系统。它编写这些子系统之间的实际契约式API接口。然后子智能体根据每个契约进行构建。
For Composer, that decomposition produced an agent for creative and design that pulls from Canva and Figma and your own assets, an agent for orchestration that decides which segment gets what and when, and an agent for analysis that predicts what the campaign will produce.
对于 Composer 来说,这种分解产生了一个用于创意和设计的代理,它从 Canva、Figma 和您自己的资产中获取素材;一个用于编排的代理,它决定哪个部分获得什么内容以及何时获得;以及一个用于分析的代理,它预测营销活动将产生什么结果。
Andrew’s strongest recommendation from the session: the clear contracts and interfaces between parts of the build are what make it work. They’re also what makes the human code review survivable at the end, because you’re not reading a tangled mess, you’re reading a system that’s laid out.
Andrew 在会议中给出的最强烈建议是:构建各部分之间清晰的契约和接口是使其运作的关键。这也是让最终的人工代码审查变得可承受的原因,因为你阅读的不是一团乱麻,而是一个布局清晰的系统。
- It runs for the whole weekend. Klaviyo reviews progress every Friday, and a new idea doesn’t wait for the next sprint. It goes into Dark Factory Friday afternoon and there’s something to look at Monday. The first Composer prototype was one weekend’s run.
- Human-in-the-loop is continuous, not front-loaded. Instead of an all-in-one plan mode where every decision surfaces up front, Dark Factory raises the flag when it hits something uncertain. Across Friday, Saturday and Sunday you get a stream of small questions: your requirements weren’t clear here, specify this harder. Andrew thinks that’s how software gets built going forward, and it maps to how a real product review works with humans.
- 它整个周末都在运行。Klaviyo 每周五审查进度,新想法不必等待下一个冲刺。它在周五下午进入 Dark Factory,周一就有东西可看。第一个 Composer 原型就是一个周末的运行成果。
- 人在回路中是持续进行的,而不是前置的。Dark Factory 不是那种所有决策都提前呈现的一体化计划模式,而是在遇到不确定的事情时举起旗帜。在周五、周六和周日,你会收到一连串小问题:你的需求在这里不明确,请更具体地说明。Andrew 认为这就是未来软件构建的方式,而且这与真实产品审查中与人类协作的方式相符。
3. Tom Brady and the Coaching Layer
3. 汤姆·布雷迪与教练层
Andrew’s mental model for the base model: treat it like a very athletic middle schooler or high schooler. Good at a lot of sports. Not yet great at one.
Andrew 对基础模型的思维模型是:把它当作一个运动能力很强的初中生或高中生。擅长很多运动,但还没有一项特别出色。
Tom Brady got drafted to play baseball for the Montreal Expos. He might have had a fine career there. What made him great at football was years of coaching and tailoring: film of Joe Montana, and the specific drills you run to be a great quarterback.
汤姆·布雷迪曾被蒙特利尔博览会队选中打棒球。他本可以在那里拥有不错的职业生涯。但让他在橄榄球上变得伟大的,是多年的教练和定制训练:乔·蒙塔纳的比赛录像,以及为了成为伟大四分卫而进行的特定训练。
The agent equivalent at Klaviyo is two things layered on the harness.
在 Klaviyo,代理的等价物是在框架上叠加的两层东西。
- A proprietary data feed. Composer gets real-time signal on how consumers across all of Klaviyo’s businesses are responding right now. That’s the film room, and a competitor can’t prompt their way to it.
- A coach that scores the work. Every time Composer proposes a campaign, it checks against a coaching agent that returns a numerical score for predicted engagement and revenue, plus feedback on how to tune it. The agent doesn’t ship its first idea.
- 专有数据流。Composer 能实时获取 Klaviyo 所有业务中消费者当前反应情况的信号。这就是录像室,竞争对手无法通过提示词获得这些数据。
- 一个对工作进行评分的教练。每次 Composer 提出一个营销活动时,它都会对照一个教练代理进行检查,该代理会返回一个针对预测参与度和收入的数值评分,以及如何调整的反馈。代理不会直接发布它的第一个想法。
An agent product built on a general model with no domain-specific feedback loop is a very athletic high schooler with no coaching staff.
一个基于通用模型构建但没有领域特定反馈循环的代理产品,就像一个运动能力很强但没有教练团队的高中生。
4. Your Agents Are Your Most Advanced Users
4. 你的代理是你最先进的用户
Normal software has a power law of user sophistication. A few advanced users you put on a customer panel, and a very long tail of novices. Klaviyo has plenty of customers where one person has an hour or two a week for the software and that’s the whole budget, no matter how good the product is.
普通软件的用户熟练度遵循幂律分布。少数高级用户会被你纳入客户咨询委员会,而绝大多数是新手长尾。Klaviyo 有很多客户,其中只有一个人每周花一两个小时使用该软件,这就是全部预算,无论产品有多好。
Agents break that distribution. They start as power users and, in Andrew’s framing, sit to the right of your best humans.
智能体打破了这种分布。它们一开始就是高级用户,用安德鲁的话说,它们位于你最好的人类用户的右侧。
- Onboarding matters less. Agents onboard themselves off good documentation, plus whatever hinting you provide. They go 0 to 60 much faster than any human user.
- Ask your agent what functionality is holding it back. This is the most specific idea in the session. Klaviyo has been running Composer and asking it what it can’t do.
- 入职培训变得不那么重要。智能体通过良好的文档以及你提供的任何提示来自我入职。它们从零到六十的速度比任何人类用户都要快得多。
- 问问你的智能体,是什么功能阻碍了它。这是本次会议中最具体的想法。Klaviyo 一直在运行 Composer,并询问它自己无法做什么。
更进一步:量化金融体系
看懂新闻只是起点——沿量化金融路径,把它变成能交付的工程能力