How I AI - Stripe 如何构建“小助手”——每周通过 Slack 反应推送 1300 个拉取请求的 AI 编码代理 | 史蒂夫·卡利斯基(Stripe 工程师) 封面

Stripe 如何构建“小助手”——每周通过 Slack 反应推送 1300 个拉取请求的 AI 编码代理 | 史蒂夫·卡利斯基(Stripe 工程师)

How Stripe built “minions”—AI coding agents that ship 1,300 PRs weekly from Slack reactions | Steve Kaliski (Stripe engineer)

本集简介

Steve Kaliski is a software engineer at Stripe who has spent the past six and a half years building developer tools and payment infrastructure. He’s part of the team that created “minions”—Stripe’s internal AI coding agents, which now ship approximately 1,300 pull requests per week with minimal human intervention beyond code review. In this episode, Steve demonstrates how Stripe engineers activate development work from Slack and leverage cloud-based development environments for parallel agent workflows, and demos machine-to-machine payments where AI agents transact autonomously with third-party services. What you’ll learn: How Stripe’s “minions” write 1,300 pull requests per week with minimal human intervention Why a good developer experience for humans creates better outcomes for AI agents The critical role of cloud development environments in unlocking AI-powered engineering velocity The machine payment protocol that lets AI agents spend money to accomplish tasks The code review strategy for handling thousands of agent-written PRs Why non-engineers at Stripe are starting to use minions to ship code The future of software businesses built primarily for agent consumers — Brought to you by: Optimizely—Your AI agent orchestration platform for marketing and digital teams Rippling—Stop wasting time on admin tasks, build your startup faster — In this episode, we cover: (00:00) Introduction to Steve (02:39) Stripe’s minions and their effect on Stripe as a whole (04:42) Why activation energy matters more than execution (05:44) What is a minion? The technical architecture (06:52) Demo: Activating a minion from Slack with an emoji (09:04) Why good developer experience benefits both humans and agents (11:22) Walking through the agent loop and system prompts (13:42) Why Stripe chose Goose as their agent harness (16:00) The role of Stripe’s developer productivity team (17:15) Why cloud environments unlock multi-threaded AI engineering (21:14) One-shot prompting: from Slack to shipped PR (22:04) How Stripe handles code review for 1,300 AI-written PRs weekly (23:44) Non-engineers using minions across the company (24:53) Demo: Planning a birthday party with Claude and machine payments (32:15) Quick recap (35:08) The future of ephemeral, API-first businesses for agents (36:36) Lightning round and final thoughts — Detailed workflow walkthroughs from this episode: • How Stripe's AI 'Minions' Ship 1,300 PRs Weekly from a Slack Emoji: https://www.chatprd.ai/how-i-ai/stripes-ai-minions-ship-1300-prs-weekly-from-a-slack-emoji • How to Build an Autonomous AI Agent That Pays for Services to Complete Tasks: https://www.chatprd.ai/how-i-ai/workflows/how-to-build-an-autonomous-ai-agent-that-pays-for-services-to-complete-tasks • How to Automate Code Generation from a Slack Message into a Pull Request: https://www.chatprd.ai/how-i-ai/workflows/how-to-automate-code-generation-from-a-slack-message-into-a-pull-request — Tools referenced: • Goose (AI agent harness): https://github.com/block/goose • Claude Code: https://claude.ai/code • Cursor: https://cursor.sh/ • VS Code: https://code.visualstudio.com/ • Slack: https://slack.com/ • Browserbase: https://browserbase.com/ • Parallel AI: https://www.parallel.ai/ • PostalForm: https://postalform.com/ • Stripe Climate: https://stripe.com/climate — Other references: • Stripe machine payments: https://docs.stripe.com/payments/machine • Blue-Green Deployment: https://martinfowler.com/bliki/BlueGreenDeployment.html • Git worktrees: https://git-scm.com/docs/git-worktree — Where to find Steve Kaliski: Twitter: https://twitter.com/stevekaliski LinkedIn: https://www.linkedin.com/in/steve-kaliski-079a7710/ — Where to find Claire Vo: ChatPRD: https://www.chatprd.ai/ Website: https://clairevo.com/ LinkedIn: https://www.linkedin.com/in/clairevo/ X: https://x.com/clairevo — Production and marketing by https://penname.co/. For inquiries about sponsoring the podcast, email jordan@penname.co.

双语字幕

仅展示文本字幕,不包含中文音频;想边听边看,请使用 Bayt 播客 App。

Speaker 0

在Stripe,我们每周大约有1300个拉取请求,除了审查之外,没有任何人工协助。

At Stripe, we're landing about 1,300 PRs that have no human assistance besides review per week.

Speaker 0

我们工作的起点很多,可能是在Google文档里规划新功能,或者收到一个Jira工单,也可能是在Slack里讨论事情。

A lot of where our work begins is it could be in a Google Doc as we're planning a new feature, or maybe a Jira ticket comes in, or we're talking about something in Slack.

Speaker 0

我可以点击一个表情符号,然后菜单会尝试用Stripe可用的所有工具一次性解决那个提示。

I can click an emoji, and then the menu will sort of attempt to one shot resolving that prompt using all the tools that are available at Stripe.

Speaker 1

在大型组织中,从好点子到落地,中间会有很多摩擦。

When you're in larger organizations, there's so much friction that can come between a good idea and getting it into the world.

Speaker 0

我不仅能有一个这样的,还能同时运行很多个,在隔离的环境中并行,同时进行独立的修改。

Not only can I have one of these, but I could have many, many of these running in parallel in isolated environments, making isolated changes all at the same time?

Speaker 1

你怎么完成所有这些代码审查的?

How are you getting all this code review done?

Speaker 0

无论是Steve写的文本,还是Steve的机器人写的,你仍然需要那个CI环境来提供信心,确保被修改的代码是安全的,并且在部署时采用蓝绿部署,以便可以回滚。

Whether the text has been written by Steve or the text has been written by Steve's robot, you still want that CI environment that's providing confidence that the code that's being changed is safe and that as it rolls out, we're having blue green deployments so you can roll back to.

Speaker 0

所有这些都至关重要,与代码的作者是谁无关。

All that is super critical independent of the nature of the authoring of it.

Speaker 1

不管这些笔记本电脑配置多高,你开三四个工作树之后,风扇就开始像飞机起飞一样响。

No matter how juiced these laptops are, you get three or four work trees in and, like, it starts to sound like an airplane taking off.

Speaker 1

这真不行。

It's no good.

Speaker 1

所以我觉得在这种多线程的智能体工程工作中,云端环境和虚拟环境对提升开发速度特别重要。

And so I do think on this multithreading agentic engineering work, cloud environments and virtual environments are so important to unlock velocity.

Speaker 1

欢迎回到《How I AI》节目。

Welcome back to How I AI.

Speaker 1

我是克莱尔·沃,产品负责人,也是AI爱好者,我的使命是帮你更好地使用这些新工具。

I'm Claire Vo, product leader and AI obsessive here on a mission to help you build better with these new tools.

Speaker 1

今天,我们有Stripe的软件工程师史蒂夫·卡利斯基,他会向我们展示Stripe团队如何利用各种智能体来开展工程工作。

Today, we have Steve Kaliski, a software engineer at Stripe, and he's gonna show us how the Stripe team deploys a bunch of opinions to do their engineering work.

Speaker 1

我们还会看到一个智能体花五美元多一点点,用Claude Code来策划一个生日派对。

We'll also watch an agent spend a little bit over $5 to plan a birthday party all in Claude code.

Speaker 1

我们开始吧。

Let's get to it.

Speaker 1

本期节目由 Optimizely 赞助播出。

This episode is brought to you by Optimizely.

Speaker 1

大多数营销团队不缺创意,缺的是时间。

Most marketing teams aren't short on ideas, but what they are short on is time.

Speaker 1

而 Optimizely Opal 正好能帮你把时间省出来。

And that's exactly what Optimizely Opal gives you back.

Speaker 1

它用 AI 智能体来处理真实的营销工作流,比如创建内容、检查合规性、生成实验变体、个性化用户体验、分析页面做 GEO,甚至处理审批和报告这类任务。

With AI agents that handle real marketing workflows, you know, like creating content and checking compliance, generating experiment variations, personalizing user experiences, analyzing pages for GEO, even tasks like approvals and reporting.

Speaker 1

它是面向营销和数字团队的 AI 智能体编排平台,能无缝接入你已经在用的工具,处理那些枯燥的琐事,并确保一切符合品牌调性。

It's your AI agent orchestration platform for marketing and digital teams, plugging seamlessly into the tools you already use, handling the boring busy work, and keeping everything on brand.

Speaker 1

这样,营销人员就能腾出更多时间去做真正该做的事。

That leaves marketers with more time to do your actual job.

Speaker 1

想看看 Opal 能为你的团队自动化哪些工作,可以免费报名参加 Optimizely 的企业级智能体 AI 工作坊。

See what Opel can automate for your team by signing up for a free enterprise agentic AI workshop with Optimizely.

Speaker 1

更多信息请访问 optimizely.com/howiai。

Find out more at optimizely.com/howiai.

Speaker 1

现场参加的话,你会免费得到一副Ray-Ban Meta AI眼镜。

Attend live and you'll get a free pair of Ray Ban Meta AI glasses.

Speaker 1

Steve,能请你来《How I AI》我特别激动,因为我在时间线上看到了Stripe的小黄人。

Steve, I'm so excited to have you on How I AI because I saw the Stripe minions on the timeline.

Speaker 1

第一,品牌做得太棒了。

And one, exceptional branding.

Speaker 1

别告我们啊。

Don't sue us.

Speaker 1

第二,我特别喜欢你们Stripe团队和你一起,不只是做了一个智能体,而是在整个公司里都搞了一堆小黄人,能帮忙做开发工作。

And two, I just love the idea that you and your colleagues in the team at Stripe have created not just one agent, but minions all across the company that can help with development work.

Speaker 1

我也特别期待你给我们展示一下,这在你日常工作中是怎么帮到你的。

And I'm so excited for you to show us how that helps you in your day to day here.

Speaker 1

所以,欢迎来到《How I AI》。

So welcome to How I AI.

Speaker 0

谢谢你的邀请。

Thank you for having me.

Speaker 1

那你跟我说说,小黄人(minions)在Stripe对你个人以及整个Stripe团队产生了什么影响?

So tell me, what has been the effect that minions have had on you personally at Stripe and at the Stripe team as a whole?

Speaker 0

好的。

Sure.

Speaker 0

就我个人来说,举个例子,我不记得上次在文本编辑器里开始工作是什么时候了。

So, you know, for me personally, think sort of anecdotally, I don't remember the last time I I started work in the text editor.

Speaker 0

我确实经常用到它。

So I do end up there often.

Speaker 0

但我发现,我们很多工作的起点,可能是在Google文档里规划新功能,或者收到一个Jira工单,或者在Slack里讨论事情。

But, you know, what I found is that, you a lot of where our work begins is, you know, it it could be in a in a Google Doc as we're planning a new feature, or maybe a Jira ticket comes in, or we're talking about something in Slack.

Speaker 0

这些更像是开始工作的自然入口。

And those are sort of, like, the more natural entry points to starting work.

Speaker 0

然后,当真正需要动手干活或做最后调整的时候,你才会进入文本编辑器。

And then you end up in a text editor when it's time to, you know, actually do the work or make the final tweak.

Speaker 0

这感觉非常自然。

And it just felt very natural.

Speaker 0

而且我觉得,尤其是开始工作的那种启动成本感觉低了很多。

And I think in particular, the sort of, like, activation energy of starting work feels a lot lower.

Speaker 0

所以,如果你在Slack的讨论串里,可能有一条用户反馈,而且是很简单的那种,比如……

So if, you know, you're in a Slack thread and maybe there's a a piece of user feedback and it's something simple like a...

Speaker 0

你知道,我们需要更新文档,或者可能是更重要的事情,我们只是想做个原型。

You know, we have update the docs or or maybe it's something more consequential and we just wanna build a prototype.

Speaker 0

我可以点一个表情符号,然后工作就开始了。

I can click an emoji and, like, the work begins.

Speaker 0

而且很多时候工作也完成了。

And often the work finishes too.

Speaker 0

我们……

We...

Speaker 0

在Stripe,我们每周大约有1300个PR是……

Stripe, we're landing about 1,300 PRs that are...

Speaker 0

除了审查之外,完全没有人协助的。

Have no human assistance besides review per week.

Speaker 0

但至少,开始写代码、看到测试通过,或者测试失败,这些都不需要我亲自参与。

But at the minimum, the activation energy of, like, starting to write code, seeing tests pass, maybe a test fails, occurs without me even, you know, participating.

Speaker 0

然后我可以加入进去,调整一下,让它们……

And then I can jump in, and I can tweak, and I can kinda, like, have them...

Speaker 0

那种势头,那种生成性的动力,我可以中途加入。

That momentum sort of sort of, like, generative momentum, you know, that I I can hop in halfway through.

Speaker 1

我觉得这最神奇的地方在于——我不会说Stripe是大公司,但你们确实有不少员工,业务也很大——我很喜欢这个“激活能量降低”的概念。

What I think is magical about this, and I I won't call Stripe a big company, but you do have a decent amount of employees and very, very large business, is I love that concept of activation energy going lower.

Speaker 1

因为在更大的组织里,从好点子到落地,中间会有很多摩擦。

Because when you're in larger organizations, there's so much friction that can come between a good idea and getting it into the world.

Speaker 1

这不是恶意。

And it's not malintent.

Speaker 1

就是……

It's...

Speaker 1

没人会说,哎呀。

Nobody is like, oh, man.

Speaker 1

我真的很想把这个过程放慢下来。

I really wanna slow this process down.

Speaker 1

要么就是,你知道的,功能上的问题。

It's either, you know, functional.

Speaker 1

我没有技术方面的专业知识,没法真正从这里走到那里。

I don't have access to a technical area of expertise to actually get from here to there.

Speaker 1

要么是操作上的问题。

It's operational.

Speaker 1

我不知道怎么组织人、怎么有效沟通,才能把下一步做完。

I don't know how to organize people and communicate effectively to get the next step done.

Speaker 1

或者就是大家每天各忙各的,被隔离在自己的工作里,想不到新的工作方式。

Or it's just kind of like people get siloed in their day to day and don't think of new ways to get work done.

Speaker 1

对我来说,AI最让人大开眼界的一点就是,所有这些障碍都几乎消失了,因为协调成本可以降下来。

And one of the things that has been so revelatory about AI for me personally is, like, all that just kinda goes to zero because coordination cost can go down.

Speaker 1

执行成本也可以降下来。

Execution cost can go down.

Speaker 1

沟通成本也能降下来。

Communication cost can go down.

Speaker 1

你就能更贴近工作本身,我觉得这才是我们真正在乎的有趣部分。

You just get closer to the work, which I think is the fun part we all really care about.

Speaker 1

那给我演示一下,你实际上是怎么激活一个“小兵”的。

So show me how you actually activate a minion.

Speaker 1

然后,我们稍微跳过一点。

And, you know, we skip this a little bit.

Speaker 1

什么是“小兵”?

What a minion is?

Speaker 0

简单介绍一下“小兵”吧。

The quick spiel of a minion.

Speaker 0

在AI出现之前,我作为工程师,想对Stripe做点修改的时候。

When I, as an engineer, sort of in pre AI time, you know, want to make a modification to Stripe.

Speaker 0

Stripe是个庞大的代码库,有很多服务。

Well, Stripe is a huge code base with tons of services.

Speaker 0

它没法只在我的电脑上运行。

It it can't run on my computer alone.

Speaker 0

所以Stripe在开发工具方面一直投入很大,有托管开发环境,我可以快速启动,里面代码和运行的服务都准备好了,我可以通过SSH登录进去做修改。

So Stripe already has a long history of of, you know, investing in great developer tooling, having hosted development environments that I can spin up, that, you know, have all the code already there and services running, and I can SSH in and and make modifications.

Speaker 0

而且我们还有大量相关的CI工具。

And we have a ton of great CI tooling around that.

Speaker 0

所以……

So that...

Speaker 0

这就是背景。

That's the context.

Speaker 0

你知道,这些我们都有。

You know, we have all that.

Speaker 0

minion的想法是,我可以配置一个这样的环境,用提示词初始化,然后minion会尝试利用Stripe所有可用的工具一次性解决这个提示词。

The idea with the minion is that I can provision one of those environments, seed it with a prompt, and then the minion will sort of, you know, attempt to one shot resolving that prompt using all the tools that are available at Stripe.

Speaker 0

包括我们所有的内部文档、内部CI、测试数据等等。

So all of our internal documentation, our internal CI, our, you know, test data, so on and so forth.

Speaker 0

它会反复尝试,直到解决那个问题。

And it will loop through that in an attempt to, you know, solve that problem.

Speaker 0

那我们就直接开始,看看一个典型的体验是什么样的。

So let's go ahead and and jump in and see what sort of a prototypical experience might look like.

Speaker 0

我现在在一个Slack频道里。

So I'm in a Slack channel.

Speaker 0

这个频道叫Steve Kaliski robots dash Claire。

It's called Steve Kaliski robots dash Claire.

Speaker 0

我其实有一个Steve Kaliski robots频道,里面有76个人,但我确实有每一个……

I actually have a Steve Kaliski robots channel that has 76 humans in it, but I do have every...

Speaker 0

一开始只有我和我的机器人,现在有一些观众在围观。

It it started off as just me and my robots, and now there's some sort of, you know, like, audience observing.

Speaker 0

但假设,也许我是……

But let's imagine that, you know, maybe I'm...

Speaker 0

我……

I...

Speaker 0

我在想一个新功能的想法,或者想改进我们现有的文档。

I'm thinking of a new feature idea or I wanna improve documentation that we have.

Speaker 0

我们很快就要发布新版本了,我想把文档做得更丰富一些。

So we have a a launch coming up soon, and I I wanna sort of embellish the documentation.

Speaker 0

所以我会说,我在 stripe.com/payments/machine 上有个关于文档的好主意。

So I'll say, I have this cool idea for docs at stripe.com/payments/machine.

Speaker 0

这是我们新的机器对机器支付项目,我们稍后在通话中会看到。

This is our new machine to machine payment work, which we'll look at later in our call.

Speaker 0

我想确保着陆页真的吸引人,并提供一个好的代码示例,让大家能快速上手。

And I want to, you know, make sure the landing page really sticks and gives a good code example of how to get started quickly.

Speaker 0

所以可能有人发了这样的消息,或者通过工单进来的,或者不管来源是什么。

So maybe someone posted a message like that or it came in through a ticket or or whatever the origin may be.

Speaker 0

我现在要做的就是添加一个反应,就是创建 minion 支付服务器。

All I have to do now is, you know, add a reaction, which is create minion pay servers.

Speaker 0

这是 Stripe 内部的一个特定仓库。

This is a particular repository within Stripe.

Speaker 0

开发代理那边会先回复一个“稍等,正在处理”的消息。

We get the one sec cooking from the dev box agent.

Speaker 0

然后我们在这里收到回复,说你的支付服务器小助手,也就是那个仓库,已经创建了新分支,落地页的代码示例也做好了。

And then we get a reply in here saying, your minion for pay server, it's the repository, for a new branch that's created, landing page code example has been created.

Speaker 0

然后它会启动我们的文档服务,这样我最后就能预览了。

And it's gonna kick off our doc service, so I can eventually preview it.

Speaker 0

现在,我要点击“跟随操作”。

Now, I'm gonna click follow along.

Speaker 0

所以现在它正在做的是,配置我之前提到的那个开发环境。

So right now, what it's doing is it's provisioning that development environment I was talking about earlier.

Speaker 0

这部分是……

So this is...

Speaker 0

这部分不是新功能。

This part isn't new.

Speaker 0

它很棒,但并不是新东西。

It is excellent, but it's not new.

Speaker 0

基本上,它会在云端启动一个实例。

And basically, it's gonna spin up a instance in the cloud.

Speaker 0

它会应用我和代理在Stripe内进行编码所需的所有配置。

It's gonna apply all the configuration that's required for both me and the agent to do coding within Stripe.

Speaker 0

所以这只需要几秒钟。

So this will just take a few seconds.

Speaker 0

它会检出那个仓库的新分支,配置本地数据库,应用我的git配置。

It's gonna check out that repository with a new branch, configure the local database, apply my git config.

Speaker 0

它会设置一个VS Code服务器,这样我就可以通过网页或本地连接它。

It's gonna set up a VS Code server so I could connect to it just through the web or or locally.

Speaker 0

还有一些扩展。

As well as some extensions.

Speaker 0

Minions真正棒的地方在于,显然,有代理循环在进行代码修改。

So what's really, like, great about Minions is, you know, obviously, there's the the agent loop that's, you know, making the code modifications.

Speaker 0

但它建立在开发者生产力团队所做的大量出色工作之上,这些工作让获取一个完美运行的Stripe开发环境变得容易,这意味着,你知道,我不仅能有这样一个环境,还能同时运行许多个这样的环境,在隔离的环境中并行进行隔离的修改。

But it's built on top of, like, a ton of incredible work that our developer productivity has done around just making it easy to get, like, a a perfectly operating Stripe development environment for coding, which means that, you know, not only can I have one of these, but I could have, you know, many, many of these running in parallel in isolated, you know, environments, making isolated changes all at the same time?

Speaker 0

所以,你看,那个一键表情符号,同时用几条消息就能搞定,真的很棒。

So, you know, that little one click emoji, could have done that with a few messages at the same time, which is really great.

Speaker 0

所以呢。

So

Speaker 1

这里我想提一点,我们之前请了LaunchDarkly的朋友Zach来上节目。

One thing I wanna call it here is we had my friend Zach from LaunchDarkly on.

Speaker 1

对。

And Yeah.

Speaker 1

他说了一句话,就是,你看。

One thing he said was, look.

Speaker 1

对开发者好的,对智能体也好。

What's good for the developer is good for the agent.

Speaker 1

所以,没错。

So Yep.

Speaker 1

这就是一个良性循环:如果你为人类工程师投资开发者体验,你的智能体也会从中受益。

There's this virtuous loop of if you have or do invest in developer experience for your human engineers, your agents will benefit off of that.

Speaker 1

反过来,如果你为你的智能体工程师投资开发者体验或智能体体验,你的开发团队也会从中受益。

And in turn, if you invest in developer experience or agent experience for your agent engineers, your development team benefits from that.

Speaker 1

所以我总是跟人说,工程团队,我们一直在问,能不能在路线图上多给DX一点时间?

And so I always tell people, you know, engineering team, we've always asked, like, can we just give a little bit more time on the road map to DX?

Speaker 1

拜托拜托。

Like, pretty please.

Speaker 1

能不能在这里投点资源?

Can we invest here?

Speaker 1

我觉得如果你把它跟AI项目挂钩,那就是搞定这些好事的秘密途径。

And I think if you attach it to an AI initiative, that's, like, the secret way to get some of that that good stuff done.

Speaker 0

我是说,想象一下你的……

I mean, imagine your...

Speaker 0

你知道,有些代码库很小,但Stripe就很大。

You know, some code bases are small, you know, Stripe is huge.

Speaker 0

你知道,想象你第一天上班,没有文档,没有工具,而且还有……

You know, imagine you show up day one, and there's there's no documentation, and there's no tools, and there's...

Speaker 0

然后他们就说,祝你好运。

And they just say, good luck.

Speaker 0

换谁都会觉得难。

Like, anyone would have trouble.

Speaker 0

就算你把智能体扔进去,很可能整个代码库会把上下文窗口撑爆。

And even if you threw the agent at it, it's very likely that the the context window would be blown by the whole code base.

Speaker 0

光是扫描一遍去理解所有细节,几乎不可能,或者成本高得离谱。

Just scanning through to understand all the intricacies would be, like, impossible or extremely expensive.

Speaker 0

所以,如果在Stripe当工程师,90%的常见工作都有一条非常明确的路径,那就会让……

So, you know, if there's a very blessed path for 90% of the common activities in being a, you know, engineer at Stripe, that makes it...

Speaker 0

那也会让智能体成功的概率变得非常高。

That makes the propensity that the agent succeeds really high too.

Speaker 0

所以,想象一下我们想改一个API,我们确实经常这么干,一年要改几百上千次。

So, you know, imagine we wanted to make an API change, which we do, know, you hundreds or or thousands of times a year.

Speaker 0

我们有非常好的文档,讲怎么添加新字段、新方法或新资源,小助手可以照着读,然后照着执行。

We have really good documentation on, you know, how to add a new field or a new method or a new resource that the minion would read and would execute against.

Speaker 0

然后,你知道,它一次成功的概率非常高。

And then, you know, the the propensity of it would one shot is very high.

Speaker 0

所以,对开发者来说,好的文档对智能体同样重要,你说得对。

So good docs for developers are equally important for the agent to your point.

Speaker 0

所以我们现在已经从启动开发环境过渡到了第一次智能体运行。

So we've now transitioned from, you know, booting up the development environment to now we're in the the first agent run.

Speaker 0

所以我们这里有我在Slack里发的那个提示。

So we have that prompt that I posted in Slack here.

Speaker 0

现在它要做的是启动一个Goose实例,基本上就是那个用来跑完整个流程的框架。

And now what it's gonna do is boot up an instance of Goose that's basically the harness that's, you know, gonna run through all this.

Speaker 1

我们确实和Block团队聊过一期关于Goose的节目,就是那个搭建起来的开源智能体框架。

We did have an episode with the block team about Goose, this this open source agent harness that got set up.

Speaker 1

我想提醒一下那些没在看视频、只在听的朋友,我特别喜欢你的系统提示。

And I wanna call out one thing for folks that are not watching and are listening, which is I love your system prompt.

Speaker 1

太复杂了。

So sophisticated.

Speaker 1

它说,完整实现这个任务,冒号,然后随便你写什么。对。

It says, implement this task completely, colon, and then just whatever you put Yeah.

Speaker 1

用Python。

In in Python.

Speaker 1

错误。

Mistakes.

Speaker 1

你忘了说不要出错。

You forgot no mistakes.

Speaker 1

但我觉得,很多人真的以为他们必须把最初的提示词设计得非常复杂。

But, you know, I I think people really think they have to overarchitect their initial prompt.

Speaker 1

而且我认为,如果你有一个好的工具框架,即使提示词很随意,也能帮你得到不错的结果。

And I think if you have a great harness, it can go a long way to extracting out a successful outcome from a pretty loose prompt.

Speaker 1

完全同意。

Totally.

Speaker 0

而且我们……

And we...

Speaker 0

这在某种程度上都是一场实验。

A lot of this is an experiment in some way.

Speaker 0

你知道,随着新模型的推出,我们也在构建新工具,这其中有某种动态性。

You know, as new models come out and, you know, we build new tools, like, there is this sort of dynamic nature to it.

Speaker 0

而且我们……

And we...

Speaker 0

我们构建了很多有趣的机器人,它们能帮助编写提示词。

We've built a lot of interesting, you know, bots that help write the prompt.

Speaker 0

所以,也许首先它会执行搜索代码库、查看所有拉取请求或谷歌文档等任务,或者别的什么。

So, you know, maybe first it will do the task of searching through the code base or looking at all the pull requests or Google Docs or whatever it may be.

Speaker 0

我觉得那是Stripe。

I I think that's Stripe.

Speaker 0

大多数可能有MCP服务器的系统都已经有了。

Most things that could have an MCP server have an MCP server.

Speaker 0

所以我们能够与很多内部数据进行交互。

So we're able to interact with a lot of the internal data we have.

Speaker 0

然后它能生成一个提示词,我可以直接粘贴到这里,或者分配给代理。

And then it can make a prompt that I could then paste in here or I get assigned to to to the agent.

Speaker 0

所以,这就是为什么我想要那个公开频道,因为我们不再结对编程了,但我们结对写提示词。

So that's sort of, like, you know, part of why I wanted that public channel we were looking at is, you know, working on the CF that we don't pair program anymore, but we, you know, pair prompt.

Speaker 0

这种活动可以和其他工程师、其他数据源或者其他代理一起进行,对吧,来搞清楚我们能不能正确地向代理解释怎么做。

And that that activity could be with other engineers or other data sources or or other agents too, right, to, like, figure out if we can, you know, properly explain to the agent, you know, how to do it correctly.

Speaker 0

不管怎样,现在它正在做的是,它拿了我给它的链接,那是公开文档。

In any case, you know, what it's doing now is it's taking the link I gave it, which is to public documentation.

Speaker 0

它会搜索代码库,用我们的一些代码搜索工具来定位那个特定更改应该放在哪里。

It's gonna search through the code base and and use some of our, you know, code searching tools to to locate where that change particular should go.

Speaker 0

它会执行一整套工具。

It's gonna execute a whole sequence of tools.

Speaker 0

随着时间推移,当它弄清楚应该在代码库的哪个位置工作,以及应该做什么修改时,它们最终会提交这些更改,并生成一个拉取请求,供我和我的同事审查。

And over time, as it figures out where in the code base it should work, what the modification should be, they'll ultimately commit those and make those available in a pull request that that me and my fellow colleagues can review.

Speaker 1

我对此有几个问题,因为我们看到了一些例子,人们构建自己的云代理,然后有点……

I have a couple couple questions on this because we've seen a few examples of folks building their own cloud agents and and kind of...

Speaker 1

我很好奇,为什么选择Goose,而不是自己开发或者用更商业化的解决方案?

And I'm curious, you know, why why Goose, you know, versus doing something on your own or doing sort of a a more commercial solution?

Speaker 1

我想知道你们内部有没有讨论过,还是说……

I'm curious if there was an internal discussion or how this...

Speaker 1

还是说这其实是自然发生的,因为一个工程师用起来效果不错。

Or did this happen organically because it worked for one engineer.

Speaker 1

我很好奇你们是怎么想到在开发工具上叠加Minions这个想法的。

Curious how you kinda seeded the idea of of Minions on top of your development tools.

Speaker 0

当然可以。

Sure.

Speaker 0

其实我们也让Stripe的工程师广泛使用Claude Code、Cursor这些工具。

So, you know, we also make Claude code and and Cursor and tools like that widely available to engineers at Stripe.

Speaker 0

所以我觉得我们的总体想法是,我们想加速开发,这样就能更快地为用户推出新功能。

So, you know, I think our general sentiment is, we want to accelerate development so we can build new features for our users.

Speaker 0

而且以后还会有新模型、新工具出现,我们也想构建……

And there are gonna be new models coming out, new tools, and we wanna build...

Speaker 0

我们尽可能多地推广这些工具。

Proliferate those as much as we can.

Speaker 0

具体到 Minion 这个案例,

In the particular case of Minion, the...

Speaker 0

它非常……

It's very...

Speaker 0

我不想说非常特定,但它确实非常贴合 Stripe 开发者的体验和开发环境。

I don't wanna say very specific, but it's very specific to, like, the Stripe developer experience in the Stripe developer environment.

Speaker 0

我们很早就开始尝试 Goose 了。

And we have been experimenting with Goose early on.

Speaker 0

而且我觉得在这个具体案例中,我们也对它进行了分叉,做了一些修改。

And I think in this particular case, we forked it to make some modifications as well.

Speaker 0

我们真正想要的是一个基础框架和循环,用来承载我们自己的所有工具和软件。

And really what we were looking is like sort of a a base harness and loop to apply all of our own tools and software to.

Speaker 0

所以我们花了很多时间在提供好用的工具上,并且确保 minions 走的路径能紧密配合 Stripe 最常见的开发工作流。

So we we spent a lot we spent a lot of time on, like, making good tools available and making sure that the sort of routes that the minions go through, you know, work closely with, like, the most common Stripe developer workflows.

Speaker 0

所以,这就像是商业方案和定制方案之间的区别。

So, like, it's, you know, sort of like commercial versus, you know, custom things.

Speaker 0

比如,有些东西是Stripe的代码库特有的,作为Stripe的开发者,我们构建东西的方式也很特别,所以对我们来说,自己构建和部署这些东西反而更容易。

Like, there are things that are very specific about Stripe's code base and being a developer of Stripe and the way we build things that it it was just sort of easier for us to to build and deploy that.

Speaker 0

但商业方案也很棒,我们大量使用它们。

But the commercial solutions are great, we use those extensively.

Speaker 0

即使在后面的演示中,我也可以展示,比如,我可以打开VS Code网页版,手动编辑这里的代码。

Even later on this demo, I can sort of show, like, I can, you know, for example, I can pop into VS Code web where I could manually edit some of code that's going on here as well.

Speaker 0

我也可以启动Claude,体验典型的Claude功能,包括所有Stripe的MCP工具……

But I can also boot up Claude, I can have sort of the typical Claude experience with all the Stripe MCP tool...

Speaker 0

Stripe内部的MCP工具也都可以用。

Internal Stripe MCP tools available as well.

Speaker 0

所以,没有哪个单一工具能包打天下,但我觉得在Stripe,端到端的开发体验主要还是靠Minions。

So, you know, there's there's no singular tool to rule them all, but I think the, like, overall end to end development story at Stripe is still time minions.

Speaker 0

所以你可以看到,我现在在dead box和Claude里。

So you can see I'm in that dead box and Claude now.

Speaker 1

是的。

Yep.

Speaker 1

好的。

Cool.

Speaker 1

我还有一个问题,然后还有一个观察,我想确保听众们不会错过。

I have one other question and then and then an observation I wanna make sure that that the listeners don't miss.

Speaker 1

所以我的第一个问题是,你知道,Stripe 是一个资源非常充足的工程组织。

So my first question is, you know, Stripe is a very well resourced, I would say, engineering organization.

Speaker 1

所以我猜你们有一个专门的团队,不仅负责开发工具,还负责管理 minions,把它当作一个内部产品来运营。

So I'm presuming you have a team dedicated to working on not just your dev tools, but as well as as minions and managing that as an internal product itself.

Speaker 1

这个团队是不是作为一个独立的团队来建立的,专门专注于内部开发者体验?

Has that team been sort of built as a standalone team that's focused specifically on internal developer experience?

Speaker 1

是这样运作的吗?

Is that how it works?

Speaker 0

我们……

We...

Speaker 0

从我记事起,我们就有一个开发者生产力团队。

We've had a developer productivity team for as long as I can remember.

Speaker 0

我想想……

I think about...

Speaker 0

我现在在Stripe已经六年半了。

I'm gonna strip six and a half years now.

Speaker 0

这个团队专注于我使用的所有工具,并让它们变得更有用。

And, you know, that team is focused on all the tools that I engage with and and making them more useful.

Speaker 0

这包括从我们如何使用Git和版本管理,到我们的技术中心和配置,再到我们的开发环境,以及整个流程如何串联起来。

So that's all the way from, you know, how how we interact with with Git and Versus Management to our tech centers and our configurations there to our development environment and and how that whole story pieces together.

Speaker 0

而且,我们……

And, you know, we we...

Speaker 0

作为Stripe的产品工程师,我非常关心我们的外部用户,希望他们在Stripe能取得成功。

You know, just as, you know, as a product engineer on Stripe, I I I care deeply about our external users and and them being successful at Stripe.

Speaker 0

那个团队同样关心Stripe的工程师能否成功,能否快速构建东西。

That team cares equivalently about engineers at Stripe being successful and and being able to build things quickly.

Speaker 0

而且我觉得在过去几年里,人工智能更是加速了这一点。

And I think that's been even more accelerated by by AI in the last couple years.

Speaker 1

另外,我还想提一个观察,因为我觉得你一开始有点一笔带过了,但这对于真正想用AI来疯狂写代码的人来说非常重要。

And then one other observation I wanna make, because I think you glossed over it a little bit at the beginning, but it's so important for folks that really wanna go ham on coding with AI.

Speaker 1

当然。

Sure.

Speaker 1

那就是……

Which is...

Speaker 1

你看。

Look.

Speaker 1

我们所有工程师都有一台重达八百万磅的MacBook Pro。

All of us engineers have a MacBook Pro that weighs 8,000,000 pounds.

Speaker 0

没错。

Sure.

Speaker 1

那玩意儿可真是有点分量。

That can can do some damage.

Speaker 1

我的那台,如果有人想知道的话,外号叫“大块头”。

Mine, for anybody who wants to know, its nickname is big boy.

Speaker 1

所以每当我需要孩子们

So whenever I need my kids

Speaker 0

好的。

Okay.

Speaker 1

去拿我的编程笔记本时,我就会说,能把大块头拿给我吗?

To get my my coding laptop, I say, can you bring me big boy?

Speaker 1

因为它……

Because it's...

Speaker 1

我管背着两台它叫“旧金山负重行军”。

I call it San Francisco rucking when I carry two of them in my backpack.

Speaker 0

天哪。

Oh my god.

Speaker 1

但是,你知道,不管这些笔记本配置多高,你同时跑三四个工作分支,它就开始像飞机起飞一样响。

But, you know, no matter how juiced these these laptops are, you get, like, three or four work trees in all running and, like, it starts to sound like an airplane taking off.

Speaker 1

这不行。

It's no good.

Speaker 1

所以我觉得,在这种多线程的智能体工程工作里,云环境和虚拟环境对提升开发速度特别重要。

And so I do think on this sort of, like, multithreading agentic engineering work, cloud environments and virtual environments are so important to unlock velocity.

Speaker 1

而在这方面,我还没看到多少大型工程团队在这些环境上投入足够资源,来真正发挥AI辅助编程或者智能体的潜力。

And that's one place where I haven't seen enough large engineering teams invest in those environments to really unleash the power of, either AI assisted coding for their software engineers or agents in general.

Speaker 1

所以如果有CTO或者工程副总裁在听的话,如果你们想在接下来一年里真正推动增长,把这块搞定会非常有用。

So if there are any CTOs, VPs of engineering listening, you if were to invest in something to really unlock growth in the next year, getting that situation locked up would be really good.

Speaker 1

因为,我经常听到很多人说,哦,我可以用Claude写所有代码。

Because, again, I hear so many people being like, oh, I can Claude code everything.

Speaker 1

我可以花...

I can spend...

Speaker 1

你知道,我可以用Codex做任何事。

You know, I can codex anything.

Speaker 1

我可以快速创建所有这些工作树。

I can spin up all these worktrees.

Speaker 1

我没事。

I'm fine.

Speaker 1

然后我就问,你这些都是在本地跑的吗?

And I'm like, are you running all these local?

Speaker 1

你到底在干什么?

Like, what are you what are you doing?

Speaker 1

所以我想提醒大家的是,别忽略了你自己电脑的性能限制,它能支持多少并行任务,尤其是在像 Stripe 这样复杂的代码库里。

And so that's one thing I just want people to not miss is the limitations of your actual machine on how multithreaded you could be, especially in a complex code base like Stripes.

Speaker 0

完全同意。

Totally.

Speaker 0

而且,你知道,我手机上有 Slack。

And, you know, I have Slack on my phone.

Speaker 0

所以我在上班路上就能启动其中一个“小助手”,比如在地铁上刷 Slack 的时候。

So I can even kick off one of these minions on the way to work, right, as I'm sort of going through Slack on the subway.

Speaker 0

然后等我到了公司,我就能中途加入进去。

And then, you know, by the time I'm there, I I I can jump in halfway through.

Speaker 0

我觉得这里有点夸张的说法是,想象一下如果一家公司的所有工程师都只能在一个代码库上工作……

I think that that maybe, like, the hyperbolic thing here is, like, imagine if all engineers at a company could only, like, work on...

Speaker 0

没有Git。

Didn't have Git.

Speaker 0

我们都得协调着一起在同一个代码库上工作。

We all had to, like, coordinate working on the one code base together.

Speaker 0

那简直太疯狂了。

Like, that that would be crazy.

Speaker 0

而这里的类比是,想象一下如果我被限制在……

And, you know, the equivalency here is, like, imagine if I'm bounded by...

Speaker 0

你知道,我的代理只能使用我电脑上现有的资源来工作。

Know, you my agents are bounded by just what's available and can work on my computer.

Speaker 0

如果十倍效率的做法是能同时运行十个代理,但又不能依赖我,就像大家都在买Mac mini一样。

If the the the the the 10 x thing to do is, you know, be able to have 10 of them run-in parallel, but also not be contingent on my, like it's like everyone's buying a Mac a Mac mini.

Speaker 0

这样它就不会休眠。

So it doesn't fall asleep.

Speaker 0

就是,光是为了让电脑不睡着,就有一整个产业了。

It's like, there's a there's a whole business around just the computer not falling asleep.

Speaker 1

我真的是……

I legitimately...

Speaker 1

首先,我楼上有四台Mac mini,其中一台基本上就是一台不关盖的笔记本电脑。

First of I have, four Mac minis upstairs, and one of them is just basically a laptop that doesn't close.

Speaker 1

就是,我把它当……

Like, I use it

Speaker 0

对。

Sure.

Speaker 1

当一台不关盖的笔记本用,这真的大大提升了我做事的速度。

As a laptop that does not shut, and it's really unlocked my my velocity.

Speaker 1

所以……

So...

Speaker 1

好的。

Okay.

Speaker 1

感谢你陪我们聊了这么多关于虚拟环境和本地主机的事情。

We thank you for going on this side quest about virtual environments and local host and all those things.

Speaker 1

我是创始人,所以我知道大多数人创业并不是因为喜欢处理工资单或应付合规问题。

I'm a founder, so I know most people don't start companies because they love running payroll or managing compliance.

Speaker 1

但在你招了第一个员工和准备下一轮融资之间,你总会陷入人力资源、IT和其他杂事的泥潭。

But somewhere between hiring your first employee and raising your next round, you end up in the weeds with HR, IT, and all that other stuff.

Speaker 1

这正是Rippling要解决的问题。

That's what Rippling was built to solve.

Speaker 1

Rippling是一个统一的平台,让初创公司从第一天起就能在一个系统里管理人力资源、工资、IT和财务。

Rippling is a unified platform that lets startups run HR, payroll, IT, and finance in one system from day one.

Speaker 1

Rippling的初创公司套件用完全互联的平台取代了那些互不同步的零散工具。

The Rippling startup stack replaces disconnected tools that don't sync with a fully connected platform.

Speaker 1

超过15000家初创公司,包括Cursor、Clay和Sierra,都信任Rippling来快速扩展,而无需增加额外的运营和人力资源人员,这样像你这样的创始人就能继续专注于建设。

Over 15,000 startups, including Cursor, Clay, and Sierra trust Rippling to scale fast without adding additional ops and HR head count so founders like you can keep building.

Speaker 1

现在,获得风险投资的初创公司可以免费使用六个月的Rippling初创公司套件。

Right now, venture backed startups can get six months of Rippling startup stack for free.

Speaker 1

前往 rippling.com/howiai,今天就注册吧。

Head to rippling.com/howiai and sign up today.

Speaker 1

就是 rippling.com/howiai,今天注册就能免费使用六个月。

That's rippling.com/howiai to sign up for six months free today.

Speaker 1

专注于你正在打造的事业,剩下的交给 Rippling。

Focus on what you're building and leave the rest to Rippling.

Speaker 1

好的。

Okay.

Speaker 1

所以你现在正在运行这个。

So you are now running this.

Speaker 1

你将要……

You're going to...

Speaker 1

我……

I...

Speaker 1

你一开始说过只有一次机会。

It's it's you said one shot at the beginning.

Speaker 1

确实,你是想用一个提示词,而不是每次回复都能得到你想要的结果,但它会进入那个框架里。

Really, you're trying to take one one prompt, and not a single reply gets you gets you what you want, but it goes into the harness.

Speaker 1

它会自己循环运行,调用需要的工具,最终你作为最终用户会得到一个回复,那就是成功的实施方案。

It goes through its own loop, hits the tools it needs, and ultimately, you as the end user get one response back, which is here's the successful implementation.

Speaker 0

没错。

Exactly.

Speaker 0

所以我们已经能看到它在识别相关文件了。

So we can already see that's identifying the relevant files.

Speaker 0

它还在自己跟踪待办事项。

It's keeping track of its own to dos.

Speaker 0

就像,这是我们给它设定好的重点。

Like, that's something that we've codified in it to to focus on.

Speaker 0

它在做修改。

It's making changes.

Speaker 0

它在准备提交等等这些。

It's, you know, preparing the the commit and so on and so forth.

Speaker 0

最后,等它跑完,我们就会看到结果,就是它完成了。

And and ultimately, in in sort of, like, taking out the oven, we'll see a response at the end of just like, it finished.

Speaker 0

你可以直接去看那个拉取请求,然后正常的人工审查环节就继续了。

You know, like, you can go ahead and look at the pull request, and the the the sort of normal human review part continues.

Speaker 0

所以

So

Speaker 1

我们快速聊聊这个。

Let's talk about that really quickly.

Speaker 1

你提到每周有1300个由代理发起的拉取请求,差不多是这个数吧。

You said 1,300 code or agent initiated PRs per week, something like that.

Speaker 1

然后人类参与代码审查。

And then humans are involved in code review.

Speaker 1

这么多代码审查,你们是怎么完成的?

How are you getting all this code review done?

Speaker 0

嗯,你可以这么说,如果我省下主动写代码的时间,我就能把时间重新集中在审查正在写的代码上,或者和用户合作等等。

Well, you can make the argument that, you know, if I'm spending less time actively writing code, I can, you know, know, recenter my time on reviewing the code that's being written or working with users and so on and so forth.

Speaker 0

所以我觉得这是很重要的一部分。

So I I think that's a big part of it.

Speaker 0

我觉得另一方面,又回到了那个CI环境。

I I think the the other side of it, like, it comes back to that CI environment.

Speaker 0

所以要有很好的测试覆盖率,要有能模拟产品端到端交互的合成测试。

So having really good test coverage, having synthetics that run to, you know, simulate end to end interactions with your product.

Speaker 0

这些都能帮助你在审查代码时建立信心。

Those all help inspire confidence in the code you're reviewing.

Speaker 0

如果没有这些,尤其是在一个庞大的代码库中,要审查代码并对其正确性有高度信心,会非常困难。

So absent those, like, it'd be really difficult to look at code, especially in a huge code base, and have high confidence that it works.

Speaker 0

所以,再说一次,不管代码是Steve写的还是Steve的机器人写的,你仍然需要那个CI环境来提供信心,确保被修改的代码是安全的,并且在发布过程中,有蓝绿部署这样的机制可以回滚,所有这些都至关重要,不管代码是谁写的。

So, you know, again, whether the the text has been written by Steve or the text has been written by Steve's robot, you still want that CI environment that's, you know, providing confidence that the the code that's being changed is safe and that as it rolls out, you know, you're having sort of blue green deployments so you can roll back to, like, all that is super critical independent of of of the, you know, the nature of the authoring of it.

Speaker 0

我确实相信,如果编码变得更容易,而编码历来是产品开发的瓶颈,那么瓶颈就会转移到其他领域。

I I do I do believe, like, if coding becomes easier and coding historically has been the bottleneck in product development, it's just gonna shift to other areas.

Speaker 0

所以,如果编码实际上变得免费,那么审查将会变得非常具有挑战性。

So if, like, coding in effect becomes free, the review is gonna be really challenging.

Speaker 0

或者一开始想出足够多的点子可能是个大问题,或者怎么分发这些点子。

Or getting enough ideas in the first place could be a big problem or distributing them.

Speaker 0

所以我觉得注意力就会转移到其他方面去。

So I I think the attention is just gonna, you know, move around to to other areas.

Speaker 1

好。

Great.

Speaker 1

然后在我们进入你的下一个工作流程之前,还有一个问题,我特别期待那个流程,剧透一下,就是除了工程师之外,还有人在用 Minions 吗?

And then one other question before we go on to your next workflow, which I am so excited about, spoiler alert, is are more than engineers using Minions?

Speaker 1

你有没有看到产品经理、设计师也加入进来?

Are you seeing product managers, designers come in?

Speaker 1

这个在公司里、跨部门之间是怎么推广的?

How is this going across the company and across functions?

Speaker 0

我觉得,你知道,我喜欢 Slack 这个例子的部分原因是整个公司都在用 Slack。

I I think, you know, part of why I like the Slack example is the entire company is in Slack.

Speaker 0

而且,你知道,从激活能量的角度来看,嗯...

And, you know, to a point of activation energy, you know, eve...

Speaker 0

即使你电脑上有文本编辑器,我把文档什么的都给你,但对于不是工程师的人来说,这可能会非常困难或者让人望而却步,或者不管是什么情况。

Even if, like, you had the text editor on your computer, and I and I gave you the docs and and and whatever it may be, you know, to to someone who's not an engineer, it could be really challenging or intimidating or or whatever it may be.

Speaker 0

而且,你知道,对于……

And, you know, for...

Speaker 0

无论你只是想要一个概念验证,还是打算修改文档,或者不管是什么,你大概可以用纯文本写出你想要实现的事情。

Whether you just want, like, a proof of concept or you're gonna make a docs change or or whatever it may be, like, you can you can probably write out in plain text the the thing you want to occur.

Speaker 0

你可能在写产品简报,或者给出设计反馈。

You you might be writing the product brief or you might be giving design feedback.

Speaker 0

实际上,你在某种程度上就是在写提示词。

Like, you're you're in effect just writing a prompt at some point.

Speaker 0

所以,能够直接点击一个表情符号,或者标记机器人来启动 Minion,我们正努力让更多非工程师使用它。

So being able to just click an emoji or or or, you know, tag the the robot to spin off minion, we're we're trying to see more nonengineer usage there.

Speaker 0

是的。

Yep.

Speaker 1

太棒了。

Amazing.

Speaker 1

好的。

Okay.

Speaker 1

那我们进入下一个工作流程,这个我真的很期待。

So let's go to our next workflow, which I am Yes.

Speaker 1

超级兴奋。

Psyched.

Speaker 1

作为一个楼下堆了一堆Mac mini的人,我对这个特别感兴趣。

As somebody with a stack of Mac minis downstairs, I am excited about.

Speaker 0

在Stripe,我们其实从几个角度来思考AI。

So, you know, at at Stripe, we're, you know, we're thinking about AI in a a few ways.

Speaker 0

刚才展示的demo,是我们如何利用AI来加速内部产品开发和工程效率。

So the demo we just showed is how we're thinking about using AI internally to accelerate our product development and and engineering.

Speaker 0

第二个角度,是我们如何支持那些在自己的产品中运用AI的企业,以及如何帮助他们的商业模式。

The second way is, you know, thinking about how we're supporting all these businesses that are, you know, leveraging AI in their own products and how we can support their business models.

Speaker 0

比如通过按用量计费,我们刚刚发布了LM token计费产品的测试版。

And, you know, that's with things like usage based billing, we we just announced our our beta of our LM token billing product.

展开剩余字幕(还有 225 条)
Speaker 0

但还有第三个方面,就是那种把智能体看作经济参与者的想法,或者说智能体在尝试解决提示词的过程中可以花钱。

But there's a third side, which is, like, this sort of idea of agents as economic actors or agents that can spend money as, you know, as part of their attempt to solve a prompt.

Speaker 0

在进入演示之前,我想说明的是,通常你给Claude或其他智能体一个提示词,它会用自己的模型生成文本和回复。

And before we jump to the demo, like, just the thing I'll illustrate is, you know, often you give a prompt to Claude or or some other agent, and it will use its own model to generate text and response.

Speaker 0

或者它可能会进行网络搜索,调用MCP工具,或者做其他事情来收集信息或促成改变,作为回复的一部分。

Or maybe it will do a web search or call an MCP tool or whatever it may be to gather information or to to affect change as part of that response.

Speaker 0

当然,也有购物场景,但我们设想未来第三方服务会想向这类体验销售,而这些互动会需要花钱。

And, you know, of course, there's the shopping cases, but we imagine a future where, like, third party services are gonna want to sell into these kinds of experiences and that those interactions will cost money.

Speaker 0

所以我们必须让我们的智能体具备花钱的能力,这样它们不仅能消耗令牌,还能在完成提示词的过程中支付服务费用。

So we have to equip our agents with the capacity to spend so that they can not only consume tokens, but so that they can also pay services as part of achieving the prompt.

Speaker 0

所以我要举一个...

So I'm gonna give a...

Speaker 0

例子。

An example.

Speaker 0

Jen,我的产品经理同事,非常棒。

Jen, who's a product manager I work with, is awesome.

Speaker 0

我觉得她的生日快到了。

I think her birthday is coming up soon.

Speaker 0

如果不是的话,演示里就是她的生日派对,我们会让Claude帮忙策划。

If not, the demos, it's her birthday party, and we're gonna ask Claude to help plan it.

Speaker 0

在这个过程中,它会跟很多不同的真实第三方服务互动,这些服务真的会通过支付协议收钱。

And along the way, it's gonna interact with a bunch of different real third party services that are really gonna accept money over a a payment protocol.

Speaker 0

我们把它叫做机器支付协议,是跟Tempo一起设计的,到时候我们会看到一些真实的交易。

We're calling them machine payment protocol, which we've co designed with Tempo, and we'll see some real transactions along the way.

Speaker 0

所以我准备了一个预设的提示词,直接粘贴进去,跳过那部分,然后我就开始执行。

So I have a, you know, sort of pre baked prompt we'll paste in just to skip that part, and I will go ahead and give it.

Speaker 0

我让它去研究我的产品经理Jen Lee,搞清楚她生日适合什么,找个办生日派对的地方,发邀请函,然后,你知道,我们一路上烧了不少token,所以最后应该捐点钱给Stripe Climate,来弥补那些能源消耗。

So I told it to research Jen Lee, who's my product manager, figure out what would be a a good idea for her birthday, find a place to have the birthday, send invites to the birthday, and then, you know, we burned all these tokens along the way, so we should probably donate to Stripe Climate at the end to make up for all the energy consumption.

Speaker 0

现在,我们还在设置环境,就是建立我们向Tempo付款的能力。

So right now, we're just still getting the environment set up, just setting up our ability to pay tempo.

Speaker 0

我们要做的第一件事,现在就能看到,就是我们已经付钱给Browserbase,让它创建一个新的浏览器会话。

The first thing we're gonna do, and we can see right here, is that we've actually paid Browserbase to create a new browser session.

Speaker 0

所以我之前没有提前注册Browserbase。

So I didn't sign up for Browserbase beforehand.

Speaker 0

我只是为这一个会话付费。

I'm just paying for this one session.

Speaker 0

它会这么做的。

It's gonna do that.

Speaker 0

我在这里的某个地方给了它她的网站。

I gave it her website somewhere up here.

Speaker 0

所以它会继续启动那个环境。

So it's gonna go ahead and spin up that environment.

Speaker 0

你现在可以看到它正在本地写一些Playwright代码,这些代码会连接到那个基于浏览器的会话。

You can see right now it's writing some playwright code locally, which will connect to that browser based session.

Speaker 0

它到了她的网站。

It got to her website.

Speaker 0

所以Jen喜欢……

So Jen likes...

Speaker 0

她……

She...

Speaker 0

我觉得她既会烘焙又会做饭。

I think she bakes and she cooks.

Speaker 0

所以通过那次浏览器会话,它真的发现她是个痴迷抹茶的烘焙师,正在写一本食谱。

So it actually found out by running that browser session that she's a matcha obsessed baker working on a cookbook.

Speaker 0

我们现在就把那个浏览器会话关掉。

We're gonna go ahead and turn off that browser session.

Speaker 0

我们可以看到净成本只有不到一分钱。

We can see the net cost is just a fraction of a cent.

Speaker 0

而且,再说一次,我们刚才真的付了那笔费用。

And, again, like, we, like, really paid that business just now.

Speaker 0

接下来,它会利用对珍的了解以及她对抹茶的兴趣,用Parallel AI在网上搜索纽约合适的场地,来举办这个派对,你知道的,就是找那种符合她抹茶兴趣的地方。

The next thing it's gonna do is using its knowledge of Jen and her interest in matcha, it's gonna search online using Parallel AI to find relevant venues in New York that we could host this party, you know, something that matches matches her matcha interest.

Speaker 1

我再来个支线任务,呼应一下之前说的那个“对”。

I'm gonna just do, again, a side quest, a callback to Yeah.

Speaker 1

我们那期节目请到了Andrew Neville,他用AI来搭建一个桌游生意,他们当时正在东湾那边筹备。

Our episode with Andrew Neville who who used AI to set up a tabletop gaming business they were building in the East Bay.

Speaker 1

然后我朋友发短信给我说,这是我见过最旧金山的事了,就是两个哥们儿需要AI来帮忙策划他们的游戏之夜。

And my friend texted me, and she said, this is the most San Francisco thing I've ever seen, which is two dudes that need AI to help plan their game night.

Speaker 0

我

I

Speaker 1

知道。

know.

Speaker 1

然后我看了你最初的那个提示词,我就觉得,这真是个工程师式的生日派对策划提示词。

And I was looking up at your original original prompt, and I was like, this is such an engineer's prompt for how to plan a birthday party.

Speaker 1

就像,来源是M,然后插入Jen的名字。

It's like source m and then insert Jen's name.

Speaker 0

你知道你肯定搞错了,如果我要加载环境变量来庆祝某人的生日。

You know you're doing something wrong if I have to load environmental variables to celebrate someone's birthday.

Speaker 1

没错...

Exact...

Speaker 1

就是,太搞笑了。

It's just, like, so funny.

Speaker 0

所以我在纽约的Bowery找到了一家抹茶咖啡馆,那里……

So I found this matcha cafe in New York on Bowery that's...

Speaker 0

我觉得它非常适合抹茶爱好者,这很棒。

I think it's a perfect fit for a matcha interest, which is great.

Speaker 0

现在我们应该,你知道的,寄一封邀请函。

Now we should, you know, send an invite in the mail.

Speaker 0

你知道,我们正在把它转到线下。

You know, we're we're taking it offline.

Speaker 0

所以现在我们正在使用一个叫PostalForm的服务。

So now we're interacting with this service called PostalForm.

Speaker 0

PostalForm会把PDF文件实际寄出去。

PostalForm will take a PDF and actually send it in the mail.

Speaker 0

所以再说一次,现在我们正在做的是……

So again, right now, what we're doing is we're...

Speaker 0

语言模型正在本地写代码,生成邀请函的PDF图片。

The LM is writing code locally to generate a PDF image of the invite.

Speaker 0

所以这里有一种有趣的平衡,就是语言模型自己能用它在我本地机器上的工具做什么,跟它需要第三方服务做什么之间的平衡。

So there's this sort of interesting balance of, like, what can the LM do itself, right, with its own tools in my local machine versus what it needs a third party service for.

Speaker 0

显然,机器人不能寄邮件,而且我觉得如果机器人能寄邮件,那会有点让人担心。

Like, obviously, the robot can't send mail, and I think if the robot could send mail, that would be kind of concerning.

Speaker 0

所以,现在它正在尝试修复PDF的几个问题。

So, you know, now it's trying to fix a couple things with the PDF.

Speaker 0

我确定邀请函看起来会很有意思,

I'm sure the invite looks it'll be very interesting

Speaker 1

看看邀请函长什么样。

to see what the invite looks like.

Speaker 1

看起来像是机器生成的吗?

It looks machine generated?

Speaker 0

它会看起来……

It'll look...

Speaker 0

就是一堆二进制代码。

It's just a bunch of binary.

Speaker 0

没人会来参加派对的。

No one's gonna come to the party.

Speaker 1

你怎么……

How do you...

Speaker 1

我是说,我知道你这是在给我们演示,但是,对。

I I mean, I I know this is a a little bit of a demo you're giving us here, but Yeah.

Speaker 1

我觉得很多这类产品,哪怕是面向消费者的,比如我从来没听说过Postal Form。

I think so many of these, even consumer, you know, facing products, like, I've never heard of postal form.

Speaker 1

听起来很棒。

It sounds amazing.

Speaker 1

它解决的是很具体的个人用户问题,比如怎么把邮件寄出去。

Where it solves like a very, you know, individual user problem of, like, how do I get mail out the door?

Speaker 1

很多产品都会和智能体交互,API就是界面。

So many of them are gonna be interacting with agents and, like, the API as as the interface.

Speaker 1

你和我之前在节目开始前聊过这个,你说你最近收到了用户反馈,正好说明了这一点。

And you and I were talking about that a little bit before the show, and you were saying you were getting user feedback recently that sort of spoke to that.

Speaker 0

我们一直在和用户交流,我想可能包括PostalForm。

We've been talking to, you know, I think maybe including PostalForm.

Speaker 0

我们在整合机器支付功能的时候,一直在和很多用户沟通。

We've we've been talking to a lot of users as we've been integrating this machine payment stuff.

Speaker 0

而且,向Stripe要反馈是非常正常的事情。

And, you know, it's very very normal Stripe to ask for feedback.

Speaker 0

通常,他们会说,哦,我会回复你,然后写一些笔记。

And, you know, typically, go, oh, I'll get back to you and write up some notes.

Speaker 0

我看着这些,就像,三十秒内,我收到了两页的回复。

And I look at these, like, in in thirty seconds, I get two pages back.

Speaker 0

那边的工程师用了Claude或Codex来阅读Stripe文档并实现功能。

And the the engineer over there had used, you know, Claude or Codex to, you know, read the Stripe docs and implement the feature.

Speaker 0

然后他们觉得,因为他们没有自己写,而是让Claude或Codex把反馈发给我。

And then figured since, like, they hadn't really written it themselves, but they'd asked Claude or Codex to send feedback back to me.

Speaker 0

而且,这种情况就发生过一次。

And, like, it it happened once.

Speaker 0

我当时想,好吧。

I thought, okay.

Speaker 0

就觉得挺有意思的。

Like, that's that's funny.

Speaker 0

但那一周里,这种情况发生了四五次,真的让人很震惊。

And it happened, like, four or five times that week, and it was just extremely jarring.

Speaker 0

这让我真切地感受到了新用户是什么样的。

And and it it it added the sort of physicality to who the new user is here.

Speaker 0

就像……

That, like, the...

Speaker 0

我们得直接听代理怎么说。

We'd have to hear from the agent directly.

Speaker 0

好的。

Alright.

Speaker 0

我们就是快速确认一下。

We're just gonna check-in quickly.

Speaker 0

我们通过邮件发送了,然后,你知道,我们在这个过程中消耗了一些代币。

We we sent it in the mail, and then, you know, we we burned we burned some tokens along the way.

Speaker 0

我们实际上向Stripe Climate捐赠了1美元65美分,用于抵消4.4公斤的碳排放,这是基于我们使用了7万代币的量。

We actually made a dollar and 65¢ donation or contribution to Stripe Climate to erase 4.4 kilograms of carbon based off of our 70 k token usage.

Speaker 0

你可以在这里看到代理与各项服务交互的收据,以及每项服务的成本。

And you can kinda see here an agent receipt of the services it interacted with and and the cost of each.

Speaker 0

所以,某个时候,我会收到一封邮件邀请,邀请我去参加一个派对。

So at some point, I'm gonna get an invite to a party in the mail.

Speaker 1

我想为那些没有观看的人简单总结一下。

I want to just recap this for folks that are not watching.

Speaker 1

我们从一个Claude代码中的提示开始,内容是:为我的朋友Jen计划一个生日派对。

So we started with a prompt in Claude code that said, plan my friend Jen a birthday party.

Speaker 1

这是我们对她的了解。

This is what we know about her.

Speaker 0

对。

Yep.

Speaker 1

它之前就开始了。

It it preceded.

Speaker 1

这里有点像电影特效,它提前列出了我知道的一些能处理代理支付的工具,可能对完成这个任务有帮助。

There was some, like, movie magic here where it preceded here are some tools I know can take agent payments that might be useful in the pursuit of this.

Speaker 1

而且不用人工去登录那些工具、输入信用卡、购买套餐,而是发生了机器对机器的交易,为代理提供了完成当前任务所需的微权限,我们看到它用了Browserbase、Parallel和PostalForm。

And instead of a human having to go into those tools, log in, drop a credit card, buy a plan, there was a machine to machine transaction that happened that gave micro access to the the tool for the capacity the agent needed to do the job at hand, and we see it use Browserbase and Parallel and PostalForm.

Speaker 1

它自动发出了那些...

And it it issued those chart...

Speaker 1

那些支付,按需操作,还做了点Stripe Climate的碳抵消购买,然后就把你的派对安排好了。

Those those payments programmatically, acts at just what it needed, did a little offset Stripe Climate purchase, and then got your party planned.

Speaker 1

我喜欢这个例子的原因是,它特别清楚地展示了用代理方式做事的经济性。

And what I like about this is what's really interesting about this particular example is it makes it very clear the economics of doing something agentically.

Speaker 1

我喜欢这个小...

I like this little...

Speaker 1

你知道,我们这里稍微提到了Stripe Climate。

You you know, we got a little Stripe Climate shout out here.

Speaker 1

但这也提醒我们,不管你的代理是否进行外部交易,这确实会消耗你的token。

But it also just calls out, like, this actually does cost you in tokens whether or not your agent is doing outside transactions.

Speaker 1

所以我们已经在一个经济框架里运作了。

So we're already operating in an economic framework.

Speaker 0

我想我用的就是Stripe的套餐。

I think I'm on a Stripe plan here.

Speaker 0

但一般来说,人们对这些服务商都是订阅关系,这确实要花钱。

But, you you know, in general, like, people have a subscription relationship to, you know, these providers, and and that costs money.

Speaker 0

我们有一定数量的token。

And we get a certain number of tokens.

Speaker 0

我每次输入提示词,虽然看不到费用在跳动,但最终都有对应的美元成本。

And any prompt I give, even though I'm not, like, seeing the penny count move by, has a a ultimate dollar cost to it.

Speaker 0

而且,也许在典型的编程场景中,消耗几万、几亿个token,我们已经觉得这个价值是合理的了。

And, you know, maybe in the typical coding example and, you know, consuming tens of thousands, hundreds of millions of tokens, we've sort of justified the value of that.

Speaker 0

因为代码有商业价值,也有货币价值的大小。

Because the the code has business value and the size of monetary value.

Speaker 0

但是,像代币和支撑它的货币,感觉比以往任何时候都更接近了。

But, like, the the sort of, like, token and the currency that backs it, like, they feel closer than ever.

Speaker 0

而且,不管我是花一分钱还是一美元在第三方服务上,还是花几万或几十万代币在语言模型上,我们做的其实是类似的事情,对吧?就是我们需要智能、数据、操作或服务来执行那个提示,并实现某个结果。

And, you you know, whether I'm spending a penny or a dollar on a third party service or I'm spending, you know, tens or hundreds thousands of tokens with the LM, we're sort of doing a a similar activity, right, which is that we need intelligence or we need data or we need operations or we need a service to execute on that prompt and, you know, achieve some outcome.

Speaker 0

我觉得这就像……

And I think it's like it...

Speaker 0

即使只是这个观点,也感觉很前卫,而且感觉还处于早期阶段。

Even just this view feels very provocative, and it it feels early.

Speaker 0

但我觉得随着时间的推移,看到代币和美元并排会变得非常自然。

But I I think it's gonna feel very natural over time to see the the token and and the dollar side by side.

Speaker 0

而且,对我来说,就像,我为一个生日派对计划……

And, you know, for me, it's like, you know, I planned a birthday party for...

Speaker 0

我的意思是,这……

I mean, it's...

Speaker 0

不知道这个……

Don't know if the...

Speaker 0

好不好,但我花了5.47美元办了个生日派对。

It's any good, but I planned a birthday party for $5.47.

Speaker 0

听起来还不错。

That doesn't seem too bad.

Speaker 1

再说一遍,我们这期节目是在2026年,也就是Claude元年录制的。

Again, we're we're doing this episode in the year of our Claude 2026.

Speaker 1

我们会在终端里展示这个例子。

Like, we're gonna show the terminal the terminal example.

Speaker 1

而且大多数看这个节目的人——再说一次,AI对每个人来说,不管你是技术大牛还是小白——看到这个都会觉得,好吧。

And most people watching this, and again, how AI is for everybody, super technical and not, they're look at this and be like, okay.

Speaker 1

我……

I'm...

Speaker 1

但是,对,我不会在终端里玩我的生日派对。

But, yeah, like, I'm not going to play on my birthday party in the terminal.

Speaker 1

但咱们就顺着这个思路,想想六个月后或者十二个月后会怎么样。

But let's just pull that thread six months in the future or twelve months in the future.

Speaker 1

到时候会有一大批开发者把这些东西包装成对普通用户更友好的体验。

There's gonna be a bunch of builders out there that are gonna wrap this in a much more consumer friendly user user experience.

Speaker 1

然后你就能做出特别有意思的产品,能以更人性化的方式互动和交易,这又能用不同的思维方式去解决问题。

And then you're gonna be able to build such interesting products that can interact and transact in just a much more human way, which, again, can just solve problems in a different in a different mindset.

Speaker 0

我觉得建立一个这样的业务会很有意思:你的主要客户想要的是短暂的互动,不一定需要你提供仪表盘、管理后台、落地页,或者那些通常很有用的东西,当人类或企业跟你互动时。

I think it'd be really interesting to build a business where your primary consumer sort of wants an ephemeral interaction with you, and it doesn't necessarily require you having a dashboard or an admin panel or a landing page or, you know, all all the other typical things that are really useful, you know, when a human or a business is interacting with you.

Speaker 0

相反,你可以专注于一个超级有用的单一API,直接从中变现,让你的主要受众变成智能体。

And instead, you could focus on, like, just a hyper useful single API and and monetize that directly and and and make your, you know, audience primarily agents.

Speaker 0

我觉得很多真正有趣的业务都能从这个机会中涌现出来。

I think a lot of just, like, really interesting businesses can emerge out of out of that opportunity.

Speaker 1

我完全同意。

I I completely agree.

Speaker 1

然后,智能体会去识别这些业务是什么,把它们建起来,并与其他智能体客户进行交易。

And then we're gonna have agents identify what those businesses are, build them, transact with other agent customers.

Speaker 1

全是智能体,一路到底。

Agents all the way down.

Speaker 1

那么,史蒂夫,

Well, Steve,

Speaker 0

一路到底。

this way down.

Speaker 1

太棒了。

Awesome.

Speaker 1

简单回顾一下,我们看到了Minions,以及如何从Slack启动开发工作,还有投资开发者体验的好处。

Just to recap for folks, we saw minions and how to kick off, development work from Slack and the benefits of investing in developer experience.

Speaker 1

再次强调,工程副总裁们,就是专门组建一个开发者体验团队,给它一些关爱,产品经理们就别挡道了。

Again, VPs of engineering, just like carve off a DevX team and give it some love and product managers get out of the way.

Speaker 1

如果你在开发者体验上花些时间和精力,最终你会得到更多的产品成果。

You'll get more product at the end of the day if you just, give give some time and effort towards developer experience.

Speaker 1

然后我们看到了机器对机器支付,我觉得等这期节目播出的时候,我们应该能聊聊或者看到相关进展了。

And then we got to see these machine to machine payments, which I think by the time the episode is live, we should be able to maybe talk about or or see.

Speaker 1

所以,祝好运吧。

So fingers crossed.

Speaker 1

完全同意。

Totally.

Speaker 1

对。

Yep.

Speaker 1

这在我们节目上线的时候应该已经能看到了。

This will be live by the time our episode goes live.

Speaker 1

我们还展示了怎么策划一个,嗯,得放大一下,抹茶芝士蛋糕生日派对,在

And we showed you how to plan a, I guess, gotta zoom in, a matcha cheesecake birthday party in

Speaker 0

新的抹茶派对,4月19号,看来是。

New matcha party, April 19, apparently.

Speaker 0

全是抹茶相关的东西。

All things matcha.

Speaker 0

看来我没选这个日期。

I guess I didn't pick the date.

Speaker 0

所以机器人觉得那是个不错的生日日期。

So the the robot has decided that would be a good birthday.

Speaker 1

那就是4月19号星期六,下午3点到6点。

So Saturday, April 19, three to 6PM.

Speaker 1

听起来完美。

Sounds perfect.

Speaker 1

我们花了6美元就策划了一个生日派对。

We planned a birthday party for $6

Speaker 0

完美。

Perfect.

Speaker 1

碳中和。

Carbon neutral.

Speaker 1

史蒂夫,这太棒了。

Steve, this is awesome.

Speaker 1

在我送你走之前,有几个快问快答的问题。

Before I send you off, couple lightning round questions.

Speaker 1

当然可以。

Sure.

Speaker 1

第一个问题,我们刚才展示了一个比较刻意的生活场景,但你个人平时是怎么用AI的?

One, you know, we showed kind of a a contrived personal use case, but what are your personal workflows for AI?

Speaker 1

我特别感兴趣的是

The thing I've

Speaker 0

软件的那种可抛弃性。

been really interested in is the sort of, like, disposability of software.

Speaker 0

而且,我……

And, I've...

Speaker 0

我现在有个四个月大的孩子,还有一个……

I have a a four month old now and a...

Speaker 0

差不多两岁半了。

Almost two and a year old now.

Speaker 0

那个两岁半的孩子老是抢我手机,想换音乐。

And the 2.5 year old keeps grabbing my phone to, like, try to change music.

Speaker 0

所以我试过一些音乐应用,控制得非常严格,只有六首歌。

So I've I've toyed around with, like, music apps that are extremely controlled to just six songs.

Speaker 0

我完全不知道怎么开发iOS应用,但机器人会。

I have no idea how to build iOS apps, but the robot does.

Speaker 0

所以我……

So I...

Speaker 0

我一直在尝试这种小玩意儿。

I've been toying around with, like, little little engagements like that.

Speaker 0

然后我也用,你知道的,那些……

And then I I use, you know, the...

Speaker 0

所有AI应用我也都按常规方式用,我想,除此之外。

All the AI apps sort of in the normal way, I I guess, in addition.

Speaker 1

嗯,如果大家想创建这样的应用,我们刚和Jesse Janae做了一期节目,她做了一个极简的儿童版YouTube,里面所有内容都可以……

Well, if folks want to create an app like that, we just did an episode with Jesse Janae who built a, like, minimalist YouTube for kids where it can all...

Speaker 1

比如,她的孩子只能看她预先批准的视频,而且只能左右滑动切换。

Like, her kids can only watch the videos that she preapproves, and you can only swipe back and forth.

Speaker 1

你不能做任何……

You can't do any...

Speaker 1

就是,没有其他按钮。

Like, no other buttons.

Speaker 1

非常简洁。

It's very streamlined.

Speaker 1

所以和你的音乐例子很像。

So very similar to to your music example.

Speaker 1

好的。

Okay.

Speaker 1

然后我的最后一个问题,刚才在克劳德那个例子里稍微透露了一点。

And then my last question, which got a sneak preview of a a little up on this Claude example.

Speaker 1

但是当AI不听的时候,你知道,当你的助手没有一次成功的时候,你的提示策略是什么?

But when AI is not listening, you know, when your minion does not one shot, what is your prompting strategy?

Speaker 1

而且你是个家长。

And you're a parent.

Speaker 1

所以,你会像温柔育儿一样对待你的AI吗?

So, like, do you gentle parent your AI?

Speaker 1

你会不会说,我知道你能做到?

Are you like, I know what you can do it?

Speaker 1

还是说,你会贿赂它?

Or do, you know, do you you bribe it?

Speaker 1

你会给它15美分的碳中和奖励吗?

Do you offer it 15¢ carbon neutral?

Speaker 1

就像,你会怎么做?

Like, what do you

Speaker 0

那个……

That...

Speaker 0

听起来有点疯狂,但我确实一直努力保持礼貌。

It sounds crazy, but, like, I have made a concerted effort to always be polite.

Speaker 0

对,我也是。

And Same.

Speaker 0

而且我并没有……

And I don't...

Speaker 0

我的意思是,就像,我……

I mean, like, I...

Speaker 0

你知道,我喜欢科幻。

You know, I like sci fi.

Speaker 0

我喜欢,我喜欢外星人那些东西。

I like I like alien stuff.

Speaker 0

大家,就像,有种,谁知道那会不会发生呢?

Y'all, like like, there's this sort of, like, who knows if that's gonna happen or not?

Speaker 0

但是,我绝对不想被抓到没礼貌。

But, like, I definitely don't want to be caught being rude.

Speaker 0

虽然,我好像读过一些东西,说更严厉或者更粗鲁可能会带来更好的……

Even though, like, I I think I've read some stuff of, like, you know, being more intense or being rude can result in better...

Speaker 0

就是,我不想……

It's like, I don't wanna...

Speaker 0

我宁愿多做一点额外的工作,也不愿意留下我态度不好的记录,因为你永远不知道会发生什么。

Like, I'd rather have to do a little bit extra work than have it on the record that I was mean because you never know.

Speaker 0

你永远不知道。

You never know.

Speaker 0

但更认真的回答是,第一,让它解释或证明自己的行为确实帮了不少忙。

But the but the more serious answer is, one, asking to explain or justify itself has helped quite a bit.

Speaker 0

然后我觉得在其他情况下,我试过,比如……

And then I think in other cases, I've I've tried, like...

Speaker 0

在其他我知道正确方向的情况下,我会先朝正确的方向走,然后让它查看状态,看看差异,或者看看我留下的其他线索,作为引导它的方向性提示。

In other cases where I know the right direction to go, I will I will start going in the right direction, and then I will ask it to look at sort of, like, the get status to look at the diff or, like, look at other sort of, like, breadcrumbs that I've left as, like, the directional thing to help guide it.

Speaker 0

然后,当然,如果我做的事情不是经常性的,但以后还会再做,我会尽量把它保存在某个技能、提示或其他东西里,以便以后可以重新注入。

And then, of course, like, if I'm doing a thing that's not recurring, but that I'm gonna do again, I try to keep that in in some skill or or or prompt or otherwise that I can inject back in later.

Speaker 1

明白了。

Got it.

Speaker 1

所以你就像爸爸教孩子骑自行车那样,手扶着车后座,然后你让那个运动员……

So you're doing, like, the dad teaching his kid to ride a bike move where, like, your hands on the back of it, and then you let the athletic

Speaker 0

哦,你这么说我才真正意识到这一点。

Oh, you're like It did really hit me until you said that.

Speaker 0

但我觉得,在机器人出现的同时养育孩子,这件事真的有点奇怪。

But I want something really there's something really weird about raising kids at the exact same time that the the the the robot emerges.

Speaker 0

我之前还没真正想明白。

It hadn't really clicked with me yet.

Speaker 0

所以我不知道是谁影响了谁,但它们确实同时发生。

So I I don't know what's informing what, but they are happening at the same time.

Speaker 1

我说过,一边养孩子,一边给智能体写灵魂文件,真的很有意思。

I said something like it's really interesting to be raising kids and literally writing, like, soul.md files into my agents.

Speaker 1

我觉得这算是技能上的良性循环吧。

Like, I guess that's a virtuous cycle of of skills.

Speaker 1

好了,史蒂夫,这次聊得真棒。

Well, Steve, this has been awesome.

Speaker 1

我们在哪里能找到你,我们能帮上什么忙?

Where can we find you, and how can we be helpful?

Speaker 0

你可以在 stripe.dev 上了解更多我们在 Stripe 做的工作,那是我们的博客。

We can learn more about the the work we're doing at Stripe at stripe.dev, which is our blog.

Speaker 0

在那里你可以了解到我们正在构建的一些有趣的东西。

So you can learn all about, you know, some interesting things we're building.

Speaker 0

我刚才展示的演示,你可以在 docs.stripe.com/payments/machine 上了解更多。

The demo I just showed you, you can learn more about at docs.stripe.com/payments/machine.

Speaker 0

还有,我想顺便提一下我的推特,就是 @Steve Kaliski。

And I guess I'll plug my Twitter, which is just at Steve Kaliski.

Speaker 0

太棒了。

Amazing.

Speaker 0

就这三个。

So those three.

Speaker 0

好的,是的。

Well Yeah.

Speaker 1

感谢你参加《How AI AI》节目。

Thanks for joining How AI AI.

Speaker 1

这太棒了。

This was awesome.

Speaker 0

太棒了。

Awesome.

Speaker 0

非常感谢你邀请我。

Thank you so much for having me.

Speaker 1

非常感谢大家的观看。

Thanks so much for watching.

Speaker 1

如果你喜欢这期节目,请在YouTube上点赞和订阅,或者更好的是,在评论区留下你的想法。

If you enjoyed the show, please like and subscribe here on YouTube, or even better, leave us a comment with your thoughts.

Speaker 1

你也可以在Apple Podcasts、Spotify或你最喜欢的播客应用上找到这个播客。

You can also find this podcast on Apple Podcasts, Spotify, or your favorite podcast app.

Speaker 1

请考虑给我们留下评分和评论,这将帮助其他人发现这个节目。

Please consider leaving us a rating and review, which will help others find the show.

Speaker 1

你可以在howiaipod.com上查看我们所有的剧集,并了解更多关于这个节目的信息。

You can see all our episodes and learn more about the show at howiaipod.com.

Speaker 1

下次见。

See you next time.

关于 Bayt 播客

Bayt 提供中文+原文双语音频和字幕,帮助你打破语言障碍,轻松听懂全球优质播客。

继续浏览更多播客