CodeRabbit 的软件工厂如何运转:Harjot Gill 谈智能体写代码后的评审
原题Software factories and code reviews with Harjot Gill
看前速览
CodeRabbit CEO Harjot Gill 解释团队怎样让智能体多写代码,并把工程师的注意力从逐条看改动转向发布风险。
让智能体改完就能迅速验证
Gill 介绍了本地模拟、依赖仿真和逐步放量三个环节,智能体还会持续处理导致合并队列重置的不稳定测试。
把人工评审集中到发布风险
CodeRabbit 按一次发布汇总风险检查,数据库结构变更等操作仍要工程师判断。如果生产回归能明确归因,开发者可能失去直接发布的资格。
算成本时也要看 CI、沙箱和 CPU
改动量上来后,CI 和沙箱同样会消耗大量算力,甚至受 CPU 容量限制。Gill 的个人模型支出与厂商报价反映的是 CodeRabbit 的规模。
模型常换,验证工具链可以持续改进
前沿模型迭代太快,Gill 认为微调收益很快会被追平。他介绍了开源仓库的评审反馈,也举出用模拟和 TLA+ 找并发问题的例子。
速度和支出要放回业务背景判断
Gill 认为开发者工具竞争激烈,留给新产品的窗口缩短了。Orosz 则追问,这么花钱、这么工作在别的行业是否也划算。
完整摘要
Harjot Gill 把 CodeRabbit 的软件工厂拆成多层反馈。智能体用测试和模拟验证改动,处理 CI 中不稳定的测试,并观察逐步上线的版本。工程师仍要判断发布风险并调查故障。如果生产回归能追溯到某位开发者的改动,对方可能失去直接发布权限。Gill 也谈到把 CI 收回自建的原因、如何衡量模型支出是否换来了实际进展,以及为何把投入放在评审工具链上。主持人 Gergely Orosz 追问,高额推理开销和高强度工作能否在开发者工具之外的公司产生同样的回报。
章节
文字稿
简要说明Brief Description
与 Harjot Gill 探讨软件工厂和代码审查Software factories and code reviews with Harjot Gill
目录Table of Contents
- 简介Intro
- Harjot 如何在一个月内提交了 5,000 多个拉取请求How Harjot shipped over 5,000 pull requests in a month
- Harjot 进入科技行业的历程及他的首批创业项目Harjot’s path into tech and his first startups
- 早早坚信 AI,并创立 CodeRabbitEarly conviction around AI and founding CodeRabbit
- 切换到 AI 编码Switching to AI coding
- 软件工厂详解Software factories explained
- 什么正在取代人工代码审查What’s replacing human code review
- 技术债务与清除低质量内容的测试Technical debt and deslopping tests
- 评测Evals
- 形式化方法Formal methods
- CodeRabbit 的 AI 成本AI cost at CodeRabbit
- 2026年的初创企业融资与人工智能支出的价值Startup funding in 2026 and the value of AI spend
- 招聘Hiring
- 工作节奏、睡眠与职业倦怠Work pace, sleep, and burnout
- 人工智能时代的技能Skills for the AI era
- 书籍推荐Book recommendation
简介Intro
Harjot Gill:光是 AI 成本,我每个月就要花大约 25 万至 27.5 万美元。Harjot Gill: My AI costs alone are around $250,000 to $275,000 a month.
主持人:哇,你真是让我们惊艳。Host: Wow, you're really stunning us.
哈乔特·吉尔:是的,我是说,那只是我一个人。人类一天就能做出更多决策,推动数百万美元的支出。这话可能有点大胆,但写出一堆垃圾内容的其实是人类,不是 AI。我现在意识到了这一点。如果 AI 能拿某些东西来验证,那它此刻写出的垃圾内容其实更少。Harjot Gill: Yes, I mean that's just me alone. Humans can make lot more decisions in a day to drive millions of dollars spent. This might be a hot take, but humans were writing slop, not AI. That's what I'm realizing. AI is actually writing less slop at this point if it can validate against something.
主持人:所以你的意思是,过去大多数团队在没有验证的情况下,都会发布一些有点粗制滥造、质量不高的东西。Host: So you're saying that in the past most teams would ship kind of slop or low quality stuff when we didn't validate it.
Harjot Gill:是的,随着速度提升,我们看到的缺陷实际上在减少,而不是增加。Harjot Gill: Yes, we are seeing less defects, not more actually as the velocity is going up.
主持人:你正在招聘,而且你说有个附加条件。申请者必须满足以下两项条件之一才能加入:要么在过去 30 天内有品位地合并至少 1,000 个 PR,要么玩过至少 500 小时的《文明》《异星工厂》等模拟游戏。Host: You're hiring and you said there's a caveat. The person who applies must meet one of the following two criteria to join. Either they have tastefully shipped at least 1,000 PRs in the last 30 days or has played at least 500 hours of simulation games such as Civilization, Factorio, etc.
Harjot Gill:如果人们从小玩策略游戏,我认为他们现在会非常擅长使用这些智能体。Harjot Gill: If people have grown playing strategy games, I think they will be very successful with these agents right now.
主持人:一位创业公司 CEO 全面押注 AI 智能体和软件工厂后,一个月合并 5,000 个拉取请求,会是什么样子?这位 CEO 是 Harjot Gill,他执掌着 AI 代码审查创业公司 CodeRabbit。Harjot 写代码已有 30 年,这是他创办的第三家创业公司,而他从未像现在这样交付过这么多产品。今天,我们将听听 Harjot 为什么说人工代码审查已经过时,但 AI 代码审查却比以往任何时候都更重要;工程师的“驾照”这个概念;以及他公司里的开发者如果提交太多漏洞,就会失去将代码部署到生产环境的权利。他还大胆提出,800 万美元的种子轮融资已不足以打造一家软件创业公司,我也对此提出了反驳,此外还有很多精彩内容。如果你想不加滤镜地了解一位真正全心拥抱 AI、亲力亲为使用 AI 的创始人兼软件工程师是如何工作的,这期节目就是为你准备的。Host: What does it look like when a startup CEO merges 5,000 pull requests in a single month thanks to going all in on AI agents and software factories? This CEO is Harjot Gill, heading up CodeRabbit, the AI code review startup. Harjot had been writing code for 30 years, is on his third startup and never shipped as much as he does now. Today we hear why Harjot says human code review is dead, but AI code reviews are more important than ever. The concept of driving license for engineers, how devs at his company lose their right to ship to prod if they ship too many bugs. His spicy take that $8 million seed rounds are no longer enough to build a software startup and me pushing back on it and many more. If you want an unfiltered look on how a truly AI-pilled founder slash software engineer operates who is extremely hands on with AI, this episode is for you.
虽然我远没有 Harjot 那么笃信 AI,但了解他的思路,以及他对开发工具行业的看法,还是让我受益匪浅——如今这个行业的竞争比以往任何时候都更加激烈。本期由 Turbopuffer 赞助。我想给大家看看全新升级的 Pragmatic Engineer 搜索功能,网址是 pragmaticengineer.com/search,它是我基于 Turbopuffer 构建的。我一直对 Substack 的搜索功能很不满意,因为它只能按关键词搜索,我没法搜到那篇我和 Kent Beck 一起调侃一家大型咨询公司的文章。我明明要找的是那篇关于麦肯锡的文章,可 Substack 怎么都找不到。所以我决定自己打造一个我需要的搜索功能。从构想到部署,整个过程我只花了 3 个小时,使用了 Codex 和 Turbopuffer,其中繁重的工作都由 Turbopuffer 完成。And while I am nowhere near this AI-pilled as Harjot, I found it educational to understand his thinking and his views on the dev tools industry where competition feels more intense than ever before. This episode is presented by Turbopuffer and I want to show you the new and improved the pragmatic engineer search at pragmaticengineer.com/search that I built on top of it. I was frustrated with Substack search, how their search was keyword and I couldn't do a search like the article where me and Kent Beck made a fun of a big consultancy. I'm obviously looking for the piece about McKinsey, but Substack cannot find it for the life of it. So I decided to build a search that I needed. I did the whole thing from idea to deployment in 3 hours with Codex and Turbopuffer with Turbopuffer doing the heavy lifting.
我把所有文章都导入了 Turbopuffer。它负责生成嵌入向量,并让全文搜索正常运行。搜索效果比 Substack 自带的好得多。你可以亲自去 pragmaticengineer.com/search 体验一下。 不过,我们不妨把目光放得更长远一些。Substack 要怎样才能让每个出版物都拥有这种高级搜索功能?使用大多数其他搜索系统时,你需要创建许多分片,而且搜索索引的运维成本会很高。但在 Turbopuffer 中,每个出版物都只是一个命名空间。闲置的命名空间存放在对象存储中,不会产生计算成本。活跃的命名空间则会被加载到 NVMe 和内存缓存层,因此响应速度非常快。这正是 Turbopuffer 能够扩展到数亿个命名空间的原因,也是 Ramp、Harvey 和 Notion 等公司的多租户 AI 产品都构建在它之上的原因。I dumped all my articles into Turbopuffer. It handles creating embeddings and getting full text search working. The result is a much better search than what Substack has. Check it out for yourself at pragmaticengineer.com/search. But let's think bigger. What would it take for Substack to give every single publication this kind of advanced search? With most other search systems, you would need to create a bunch of shards and it would be expensive to operate the search indexes. But with Turbopuffer, each publication is simply a namespace. Idle namespaces live in object storage which has no compute cost. Active ones are pulled into NVMe and memory caching tiers, so they are served very fast. And this is how Turbopuffer can scale to hundreds of millions of namespaces and why multi-tenant AI products at companies like Ramp, Harvey, and Notion are built on top of it.
使用 Turbopuffer,你真的能兼得所有优势:惊人的扩展能力、低延迟和低廉的运营成本。无论你是像我一样在做一个个人项目,还是在构建一个拥有数百万账户的平台,都可以去 turbobuffer.com/pragmatic 看看。Harjot,欢迎来到播客节目。With Turbopuffer, you really do get the best of all worlds, ridiculous scale, low latency, and cheap operating costs. Whether you're building a side project like I did or a platform with millions of accounts, check it out at turbobuffer.com/pragmatic. Harjot, welcome to the podcast.
Harjot 如何在一个月内提交了 5,000 多个拉取请求How Harjot shipped over 5,000 pull requests in a month
Harjot Gill:嗨,谢谢邀请我来这里。Harjot Gill: Hey, thanks for having me here.
主持人:很高兴你来到这里。你们每个月的拉取请求数量都很多,上个月就超过了 5,000 个。Host: It's great to have you here. This is your pull requests per month like the last month, it was more than 5,000 pull requests.
Harjot Gill:没错。Harjot Gill: That's right.
主持人:怎么做?Host: How?
Harjot Gill:到这个阶段,我觉得真的就是机器在造机器了。我是说,我想现在它们确实很擅长让智能体一直忙碌。Harjot Gill: At this point, like it's like really machines are building machines like I mean just good at keeping the agents busy at this time I would say.
主持人:这些拉取请求是在做什么?你打算什么时候开始开发它?因为你知道,你会承担很多责任,还要花很多时间经营公司,我想,还得和人协调、处理各种突发状况,诸如此类的日常事务,对吧?Host: What are these pull requests doing? When are you building it because you know like you will you will have a lot of responsibility and time spent just running the company, I guess coordinating with people, pulled into fires, the usual stuff, right?
Harjot Gill:是的,我的意思是,我觉得这一切的起点是 Codex 模型出现的时候。我会说,那是第一个转折点:我们开始看到这些智能体变得足够出色,能够胜任实际工作,甚至可以把成果部署到生产环境。大约就在那段时间,我很清楚地意识到,生成式 AI 已经发展了大概两年,但过去三四个月是一个重大的转折点。Harjot Gill: Yeah, I mean it's all started like I think when the models I would say a Codex model was the first inflection point we started seeing these agents getting good enough to do like real world work where we can even ship to production. And around that time like it was very clear to me that okay we have been around for like two years like I mean so generative AI has been going on for a while but last three or four months were like a big inflection point.
主持人:我这里也看到,到了七月份之前,你的数据大概只有……我不知道,最多100或200,然后七月份就超过1,000了。Host: I also see it here it was up to July you had like I don't know maybe 100 or 200 max and then it went to more than 1,000 in July.
Harjot Gill:那简直是另一回事,你简直无法相信,一旦你开始以那种规模交付,一切都会出问题。所以,作为领导者,我一直在做的一件关键事情,就是思考如何提高团队的生产力。我提交的很多拉取请求,都是在解决我们当前软件开发生命周期中的某个瓶颈。当然,我可能也会做一两个战术性功能,比如每条消息都指挥智能体来构建 UI 之类的,但说实话,我写的大部分代码都是在修修补补、做维护工作,比如修 CI、处理不稳定的测试,或者构建某种分布式系统,修复缓存方面的问题之类的。对我来说,这些拉取请求做的就是一步步爬坡优化。现在的效率还不太理想,我觉得这个数字可能应该比现在高出 10 倍;我们甚至还没发挥出这些智能体的巅峰能力。Harjot Gill: was just something else and you wouldn't believe like everything just breaks when you start shipping at that scale. So as a leader like one of the key things that I keep doing is like how do I make my team productive and a lot of my pull requests go in just fixing some bottleneck in our SDLC at this time. I mean of course I'm doing like maybe one or two tactical features where I'm driving the agents with each message to craft the UI or something but most of my volume of the code will be like believe it or not fixing things like janitorial work like fixing CI or flaky tests or building some like distributed system like fixing something in caching or something right. So all of that hill climbing is what I'm doing with these pull requests. Right now it's very not very optimal I would say that number should probably like be 10x of where it is we have we're not even hitting the peak here with what these agents can do.
主持人:那么,究竟是哪些智能体或什么工具开启了这一切?我看是在七八月左右?是 Opus、Codex,还是别的什么?Host: And what agents or what tool really kicked this off around I see I was July August was was was this Opus was this codex was it something else?
Harjot Gill:是的,两家模型提供商在能力方面一直步调一致,所以我们团队里很多人都用 Opus 配合 Claude Code。不过我个人用 Codex,我是 Codex 桌面应用的忠实粉丝。我写代码大概有 30 年了,创办过三家初创公司,而且大多数时候在每家公司里我也都身兼 CTO。我一直是个 Neovim 用户,一辈子都在用代码编辑器,甚至还公开过我的点文件,很多人都在用;但现在,我们已经完全进入了一个不同的阶段。自从我转用 Codex 桌面应用后,就没再用过代码编辑器。它真的很棒。从那以后,我总是在想:我一次能让多少个智能体保持忙碌?所以我其实睡得不多。这就是另一面……Harjot Gill: yeah both the model providers have been like in lock step in terms of capabilities so a lot of our team members use Opus with cloud code but I personally use codex I mean have been a big fan of the codex desktop app. Like I've been like coding like 30 years I've done three startups and most of the time I've also been like kind of the CTO hat in every company I've been. And I have been in Neo Vim person I've. been been a code editor person all of my life, even like had put out my dot files which a lot of people use; but now, we are in a different zone altogether. I have not been in a code editor since I shifted to codex desktop app. It's pretty awesome. And ever since then, like it's been always about like how many agents can I keep busy at a time. So I'm actually not sleeping much. That's the other side of
主持人:嗯。Host: Mm.
Harjot Gill:就像你会感到各种焦虑,因为你确实得……嗯,因为你创造的价值,我是说,如果你真的知道该构建什么,那么你创造的价值就非同凡响。我是说,我从没见过公司内部的事情能在这么短的时间内推进得这么快。所以这不只是数量的问题——这些并不是一些无关紧要的 PR。它们确实在推动公司向前发展。Harjot Gill: Like you get all these anxiety that you have to really um because the kind of value you are creating, I mean, if you know really what to build, then the kind of value you are creating is is phenomenal. Like I mean, I've never seen things move in such a compressed time frame quickly within the companies. So it's not just the volume like these are not like just some silly PRs. They're like actually moving the needle forward for our company.
主持人:好吧,你睡得不多,显然这已经影响到你的夜间休息了。你在那里主要用 Codex 和其他一些工具运行代理。不过在通勤的时候,你知道,很多人会听播客、音乐,或者就只是开车,而你有个作弊码,对吧?Host: Okay, you're not sleeping much, so it's eating into your your nights clearly. And you're running the agents there with mostly with Codex and some other tools. But when you're commuting, you know, a lot of people listen to podcasts or music or just drive and you have a cheat code there, right?
Harjot Gill:我住在东湾,每天开车经过海湾大桥去上班。我使用 Tesla FSD,估计大约 97% 的时间都是它在开车。我开车时一直用笔记本电脑给 Codex 发送指令。挺有意思的:一个 AI 在开车,另一个 AI 在经营公司。Harjot Gill: I live in the East Bay and take the Bay Bridge to work. I use Tesla FSD and estimate I drive with it around 97% of the time. I've been sending instructions to Codex from my laptop during the drive. It's funny: one AI is driving the car while another AI is driving the company.
主持人:哇。Host: Wow.
Harjot Gill:这是我正在主导的。Harjot Gill: Which I'm steering.
主持人:真不可思议,我们已经发展到这一步了,对吧?而且我想,你现在也可以用语音交流了,或者说……西蒙·威尔逊告诉我,我记得一两年前他就已经在用语音交流了。这太疯狂了,AI 能让你在不同程度上放手,或者在不同领域里,直接用来构建东西。Host: It's wild that we're there, right? And also I assume, you know, you can now talk as well or like, you know, there there's it's it's Simon Wilson was telling me how I think a year or two ago he was already talking. It's it's just crazy how different hands off or in different areas you can you can just use AI to like build stuff.
Harjot Gill:对,没错。像 CodeRabbit 这样的公司有一点就是,随着你们开始更快地交付产品,业务的方方面面也都必须以智能体驱动的速度运转。我们发现,交付速度实在太快了,注意力和营销已经成了瓶颈。所以我不得不回过头来,把营销基础也改造成高度智能体驱动的模式。具体来说,我们建了一个独立的代码仓库,称之为内容工作室。现在我们所有的幻灯片都用代码编写,采用 HTML 和 CSS。我们还搭建了一个完整的门户,用来分享这些内容、下载 PDF 等等。实际上,我们甚至通过代码投放广告——我们的 Google 广告支出高达数百万美元。针对这些关键词以及不同的广告文案,我们建立了一个循环:先查看广告效果,然后由某个智能体提出代码变更,我们再创建拉取请求来部署广告。Harjot Gill: Yeah, that's right. Like one of the things with companies like CodeRabbit is like as you start shipping faster, every part of your business also have to move at agentic speeds. Like what we are finding is we're shipping so much that the attention, the marketing has become a bottleneck. So I had to go back and also like refactor the marketing foundation to be very agentic, which means that we built like a separate repository. We call it the content studio. All our slide decks are now in code, HTML, CSS. We built a whole portal to like share those, download PDFs, and so on. We actually are running even ads through code like to like we have millions of dollars of Google Ad Spend. And the way we are going after all these keywords and the different copies on that is uh we have a loop where we look at the ads performance and then some agent comes up with the code changes and we actually create pull requests to deploy ads.
所以,当你合并那个拉取请求时,它就会部署到 Google Ads 上。也就是说,现在所有内容都已经写在代码里了。So when you merge that pull request, it deploys it on Google Ads. So it's like everything is coded inside code at this point.
Harjot 进入科技行业的历程及他的首批创业项目Harjot’s path into tech and his first startups
主持人:您在这个行业已经快30年了。在我们进一步聊聊现在是怎么打造的之前,我想先回顾一下:您是怎么起步的?怎么进入这个行业的?您最早在哪儿工作?Host: You’ve been in the industry for close to 30 years. I just want to go back before we get more into like how we're building now, but how did you get started? How did you get into the industry? Where did you first work?
Harjot Gill:是的,我想说,我职业生涯刚起步时在一家电信公司工作。那家公司其实是一家初创企业,当年被阿尔卡特朗讯收购了。在那里,我第一次意识到,原来人们可以创办公司,开发深度科技。那时做的是运营商级系统和高可用系统,所以我在第一份工作中学到了很多分布式系统方面的知识。那时候我就觉得,嗯,我想创办自己的初创公司,这也是我来美国的原因。我走的这条路,是因为我一直想创业,这一点非常明确。这并不是那种……Harjot Gill: Yeah, I mean I started my career in very early stage in a telecom company, which was actually a startup acquired by Alcatel-Lucent back in that day. That's where I first got a wave of okay, people could start companies and build deep tech. I mean that was like carrier-grade systems, high availability systems. So learned a lot about distributed systems in my first job. At that point, I kind of like felt that okay, I want to do my own startup and that was the reason I came to the US. Um and the route I took was I always wanted to do a startup and that's very clear. It's not like something
主持人:没错。反正你现在已经是第三个了。Host: Right. And now you're on your third one anyway.
Harjot Gill:我走的这条路是,先来到美国东海岸费城的宾夕法尼亚大学攻读博士学位。当时目标非常明确:我会孵化一个好点子,然后把它带出学校并实现商业化。我也确实是这么做的。于是我们从大学进行了技术转让。我的第一家初创公司恰好也处在一个转折点上,当时微服务和 Kubernetes 正在兴起。我们意识到,可观测性会成为瓶颈。Harjot Gill: So the route I took is I came into my PhD at University of Pennsylvania in the East Coast at Philadelphia. And the goal over there was very clear that I mean I'll incubate some good idea that I'll take out and then commercialize. And that's exactly what I did. So we did a technology transfer from the university. My first startup was kind of also like an inflection point right when like microservices and Kubernetes were taking off. We saw that the observability is going to become a bottleneck.
主持人:是的。Host: Yeah.
Harjot Gill:那是我的第一家创业公司,叫 Netsil,是 listen 倒过来拼的。Harjot Gill: So that was my first startup was called Netsil, listen spelled backwards.
主持人:哦,是的。这是针对 Kubernetes 的可观测性,对吧?还有监控。Host: Oh yeah. And this was observability for Kubernetes, right? And monitoring.
Harjot Gill:微服务。这个想法是,在微服务出现之前,你有单体应用,比如 Java 单体应用,人们会安装 APM 代理,比如 New Relic、AppDynamics,来对它进行埋点。函数调用就在代码本身里面。后来有了微服务,函数调用变成了 API 调用,于是你开始解耦。然后你就不得不真正地观察网络。某种程度上,你的网络成了应用本身。Harjot Gill: Microservice. So the idea there was like these prior to microservices, you had monoliths and you had like a Java monolith where people will install an APM agent like New Relic, AppDynamics, to instrument that. So your function calls were in the code itself. And when functional calls became API calls when you had microservices, so you started decoupling. Then you had to like really observe the network. Your network became the app in a way.
主持人:是的。Host: Yeah.
Harjot Gill:所以,Netsil 背后的想法是:我们能否监听这些网络事件,以了解应用程序的性能。这也算是后来出现的 eBPF 等技术的先驱。Harjot Gill: So that was the idea behind Netsil was can we listen in to these network events to understand application performance. And that was kind of precursor to eBPF and some of those technologies that came out later.
主持人:嗯。离开那家初创公司后,你去了规模更大的初创公司,对吧?还是说你是跳槽过去的,或者那是一次收购?Host: Mm. After the startup you moved to a larger startup, right? Or did you move or was it an acquisition?
Harjot Gill:我们被收购了。那是一次相当……Harjot Gill: We got acquired. It was a pretty
主持人:是 New Relic,对吧?Host: New Relic, right?
Harjot Gill:对,对,那时它是一家上市公司。我们当时刚完成一轮融资,随后收到了一份相当不错的报价,于是就选择退出了。之后我在那里待了几年,努力把我们的技术整合进他们的技术栈和产品中。后来我辞职创办了另一家公司,叫 FluxNinja,做的是 Web 规模相关的东西。比如,如何进行负载削减、优雅降级,并实现可控性,对吧?我们构建了一整套 PID 控制器,确保应用在黑色星期五流量激增等情况下,不会因级联故障而崩溃。有意思的是,当时市场对 Kubernetes 服务网格这类技术还很感兴趣,但生成式 AI 突然就出现了。Harjot Gill: New yeah yeah that was a public company at that time and we um um got a pretty decent offer like we just did one round of funding but then the offer was pretty good that we took an off ramp. Then I stayed there for like a few years trying to like spend time integrating our technology into their stack and the product offerings. Then I quit to start another company called FluxNinja uh which was in like web scale. Like how do you do load shedding, graceful degradation, controllability. Right? So we built like whole PID controllers to make sure that the applications don't crash with cascading failures during like Black Friday spikes and so on. Now very interestingly like at that time the market had appetite for all these Kubernetes service meshes but then generative AI happened all of a sudden.
没错,我接触 GitHub Copilot 时,我们最先看到的就是这个。我们当时用的是 Tabnine。We saw that first yeah when I touched GitHub Copilot. We had Tabnine.
主持人:这是 2021 年,对吧?Host: This was 2021, right?
Harjot Gill:所以在 FluxNinja,我们当时在使用一些 AI 工具,比如 Tabnine 就是我们使用的产品之一。Harjot Gill: So at FluxNinja we were using some AI like Tabnine is one of the products we were using.
主持人:Tabnine 曾是 AI 自动补全领域的、的、的、的元老。Host: Tabnine was the OG of of of of AI autocomplete.
Harjot Gill:是啊,它好像会创建自己的本地模型之类的。我不知道它以前具体是怎么工作的,但它以前确实能用,只是没有 GitHub Copilot 那种让人恍然大悟的感觉,对吧?Harjot Gill: Yeah and it would like create its own local model or something. I don't know what it used to do but it used to work like but it wasn't like as great as like when the GitHub Copilot that was like the aha moment, right?
Harjot Gill:是的。Harjot Gill: Yeah.
主持人:而且我觉得,这甚至是在 ChatGPT 推出之前。Host: And this was I believe even before ChatGPT had come out.
Harjot Gill:那时候很明显,我们是一支行动迅速的团队,而代码审查当时已经成了瓶颈。所以大家会采用堆叠式拉取请求。我们开发了自己的工具,叫 SPR,并将它开源了。但问题是,考虑到 GitHub Copilot 出现后代码量开始不断增长,这种做法还是不够理想。很明显,AI 将会编写大部分代码。Harjot Gill: At that point it was very clear like we were a fast moving team and at that time the code review was already a bottleneck. So people were doing stack pull requests. We built our own tool called SPR. We open sourced it. But the but but the thing is that like it was still not ideal like given the volume of the code just started growing after GitHub Copilot. It was clear that AI would write most of the code.
早早坚定看好 AI,并创立 CodeRabbitEarly conviction around AI and founding CodeRabbit
主持人:我们先停在这里。2021 年你看到 GitHub Copilot 时,那还是 ChatGPT 出现之前。你当时就已经预言,或者说像是提前快进到了那个结论:哦,AI 会写大部分代码?Host: Let’s pause there. When you saw GitHub Copilot in 2021, this was before ChatGPT, you already predicted or kind of like fast forwarded saying oh AI will write most of the code?
Harjot Gill:没错。Harjot Gill: That's right.
主持人:这并不是一种普遍的观点。可能只有少数人这么认为,但是什么让你作出这样的假设?能不能跟我们讲讲你当时的思考过程?Host: This was not commonly held view. Like a select few might have held it, but what what made you assume this? Can you talk us through our your thinking process that time?
Harjot Gill:我身处一线,像个领导者一样,也确实亲自在现场写代码。即便在那家公司,我做的很多工作都像是后勤杂务,比如确保开发人员高效工作,添加各种代码检查工具、开发工具,想方设法提升效率,对吧?作为领导者,我的目标始终是尽快推进到下一个里程碑,对吧?而当我接触到那个系统时,我也说不准是怎么回事,只是突然意识到:好吧,这会改变一切。这个工具真的很善于判断我接下来需要做什么。我会采纳它的建议,就像是在编写非常复杂的算法一样。你只要简单写几条注释,说明想做什么,代码就会像自动补全一样生成出来,对吧?那感觉相当神奇,当时我就很清楚这一点了。Harjot Gill: I was in the arena like as a leader like I was actually coding on the ground. Even at that company, I mean a lot of the work I was doing janitorial like just making sure the developers were productive, adding all the linters, the tooling, everything to go faster. Right? As a leader like my goal has always been like how quickly we can get to the next milestone, right? And when I touched that system, I don't know like it just came to me that okay, this is going to change everything. The tool was really good in like sensing what I needed to do next. And I was accepting the suggestions like it was like writing really complex algorithms. You just provide a few comments on what you want to do and the code came out tab complete, right? It was pretty magical and at that time it was just clear to me.
我也说不清怎么回事,但我的意思是,一旦你身处其中,我觉得只要观察这些模式足够久,就能看到它们的二阶影响。三个月前,我也清楚地意识到,软件将会以怎样的方式构建。比如说,我觉得自己还在学习。这并不是说我们已经站稳了脚跟。事情变化得太快了,而我现在看到的一些情况,即使在六个月前,我们也无法预料到软件开发今后会如何演变。I don't know how, but I mean once you are in the arena, I think you see these patterns long enough the second order effects. And the same thing was clear to me three months back on how software is going to be built. Like I would say I'm still learning. It's not like we're not on a stable ground yet. Things are moving too fast and some of the things I'm seeing now we could not have predicted even six months back on on how the software development is going to evolve from here.
主持人:你创立 CodeRabbit 是基于这样的想法或预测吗?事情是这样的吗?Host: You founded CodeRabbit on this kind of notion or prediction. Was that how it happened?
Harjot Gill:说实话,我们当时没意识到这会是一个如此巨大的机会。有一点很明确:它会成为瓶颈,但我们当时的想法是,我是说,我们参考的是 Sneak 和 GitHub 生态系统中的其他几家公司,看的是它们的市值,对吧?因为我们的产品安装在 GitHub 这类版本控制系统内部。此前也有一些先例,比如总部位于欧洲的上一代公司 Sonar Source,以及我们看到的代码质量代理工具。所以我们当时想,好吧,这个市场的市值大概会处于那个水平。我们没想到的是,这个机会所对应的市场规模要大得多——那些传统上根本不会购买这类工具的人,也会排着队来买 AI 代码审查。尽管我们不向个人用户销售产品,但我们的许多用户——事实上,是大量用户——都是个人付费使用这款产品的。Harjot Gill: Actually, we didn't realize this will be such a big opportunity. One thing was clear, it will become a bottleneck, but we thought I mean the market cap we were looking at Sneak and a few other companies in the GitHub ecosystems, right? Because we have a installation which is like inside the version control systems like GitHub. Like there was some precedence around previous generation companies like Sonar Source based out of Europe, we saw like code quality agents. So we were kind of like thinking, okay, the market cap would be like in that territory. What we didn't realize that this is like much much bigger market cap opportunity because people who were not even traditionally buying those tools would line up to buy AI code reviews. Even though we don't sell to individual users, a large number of our users and look are are individuals paying for the product.
切换到 AI 编程Switching to AI coding
主持人:你以前是 Neovim 用户,几十年来都亲手写代码,对吧?你觉得转而使用 AI 有多容易?因为很多人,尤其是一些 Neovim 用户,你知道,他们也挺享受编写代码的过程,所以可能会更犹豫,不太愿意直接转过去。毕竟你得抛弃那个非常熟悉的 UI。使用代理时,你甚至都没有 UI 了。Host: You were a Neovim user and wrote code by hand for decades, right? How easy did you find it to just move over to AI? Because a lot of people, especially some folks who use Neovim, you know, like they're kind of into the craft as well, they might have been a bit more hesitant to just go there because you kind of have to, you know, get rid of that really familiar UI. You no longer even have a UI when you're using agents.
Harjot Gill:所以对我来说,编写代码只是达成目的的手段。作为创业者,你想尽快实现最终价值并完成验证。Harjot Gill: So the for me like the writing the code is just means to an end. As an entrepreneur, like you want to get to the final value and validation quickly.
主持人:嗯。Host: Mhm.
Harjot Gill:嗯,我的意思是,我确实喜欢写代码,但我不会说那是创建公司过程中最有趣的部分。关键在于你能多快把一个想法付诸实践、获得验证、发展业务,诸如此类。编码算是一项不得不做的必要工作,而维护代码库、DevOps 等等,也都是随之而来的,对吧?所以说到这一点,我并不怀念它。如果你问我是否怀念手写代码,我其实并不怀念。我真正喜欢的是,现在我可以从想法迅速转向实现,并进行验证。所以我现在做的其实是软件开发中有趣的部分。我仍然在做软件开发,并不是说我不做软件工程了,只不过现在我关注的事情比琢磨语法和自动补全有趣得多。Harjot Gill: Um I mean, I did enjoy writing code, but I wouldn't say that was the most enjoyable thing in building a company. It's about like how quickly you can get an idea out, get validation, grow that business, and so on. Coding was kind of a necessary thing you had to do and a lot of the work around maintaining maintaining those code bases, DevOps, all comes alongside that, right? So for going from I don't miss it. If you ask me like do I miss writing code by hand, I actually don't. What I love is now I'm able to go from ideas to very quick implementation and just validate. So I'm doing actually the fun part of software development. I'm still doing software development. It's not like I'm not doing software engineering, but now what I'm focusing on is a lot more fun than figuring out the syntax and autocomplete.
我是说,我的智能体在写 Rust 代码。我完全不知道 Rust 是怎么回事。最近我们有个智能体目标运行了六个星期,呃……I mean, I mean, my agents are writing Rust code. I have zero idea how Rust works. We recently like had an agent goal running for six weeks to uh
主持人:六周。Host: Six weeks.
Harjot Gill:是的,所以为了运行——也就是在对象存储上构建类似 Git 的预写日志。我刚好是在 Cursor 的 Origin 博客文章发布时,。Harjot Gill: Yeah, so for running so building like um Git write-ahead log on object stores. Like I just when Cursor’s Origin blog post came out,
主持人:是的,Host: Yeah,
Harjot Gill:我给智能体指了个方向。它运行了六周,现在已经投入生产,为 CodeRabbit 的许多知识库提供支持。所以我甚至不需要亲自实现它。它只是随着时间推移自行进行爬山优化,所有代码都是用 Rust 写的,而我连一行代码都没读过。Harjot Gill: I pointed the agent. It ran for six weeks and now we have that in production powering a lot of the knowledge bases at CodeRabbit. So I didn't even have to have the real implementation. It just hill climbed over time on its own, all written in Rust, and I did not read a single line of it.
主持人:那么,对于我们这些不太熟悉这个特定术语的人来说,爬山法对智能体意味着什么?Host: And for for those of us who are not as familiar with this specific term, what does hill climbing mean for agents?
哈乔特·吉尔:是的,所以这算是某种循环。比如,一切都从一个非常基础的环节开始:智能体可以拿某样东西来核验自己的工作。Harjot Gill: Yeah, so it's some sort of a loop. Like it all starts at a very basic that agent can verify its work against something.
主持人:是的。Host: Yep.
Harjot Gill:这些循环有点像内层循环、外层循环,还有多种类型。所以在软件开发中,你希望给智能体提供一些手段,让它们能在进行软件开发的地方附近验证自己的工作。我们做了很多——说出来你可能不信——形式化方法。大约八个月前,我们刚开始做 Slack 机器人产品时,就投入了大量精力,先用 TLA+ 对这个分布式系统将要执行的操作进行建模,然后再实现它。我们还在模拟上投入了很多精力。所以,我们扩展代码开发的方式中,代码审查只是其中一环,当然也是我们会拿来宣传的一环,但还有另外 100 件事要做,对吧?Harjot Gill: And these loops are like inner loops, outer loops, multiple types like. So when you're looking at software development, you want to like provide agents means to verify its work close to where it's doing the software development. So we do a lot of, believe it or not, a lot of formal methods. So when we first did the Slack bot product like eight months back, we invested a lot in like first modeling what this distributed system is going to do in TLA+, then implementing it. And also investing a lot in simulations. So the way we are scaling code development, code review is just one piece which we of course market, but there were like 100 other things you have to do, right?
主持人:是的。Host: Yeah.
Harjot Gill:所以我们在本地确定性模拟上投入了很多,对吧?Harjot Gill: So we invested a lot in local deterministic simulations, right?
Harjot Gill:嗯。Harjot Gill: Mhm.
哈乔特·吉尔:就在最近,我们也开始投入 Lean 定理方面了。所以其中很多内容就像……Harjot Gill: Very recently we started investing in Lean theorems as well. So a lot of that is like
主持人:Lean 是另一种形式化方法,对吧?Host: Lean is another form of formal methods, right?
Harjot Gill:就像你有定理,它甚至可以用于数学证明;不过你也可以尝试构建可证明正确的软件,比如计费服务之类的。我们有一大批 Lean 定理。播客结束后我可以给你看看。我们在那里做的事情相当酷。我们一直在做的就是这些爬山式的探索。比如先让它们在本地爬山,然后再进入下一个环境,比如模拟器就是我们投入资源的另一个方向。Harjot Gill: like you have theorems and it even like used for mathematical proofs, but you can also try to build provably correct software things like billing service and all. We have got like bunch of Lean theorems. I can actually show you after the podcast. It's pretty cool what we're doing there. So what we have been doing is like these are all like hill climbing. Like you're first making them hill climb locally, then you're going to the next environment where let's say emulators is another thing we have invested in.
主持人:嗯。Host: Mhm.
Harjot Gill:所以现在你可以非常快速地模拟真实 API,比如 Google Cloud API 之类的,对吧?然后你实际上是在真实的 Google Cloud 或 Vercel 环境中进行测试。这些就是我们在开发环境中使用的云服务提供商。你可以让智能体实际启动服务并测试它们,对吧?我的意思是,这一切都是在不断迭代优化。生产环境中也是如此。对我来说,每次发布都像是一个回合。我们一天会发布很多次,对吧?每隔 30 到 45 分钟就会发布一次代码。每次发布都像策略游戏中的一个回合。如果你玩过《文明》,就知道结束回合后,你会从中学到东西。我们就是这样看待发布的:每次发布都是智能体从那个环境中学习一些东西的机会。所以很多时候,我们会在功能开关下发布功能,进行渐进式发布,比如先向 10% 的开源用户开放,等等。Harjot Gill: So you can now very quickly mock a real emulate like the real APIs, like Google Cloud APIs or whatever, right? Then you are actually testing against a real Google Cloud or Vercel environment. Those are the cloud providers we have in in dev. You can have the agent actually spin up services, actually test them, right? I mean, this is all hill climbing. And then in production as well, like the thing is that I kind of see each release. So we release multiple times a day, right? Every 30 to 45 minutes we ship code. And each release is like a turn in a strategy game. If you've played civilization, you end your turn, you learn. That's how we see releases. Like each release is an opportunity for an agent to learn something from that environment. So a lot of the times we will release features under a feature flag, do like progressive rollouts, like maybe 10% for our open source users and so on.
智能体会持续观察性能和日志,直到系统稳定,然后逐步扩大部署范围。每次发布都是智能体学习的机会。And the agent will observe the performance, the logs until it's stable, then do wider and wider rollout. And each release is the opportunity to learn for the agent.
主持人:有意思,因为你描述的这种分阶段、逐步扩大范围的推出方式,是 Facebook 长期以来一直在做的事,而且他们拥有庞大的用户群。我们说的是数十亿人,对吧?他们构建了这样一套自动化系统。除了 Facebook 之外,我不太清楚——我以前也不知道还有多少其他公司采用这种自动化推出方式,原因有好几个。一个原因是,只有当你真的拥有数亿用户时,这种方式才行得通。否则真的很难做到。构建这套系统需要大量投入,自动化也很难构建。即使在 AI 出现之前,你也需要某种机器学习(ML),而这方面的投入只会越来越大。现在你却在说,你们这家按员工人数计算、规模相当小的公司,和 Facebook 相比——你知道,Facebook 有 7.5 万人,CodeRabbit 大概……Host: Interesting because what what you're describing this kind of stage and wider and wider rollout, this is something that Facebook had been doing for a long time and they had just have a massive user base. We're talking billions of people, right? And they built this automated system and outside of Facebook, I don't really know I didn't know of many other companies that had a kind of automated rollout for few reasons. One is this only works when you have you literally have hundreds of millions of users. It's really hard to do it otherwise. It's a large investment to build. Automation is hard to build. You need even pre AI, you needed some sort of ML, which is again just goes up and up. And now you're describing that you at a pretty small company in terms of head count compared to Facebook you know Facebook 75,000 people, CodeRabbit is like
主持人:大概有 40 名工程师?Host: 40 engineers maybe?
主持人:是啊,而且你也已经能够为自己打造出这个了。Host: Yeah, and you built been able to build this for yourself.
Harjot Gill:没错。我们现在看到的情况是,过去 Netflix、Facebook 这类公司要靠成千上万名工程师来交付产品,也需要各种配套工具,比如围绕合并队列等流程建立的工具——总之,为了大规模交付所需的一切。如今,有了 AI,小团队也需要这些东西。现在,30、40 人的团队如果能正确使用智能体,采用合适的抽象方式,并运用整套“软件工厂”的理念,就能交付与 Facebook 一样多的产品。这意味着,他们也需要 Facebook 当年在测试生产环境、管理风险、管理 CI/CD、缓存等方面所具备的各种复杂能力,相关事项还有很多。我的意思是,小团队同样需要这些能力。所以这就是一个绝佳机会。如果你当时在 Facebook,亲历他们交付产品、摸索如何把这些事情做好,如今就可以出来真正打造产品了,市场也已经扩大了。Harjot Gill: That's right. So the way we are seeing it is like the way Netflix, Facebook used to ship with thousands of engineers and the kind of tooling they needed like all the way from the process around merge queues and everything like they needed to ship at scale is something that small teams are going to need now with AI. Now teams of 30 40 people, if they use the agents in the right way, have the right abstraction and this whole concept of software factory, they're going to ship as much as Facebook. Which means that all the sophistication they had in terms of testing in production, managing the risk, managing your CICD, everything, caching, there's a lot of stuff around it. I mean they will need it in a small team setting as well. So it's a golden opportunity. If you were if someone was at Facebook at that time like when they were shipping and figuring out all these to go out and now actually build products, the market's grown.
现在需要这些产品的人比以往任何时候都多。There's a lot more people who need those products than ever before.
主持人:你提到了软件工厂。这个词最近经常被提起。对你来说,它是什么意思?Host: And you mentioned software factory. It's a term that is going around a lot. What does it mean for you?
软件工厂详解Software factories explained
Harjot Gill:是的,涉及很多方面。我觉得,我的看法可能和其他人稍微有点相同,不过我还是说说我的看法。即使是在用 AI 构建东西,我觉得使用 AI 有两种方式。一种更像是在陶轮上做陶器:你通过和 Claude、Coder、Codex 的每一次交互式聊天来塑造软件。比如说做 UI 开发时,我会打开浏览器进行标注;每次发送一条消息,我都是在借助 AI 打磨软件。而且作为人,我能管理的决策量有限,一天只能进行一两次这样的战术性聊天。我是说,我现在在 Codex 里通常有大约 20 个聊天,其中两个属于这种类型。Harjot Gill: Yeah, it's many things. I think, I mean, my we have a slightly maybe it's the same take as others, but I mean, I'll give you my take on it. Even when you're building with AI, there are I think two ways of using AI. One is like more like on a potter's wheel. You are like shaping the software with each interactive chat with Claude coder Codex. Like for example, like with UI development, I have the browser open and doing annotation and each time I send a message, I'm crafting the software, but with AI. And I can like manage as a human, like my decision capacity is to do only like one or two of those tactical chats in a day. I mean, I usually have like 20 chats in Codex right now. Two would be of that manner.
主持人:嗯。Host: Mhm.
Harjot Gill:大约有 18 个更像是工厂模式,比如我知道可以让智能体针对某件事不断爬坡优化。无论是构建分布式系统,还是只给它一个目标、放手让它去做,都可以,就像我之前举的在对象存储上使用 Git,以及 SQLite LTX 的例子。我们在知识库方面也做了类似的事。我们弃用了向量数据库服务商,在对象存储上基于 SQLite LTX 构建了自己的内部版本,对吧?这类事情都可以不断爬坡优化。其他事情则是每次部署时都会发生 CI/CD。这是 AI 学习并持续改进的机会。所以我有智能体一直在运行,用来清除不稳定测试,对吧?每个不稳定测试都会重置合并队列。这很糟糕,所以必须持续处理。Harjot Gill: Around 18 are more like the factory concept, like where I know that I can have the agent hill climb on something. Whether it's like building a distributed system, I can be hands off with a goal, just like the example I gave you with the Git on object stores and also SQLite LTX. That's the other thing we did with knowledge bases. We removed our vector database provider to build our own in-house version on SQLite LTX, right, on an object store. On those kind of things you can hill climb. The other stuff is like each time you have a deploy, CI/CD is happening. It's an opportunity for the AI to learn and continuously improve it. So I have agents running continuously to remove flaky tests, right? Each flaky test resets the merge queue. It's really bad. So you have to have that continuously happen.
每次部署或 CI 运行时,每次运行都是代理优化某些东西、接着做下一件事的机会,对吧?然后你也会让这些代理在生产环境中运行。所以,有些代理负责我关心的某些组件的健康状况。比如,我关心计费,也关心知识库的性能,还关心我们拥有的代码图谱。所以每次部署时,我都会让代理循环运行,观察接下来要做什么实验,并采取两种行动之一:如果它像是盲人摸象,就添加更多遥测;或者修复某些问题。这就是我在运行的这类循环,而它们就是工厂。问题是,目前聊天并不是大规模运行这些代理集群的合适界面。聊天很适合你一次发一条消息来编写软件。Each time you have a deploy or a CI, each run is an opportunity for the agent to optimize something, do the next thing, right? And then you're running the agents against production as well. So you have agents which own health of some components I care about. For example, I care about billing, I care about the knowledge base performance, like I care about the code graphs we have. So each deploy, I have the agent running in a loop to observe the next experiment now and do either two things like add more telemetry if it's like flying blind or fix something. So those are the kind of loops I'm running and those are factories. So the thing is that right now the chat is not kind of the right interface to run those agent fleets at scale. The chat is great when you are doing crafting the software one message at a time.
所以,有些事情我们还在摸索。首先,所有维护工作,比如软件发布以及工厂运维相关的日常杂务,可能都应该放到云端的沙箱里。我也不应该凌晨三点起床。我的意思是,现在工厂里更像是实行早班和夜班制。幸运的是,我们在班加罗尔有一支团队,因此采用了全天候接力的模式。所以,如果我在照看这些智能体,我就不再负责代码了;我们负责的是智能体。比如说,我有一个智能体在监控计费服务的健康状况,它遇到问题卡住了,有个问题要问我;如果我当时正好在美国时区的工作时间内,就能回答它。但我希望在我睡觉的时候,也有人能帮智能体排除障碍。所以我想说,这件事我们还没摸索明白。So some of these things we are still figuring out. First of all that whole maintenance, the janitorial work around shipping software and maintaining the factory should probably be in the cloud on sandboxes and all. And I shouldn't be the one waking up at like 3:00 a.m. I mean it's more like morning shift, night shift now in a factory. We luckily have a team in Bangalore so we have a follow the sun model. So I want like if I'm babysitting the agents I'm not owning the code anymore. We are owning agents. Let's say I have an agent looking at the health of a billing service and it stalls on something, it has a question then if I'm around during the US time zone I'm able to answer that question but I want someone to be able to unblock the agent while I'm sleeping. So I would say we haven't figured it out yet.
所以我们正处于上升轨道,但目前我们的大部分开发工作都受到一些限制:人们能在本地运行多少个会话,以及能让自己的 PR 合入多少个版本。比如,我们会看版本覆盖情况和他们合入的 PR 数量,而本地资源也限制了我们。我们发现了其中一个问题——这也是我作为 CEO 有个“作弊码”的地方:我有一台性能非常强的机器。开发人员可没有这样的机器,他们的内存通常只有 48 GB 或 24 GB,最多只能同时开三四个会话。再多的话,机器就会因为必须在本地运行的单元测试而直接宕掉,对吧?所以我们现在真切感受到了本地开发中的计算资源限制,并且正大力投入,让我们的一些云端环境能够运行起来。So we are going on the upward trajectory but most of our development right now is constrained by how many sessions people can run locally, how many releases they can like make their PRs land in. Like we look at the release coverage and the PRs they landed and we are also constrained on local resources. One of the things we found and that's where I have a cheat code as a CEO, I have a very powerful machine. The developers don't have those like they have like 48 GB RAM, 24 GB RAMs and they max out at like three, four sessions. Beyond that the machine just dies with the unit test it has to run locally, right? So we are feeling like the real compute constraints right now in terms of the local development and we are investing very heavily to go and make some of our cloud-based environments work.
主持人:不过我想,现在已经很明显了,很多开发工作会转移到云端,因为你提到的很多限制。至于我能想到的把开发迁移到云端、在云端运行编程智能体的唯一缺点,就是还有一大堆工作要做:你得搭建一个和本地环境类似的环境,还要考虑安全性等等。但这些都需要你去搭建,而且可能还涉及成本问题,因为你知道,你已经有自己的硬件了,而且用得挺充分的话,那就挺不错的,对吧?硬件买一次就能用,不过之后会有额外的成本。但我在想,成本会不会是个相对次要的问题?因为你知道,AI 确实有实实在在的成本,而且我知道你在 AI 上已经花了不少钱。Host: But I guess it's pretty obvious at this point that a lot of development will move to the cloud because of a lot of the constraints that you mentioned. And I guess the only downside I can think of moving to the cloud, of running coding agents in the cloud is a there, is a bunch of work that needs to be done: that you have an environment that's similar to your local one, security, all all that stuff. But you need to build that, and there's potentially a cost uh question as well, because now, you know, like you have your hardware and when you're utilizing it pretty well, that's pretty, that's pretty good, right? You buy it once and you do it and there will be an additional cost part, but the cost I wonder if that's a smaller question because you know, like we already know AI has a very real cost and I know you're paying a lot for AI already.
Harjot Gill:实际上这样更好,因为如果它在云端,而且更像是一种协作环境,你就能清楚地看到所创造的价值。毕竟现在有些人花在本地 token 上的钱高达数万美元。Harjot Gill: It's actually better because in the way like if it's in the cloud and more like a collaborative setting, you clearly see the value created because right now we have some people who are spending tens of thousands of dollars on local tokens.
主持人:嗯。Host: Mm.
Harjot Gill:我们不知道他们是不是在做一些副业项目,比如大家都在搭建自己的家庭自动化系统之类的。Harjot Gill: We don't know if they're doing like side projects like everyone's building their like home automation systems and
主持人:明白你的意思了,是的。Host: See what you mean, yeah.
Harjot Gill:对吧?所以本地开发也缺乏可审计性。Harjot Gill: Right? So there's no auditability as well on on local development.
主持人:哦,是啊。Host: Oh, yeah.
哈乔特·吉尔:所以有时候我们会看每个 PR 的价格,比如我自己的吧,我也说不准,每个 PR 大概 150 美元;有些人可能要几千美元。Harjot Gill: So sometimes we look at the price per PR like mines I don't know like 150 bucks a PR like for some people might be thousands.
主持人:嗯。Host: Mm.
Harjot Gill:接下来你就得问,他们到底是在做你的工作,还是在做别人的工作?所以,从成本的角度来说,我觉得,作为领导者,如果我能看到钱花在哪里、带来了什么价值,我也会愿意花这笔钱。比如在 Slack 上,我们有一个 Slack 机器人,当 CodeRabbit 对所有 DataDog 告警作出响应时,我就能清楚地看到它带来了价值。Harjot Gill: Then you have to question like are they really doing your work or someone else's work? So the thing is that like the cost perspective I think we I will be also as a leader like comfortable spending the money if I can see where it's adding the value. Like if it's in the Slack, so we have a Slack bot over there when CodeRabbit responds to all the DataDog alerts, I clearly see it's adding value.
主持人:CodeRabbit,你们的主要工作之一是 AI 代码审查。现在我得问你:代码审查已经过时了吗?Host: CodeRabbit, one of the main things that you do is AI code review. Now I have to ask you: is code review dead?
什么正在取代人工代码审查?What’s replacing human code review
我这么问是因为人工代码审查有很多迹象表明它已经快走到尽头了。我接触到的那些仍在做这件事的团队,某种程度上把它当成一场表演。就像,你知道的,打个“LGTM”(看起来没问题),但人们不再添加评论,也不再阅读审查内容。像 Uber 这样的公司现在也在做一些改动,让人们更容易看出代码审查究竟有什么作用,因为他们也知道,人们花在阅读上的时间越来越少,因为审查的数量越来越多,对吧?I’m asking because human code review, there's so many signs that it is on its last legs. It's the teams who are still doing it who I talk to, it's kind of theater. It's like, you know, "LGTM" (looks good to me), but people no longer add comments; they no longer read it. And companies like Uber are are now making changes to just make it so much easier for people to, you know, like, see what a code review does, cuz they also know people no longer they... they spend less and less time reading it because there's just more of them, right?
Harjot Gill:是的,你说得对。我的意思是,人工代码审查已经消亡了,但人工审核并没有消亡。还是有些审核必须进行。看看软件开发领域,以前在上游会有一道类似防线的东西——比如规划工作的时候,因为工程人力是昂贵的资源。所以你使用 Linear、Jira 这类工具时,采用敏捷开发和冲刺(sprint)的原因之一,就是确保开发人员把时间花在最重要的任务上。Harjot Gill: Yeah, you're right. I mean the human code review is dead, but the human review is not dead. Some review still has to happen. If you look at the software development space, there used to be like a upstream kind of a guard like when you were like planning the work because your engineering was the expensive resource. So when you were using the tools like linear Jira, one of the reasons to do this Agile and sprints was to make sure your developers are working on most important tasks.
主持人:我们不想花费大量时间和精力去开发一个最终会被丢弃的东西,对吧?Host: We don't like spend a bunch of time and effort building something that will throw away, right?
Harjot Gill:所以,之前上游有很多监管。现在,随着 AI 的出现,这道闸门突然打开了。现在你可以从想法直接进入编码,而不必经过规划。比如有工单进来,人们就会让 Devin 或 CodeRabbit Slack 机器人之类的工具看看,对吧?与此同时,你们的设计师以及那些原本不是软件工程师的人,现在也开始像他们本该做的那样编写代码,因为他们知道要构建什么。很多设计师都在交付代码。还有像 Datadog 这样的后台代理,现在也要开始提交 PR 了。每次它发现一条告警,就会说:“我来帮你处理”,对吧?Harjot Gill: So, there was a lot of regulation upstream earlier. Now that floodgate has suddenly opened with AI. Now you can go from idea to code without going through planning. Like you have a support ticket coming in. People will just ask Devin to look at it or CodeRabbit Slack bot or something, right? At the same time, your designers and people who were not software engineers are now doing coding as they should be because they know what to build. A lot of designers are shipping code. You have background agents like Datadog is now going to be opening PRs. Each time it sees an alert, it's going to say, I'm going to do it for you, right?
主持人:是的。Host: Yeah.
Harjot Gill:也就是说,规划层和审核关卡仍然必须存在于某个环节,而这就变成了拉取请求,因为上游现在有大量内容涌入,对吧?有一个待处理的拉取请求,并不意味着你就必须发布它。到了这个阶段,你要决定这件事值不值得花时间,以及要不要把它推向生产环境,因为现在瓶颈是人类的品味,也就是人类的判断力。所以,人类介入时,首先要做出判断:这是我需要发布的东西吗?还是应该直接关闭的垃圾内容?我的意思是,你是在代码已经写好之后再做判断,对吧?你要做的第二件事是评估风险:它能不能不经我审查代码就直接进入生产环境,还是我需要了解它更广泛的影响?Harjot Gill: So what that means is that your planning layer and the review gate still has to exist somewhere and that becomes the pull request because everything upstream there's a influx now happening, right? And when you have a pull request open doesn't mean that you have to ship it. At that point, you decide whether this is worth spending my time, whether I take it to production or not because the human taste is the bottleneck now, human judgment. So when a human is coming in, they're first making a decision, is this something I need to ship? Is it slop I need to close? I mean and you look at decision after the code is there, right? Second thing you're doing is like what's the risk? Can it just go through production without me looking at the code or do I need to understand the broader implication?
这就像它正在执行数据库迁移吗?为什么要进行迁移?还是说你有时想看看数据库架构,因为那属于更结构性的变更,对吧?所以我们在 CodeRabbit 里会对这些进行风险管理。有些 PR 可以快速通道直接上线。我们甚至允许实习生直接将代码发布到生产环境。所以人工代码审查已经不复存在了,不过我想说,人仍然会审查一些更高阶的抽象内容。我们如何在 SOC 2 合规的前提下做到这一点,也很有意思。现在,CodeRabbit 对变更的定义其实就是一次发布。我们会在 Slack 里发一条消息,大致列出每个 PR 所涉及风险的各种指标,风险可能很低,也可能很高。然后你就可以据此决定是否可以继续发布,或者是否需要回滚某些内容。Is it like a database migration it is doing? Why is it doing the migration? Or you want to sometimes look at the schemas because that's more structural change, right? So we do all that like risk management within CodeRabbit. So some PRs are on fast track to production. We are even letting our interns ship directly to production. So human code review is dead, but I would say human still review some of the higher order abstraction. And how we are like doing this with SOC 2 compliance is also interesting. So we don't really so the definition of change at CodeRabbit is now a release. So we have a Slack message. We kind of get all the indicators around the risk we are taking each PR. You have a minimal risk, high risk. And over there, you kind of make a decision on whether this can go or something has to be rolled back.
主持人:嗯。Host: Mhm.
Harjot Gill:所以我们现在审核的是每个版本发布,而不是像人一样审核 PR。Harjot Gill: So each release is what we are reviewing now, not PRs as a human.
主持人:你说到人工审核,为了明确一下,这里的“人工”是指软件工程师,还是也可以是非软件工程师?我只是想知道,你是否仍然认为责任必须由那些大致了解内部机制的人来承担,还是也可以由其他人来承担?可以是产品经理、设计师吗?Host: And then when you say human review, just to be clear, human means software engineer or can it also mean non-software engineer? I'm just curious if you still think the accountability needs to sit with people who kind of know the internals or can it be someone else? Can it be product manager, designer?
Harjot Gill:我认为现在仍然是软件工程师在编写代码,对吧?他们不一定还会查看代码,但确实会理解我们每次发布所承担的风险。Harjot Gill: I think it's still software engineers that code rabbit. Like they're not necessarily looking at the code anymore, but they are actually understanding the risk that we are taking with each release.
主持人:嗯。所以关键在于谁能理解这种风险。Host: Mhm. So it's about who can understand the risk.
Harjot Gill:如果出了问题,那就得由他们来处理,比如回滚。回滚大概要花个 10 到 15 分钟。我是说,如果出了问题,这就是最糟的情况。但他们还是要承担责任。所以理想情况下,我们希望开发人员在发布时待在一旁,这样就能盯着刚刚发布的东西。Harjot Gill: if something goes bad, then they are going to be the one dealing with it, like rolling back. Like it takes like 10 15 minutes to roll back. I mean, that's the worst that can happen if something goes bad. But they are still taking the responsibility. So we ideally want like developers to be around when something goes out so they can babysit what they just shipped.
主持人:是的。Host: Yeah.
Harjot Gill:嗯,这就是为什么我们尽量频繁发布。不过与此同时,比如负责批准发布的人,我们也有 SRE,他们在那时也会承担一部分责任。Harjot Gill: Um that's why we try to release so frequently. Uh but at the same time, like with the person who's approving the release, we have SREs and also they also like are taking some responsibility at that point.
主持人:我觉得这完全说得通,尤其是对企业来说,因为我们谈的是一家真正有营收、有用户的企业。你知道,比如 Slop 要是上线后把生产环境搞垮了,你就会失去客户、损害商誉,或者让人感到沮丧,等等。所以我觉得你提出要有人对此负责,这很好。但我们开发者面临的问题是,改动实在多得多,我没时间把它们全都看一遍。你们现在或将来在这方面有什么想法?你觉得需要做出哪些改变,才能让我们工程师——也就是做决策的人——获得更好的信息,从而能把注意力集中在该关注的地方?比如说,我不太想审查那种只是挪动代码、而且能编译通过的手动重构。Host: I think it it makes perfect sense, especially for a business because we're talking about a business where you actually have revenue, you have users, you know, like if Slop goes out and it takes down production, you're going to just lose customers or goodwill or cost frustration and so on. So I think it's great that you're saying, okay, let's have someone accountable. But the problem that us devs have is there's just a lot more changes and I'm not going to have time to read through all of them. What ways are you thinking either now or in the future? What do you think needs to change so that as engineers, as as the person who's making that decision, I can just have better information so, you know, like focus my attention where I need to focus? Like for example, I don't really want to review a a manual refactoring that just move things around and it compiles.
我是说,我我可以,但你知道,花时间做有些事很值得,有些事则不值得。我想你自己也清楚这一点。你已经提交了那么多拉取请求,可能会把时间集中在关键的事情上。I mean, I'm I could, but you know, that there's there's good use of my time and there's poor use of my time and I feel as you will know from yourself as well. I mean, you've shipped like so so many pull requests, you will probably focus your time on the critical stuff.
Harjot Gill:没错。我觉得如今稀缺的是人的判断力,对吧?首先,你不想去看代码。要从更高层次进行抽象。你需要了解风险和影响范围。尤其是如果你熟悉代码的某个部分,可能还想对架构变更提出意见。比如说,如果你要对一张大表执行迁移,它可能会导致生产环境崩溃。你想把这些约定俗成的经验带进来,对吧?Harjot Gill: That's right. I think the human judgment is scarce now, right? And you want to like first of all not look at the code. There's higher order abstraction. You want to understand the risk, understand the blast area, especially if you are familiar with some area of the code, you might also want to have inputs on the architectural change. Like for example, like if you're writing a migration on a large table, like it's going to crash in production. You have some of these like tribal knowledge you want to bring in, right?
主持人:是的。Host: Yeah.
Harjot Gill:还有一点是,我现在觉得,驱动这些智能体有点像考驾照,对吧?所以,我们也让负责发布的开发者承担一定责任。只要他们在免审核名单里,我们就允许他们发布。我们还设有不同的名单、群组和团队,会根据他们的经验和过往表现,决定他们是可以不经人工审核直接上线,还是需要先经过人工审核。Harjot Gill: Other thing is like also like I kind of see like now driving these agents almost like getting a driver's license, right? So we basically even on the developers put some responsibility on them who are shipping. So we let people ship if they are in the like review exempt list. So we also have like different lists and groups and teams where based on their experience and their past performance, they can either go to production without a human review or we put them in a group where they need a human review.
主持人:听起来这建立在你们之间逐渐建立起来的信任之上。Host: That sounds like based on a trust that you built up with them.
Harjot Gill:我们的做法是查看生产环境中的回归问题持续了多久。因为我们会检查修复问题时涉及的代码,所以能够追溯到引入该问题的 PR。Harjot Gill: The way we have done that is like we do look at how long there was a regression in production. So because we look at the code when you fix something, we are able to tie that back into the PR that introduced it.
主持人:嗯。Host: Mhm.
Harjot Gill:现在,如果有人不负责任,比如给智能体输入了高风险提示,或者没有跟进自己的改动直到上线,有时就会造成长达 100 小时的风险暴露。也就是说,得有人指出来,得有客户指出某些东西退步了,而你没有做质量检查之类的。等你违规次数够多,我们就会吊销你的“驾照”,要求你接受代码审查。然后你还得经历一段考察期,接受人工审查,之后我们才会让你独立发布。所以我们想建立一种文化:我认为开发者也有责任,不能让这些智能体一路开下悬崖。Harjot Gill: And now if someone has been irresponsible, like they gave the agent a high-risk prompt there or they did not follow through their change into production, you will have sometimes a 100 hours of exposure. Means someone had to point out, some customer had to point out that something regressed, you didn't QA it or something. And once you have like enough strikes, we take your driving license away. We make you go through the code review. Then then you go through like a like a proving period with some human reviews and then we let you ship on your own. So we're trying to like set up a culture where like I think responsibility is also with the developers to not drive these agents off the cliff.
主持人:说实话,我喜欢这个驾照的类比,因为我们经常谈到——嗯,我经常谈到,或者说担心质量,因为我能看出整个行业的质量似乎都下滑了。显然,这是因为现在要做的事情多得多,而审核少得多。把话题重新联系到那个反馈循环上也挺好的。你看,我觉得这很人性化,对吧?你发布得越多,就越有可能出错。只要你愿意承担责任,或者会有相应的后果,或者你会说:“好吧,接下来这段时间,要么想出更好的做法,要么让第二个人、另一双眼睛来把关。”这成本很高,但这正是我们在 AI 出现之前就会做的事,对吧?把任务交给你信任的实习生去发布,但当时我们并没有这样做。Host: I like this driving license analogy, honestly, because we talk a lot about well, I talk a lot about or worry about quality, because I can see that quality seems to have dipped across the industry. And clearly, it's because there's a lot more things going on and a lot less review, and it's nice to tie back, you know, that feedback loop that, look, like, I think it's human, right? Like, if the more you ship, the more likely you'll mess up. And as long as there you own it, or there's consequences or you say like, "Okay, from now on for, for this time period, either you know, come up with better practices or have a second person, have a second pair of eyes," which is expensive, but this is what we used to do even before AI, right? The intern for you give the trust intern to ship, but we didn't have it.
比如说,实习生需要获得两次签字批准。The intern needed to have like two sign offs for example.
Harjot Gill:对,我的意思是,差不多就是这样。我觉得人们必须承担责任。我们看到,有些开发者很擅长围绕 AI 刚生成的实现提出正确的问题,他们做事更勤勉;而有些开发者会给出含糊、笼统的目标,只说“帮我解决这个问题”,然后 AI 就会彻底重新设计架构。有时候,看到我们开始发布的那些 PR 明显有问题时,我们就得及时叫停,马上说“好,我们得立刻停下来”。我们见过这类情况。所以,有些人很擅长给这些智能体写提示并引导它们,另一些人则非常鲁莽——而这种行为正是我们会尝试惩罚的。Harjot Gill: Right. I mean it's almost like that. Like I think people have to have responsibility. Like we have seen some developers are really good in asking the AI the right questions around the implementation they just generated they're more diligent. And some developers will come in give like ambiguous high-level goal they will say just solve this problem for me and AI will like completely re-architect it. Sometimes you have to pull the plug when we start shipping seeing those PR show obvious saying okay we need to stop that right away. We have seen those kind of things so some people are like good with even prompting and steering these agents and others are just reckless and um that's that's a behavior we then try to penalize.
主持人:是啊,我也确实很认同责任这个概念。不过这里就有个问题:如果 AI 还会变得更强,对吧?当然,我们现在只是在推测,但到了那时,我们为什么还要付钱请软件工程师?我总会想到,嗯,你知道,为什么我要花钱请水管工上门?我明明可以看个 YouTube 视频,然后自己修马桶。问题是,你知道,十次里大概有九次是能修好的,但剩下那一次,我可能会把它堵住、弄坏,或者出点别的问题,而我付钱请的正是专业人士。Host: Yeah, I do like the idea of responsibility as well. But there, there's a question of like, why, if the AI will get even better, right? Like, we just, we're just speculating here, but at that point, why would you pay software engineers? And I kind of keep coming back to the idea that, well, you know, why do I pay a plumber to come when I could just watch a YouTube video and I could fix my toilet? The problem is that, you know, like nine out of 10 times it probably works, but the 10 times I made it might either clog it or break it or something, and I'm paying the professional.
Harjot Gill:是的。Harjot Gill: Yeah.
主持人:因为如果他们进来把事情搞砸了,他们就要负责,也会把问题解决好。我在想,作为软件专业人士,你知道,我们也会承担责任。嗯,你知道,我们之所以有望拿到高薪,其中一个原因就是我们能够为复杂系统承担责任,而这类系统一旦宕机,代价会非常高,对吧?Host: Because if they come in and they mess it up, they are responsible and they will fix it. And I'm kind of thinking that as software professionals, you know, like we will be responsible, and uh, you know, one of the reasons we will, hopefully, be, you know, be, be paid the big bucks is, is we can take responsibility for a complex system where an outage is just very, uh, costly, right?
Harjot Gill:不,我认为责任在某种程度上很重要。比如,有些事情你无法强求。我们都得合理看待责任。软件终究还是复杂系统,会以非常复杂的方式出故障,对吧?Harjot Gill: No I think the responsibility to some extent matters like the things you can't force here we all we have to be reasonable with responsibility software are still like complex systems they break in very complex ways right?
主持人:嗯,公平。Host: Um fair.
Harjot Gill:嗯,你今天也看到了那条推文,大意是铁路员工遭到黑客攻击,然后他们把责任推给失控的智能体。但说到底,真正需要对如何驾驭这些智能体负责的还是人,对吧?它们可以替你办事,但也可能朝着疯狂的方向发展,对吧?我觉得这一点很重要。还有一点是,当你以智能体的速度交付产品时,你的运维也必须具备智能体特性。所以,我们正在达成共识的一件事是:我们的目标不是杜绝每一次故障,而是尽可能缩短生产环境中出现问题后的暴露时间。Harjot Gill: Um and you saw that today the tweet around like railway employee hacking and then they blaming agents going off track but in the end like it's really humans who have to be responsible with how they're driving these agents right and they can do your bidding but they can also go in crazy directions right? I think I think that's important, and the other thing is like, with this kind of when you're shipping at agent X speed your operations also have to be agentic. So, one of the things we are like agreeing is that, okay we, our goal is not to prevent every outage; it's like to make sure that the exposure time of something bad happening in production is as little as possible.
主持人:嗯。Host: Mhm.
Harjot Gill:这也意味着,智能体需要关注生产环境。Harjot Gill: Which also means that agents need to be looking at production.
主持人:是的。Host: Yes.
Harjot Gill:如果步调不一致,你就没法快速交付。你会变得更像 AWS。你会被 AI 烫到手,然后说:“禁止在我的代码库中使用 AI。”Harjot Gill: If that's out of lockstep, you can't ship fast. You're going to be more like AWS. You burn your hands with AI and you're going to say ban AI from my codebase.
主持人:据我理解,你的意思是,好吧,我们会有智能体式的反馈机制来验证代码,或者提供 AI 代码审查之类的,或者运行一些快速测试等等。但可观测性层可能也应该与之关联,因为这一切都属于 QA 的一部分。Host: What you're saying as I understand is okay, you know, we'll have agentic you know, feedback to verify the code or give AI code review, whatever whatever that is or run maybe fast tests etc. But the observability layer should also likely be tied it like it's all part of the QA.
Harjot Gill:一定是因为你的缺陷率可能没有下降,但现在你们交付的缺陷更多了。Harjot Gill: It has to be because your defect rates maybe are not going down, but now you're shipping more defects
主持人:嗯。Host: Mhm.
Harjot Gill:因为量变大了,对吧?这意味着你必须时刻盯着它们。也就是说,你得让智能体始终关注的不只是告警。事实上,告警的覆盖范围受限于你能想象到哪些故障场景。实际上,这些智能体很擅长查看日志,也很擅长查看追踪数据,对吧?所以实际上,这些正是我们还没有完全扩展到位的领域。我们的代码里有很多地方,因为没有智能体在查看,所以糟糕的代码在生产环境中暴露了很长时间。凡是有智能体在查看的地方,我们都能以智能体的速度快速解决问题。因此,从头到尾的整个软件开发流程,如今都将由智能体驱动,包括生产环节,甚至营销环节——现在凡是要对外发布的内容,你都得采用智能体化的方式。Harjot Gill: because the volume has gone up, right? Which means that you have to stay on top of them. Like you have to have agents always looking at not just alerts. In fact, alerts are limited by your imagination on the failure scenarios you imagine. Like actually these agents are really good at looking at logs. They're great looking at traces, right? So the way in fact those are the areas we are still not like fully scaled yet. Like there's so many areas of our code where we have had longer exposure in production with bad code because no agent was looking at it. Wherever we have agents looking, we are able to quickly resolve stuff at agent speeds as well. So entire software development from left to right is now going to be driven by agents including production and including marketing even stuff going out you have to now be agentic now.
主持人:Harjot 刚才说,软件开发将完全由智能体驱动。当智能体编写、发布并修复大部分代码时,你会想知道每一处改动背后的原因。这就引出了我们本季的赞助商 Entire。几周前,我告诉过大家,Entire 正在打造一个 Git Forge。现在它终于上线了。你现在可以直接在 Entire 上托管私有仓库,服务覆盖美国、欧洲、英国、印度、澳大利亚、巴西和新加坡。Entire 还为智能体时代重新构想了拉取请求。PR 的问题在于,智能体写代码的速度比我们任何人审查代码的速度都快。因此 Entire 用一种叫做 Trails 的功能取代了 PR。Trail 将一项工作的所有信息汇集在一处:意图、代码变更和智能体会话。一个 Trail 可以跨多个仓库展开,这样,你的后端和 Web 应用中的改动就能一次性完成审查。Host: Harjot just said how software development is going to be fully driven by agents. And what agents write ship and fix most of the code, you want to know why each change happened, which brings us to our season sponsor Entire. A few weeks ago I told you that Entire was building a Git Forge. Well, it's finally here. You can now host private repos directly in Entire in the US, Europe, UK, India, Australia, Brazil, and Singapore. And Entire has just reinvented the pull request for the agentic era. The problem with PRs is how agents write faster than how any of us can review it. So Entire replace it with something called Trails. A trail connects everything about the work in one place, the intent, the code changes, the agent sessions. A trail can be spread across multiple repos so the change to your backend and your web app gets reviewed once.
借助这个工具,你可以配置和自定义评测。它们就像飞机上的抬头显示器一样,每次推送都会为你的工作打分。你还可以查看每个代理是否通过或未通过你定义的门槛,并据此决定何时合并。重点在于,你可以控制何时允许代理合并代码,比如只有经过人工审查后,或所有门槛都通过后才合并。哦,还有一件事:Entire Ship 持续记忆。Entire 会把你的代码仓库变成一个大脑,让代理能够搜索过去的编码会话,找到早期变更背后的上下文。基本上,它能回答代码变更背后的“为什么”。记忆会在团队内以及整个代码仓库中共享。如果你想看看原生 AI 的 Git Forge 是什么样子,可以访问 entire.io/pragmatic,了解一下 Trails。等代理开始监控生产环境并推送修复后,就得有人决定它们可以改动哪些内容;这也是我想提一下本季赞助商 WorkOS 的原因。With the tool, you can configure customize evals. They look like heads up display on airplane and score your work on every push. And you can see how each agent from passes or fails your user defined gates and decide when you merge based on these. The point is that you control when you allow agents to be allowed to merge the code, like only merging after a human review or after all gates pass. Oh, and one more thing. Entire ship continuous memory. Entire turns your repo into a brain so your agent can search past coding sessions to find the context behind earlier changes. Basically answer the why behind code changes. Memories get shared across the team and across the repo. If you want to see what an AI native Git Forge looks like, head to entire.io/pragmatic and check out trails. And once agents are observing production and pushing fixes, someone has to decide what they're allowed to touch, which is why I'd also like to mention our season sponsor, WorkOS.
WorkOS 为 B2B 和 AI 原生公司提供身份验证基础设施,帮助它们通过 SSO、SCIM、RBAC,以及如今面向 AI 智能体的授权功能,向企业客户销售产品。WorkOS Airlock 是一种基于意图的访问控制。大多数访问控制只会询问你是谁,而 Airlock 还会在智能体尝试执行操作时,判断它当下想做什么。对于明确的规则,例如禁止智能体删除云资源或运行未经批准的代码,Airlock 可以直接执行。对于较难判断的情况,AI 评估器会在运行时评估策略。你可以用简单的英语编写这些策略,Cloud 还能从 Notion 或 Jira 中提取你已有的策略,并帮你导入。无论你的智能体是 Claude 还是 Devin,都可以连接到同一个访问入口,而你的 MCP 服务器则位于该入口之后。Airlock 是叠加在现有权限之上的一个新层,这意味着智能体永远无法获得超出调用它的用户所拥有的权限。WorkOS provides the auth infrastructure B2B and AI native companies need to sell to enterprise customers with SSO, SCIM, RBAC, and now authorization for AI agents. WorkOS Airlock is intent based access control. Most access control only asks who you are. Airlock also looks at what the agent is trying to do at the moment it tries to do it. Clear cut rules like no agent deletes cloud resources or run as playing code. For the fuzzier calls, an AI judge evaluates the policy at runtime. You write these policies in plain English and Cloud can pull the ones you already had out of Notion or Jira and import them for you. Your agents, whether that's Cloud or Devon, connect to a single access point and your MCP servers are behind this access point. Airlock is a new layer on top of your existing permissions, which means that an agent can never get more access than the person who invoked the agent has.
遇到有风险的情况时,Airlock 可以升级处理,交由人工审批,比如通过 Slack。我们的想法是:规则只需制定一次,把人的注意力留给真正需要人工介入的决策。你可以访问 workos.com/airlock 申请提前体验。有了这个,我们回到 Hardjod,聊聊当智能体编写了大部分代码时,代码质量会发生什么变化。我们来稍微聊聊质量。When something risky comes up, Airlock can escalate to human for approval, say over Slack. The idea is to write the rules once and spend human attention only on the calls that needed. You can request early access at workos.com/airlock. And with this, let's get back to Hardjod and what happens to code quality when agents write most of the code. Let's talk a little bit about quality
技术债务与清理低质量内容的测试Technical debt and deslopping tests
因为你之前创业的时候,你知道,在 AI 出现之前,你做过一些基础设施工具,而在那些地方,可靠性非常重要,尤其是做监控时的准确性。我想这些都是不可妥协的要求。但现在 AI 带来了什么变化呢?我们看到,用 AI 生成代码很棒。它通常比我自己写快得多,质量也和我自己写的差不多,甚至更好。但它确实会写得很冗长,也可能反复重复,还会带来很多技术债。你知道,一旦生成的代码足够多,就会发现它变得有点臃肿,甚至臃肿得多。你对此有什么观察?早期模型的情况是怎样的?新模型改变这种情况了吗?这仍然是个问题吗?because in your previous startups, you know, pre AI, you've you built some infrastructure tooling which, you know, reliability is very important at those place, accuracy when when you have the monitoring. I assume these are all non-negotiable. But what's happening now with AI, what we're seeing is when you're using AI to generate code, it's great. It it does it faster than I could do usually, similar or better quality than what I could have done. But it does get verbose. It can just repeat itself. It can just add a lot of tech debt, you know, like once once you start generating enough, you see that it's it's just gone a bit more bloated or a lot more bloated. What is your observations here on how did you see this used to be for the earlier models? Have newer models changed it? And what is it still a problem?
你打算怎么处理这件事?What are you doing about it?
Harjot Gill:是啊,我的意思是,一旦你让智能体开始处理你的代码库,就会出现一些混乱。我的意思是,有句话说,要让混乱肆意蔓延,然后再把混乱控制住。这是一种理念。所以,与其阻止熵增,不如承认代码库的熵会增加。也许你的安全态势也会变弱。让我想想,因为你可能没有复用相同的身份验证层,或者没有复用类似的东西。接下来,你就需要一些能自行维护代码的智能体,就像做清洁工作的机器人,比如 Roomba,对吧?这就是我们采用的方法。让大家快速交付,让混乱肆意蔓延一阵子。现在可能还不具备可扩展性,但随后也让智能体来收拾残局,从不稳定的测试、糟糕的抽象,到重构代码,统统处理。比如最近,我们就运行智能体,在代码库中引入了 Effect 和 XState。Harjot Gill: Yeah, I mean, once you unleash the agents on your code base, there is some chaos. I mean, there's a saying like let the chaos reign and then you reign in the chaos. That's a philosophy. So rather than you prevent the entropy, the entropy is going to increase of the code base. Maybe maybe your security posture also weakens. Let me because you're not reusing the same auth layers or something like reusing stuff. Then you need to have agents which are self-maintaining that code, the janitorial like the Roombas, right? So that's the approach we are taking. Let let let people ship quickly, let some of the chaos reign. Maybe things are not scalable right now, but then you have the agents also cleaning up the mess like all the way from flaky tests to bad abstractions to refactoring the code. For example, recently we ran agents to introduce Effect and XState into our code base.
所以重构一直在不断发生,对吧?只有等这团乱麻真的摆在眼前,你才能理清头绪。然后你才能想出最好的办法。所以我觉得两者都得有——就像他们说的,先让混乱倾盆而下,然后再驾驭混乱,对吧?So refactors on constantly keep happening, right? So you only make sense of that mess once you actually have the mess there. Like then you figure out what's the best way. So I think both have to be like it's like raining in the chaos as they say and then reign in the chaos, right?
主持人:是的,我知道你之前谈过诸如减少测试中的劣质生成内容之类的话题。Host: Yeah, and I know you previously talked about things like de-slopping tests.
Harjot Gill:是的。Harjot Gill: Yeah.
主持人:你能告诉我那那是什么吗?那是是一项技能吗?那是一个……Host: Can you tell me what what is that? Is is that a skill? Is that a
Harjot Gill:哦,开销非常大。比如,我们的 CI 成本已经飙升了。我觉得我们在 CI 上的花费可能和 token 花费差不多。Harjot Gill: Oh, it's massive. Like I'll tell you our CI has gone through the roof. Like I think we're probably spending as much on on CI as tokens.
主持人:而且你在 token 上花费了很多。Host: And you're spending a lot on tokens.
Harjot Gill:是的,CI 方面也是。我上次听说,供应商给我们的报价一年大概是 1300 万美元什么的。顺便说一句,我们现在自己搭建了。Harjot Gill: Yes, and also on CI. Like CI I heard last time, like vendor quoted us like 13 million or something a year. We built our own, by the way, now.
主持人:是啊,不过如果你继续留在那家供应商那里,那才会是你的运行速度。Host: Yeah, but but that would have been your run rate if you would have stayed on the vendor.
Harjot Gill:没错。问题在于,这些智能体现在会编写代码和 CLI 命令,因此会消耗大量计算资源。而且所有这些代码变更,你还是会让它们通过 CI 门禁、合并队列之类的流程,对吧?事实上,你还在编写更多代码检查工具和模拟测试,因为你想确保万无一失。这里有两个问题。其一,很多测试其实毫无用处。我们已经有智能体在清理测试中的冗余内容、删除单元测试,改为编写更多集成测试和端到端测试,以及减少重复测试。我们一直都在运行这些智能体。与此同时,这也是一场持续的拉锯战:CI 耗时越来越长,但你又希望最好能把它控制在三分钟以内。我觉得我们现在大概需要四分钟。Harjot Gill: That's right. So the thing is like these agents are now because they're like writing code and CLI commands, they're driving a lot of compute. And all these code changes, you're still make going to make them go through CI gates, your merge queues and everything, right? And you're in fact writing more linters, more simulations because you want to be sure. There are two problems here. One is like a lot of these tests are actually useless. So we already have agents which are deslopping the tests, removing unit tests, doing more integration end-to-end tests, um redundant tests. Like we have those running all the time. Now at the same time, it's a constant battle. Like your CI time goes up, but you want to keep them within three minutes ideally. Like that's how much I think we are like roughly four minutes right now.
与此同时,嗯,你还得进行分片之类的操作,成本也都会随之上升。这也是原因之一:以我们的规模来看,自己构建一套系统是合理的。所以我们自己搭建了 CI,对吧?现在运行时,我们遇到的问题是计算容量不足。And at the same time, um you then you're sharding and all like the costs go up. And this is the reason like one of the things is like at our scale, like it makes sense to just build our own. So we built our own CI, right? Running right now, what we are hitting is like compute capacity.
主持人:嗯,我们说的是 CPU 容量吗?Host: Um are we talking about CPU capacity?
Harjot Gill:是的。遗憾的是,即使是 GCP,可用的计算资源也非常少。Anthropic 把资源全占了。所以我们当时在中部区域,甚至无法升级数据库实例。计算资源都用完了。Harjot Gill: yes. Even GCP unfortunately has very little compute available. Anthropic took it all. So we were in the central region and we couldn't even upgrade our database instance. We run out of compute.
主持人:见鬼。Host: Damn.
主持人:我们还得迁移。Host: And we had to like migrate.
主持人:说清楚一点,你们并不是规模最小的公司。我是说,你们虽然不会成为 Google 那样的公司,但预算很充足。呃,你们资金也很充裕。就是说,你们已经准备好把钱给……Host: And you're like just to be clear, you're not the smallest of companies. I mean, you will not be a Google, but but you have plenty of of budget. Uh you have good funding. Like you're you know, you're ready to give the money to
Harjot Gill:哦,是的,我们和他们签了不错的合同,但遗憾的是,他们都被大公司锁定了,因为他们都在运行沙盒和强化学习环境。我不知道他们在扩展什么规模,但他们扩展的已经不只是 GPU 了,甚至连 RAM 和 CPU 也在扩展。Harjot Gill: Oh yeah, we have signed good contracts with them, but unfortunately they they they're all locked in by the large because they're all running sandboxes, RL environments. I don't know what they're scaling, but they're also not just scaling GPUs anymore, but they're even the RAM CPU.
主持人:因为几个月前我在《Pragmatic Engineer》上写过 CPU 短缺的问题,不过你就是个很好的例子,说明这种情况正在发生,对吧?Host: because I wrote about the CPU crunch in in the Pragmatic Engineer a few months ago, but you're you're a good example where it's it's happening, right?
Harjot Gill:这种情况现在正大规模发生。我们也面临严重的 CPU 短缺,而且能以这种规模推出产品的公司就那么几家。我是说,我认为对世界其他地方来说,要达到这种规模,最大的瓶颈将是数据中心、能源之类的问题。模型已经商品化了。模型已经有了,但它们在运行时会消耗大量算力。Harjot Gill: It is happening in a big way right now. We have a big CPU crunch as well and it's just like a few companies shipping at that scale. Like I mean, for the rest of the world to get there, I think the biggest bottleneck is going to be the data centers, the energy, and those kind of things. The models are commoditized. Like the models are there, but they drive a lot of that compute as they work.
主持人:不过现在我们来聊聊 CPU 紧缺的问题。我特别想进一步了解两方面:你们能做些什么来获得更多 CPU,以及如何更高效地利用现有 CPU,对吧?你提到了 Rust,我想知道这是不是其中的原因,因为 Rust 能让代码尽可能高效,对吧?Host: But now a little bit talking about this CPU crunch. So, cuz I think this is I'm I'm super curious to learn more on both what you can do to get more CPUs and what you can do to maybe use your CPUs more efficiently, right? You mentioned Rust and I wonder if this is about it cuz Rust is as efficient as you can get your code down to, right?
Harjot Gill:我们就是这么做的。我的意思是,我们之前还在用 TypeScript,后来就转到 Bun 了。那只是我当时在塔霍的海滩上做的另一件事。我设定了一个目标,结果一个周末下来,所有服务都迁移到了 Bun。Harjot Gill: That's what we did. Like, I mean, we were on TypeScript earlier. Like, we just moved to Bun. I mean, that was just another I was in Tahoe on a beach. I ran a goal and over the weekend all the services were migrated to Bun.
主持人:哥们,你你你对假期的想法。Host: Dude, your your your idea of holiday.
Harjot Gill:是啊,我是说,我有团队当时特别惊讶的照片。我只运行了一条 goal 命令,一个周末所有服务就都迁移到了 Bun。Harjot Gill: Yeah, I mean, I have the pictures of the team was so surprised. I just ran a goal command and all the services moved to Bun over the weekend.
主持人:所以,所以,为了让我理解,你是先设定一个目标,然后在云端或本地电脑上运行一个持续很长时间的会话吗?Host: So so so just so I understand, so you have this thing where you set up a goal and then you do a long-running session in the cloud or on your local computer?
Harjot Gill:可惜它是在本地运行的。我的意思是,我们确实有云端代理,但我嘛,按理说应该是那个使用它的人,可我有一台性能很强的机器,所以我总是会去……Harjot Gill: Unfortunately, it's local. Like, I mean, we do have a cloud agent, but I'm the like I should be the one using it, but I have like a powerful machine, so I always go and
主持人:然后它就会启动,在你的机器上运行一个长时间运行的任务,而且通常会完成这个任务。Host: And then it goes off and it it runs on your machine and it runs long-running task and it usually completes it.
Harjot Gill:确实是这样。我的意思是,它有时会停下来问几个问题,但有些事情很有意思:现在构建分布式系统要容易得多了。它们不需要太多手把手指导,因为在架构方面,能把事情做对的方法就那么几种。产品就比较开放了。比如 UI,你可以用十种不同的方式来构建,这就更需要品味和判断力了。过去,我们会为那些构建复杂的大规模分布式系统的人付很多钱,比如 Kubernetes、高级缓存、可观测性和扩展能力,对吧?说实话,这些现在都便宜得多了。Harjot Gill: It does. Like, I mean, it would sometimes like stall to ask a few questions, but some of these like interestingly, the distributed systems are now far easier to build. They don't need much hand holding because there only few ways to get something right when it comes to the architecture. The product it's like open-ended. Like, the UI you can build in 10 different ways and that's where the taste, the judgment comes in a lot more. But we used to pay a lot for people doing complex scale distributed systems, things like Kubernetes and advanced caching, observability, scale, right? To be honest, those things are super cheap now.
主持人:所以你的意思是,后端这部分虽然很复杂,但多亏了这些模型,已经变成了标准化商品?Host: So you're saying that part that kind of this back end, even though they're complex, has been commoditized thanks to the models?
Harjot Gill:是啊,因为它们就像俗话说的那样,构建 Unix 可能就只有一种方式。如果你今天来构建它,最终也会得出相同的抽象概念。Harjot Gill: Yeah, because they're like as this as the saying goes, like there's only maybe one way of building Unix. If you were to build it today, you're going to come up with the same abstractions.
主持人:是的,这又回到了比如 Kubernetes 这个例子。我请过 Kubernetes 团队的 Kat Cosgrove 来做节目,她提到,Kubernetes 一方面上手很复杂,因为它本身就很复杂,但另一方面他们也有非常好的文档。我想,如果你有这样的东西,而且我猜做事的方法只有一种,或者可能两种;但如果你有这个,智能体就很擅长处理。有很好的文档。不管它有多复杂,它们都能驾驭这种复杂性。Host: Yeah, and like it's going back to for example Kubernetes. I had Kat Cosgrove on from the Kubernetes team, but she was saying how Kubernetes is on one end it's complex to onboard too cuz it's complicated, but they also have really good documentation. And I guess when you have something like this and there's only I guess I assume there's only one or maybe two ways to do things, but when you have this agents are pretty good one. There's good documentation. No matter how complex it is, they can they can navigate the complexity.
Harjot Gill:这些就是他们特别擅长的东西。比如说,好吧,我会优化我的 Docker 文件。Harjot Gill: Those kind of things they are like great at. Like things like okay, I optimize my Docker files.
主持人:是的。Host: Yeah.
主持人:他们可以直接在本地反复运行并优化。优化我的 CI 缓存,或者做这个 Bun 迁移之类的事,现在都特别容易。我的意思是,只要你有不错的单元测试和其他测试,就能验证事情是否正常运行、冒烟测试是否通过。你甚至可以在生产环境里试试。而且通常都能正常工作。我们并没有因此交付更多缺陷。我觉得我们的缺陷率反而在下降。我的意思是,这话可能有点惊世骇俗,但写出那些垃圾代码的其实是人,不是 AI。我现在意识到,AI 只要能根据某些东西进行验证,写出来的垃圾反而更少。Host: They can just keep running it against locally and optimize it. Optimize my CI cache or do this Bun migration. Those kind of things are super easy right now. I mean, if you have good unit tests and testing like you can validate that hey, things are coming up correctly and the smoke tests are passing. You can even try it on production. And usually things are working. It's not like we are shipping a lot more defects. Our defect rate I would say is going down. I mean, this might be a hot take, but like humans were writing slop, not AI. I mean, that's what I'm realizing. Like AI is actually writing less slop at this point if it can validate against something.
主持人:所以你的意思是,过去我们交付的东西,就像大多数团队会交付的那样,有点粗制滥造、质量不高,因为我们没有验证。说实话,如果我们坦诚一点,我们也并不总是会验证,对吧?然后我们就这么交付了。Host: So you're saying that in the past we shipped like most teams would would ship kind of slop or low quality stuff when we didn't validate it. And to be honest, if if we're just being honest, we didn't always validate it, right? And we shipped it.
Harjot Gill:过去。我是说,这是我的观察。我还得对它进行测量,但我想说,当我们用手工方式发货时】【。Harjot Gill: in the past. I mean, that's my observation. I still have to measure it, but I would say when we were shipping with hand
主持人:你说的只是 Code Rabbit,对吧?Host: And you're talking about just code rabbit, right?
哈乔特·吉尔:现在我看到的故障实际上更少了。我们的代码库越适合智能体使用,验证层就做得越好。随着开发速度不断提升,我们看到的缺陷实际上是在减少,而不是增加。Harjot Gill: Now I'm seeing actually fewer outages. The more our code base becomes agent ready, the better our validation layers become. We are seeing less defects, not more actually as the velocity is going up.
评测Evals
主持人:关于质量,还有一件事就是评测。你们的业务是提供 AI 代码审查工具,因此模型质量非常重要,成本以及其他方面也同样重要。你们如何评估新发布的模型?我显然指的是那些大型模型,比如 OpenAI 的模型,也包括开源模型等等。毕竟,我想你们肯定很需要了解这些模型在质量、成本、延迟等方面的表现。Host: So one more thing about quality is evals because of your business of of offering a tool that gives you AI code review, model quality will be really important and costs and all of those things. How do you evaluate new model releases? And I'm obviously talking about the big ones, the OpenAI traffic, but also open models and so on. Because I assume it's kind of a big deal for you to know how good of this model is in terms of the quality, the cost, latency and so on.
Harjot Gill:没错。我的意思是,现在我们的评测能力也成了瓶颈。比如说,我们仍然……我是说,模型现在每隔几周就会推出一个,因为强化学习这套东西火起来了,对吧?所以大家接连不断地发布新版本。训练运行的时间也越来越短,对吧?Harjot Gill: And that's right. I mean, right now we are also bottlenecked on our evals capacity. Like we're still I mean, the models, the cadence at the they are coming out every few weeks now with because the RL thing has taken off, right? So people are coming up with back-to-back releases. The training runs are shorter and shorter, right?
主持人:嗯。Host: Mhm.
Harjot Gill:也就是说,我是说,我们每天都在评估一些东西。当然,我们会用三四类 OpenAI 模型、Anthropic 模型,并在产品中采用模型集成。与其他产品不同,我们不会让用户下拉选择模型,而是由我们来替他们选择。我们知道哪些子代理、哪些工作负载适合用哪个模型。因此,我们的应用 AI 团队花很多时间研究每个模型的性价比,以及它们适合处理哪些工作负载,以至于根本没有余力再接入其他供应商。我们消耗的 token 量很大。呃,我们也一直在使用 Gemini 等模型,你也看得到,但我们实在没有余力。这一直是个很大的限制,就连开源模型也一样。我知道它们已经越来越好用了。Harjot Gill: Which means that I mean, every day we are like evaluating something. And they're like of course three or four classes of OpenAI models, Anthropic models, and we have like an ensemble of models in our product. So it's like unlike other products, we don't let the user drop down and choose the model. Like we do it for them. We know which sub agents, which workloads the model is going to be a good fit. So a lot of the time that our applied AI team spends is figuring out the price to performance of each model and the workload to the point that we have zero bandwidth to even onboard another vendor. Like we are like big token spender. Uh we have been working with like even you can see the Geminis and all, but we don't have bandwidth. That's been a big constraint even with the open models. I know they're getting good enough.
每次我们觉得,嗯,可以去用这些开放模型了,OpenAI就会给他们的模型降价。比如,Llama就是一个很棒的模型。Each time we think that, okay, we could go use these open models, OpenAI brings down their models in price. Like Llama is a great model.
主持人:嗯。Harjot Gill:比如说,考虑到它的定价。Host: Mhm. Harjot Gill: Like given the price point at which it’s offered.
Harjot Gill:是的,我们的产品里大量使用 Llama,也会用其他模型。我们会用昂贵的模型来做深度推理和思考,但如今很多代码探索和上下文准备工作都是由更便宜的模型完成的,对吧?不过,诀窍在于开源很有利可图。它唯一带来的帮助,就是总体上给整个行业施加了向下的压力。我们自己也没多少时间去评估那些模型。Harjot Gill: Yeah, we use a lot of Llama like in our product. We use other models. We use expensive ones for deep inference and reasoning, but a lot of code exploration, a lot of the context preparation is done by cheaper models these days, right? Uh but the trick is like the open source is lucrative. The only thing it's helping is like putting downward pressure overall on the industry. We ourselves didn't get like much time to go and evaluate those.
主持人:你们会构建自己的模型吗?会进行微调或类似的后训练吗?你们尝试过这些吗?Host: Do you build your own models? Do you either fine tune or do some like post tuning or have you experimented with this?
Harjot Gill:早期我们确实这么做过,这让我们意识到,前沿技术的发展速度快于我们进行微调的速度——我的意思是,这些投入的有效期非常短。Harjot Gill: Early days we did and that was a interesting realization that the frontier was moving faster than we could maintain those fine tune like I mean the shelf life of those investments were very short.
主持人:嗯。所以情况确实短暂好转了一点,但随后新模型问世,砰,你的优势就荡然无存了。Host: Mhm. So it it was it was a little bit better for a short time and then a new model came and boom, your advantage was gone.
哈乔特·吉尔:你完全处在另一个领域,对吧?还有一点,我们身处编程领域,我觉得其他人有充足的数据。他们依赖的就是这些。Harjot Gill: you're in a different zone altogether, right? So and the other thing is like we are in the coding space where I think other people have plenty of data. That's what they're relying on.
主持人:是的。Host: Yeah.
Harjot Gill:我是说,如果我们有非常不同的数据流,那也许说得通,因为这些模型并不擅长在这类数据上训练。但如果你看看编码和代码审查,它们在这方面多少受过一些训练。真正的诀窍在于微调执行框架。微调有两个部分,一个是模型。我觉得更大的问题是,什么样的上下文才合适,因为这些推理模型可能会想得太多,从而偏离方向。我是说,你可能已经注意到了,呃,它有时实际上会更糟。它会过度思考,对吧?同样,我是说,我们会根据上下文,使用很多代码语义分析和代码图,确保降低 token 成本,同时也能获得高质量的线索来进行追踪。嗯,所以我们投入精力的地方就在于微调执行框架。Harjot Gill: I mean, if we let's say had really very different data stream, then maybe it makes sense because the models are not good at trained on that. But if you look in coding code review, they're trained to some extent. Where the real trick comes in is in fine tuning the harness. There two parts of fine tuning. One is the model. I think the bigger problem is like what's the right context because these reasoning models can go off track if they overthink. I mean, you might have noticed extra, he's actually sometimes worse. It overthinks, right? Same thing, like I mean, depending on the context, uh we use a lot of like semantic analysis of the code, code graphs to make sure the token costs are like lower while we also get very high quality leads to go and track. Um so so that's where like the effort goes in is in fine tuning the harness.
而且我们的开源用户群非常庞大,因此我们在公共代码仓库中也很受欢迎。And we have very large open source user base, so we are like very popular in public repositories.
主持人:是啊,是啊,你们有个机制,让开源项目能很轻松地使用 CodeRabbit,对吧?Host: Yeah, yeah, you have this thing where you make it really easy for open source projects to use CodeRabbit, right?
Harjot Gill:是的,这其中一个重要原因就是反馈循环,因为在开源模式下,每隔几秒产生的每一条评审反馈都会回流到我们的流水线中,用来微调测试框架。Harjot Gill: Yeah, and big reason for that was the feedback loop because with open source, each review that happens every few seconds goes back into our pipeline to fine tune the harness.
主持人:呃,所以所以所以,基本上从商业角度来说,我的意思是,你每一个都在亏钱,因为你得为它们付费;但你还是会去获取它们,因为这样你就能让自己的产品变得更好,而希望从长远来看,这会更有价值,对吧?Host: Uh so so so basically just from a business perspective, I mean, you're losing money on every one of these because you're paying for it, but you're getting it because now you're able to make your product better, which hopefully it will be more valuable on the long term, right?
Harjot Gill:没错。我们之所以有……Harjot Gill: That's right. The reason we have
主持人:那么这这可能会是双赢。Host: then this this could be a win-win.
Harjot Gill:顺便说一下,这是业内为数不多仍然适用专用框架的用例之一。其他一切几乎都在被通用型 Claude Code 吞噬。就连法律、金融领域的工作,它也能通用地处理;但代码审查是一个既涉及广度、又涉及深度的问题。你需要有良好的召回率和精确率。在这方面,定制框架非常有效。而这正是所有这些开源数据帮助我们进行调优的地方。我的意思是,我有几个智能体一直在运行,不停地查看开源内容。Harjot Gill: This is one of the very few use cases by the way in the industry where a specialized harness is still applicable. Like everything else is getting eaten by general-purpose Claude Code. Even legal, finance, like it's doing general purpose work, but code review is one area where it's a breadth and a depth problem. You need a good recall precision. And over there like a custom harness is very effective. And this is where like all this open source data is helping us tune that. I mean, I have a couple of agents just running looking at open source all the time.
形式化方法Formal methods
主持人:你提到了形式化方法。我很感兴趣,你是什么时候开始尝试用它的?你提到了 TLA+ 和 Lean。你们用起来进展如何?因为我和 Hillel Wayne 聊过,他上过我们的播客,是 TLA……呃,专家,你们都认识他。他说他认为形式化方法,尤其是 TLA+,对几乎所有软件来说可能都用力过猛了,即使有了 AI 也是如此,不过他说这话大概是在六个月前,那时进展还没到这一步。我真的很好奇,你们在哪些方面取得了成功。Host: You mentioned formal methods. I'm interested, when did you start to experiment with it? You mentioned TLA+ and lean. How's it going where you're using it because the when I talk with Hillel Wayne, he was on the podcast TLA uh expert, you all know him. He said that he thinks formal methods, especially TLA+, is probably an overkill for almost all software even with AI, although he did say this about six months ago, so the progress was not there. I'm just really curious on on where you're seeing success.
Harjot Gill:所以我们早在二月或三月开发 Slack 机器人产品时就开始使用它了。这个产品有一些分布式状态,比如它有一个队列,可以把消息排队,也可以控制消息的流向;它还有一些复杂状态,比如关闭沙箱时涉及的状态。这里有很多状态机,涉及 warm idle 状态等等。所以,TLA+ 模型不太适合算法这类东西,但在处理消息、actor 以及它们之间的交互时很出色。这就是我们使用它的原因,因为当时 53 Codex 还没有现在的 Astra 那么好。我觉得现在它可能会少犯一些错误,但我们让 53 Codex 发挥作用的方法是:先建模,确保状态机设计正确,然后再写代码。部署 TLA+ 后,我们确实在初始实现中发现了一些问题。Harjot Gill: So we started using it back in February or March when we built the Slack bot product. So that product had like some distributed states like it it had a queue like queue up the messages, you could steer the messages, it had like complex states around like shutting down the sandboxes. Like there's a lot of state machine there on on the warm warm idle state and so on. So that's where I that TLA+ models they're not great for like things which are like algorithms. They're great when it comes to like messages and actors and interaction. And that's what like we used because at 53 Codex wasn't as great as now Astra. Now I think it might make fewer mistakes, but the way we made 53 Codex successful was first model it make sure the state machines were correctly done before writing the code. And we did find issues in the initial implementation after we deployed TLA+.
它可以找出所有这些我们之前忽略的竞态条件。It could find all these like race conditions which we had overlooked.
主持人:嗯。Host: Mm.
Harjot Gill:是的,顺便说一句,模拟也帮了不少忙。我们在二月或三月投入了两种技术。我们搭建了一个完整的模拟测试框架,可以进行模糊测试,并尝试不同的交错执行顺序。同时,我们还用 TLA+ 对不同状态建模、探索这些状态,然后找出 bug。Harjot Gill: Yeah, simulations also helped by the way. So there were two techniques we invested back in February or March. We built like an entire like simulation harness where we could like fuzz and try like different interleavings. At the same time we used TLA+ to model different states and explore those states um and then find bugs.
主持人:很好。我想回到……Host: Nice. And I want to go back to the
CodeRabbit 的 AI 成本AI cost at CodeRabbit
不是你的提交,而是 CodeRabbit 的提交。这是每周的提交数量,跟你的情况有点类似,只不过粒度更细,你可以看到。到了 8 月,出现了一个巨大的拐点,跟你的情况非常相似。它的提交量从 7 月每周大概不到 1,000 次,可能是 500 或 300 次,涨到了最后一个数据点每周超过 5,000 次。想问一下,AI 工具的成本怎么样?你们显然有 AI 代码审查工具,也有 AI 生成工具。目前大概是什么情况?not your commits, but the CodeRabbit commits. And this is the weekly commits which are kind of similar to yours except it's more more granular you can see. But there's a huge inflection point in August very similar to how you went. It it it went from about less than 1,000 commits per maybe like 500 or 300 in July to more than 5,000 we're talking weekly commits at the last data point. I wanted to ask what about the cost of of AI tools? You obviously have AI code review tools, you have the AI generation tools. Where is it at right now roughly?
Harjot Gill:光是 AI 方面的成本,我每个月就要花大约 25 万到 27.5 万美元。Harjot Gill: My AI costs alone are around $250,000 to $275,000 a month.
主持人:哇,你,你,你这是真舍得花钱啊。Host: Wow, you're you're you're really spending it.
Harjot Gill:是的,我是说那只是我一个人。团队里有些人现在的代码提交量也快赶上我了,对吧?而且他们中很多人也……我们的第二高产代码贡献者是 CodeRabbit 的后台代理。Harjot Gill: Yes, I mean that's just me alone. And some of the people on the team are shipping close to me right now, right? And a lot of they also like our second-most-prolific code contributor is CodeRabbit’s background agent.
主持人:嗯。Host: Mm.
Harjot Gill:所以我们也有一些智能体负责查看健康状况并创建 PR,我们只需要把它们推进到完成就行。因此,我们每个月在 token 上花费数百万美元。同时,我们在 CI/CD 和沙箱环境上也投入了很多。嗯。Harjot Gill: So we also have like the agents looking at health and just creating PRs and we just take them to completion. So we are spending like several million dollars a month on tokens. And then we are also spending a lot on the CICD, right? And the sandbox environments. Um
主持人:听起来,那套 CI/CD 原本有望达到每月一百万,不过你们现在把它转为内部自建了。所以你们大概稍微降低了一些成本。Host: And sounds like that was a CICD was on track to be a million a month, but you now brought it in house. So you probably decreased it up a little bit.
Harjot Gill:我听说大概是 50%。我得看看,不过我们就在这个周末把所有、所有、所有东西都切换到本地 CI 了。Harjot Gill: 50% roughly is what I'm hearing. I have to see like but we just shifted like over the weekend this weekend all all all to the local CI now.
主持人:好,对几乎所有其他人来说,这种情况肯定会让他们吓坏——手上有这么个东西,他们会想:我该怎么控制它?呃,我还听到很多人说,他们研究了初创公司的情况,以及这些公司的成本变化。对大多数公司来说,8 月份使用 Opus 5.5 后,成本飙升了,然后又降了下来。大多数公司基本上只是用它来写代码,运行的循环次数没有你这么多。你怎么看待 AI 的成本?作为 CEO 和创始人,你为什么不感到紧张?Host: Okay, so for almost everyone else this would absolutely freak them out like having this thing and they were thinking how can I rain it in? Uh I also heard a lot of I did research on on startups and how their costs went and for most of them the costs spiked in August with Opus 5.5 and then it went down. Most companies are are kind of just using it for coding. They're not running as many loops as as you're doing. How are you thinking about the cost of AI and why are you not nervous as as a CEO and a founder?
Harjot Gill:所以我认为你会两种模型都用。也就是说,如果你有一个好的模型路由层,那么当然,对于大多数任务,你甚至可以使用更便宜的模型。但有些事情还是得用昂贵的模型。另一方面是快速模式,比如超高速模式要多付一倍的钱。这些确实很棒,对吧?我的意思是,作为一家初创公司,你肯定想比下一个竞争对手更快地做到这一点,对吧?问题在于,尽管 AI 正在变得商品化,但它现在带来了 CI 成本和 CPU 瓶颈的二阶效应,我们都看到了,对吧?我觉得这是真实存在的。除非你删掉单元测试,或者找到其他验证方式,否则这种情况大概不会消失。比如有些人会在本地做验证,然后用某种证明来通过中央 CI。Harjot Gill: So I think you're going to use both kind of models like just so if you have a good model routing layer then of course for some of the most of the tasks you can even use cheaper models. But some of the things you still have to bring in the expensive model. The other aspect is the fast mode like you pay double with ultra fast. Those are really great. Right? I mean as a startup you want to get there faster than the next competitor, right? Then the thing is like even though AI is getting commoditized, but it's now driving the second order effect of the CI cost and the CPU crunch we are seeing, right? I think that's real. That's probably not going to go away unless like you are getting rid of unit tests or finding some other way of validation like some people are doing local validation and using that um kind of attestation to like pass the central CI.
可能有些窍门,但事实是,软件工厂会很贵,对吧?之前我发那条推文时,我知道那条推文遭到了反对。There could be some tricks, but the fact is like the software factories are going to be expensive. Right? Earlier when I did wrote that tweet I know that it got a push back on that tweet.
2026年的初创企业融资与人工智能支出的价值Startup funding in 2026 and the value of AI spend
主持人:我们来聊聊这条推文。你引用了一位创始人兼工程师的话,他分享了他们如何每年花费 3200 万美元的云服务费用来打造这款大型多人游戏。你说,我们在 CodeRabbit 以及其他地方看到的是一种抛物线式的发展趋势。你还说,即使是 800 万美元甚至更多的大额种子轮融资,如今也不足以打造一家软件公司,因为软件工厂需要优质 token,还需要大规模算力来运行 CI、沙箱和其他基础设施,才能大规模交付软件。到了这个阶段,有些小型初创公司存在的唯一目的,就是把创意输送给拥有更多 token 的大型初创公司。这里有不少火药味十足的内容,不过我们来聊聊这个。我知道 X 未必适合充分表达细微差别,但你当时有个观察,说你看到了这种趋势。你指的是初创公司在软件工厂上的花费越来越多吗?Host: Let’s talk about this tweet. You quoted a founder-engineer who shared how they're spending 32 million per year in cloud spend building this massive multiplayer game, and you said that what we're seeing at CodeRabbit and elsewhere is a parabolic trajectory. You said even large seed rounds, like $8 million or more, are no longer enough to build a software business when software factories need quality tokens, and large-scale compute to run CI, sandboxes, and other infrastructure to ship software at scale. At this point, some smaller startups exist only to funnel ideas to larger startups with more tokens. There's a lot of spicy stuff in here, so but let's talk about I know X is not necessarily great for capturing the nuance, but like what is you had an observation there. You said that you are seeing this trend. Is it startups spending a lot on software factories?
Harjot Gill:我觉得这是不可避免的。你可以经营多种软件业务,但如果你瞄准的是这些竞争激烈领域里的高速增长、由风投支持的初创公司,现在你可能需要更多资本,因为你的瓶颈已经转移了。早些时候,你主要需要花钱雇人才。所以你会招来前 Netflix、前 Google、前 Facebook 的工程师。他们自己也会成为创始人。他们会从同一个人才池里招聘。给他们好好聊聊,再配上几台特别好的笔记本电脑,就行了。那时候一切都像是一场脑力游戏。人的智商,对吧?是他们的才华。Harjot Gill: I think that's going to be inevitable. There are multiple like software businesses you can run, but if you are looking at hypergrowth VC-funded startup in these competitive spaces, you will probably need more capital right now because now your bottlenecks have shifted. Earlier, you needed to like pay mainly for the talent. So you'll get like X Netflix, X Google, X Facebook engineers. They themselves will be founders. They will hire from the same pool. Give them nice talk, some battle really good laptops, and that's it. Like it was all like the brain game. Like the IQ was the people, right? Their their talent.
主持人:但你得付钱雇他们,对吧?在硅谷的话,你的基本工资,我是说,至少30万美元,再加股票什么的。我们说的是100多万美元。Host: but you need to pay for them, right? In in Silicon Valley, like your your the base salary would I mean 300k plus and stock and all that. We're talking a million plus.
Harjot Gill:从经营一家企业的角度来看,在早期阶段,更重要的是这些事情。我说的是种子轮、A 轮。甚至在招聘销售人员之前,团队就占了很大一部分,比如开发团队,对吧?现在我们看到的是,智力就像是接入了水龙头,体现在 token 上。事实上,就连最聪明的人也需要推动 token 的使用。像我这样一个人,一年就能推动价值两三百万美元的 token 消耗,采用混合模型,而不是总用最好的模型。等工厂模式开始起势后,这个数字可能还会更高。所以我的意思是,瓶颈如今正在转变,变成你能推动多少 token 的消耗、能运行多少智能体,以及 CI 和其他基础设施的能力。人类一天之内可以做出更多决策,从而推动数百万美元的支出。Harjot Gill: bigger piece like in terms of running a business like in early stages. I'm talking about seed, series A. Even before you hire sales, like a lot of it is like the team, like the dev team, right? Now what we are seeing is like the IQ is on the tap, like the tokens. Like in fact, even the smartest people need to be driving tokens. And a single person like me, I can drive two or three million dollars of tokens in a year, like blended models, not just always using the best model. And perhaps it should even be more once we have the factory concept taking off. So my point here was like the bottlenecks are now shifting in how much you can like drive these tokens, number of agents, the CI and the other infrastructure. Humans can make a lot more decisions in a day to drive millions of dollars of spend.
现在你需要的就有点像营销团队,你还记得吧?我的意思是,10个人就能带动1亿美元的支出。工程师也会出现同样的情况。现在,一个小团队就能在那家公司带动1.5亿美元的支出,或3000万美元的支出,对吧?这就是你保持竞争力的方式,因为你现在要和所有那些低效地、无法以经济上可行的方式编写软件的人竞争。如果你要大规模生产,你会看到一些公司——复合型初创公司——迅速成立起来,它们会是一个品牌,但旗下有很多产品,并且会像在工厂里生产一样大规模生产。Now you need like it's almost like marketing team if you remember, like I mean 10 people can drive 100 million dollars of spend. Same thing we're going to see with engineers. Now a small team can drive 150 million dollars of spend of 30 million in that company, right? And that's how you stay competitive because now you're going to compete with everyone who's writing software in an inefficient way, not in an economically viable way. If you're going to mass produce, you're going to see like companies, composite startups now spin up with which will be a brand but with like many products they're going to mass produce like just like how you do in a factory.
主持人:我觉得你仍然是个非常特殊的例子。我跟所有人聊过,包括英伟达内部的人,他们每个月的预算都是 1 万美元,也可以超出这个数,但我聊过的大多数开发者都不会超过。所以我就稍微唱唱反调吧。你在 AI 上花了很多钱,远远超过大多数人。你还是创始人,所以你很清楚业务状况,也很清楚它带来了什么价值。你觉得你,以及那些花这么多钱的人,究竟创造了什么价值?比如说,这是否意味着你很明确地在加快推进速度?但这一切最终带来了什么?你获得了更多客户吗?客户花的钱更多了吗?还是说,我不知道,免费用户变多了?你懂我的意思吧?因为你处在一个很有利的位置。对工程师来说,通常可能比较难把这些联系起来,但你显然能看清楚:这笔投入和支出带来了什么效果,或者你预期它会带来什么效果。Host: I feel you're still a huge exception and everyone I talk to including at Nvidia inside of Nvidia, there's a monthly budget of $10,000 and you can go above that but most devs I talk to don't go above that. So I'll just play a little bit of devil's advocate with you. So you're spending a lot on on AI like way way more than most. You're also founder, so you have a really good idea of where the business is and what value is adding. What value do you think you and people spending this much is adding in terms of like does this mean that you're clear you're moving faster but but does what what is this resulting in? Are you getting more customers? Are customers spending more? Are you just I don't getting more free user? You see what I mean? Like because you're in a great position usually for an engineer it it will be maybe harder to connect but you can clearly connect like what either you're seeing right now or what you're expecting to see as a result of this investment and spend.
Harjot Gill:是的,以上这些都是。你会看到的一件事是,这种单点 SaaS 解决方案的时代已经过去了。现在你会看到企业开始开发更多软件,对吧?Harjot Gill: Yeah, all of the above like one of the things you're going to see is like this point SaaS solutions. The days are over. Like now you're going to see really like companies doing a lot more software, right?
主持人:嗯哼。Host: Mm-hmm.
Harjot Gill:这为我们技术栈的各个部分都带来了价值。首先,就像我之前提到的,以前有些事情我会依赖供应商来做,现在你可以在内部构建,成本低得多。有很多工具,比如 CI,我们已经转为内部构建;向量数据库也转为内部构建,还有一大堆类似的东西。这些都是非常明确的领域,你可以迅速着手打造差异化优势,对吧?另一点是,市场对软件和这类解决方案的资本投入意愿几乎是无限的,对吧?所以有些公司会……举例来说,我们身处 SDLC 领域。我们所有客户都希望更快地发布产品。代码审查并不是他们面临的唯一瓶颈。现在,他们正在市场上寻找下一个解决方案:该如何解决 CI 瓶颈?Harjot Gill: And this is adding value in all parts of our stack. First of all like I mean as I mentioned like earlier I would like rely on vendors for some of the things now you can just build in house much cheaper. There are many tools like CI we moved in house, we moved vector databases in house, bunch of this stuff. Those are one very clear areas you can like go and build those differentiators quickly, right? And the other thing is even for the market like the people have infinite cap appetite for software and these solutions, right? So there companies which are going to like for example we are in the SDLC space. So all of our customers want to go and ship faster. Code review is not the only bottleneck they're running. Like now they're on the market looking for the next thing which is how do I solve my CI bottleneck?
我该怎么做?也就是说,我们身处这个行业。所以首先,我们得迅速弄清楚瓶颈会在哪里。我的意思是,我们前后左右都在挨箭,对吧?但这也让我们处于一个独特的位置,能够更快地把这些产品提供给客户。可谁不想更快推出产品呢?这就是那些由风投支持的公司面临的情况,对吧?所以,你想要快速打造的那一系列技术,通常就是你的护城河。我的意思是,你大概只有几个月的时间。现在软件面临的问题是,很多初创公司过去在被人模仿之前,能有几个月的护城河;但现在,它们几天或几周内就会被模仿。所以,在这个竞争激烈的市场里,你不能只凭一个浅薄的想法就贸然入场。How do I do this? Like so we're in that business. So we have to first of all go and learn quickly where the bottlenecks are going to be. I mean we're getting arrows in the back, front, whatever, right? But what that also puts us uniquely in a position is that we can offer these products faster to the customers. But even everyone wants to ship faster. Like, that's the thing with the with the VC funded companies, right? So that the kind of like the range of tech you want to go quickly build that's your usually your moat. Like, I mean, you have like a few months. Now the problem with the with the software right now is like even like so a lot of these startups, they used to have a moat of a few months before they got copied, but now they're getting copied within days and weeks. So you can't just go to the market in this competitive market with idea which is shallow.
就像你会,比如说,甚至话题也会在差不多两周后把你复制进去,对吧,就现在。Like you get like even and topic is going to copy you in in like two weeks right now.
主持人:哦,我明白你的出发点了,但我还是想反驳一点:我的感觉是,你们花的钱实在太多了。你个人——我是说,你们目前的支出速度,一年下来大概要花两百万。或者我们就按月说:你和团队这个月可能花了五十万,下个月可能六十万,再下个月也许就是七十万。但作为回报,你们得到的是:你们身处 AI 代码审查的开发工具领域。现在你们意识到,哎,我们在 CI 方面也遇到了这个瓶颈。也许我们可以在 CI 上做点什么,或者帮客户解决 CI 问题。我们之所以这么做,是因为现在我们的速度很快,能看到他们六个月或十二个月后会走到哪一步。所以现在我们就要开始启动这个产品,投入更多资金。Host: Oh, so I see where you're coming from, but I still want to push back on the fact that my sense is, okay, you're spending this crazy amount of money you know, you personally are, are are, spending you're on track to spend like 2 million per year, or let's just talk about per month. Like you're you're you and the team maybe are spending 500k in this month, maybe next month it'll be 600, maybe then 700. But in return, what you're getting is, you know, you are in the dev tool space with AI code review. You're now realizing, oh dang, we also have this bottleneck with CI. Maybe we'll do something with CI or help our customers do something with CI and we do this because we're now so fast. We're seeing where they're going to be in like six months or 12 months. So now we're now going to start start this product, we'll spend more.
然后我们意识到,它或许会成为一个功能开关,这样我们就能逐步推出,等等。通过这种方式,你几乎是在为自己的业务做研发,同时也在构建产品。你押注的是,市场会因此扩大,你能卖给客户更多产品。但我想知道的是,你是否有些特别?这对任何一家开发者工具领域的公司来说或许都成立,但对某些不属于这个领域的公司来说呢?Then we realize maybe it'll be a feature flag, we'll be able to roll out and so on. And by doing this, you're almost like doing R&D for your business and you're also building your products. And the bet is that you're you'll be expanding your market, you'll sell more to customers. But what I'm wondering is, are you not a little bit unique that this might be true for anyone who's in the dev tools market, but for some some company who's not
Harjot Gill:市场也一样。基本上,现在你的行动周期被压缩了。假设你花了一段时间才进入市场并实现 PMF——如果你是一家 YC 公司,可能要六到九个月,对吧?现在你可以很快就去尝试那个想法。如果这个想法不够扎实,风险就是别人会抄袭你。所以,基本上我们可能得做得更多,但现在你的行动周期被压缩了。以前的瓶颈在于团队扩张。Harjot Gill: market as well. Like so basically now you're moving in a compressed time frame. Let's say it took you like a while to go to market and do a PMF six, nine months if you're a YC company, right? Now you can like go there and try that idea quickly. And if it's a shallow idea, now the risk is you can get copied. So basically we probably have to like do more, but you are now moving at a compressed time frame. The earlier the bottlenecks were in scaling the team.
主持人:嗯。Host: Mhm.
Harjot Gill:就像是,我需要有合适的人才。你会拿到这些风投资金,把团队做大。但我不需要以同样的规模扩大团队,对吧?我的意思是,销售团队也许还是需要扩大,因为他们得去开会,但产品、市场营销和工程团队,现在只需要几个人,就能消耗多得多的 tokens,对吧?而目前这个 token 区间,如果你……而且这些是高质量 tokens,比如你可以用上便宜的 tokens。要达到目标就会花更长时间。如果你有高质量 tokens,那么每项任务的成本会更高,但你能更快地以高质量完成,对吧?Harjot Gill: Like so I needed to have the talent. You will like get all these VC money, scale the team. I don't need to scale the team at the same level, right? I mean, maybe the sales still need to scale because they have to do the meetings, but product, marketing, engineering, you can now do few people burning a lot more tokens. Right? And this token span right now, if you and it's quality tokens, like you can get cheap tokens. It will take you longer to get there. If you have the quality tokens, you your price per task will be high, but you get there faster at a high quality, right?
主持人:好,我听下来,你这条推文真正想表达的是:如果你身处风投领域,也就是说,你融资是为了打造一家估值十亿美元的公司,那你确实是想赢下自己的市场。虽然这条推文说得没那么周全。比如在开发者工具领域,你可能瞄准了某个细分方向,比如 AI 代码审查、AI SRE 或 CI/CD 之类。如果你今天才开始创业,可能就得融更多钱,因为你需要尽快赢下市场。这场竞争很快就会尘埃落定,你得在 Anthropic、OpenAI 这些大公司可能复制你之前,取得实质性进展。哦,另外还有个好处:一开始你可以只组建一支小团队,不必太担心招聘。Host: Okay, so what I'm hearing is, is what you're actually saying with, with this tweet, which wasn't as nuanced as if you are in the VC game, what you meaning you're raising venture capital because you want to build a billion dollar company, which means you actually want to win your, your market. Like inside a dev tools, you might have a niche, may that be like AI code reviewer, AI SRE or CICD, something like that. If you're starting today, you will probably need to raise a larger amount because you need to win this quickly. The game will be all over pretty quickly and you want to get meaningful traction before the big guys in Tropic Open AI can maybe copy you. Oh, and as as an added benefit, you can have a small team to start with and you don't need to worry too much about hiring.
但等到你无论如何都要招聘的时候,你会想要开发一些解决方案、找准方向、获取客户等等。所以这一切只是被压缩在更短的时间内,你也可以付更多钱。But by the time you would hire anyway, you will want to build some solutions and point of and get customers and so on. So like everything is just compressed and you can pay more.
Harjot Gill:没错。如今注意力窗口变短了,比如说,如果你花一两个月左右做出了 MVP,却没能获得足够的用户心智,那么你现在拥有的机会窗口就只有这么长。Harjot Gill: Right. And when the attention is compressed, like if you don't get the mind share after building your MVP in like maybe one or two months, that's the window you have now
主持人:嗯。Host: Mhm.
Harjot Gill:免得有人直接把这个点子据为己有,然后付诸行动。Harjot Gill: before someone just gobbles up that idea and runs with it.
主持人:好吧,这确实挺残酷的。Host: Okay, so this is this is pretty brutal.
Harjot Gill:是的,我的意思是,这就是我们现在面临的情况。赢得用户心智的机会窗口正在变得越来越短。过去,聪明的人做出了某种产品,对吧?也许经过了很多轮产品迭代。我不知道,可能是一款处处精雕细琢、用心打造的 SaaS 产品,也可能是一个复杂的后端系统,拥有坚实的护城河——别人很难轻易复制。所以在出现类似产品之前,它们可能有六到九个月的生命周期,可以利用这段喘息时间赢得用户心智。但现在,遗憾的是,这个时间只剩下几周了。Harjot Gill: Yeah, I mean, that's the situation right now we're dealing with. Like the window of opportunity to get the mind share is become shorter. It used to be that you had smart people. They had built something, right? And maybe it was a lot of product iterations. It was a I don't know, SaaS product with a lot of like craft and care or it was a complex backend system which just had a moat. Like people couldn't replicate easily. So they would have like a shelf life of I don't know, six to nine months before something and they had that breathing room to get the mind share. But now it's like few weeks, unfortunately.
主持人:嗯。Host: Mhm.
Harjot Gill:而且,像那些在 token 等方面投入很多的公司,就能更快实现目标。你会看到更多像 Rippling 这样的公司,它是一家复合型初创公司。你会看到更多复合型公司,凭借高效的工厂和流程,大举吞噬软件市场。最后阶段仍然会有人根据具体需求进行定制,但如果你购买的是这些 SaaS 解决方案之类的东西,那么这就是我们将看到重大颠覆的领域。Harjot Gill: And the company like spending a lot on tokens and all can get there faster. So you're going to see more companies like Rippling, which was a composite startup. You're going to see lot more composite companies with these very efficient factories and the processes gobbling up a lot of that software market. You will still have like people tailoring at the last mile, but if you're buying these SaaS solutions and all, that's where we're going to see a big disruption.
主持人:好。不,我觉得这是个很有意思的见解。我的意思是,就 KV 而言,你可以看到硅谷就是这样,一切都在加速,而且一直以来都比世界其他地方快得多。比如说,你知道,德国总是会慢很多,对吧?Host: Okay. No, I think this is fascinating insight. And I mean just KV like you're seeing this in Silicon Valley where everything is accelerated, always has been compared to the rest of the world. Let's say you know, Germany will be always a lot slower, right?
哈乔特·吉尔:我们已经看到,工业革命时期也发生了同样的事情。我的意思是,举个例子,比如玩具,以前人们会制作金属玩具。Harjot Gill: We've seen that with the Industrial Revolution, same thing happened like I mean one example is like for example toys like an example like earlier people used to make metal toys
主持人:嗯。Host: Mhm.
而且做工非常好。我小时候也有那些火柴盒小汽车,基本都是金属的,质量相当不错。and very good craft. Even I grew up getting those Matchbox car like all metal pretty good.
主持人:哦,哦,对,他们以前那场比赛时要重得多,对吧?Host: Oh oh yeah, the old match they were a lot heavier, right?
哈乔特·吉尔:我小时候,它们真的很重,质量也特别好,但现在你会看到很多……Harjot Gill: when I was a kid like they were really heavy, really good quality, but now you're seeing like a lot of
主持人:全是塑料。Host: all plastic.
Harjot Gill:但这是批量生产的。市场对此有需求。所以没错,质量会下降,对吧?但那些要投资建这些工厂的公司,现在实际上需要的投资额和运营一家工厂差不多。这简直就像现在建一座钢铁厂。一开始就得投入5000万美元,才能大规模生产软件。Harjot Gill: but mass produced. The market has appetite for that. So yes, the quality is going to go down, right? But the companies that are going to invest in these factories which need now actually as much investment as running a factory. It's almost like building a steel plant now. 50 million out of the gate are going to mass produce software.
主持人:不过我想在这点上再多追问你一点,因为我真的想就今年这个问题多追问你几句。这些软件工厂之所以可能这么贵,大概是因为还没有现成的交钥匙解决方案。假设一切发展都这么快,一年后可能就已经有可以买到的软件工厂了;但你的意思是,到那时,首先人人都能用上它,而很多企业的机会窗口可能已经关闭了。Host: But just to push you a little bit more on that cuz I really want to push push you on this year. These software factories probably cost so much because there's not a turn key solution. And let's say given, it's everything is so fast, in a year there might already be software factories you can buy; but you're saying that by that time, I mean, first of all everyone can have access to it, and your window of opportunity might have closed for a lot of businesses.
Harjot Gill:软件工厂现在成本很高,消耗 token,不过还有 CPU,以及我们聊过的那些东西,比如 CI。光靠速度就能带来很大的开销。单靠一个人是做不到的,对吧?所以,经济因素会迫使你采用工厂模式。这有点像我们在这个行业里看到的情况。再举个例子,比如手表:石英表问世后,就可以大规模生产;而劳力士则是精工细作的产品。现在的问题是,工艺精湛、耗时打造的手工软件能否卖出溢价?还是说市场只会接受外观普通、质量可能稍差一点的软件?我觉得后者才是现实,而这类软件将会在工厂里设计出来。Harjot Gill: Software factories are expensive right now tokens, but then CPU, all the like we talked about the CI like you can drive a lot of spend just with the velocity alone. A single person cannot drive it, right? So so the economics are going to force you into that factory model. It's almost like how like we've seen in the industry even like let's take another example like watches like when the quartz watches came out, you could mass produce and then you pay for Rolex which is crafted. Now the question is like, would artisanal software which is very well crafted, people took a lot of time will command a premium, or is the market just going to be okay with generic looking, maybe slightly lower quality software, which I think is what the case is, and that software is going to be designed in a factory?
主持人:是啊。不,我明白你的出发点,而且我确实有很多地方很想反驳你;不过我也理解你的观点,而且我觉得很难否认这一点:如果你现在想赢得市场,就得争取最充裕的时间和最好的机会。如果理论上要想胜出,就得抢先一步,或者快速行动、不断迭代并把产品做对,那你能用的时间就更少了。因为我还注意到一个有意思的现象,这也是我们可以进一步探讨的一点:到目前为止,我们一直假设你的竞争对手要么是那些大型实验室——它们会观察其他人在做什么,然后推出自己的产品;要么是其他初创公司,其中有些融到了更多资金,在软件工厂方面可能比你行动更快。Host: Yeah. No, I see where you're coming from, and I really want to disagree with you in a lot of ways, especially; but I see your point, and I think I have a hard time disagreeing with the fact that, look, if you do want to win a market right now, you want to give yourself the best time, the best opportunity. And if, if the, if the theory is that to win you want to be either either first or fast and iterate and get it right, you have less time because an interesting thing that I'm also seeing, which, which is a one more thing we could reflect on, is so far we've only talked about we assume that your composition is either the big labs who, you know, see whatever else is doing and they launch something, or the other startups who, some of them, raised more money and might be faster than you in their software factory.
但现实是,其他所有人都是竞争对手,比如 Ramp 推出了自己的编程智能体。Spotify 正在推出一个功能开关平台。所以,现有的科技公司也意识到了这一点:等等,我们在公司内部开发了这个工具,因为我们现在规模大了,也看到了这种需求。你刚才说,每家小公司,比如像你们这样只有 50 人的公司,都需要 Netflix 拥有的那些工具。Netflix 说不定哪天会想:等等,我们把它开源吧。所以现在我觉得,针对同一件事——也就是编程工具链——竞争确实多了很多。再说,如果你以前觉得一家信用卡公司会有编程智能体,而且人们还会认真看待它,你会怎么想?But the reality is everyone else is a competitor like Ramp launched their coding agent. Spotify is launching a platform for feature flags. So you have the existing tech companies who are also realizing hang on, we built this tool inside because we're now big and we see and we think there might be an appetite and what you said is every small company like 50-person company like yourself will need the tools that Netflix has. Netflix at some point might say like hang on let's let's open source it. So now I feel there's there's just a lot more competition for the same thing that just just coding harness. Again, what would what if you thought that a credit card company would have a coding agent and people take it seriously?
Harjot Gill:没错。问题在于,凡是没有沿着你刚才看到的那种抛物线式轨迹发展的人,都会受到冲击。很多人甚至还没有做好准备,去应对我们已经看到的这些变化。Harjot Gill: Right. And the thing is that whoever is not on the kind of parabolic trajectory you just saw, they're going to get disrupted. A lot of people are not even ready for what we're seeing already.
主持人:嗯。Host: Mhm.
Harjot Gill:就像,他们的文化不会允许他们这么做。所以他们进行软件开发的方式,必须彻底重新思考。Harjot Gill: Like the their their culture is not going to let them. So the way they're doing software development like they have to rethink everything.
主持人:嗯。Host: Mhm.
Harjot Gill:首先,他们需要多少人?如果只是擅长写代码,却不知道该构建什么,那他们大概应该考虑找别的工作。像艺术家这样不是软件工程师、但有品位的人,或许应该开始学写代码。然后预算该怎么分配?你现在得认真考虑,如果以每年大概五十万美元的薪水聘用某人,就要预期他们会花掉超过一百万美元的 token。所以,你知道,以前你做计划、拿给风投看时,薪水会是其中的主要组成部分。但现在我们开始把 token 也列出来了,对吧?Harjot Gill: Like first of all, how many people they need? Like people who are just good at writing code, they should probably look for other jobs if they don't know what to build. Like people who are not software engineers like artists, people who have taste maybe should start coding. And then how do you allocate budgets? Like you have to now really think about if you're hiring someone at like I don't know half a million a year, expect they're going to spend more than a million on tokens now. So So like your like when you do you used to do this plan with to show the VCs, you will have the salary as a main component. But now we're starting to show tokens, right?
主持人:是的。不过我还是想说清楚:这说的是一家从零开始打造的新服务型风投公司,因为对于那些已经有业务的现有公司来说,它们通常在现实世界中有实体业务。好吧,它们可能会受到颠覆,但你知道,它们有一些稳定的东西可以依托,而且它们就是那些给所有人都买每月最多 200 美元套餐的公司,对吧?Host: Yeah. Well, again, I just want to be clear: like this is for, like, a new service VC building from zero, because for existing companies that have a business, often, like, physical or in the world, okay, they they could be disrupted, but, you know, they have something stable to be there, and they're the companies who are spending the $200 max plan for everyone, right?
Harjot Gill:如果你做的是硬件生意,而且你手上大概有……那你现在可能有更强的护城河。但如果你做的只是软件,利润率又非常高,那么这些利润率会被压缩,你可能也得重新考虑一下。我的意思是,如果你没有处在这条抛物线上,那么后来居上的公司——如今这种指数级发展势头很可怕。我的意思是,这种事情会引发世界大战,对吧?可怕得很。所以,这类公司会开始后来居上,开始摧毁一些落后的老牌公司,除非它们顺着这条抛物线完成转型。而这些公司实际上更愿意投资工厂,而不是人才。它们投资的只是——我的意思是——为最好的模型买单。它们不偷工减料,只是全速前进。Harjot Gill: if you have a hardware business and all you have probably have a better moat at this time, but if you're like just software with very high margins, those margins are going to compress and you probably also have to like rethink. I mean if you're not on the parabolic, then companies coming from behind, now this exponential is scary. I mean these kind of things start world wars, right? It's that scary. So that kind of companies are going to start coming from behind and start decimating some of these lower dinosaurs unless they go and transform themselves on this parabolic. And those companies they are they were actually investing in factories more than talent. They're investing in just I mean paying for the best model possible. They're not cutting corners. They're just going fast.
招聘Hiring
主持人:我们来聊聊招聘。首先,你能说说 CodeRabbit 这些年来是如何发展的,以及你们的招聘情况发生了哪些变化吗?你之前提到过,你们现在招聘慢了很多,对吧?Host: Let’s talk about hiring. First, can you tell me how did CodeRabbit grow over the years and how has your hiring changed? Because you did mention that you're hiring a lot slower, right?
哈乔特·吉尔:在某些领域确实如此。在很多领域,我们都在迅速招聘。比如销售,我们正在大力加强一线销售团队。Harjot Gill: In some areas, yes. In many areas we are hiring rapidly. Like sales is one area where we are really double down on the field sales.
主持人:嗯。Host: Mhm.
Harjot Gill:因为我们在生成式 AI 方面发现的问题之一是,最后一公里仍然是个难题。比如,人们仍然需要很多手把手的指导。Harjot Gill: Because one of the things we found with um generative AI and is that the last mile is still a problem. Like people still need a lot of hand holding
主持人:嗯。Harjot Gill:关于如何正确设置这些系统。Host: Mhm. Harjot Gill: in how to set up these systems in the right way.
主持人:是的。Host: Yes.
哈乔特·吉尔:所以,这类事情可以借助 AI 加速推进。你必须开这些会,必须进行交流。所以在这些领域,我们正在快速招聘;但在其他领域,我们现在则在重新思考需要招聘什么样的人,以及Harjot Gill: So those kind of things you can accelerate with AI. You have to have those meetings. You have to have conversations. So those areas we are hiring rapidly, but other areas now we are like rethinking what we need to hire for and
主持人:好吧,我们具体谈谈软件工程。Host: Well, let's talk about software engineering specifically.
Harjot Gill:软件工程是目前最棘手的领域。我们每个月都在学习新东西。比如我们发现的一点是,解决问题的能力、系统思维能力。像那些……比如我甚至发过一条推文,说我在寻找玩过策略游戏的人。Harjot Gill: Software engineering is the most trickiest area right now. Every month we are learning something. Like one of the things we have found is like the problem solving skills, system skills. Like people like who came from like even I wrote a tweet about like I'm looking for people who have played strategy games.
主持人:我来读一下这条推文,因为这条真的很有意思。你们正在招聘,而你说——我是说,有个条件:申请者必须符合以下两项标准之一才能加入。要么在过去30天里有品味地提交至少1000个 PR,要么玩过至少500小时的模拟类游戏,比如《文明》《帝国时代》《运输大亨》《异星工厂》等。Host: Let me read this tweet because that was really interesting one. So so you are hiring and you said I mean there's a caveat. We're hiring the person who applies must meet one of the following two criteria to join. Either has tastefully shipped at least 1,000 PRs in the last 30 days, or has played at least 500 hours of simulation games such as Civilization, Age of Empires, Transport Tycoon, Factorio, etc.
Harjot Gill:现在如果你问我,软件开发是什么感觉,我觉得它有点像在玩那种游戏,对吧?我是说,我会拿《文明》来打比方:你基本上就是一步步做出行动,而对我来说,每一回合就像一次发布,对吧?然后你会在下一回合学到一些东西。而在建设文明的同时,你还有——我不知道——工人们在改善道路、建造田地等等。智能体就是这样运作的。每一回合,你只是在让这些智能体去做一些有意义的事情,对吧?我们认为,这会给你的文明带来很高的投资回报率,对吧?呃,现在运行这些智能体,在我看来,感觉就像是在建设这个文明。如果人们从小玩策略游戏长大,我觉得他们现在用这些智能体会非常成功,对吧?Harjot Gill: Almost like now if you ask me about the software building looks feels like it's like playing one of those games, right? Now, I mean I talk about civilization like each like you basically make the moves and each turn is like a release for me, right? And you learn something in the next turn. And while you are stating the civilization, you still have like I don't know workers improving your roads and building fields and so on. That's how the agents are. And each turn you're like just making these agents work on something meaningful, right? Which we think is is a great ROI for your civilization, right? Uh almost like now running these agents feels to me feels like building this if people have grown playing strategy games, I think they will be very successful in with with these agents right now.
主持人:嗯。Host: Mm.
Harjot Gill:他们可以同时处理多项任务。他们能做的事情范围很广,我是说,至少他们有一份不错的问题清单,之后这些智能体可以着手解决。Harjot Gill: They can multitask. They have like range of things they can I mean at least they have a good problem list these agents can then work on.
主持人:到目前为止,你们的招聘进展如何?你觉得招聘这些有相关经验的人,是更容易还是更难?Host: And how is hiring going for you so far? How easier more like hard are you finding to hire these folks who have this kind of experience?
Harjot Gill:所以我们现在的看法是,要么找一个已经在好公司当上资深工程师、资历很深的人,但他得先来重新学习,对吧?要么就招一个刚大学毕业的人,但他得主动性强,而且能更快地学习。我们发现,那些还没有形成固定思维方式的人,尤其是有玩这类策略游戏等背景的人,表现都非常出色。这只是我的看法,也是我们正在寻找的人。我觉得,现在人的主动性比以往任何时候都重要得多。Harjot Gill: So the way we are looking at is like either someone who's already a tenured senior engineer at a good place, they have to come and first unlearn, right? Or you hire someone even who's like fresh out of college, but they have high agency but can run learn faster. What we found that the people who are like coming with like who not set in the ways and have come especially from the background of like playing this like strategy games and all have been very successful. That's just my take on it. And that's what we're looking for. I think the human agency now matters lot more than it ever did.
主持人:嗯。Host: Mm.
Harjot Gill:那个知道该构建什么、效能是普通人 10 倍的人,现在有了这些智能体,肯定能达到 100 倍效能,对吧?因为现在你至少有了一份问题清单,或者明确了这些智能体最能发挥作用的领域,然后就可以尽可能多地并行部署这些智能体。Harjot Gill: Person who was 10x knew what to build is now certainly becoming 100x with these agents, right? Because now you at least have a problem list or the most impactful areas these agents can work on and you could just unleash these agents as much as possible in parallel.
主持人:我们谈了个人,不过我知道你有个叫作 pods 的概念,你也把它称为 war rooms(作战室)。Host: So we talk about individuals, but I know you have a concept called pods that you also call it as war rooms.
Harjot Gill:没错。Harjot Gill: That's right.
主持人:呃,什么是作战室?Host: Uh what are war rooms?
Harjot Gill:所以我们发现,这又是一个方面,我觉得协作变得更加重要了。我之前在初创公司工作时,团队是远程的,就像是在构建分布式系统。所以团队在印度还是东欧并不重要,我都经历过。嗯,但现在我们看到的是,我们推进得非常快:有人掌舵,其他人则在软件构建的过程中不断塑造它。顺便说一下,每个人都能参与修改软件,连产品经理也能动手,比如他们提交的 PR 可能是为了修改某处文案,或者调整某些信息架构流程,对吧?但每个人都在同时参与修改软件;如果大家能在一个作战室式的环境里协作,那就太好了。Harjot Gill: So what we found is like that's another area like I think we have to like the collaboration has become even more important. So I've like in previous startups remote teams you're like building distributed systems. So it doesn't matter like teams like in India or Eastern Europe I've done all. Um but now like what we're seeing is that now we're moving so fast like someone one one person is on the steering wheel but other people are shaping the software as it's getting built. And everyone is able to touch the software by the way even product managers get to touch it like with and the kind of PRs they're making is relevant to like change a copy on something or some information architecture flows right. But everyone is like touching the software at the same time and it's great if they can be like in a war room setting.
所以我们会建立这种作战室,在 Slack 画布上分享计划,大家一起达成共识,然后在房间里以更面对面的方式合作,基本上是实时协作。So we kind of create these war rooms where we share like plans on a Slack canvas we all agree on it and we all collaborate in a room in in more face-to-face setting and pretty much in real time.
主持人:你把所有人都叫到一个房间里,围坐在一张桌子旁,关上门,然后说,好吧,我们来解决这个问题,对吧?Host: you get everyone in a room into a table you can close the door and like all right let's solve the problem right?
Harjot Gill:我们是在实时打造软件。比如,有时你会通过执行一个目标来打下基础;但当你到了真正想打磨 UI 和体验的阶段,就会想把大家召集到一个房间里,现场一起打磨。Harjot Gill: we're crafting the software in real time. Like sometimes you will like lay the foundation by running a goal but when you're like at the stage where you want to like really craft the UI and experience you want to get people in the room and really craft it live.
主持人:是啊,这挺有意思的。在 Uber,直到 2017 年左右,我们一直有一种叫作“作战室”的做法,大概是这样:有重要项目时,大家就聚到一起,有时还会把人飞过来,因为团队成员分散在各地,然后在那里花大概一周时间把东西搭建起来。这是在 AI 出现之前,所以现在有了 AI,速度快多了;但当时就是先做一个概念验证,在白板上写代码,然后做出一个原型。之后大家回到各自的团队,从那里继续开发,不过现在它已经能作为核心功能运行了。Host: Yeah, it's funny. At Uber, we used to have, up to 2017, something called the war room which, which is like this: there's an important project get, everyone and sometimes fly people in because they're distributed and then spend maybe a week there build. up this was pre AI, so the AI it's a lot faster but just build a proof of concept, whiteboard code, and then have a prototype. And then everyone goes back to their teams and just kind of builds it from there, but it's now working like the core thing.
Harjot Gill:对,我们现在越来越常这么做了,这正是我们的想法。你需要不同偏好的人,比如让产品经理、设计师,以及懂后端和前端的人聚在同一个房间里,大家一起打造软件。Harjot Gill: Yeah now we're doing that more often like that's exactly the idea and you need like people with different tastes like you have product managers in the same room you have designers you have people who understand back end the front end and they are like crafting the software together.
工作节奏、睡眠与职业倦怠Work pace, sleep, and burnout
主持人:这是一项艰苦的工作,有时候还得熬夜。我记得我们最早在 X 上互动时,我好像发了一条动态,说团队经常工作到很晚,甚至一直忙到深夜。你回复说:“现在都快凌晨两点半了,我们还在继续交付。”然后你说:“是啊,是啊,差不多吧,你懂的,哭笑脸。我也不确定这到底是好事还是坏事。”能不能跟我聊聊你们的工作节奏?你之前说自己睡得没那么多了。录制前我们也聊到,好吧,有些时候你得控制一下。显然,兴奋一阵子也很正常,但如果你考虑的是长期打造一番事业,那你肯定还是想找到平衡,对吧?你是怎么看这件事的?Host: It is hard work and sometimes it is late work. As one of our first interactions on on X was, I think I was I was writing something about how like teams are working really late up up to the evening or into the night, and you replied: "This it's it's almost 2:30 a.m. and we're still shipping." And you're like: "Yeah, yeah, kind of, you know, like crying smiley face. I'm not sure this is is good or bad." But can you tell me a bit on on the pace? You talked about you're not sleeping as much. Before the recording, we talked about how like, okay, at some point you need to get that under control. Cuz clearly there a time for excitement, but also when you're thinking of building something longer term, like you'll you'll want to find the balance, right? How are you thinking about it?
Harjot Gill:现在简直疯了,我是说,这确实会在一定程度上影响你的健康,因为正如我说的,自从这些智能体变得越来越好之后,如果它们不能一直工作,就会有巨大的机会成本;而它们确实会卡住。它们会有问题,你得引导它们。我会阅读它们的推理过程,需要的时候就指导它们。为此,我几乎都改变了自己的睡眠周期。我会先小睡一会儿,然后凌晨 3 点左右醒来,发送几条指令,因为每个小时都会有一两个智能体卡住。你得过去把它们弄顺畅——就像扫地机器人卡住了一样,你得把它们弄出来。感觉就是这样。不过这后来也算成了一种习惯,但这不可持续,而且我们还没找到合适的界面,来大规模地使用这一整群智能体。Harjot Gill: crazy right now like I mean, it it does like impact your health to some extent because ever since these agents gotten better as I said like there's like a huge opportunity cost if they are not working all the time and they do stall. They have questions. You have to like steer them. I read the reasoning traces. I guide them whenever I have to. And for that like I mean, I've almost like changed my sleep cycle. I mean, I take a nap. I wake up at like 3:00 a.m. to send like a few instructions because every hour like one or two agents are going to get stuck. And you have to go and like it's almost like Roomba's getting stuck. You have to like unstuck them. That's what it feels like, but then then that's kind of become a habit, but it's not sustainable and we haven't like figured out the right interface to work with these agent fleet of agents at scale.
也许它真的就像一家工厂,公司得有早班和夜班,因为你拥有的可能不再是代码,而是智能体。白天由我做决策,但我可以放心,我们看到的是同一个会话、同一个智能体,这样其他人就能在我睡觉时做决策。对吧?所以我们现在因为是在自己的机器上开发,协作方面就成了瓶颈。Maybe it's really like a factory like companies have to have a morning shift, night shift because instead of owning the code, maybe you're now owning agents. During the day, I make the decisions, but I can be rest assured we are seeing the same session, the same agent that other people can make decisions while I'm sleeping. Right? So we are we are right now because we developing on our own machines, we are like bottlenecked on on on that collaboration right now.
主持人:是的,我还想补充一点:前阵子我读了一本叫《我们为什么要睡觉》的书。它确实让我不得不优先保证睡眠,因为睡眠这件事,有一些科学证据表明——我不是这方面的专家——睡眠不足,短期来看没什么,明天没事,下周没事,下个月也没事,但几十年后可能会反噬你。我也不知道这在科学上有多可靠,但从那以后,只要想到“哦,这种事是有可能发生的”,我就会觉得:“好吧,所以好好睡一觉,不只是对明天的我很重要。”因为你知道,你状态不好,表现就会受影响。但这也关系到我的长期健康。我想,我在努力做些事情,希望等我六七十岁的时候能更健康一些。Host: Yeah, the one thing I'll add is I read a book called Why We Sleep a while back. And it actually forces me to prioritize sleep because there's this thing with sleep which there's some scientific evidence. I'm I'm not an expert in this, but there's a suggestion that not getting enough sleep now, it's fine for tomorrow and it's fine for next week and it's fine for next month, but decades later it can come back and bite you. And I ever, since I don't know how scientifically sound it is, but just as when I was like, "Oh, it, it could happen," I'm like, "Okay, so, like, me getting a good, nice sleep is not only important for me for tomorrow," cuz I'll be, you know, like, you'll know, like, you won't do as well. But for my long-term health, like I you know, I'm trying to hopefully try to do stuff that will make me more healthy when I'm 60 or 70 etc.
所以,这是我对不睡觉这件事唯一想补充的一点。我想稍微追问一下:醒来引导智能体真的那么重要吗?不能等到早上再做吗?So that's my only kind of like addition to like not sleeping and I would push a little bit like is is it as important to wake up and steer the agent? Can it not wait until the morning?
Harjot Gill:所以我觉得这更像是一种多相睡眠。我可能有点夸大它对健康的影响了,但我觉得,即便看看工业化之前人们的工作方式,也会发现朝九晚五这种模式是最近才出现的。我是农业社区出身,所以人们会起床照料牲畜,因为你要根据其他方面的情况安排工作,必须起床去做那些事。现在换成了智能体。你得起床照料那些牲畜——也就是现在的智能体。就像《FarmVille》差不多。我不知道这个比喻恰不恰当。人们过去会采用多相睡眠……Harjot Gill: So I think it's more like a polyphasic sleep. I maybe I'm like exaggerating the health, but I think even if you look at how people used to work pre-industrial age, this 9-to-5 thing is is a recent thing. And I mean I come from like agriculture community. So people will wake up tend to livestock because you are like working based on other aspects and you have to wake up and do that thing. Now it's the agents. You have to wake up to tend to that livestock, which is now agents. Almost like FarmVille. I don't know whether that's the right analogy. So people used to have polyphasic
主持人:或者说有点像电子宠物,对吧?Host: Or like Tamagotchi for a little bit, right?
Harjot Gill:所以人们过去采用多相睡眠,而我现在也在这么做。Harjot Gill: So people used to have polyphasic sleep and I'm doing that right now.
主持人:哦,你说得对。比如,中世纪的时候就有这种情况。人们会在半夜醒来,经常会吃点东西什么的,然后再回去睡觉。Host: Oh, you're right. Like this was a thing in the Middle Ages. People would wake up in the middle of the night and they would often like dine and stuff like that and then go back to sleep.
Harjot Gill:我现在就是这么做的。不过我得说,我现在这么做的唯一原因,是我得照看运行在本地机器上的智能体。一旦你真正摸索出工厂的正确抽象方式,转向云端之后,它也许就会像工厂一样,采用朝九晚五的早班、晚班,或者全天候运转,因为这些并不是实体工厂。你可以采用“追随太阳”的模式。我们还在摸索,不过至少对我来说,这一代智能体目前看起来更像是多相制。Harjot Gill: That's what I'm doing right now. But I will say the only reason I'm doing that right now is because I have to tend to the agents which are on my local machine. Now once you really figure out the right abstraction of the factory, once you move to the cloud, then maybe it's going to be like a factory like 9-to-5 morning shift, evening shift, or like round the clock because these are not physical factories. You can have follow the sun model. Like we're still figuring out, but right now it looks looks more like polyphasic with this generation of agents, at least for me.
主持人:是啊。我们来聊聊倦怠吧。你写过关于倦怠的内容,我想引用你的一段话:“CodeRabbit 是我创办的第三家初创公司,之前的两家——Netsill 和 FluxNinja——我也同样拼命工作。倦怠从来不是因为工作太辛苦,而是在很长一段时间里,工作都没有带来想要的结果时,才会开始出现。说到家庭,我的两个女儿都是在我创业期间出生的。她们其实帮助我避免了倦怠。”就你个人的经历而言,你是怎么看待倦怠的?还有,你这么拼命工作是怎么回事?听起来你已经是第三次创业了,但你似乎不是那种特别……你是那种特别拼的人。Host: Yeah. Let's talk a little bit about burnout. You wrote about burnout and I'll quote you here. CodeRabbit is my third startup now and I have worked just as hard for my previous two Netsill and FluxNinja. Burnout never happens due to hard work. It kicks in when your work does not lead to the desired outcome for a long time. On the family front, my two daughters were born during startups. They actually helped prevent burnouts. In just your personal experience, like how have you thought about burnout and also just working so damn hard cuz it sounds like, you know, you're you're on third startup, like you don't seem to be the you're the intense type.
Harjot Gill:是的,我是说,第二家初创公司经营不善的时候,我确实感到被拖累了,也筋疲力尽,因为看不到任何成果。那是我第一次感受到倦怠的迹象,因为你确实非常努力地工作,却没有明确的结果或成果。光是等待,焦虑就能把人逼疯。你知道,什么都没发生。你做了这么多工作,可什么都没发生,毫无进展。所以那是很糟糕的一种处境。我觉得那就是我想回到的那种现状。不过在 CodeRabbit,我虽然也很努力地工作,但情况正在好转。我们的收入增长得非常快,团队也在壮大,资金也陆续到位,总是有事情在发生。我们确实也在推动局面向前发展。Harjot Gill: Yeah, I mean I mean I really when the second startup wasn't doing well, I mean that's where I did feel dragged down, burnt out because there was no outcome. That's the first time I felt the signs of a burnout because yes, you were like working very hard but without a very clear result or an outcome. Just waiting the anxiety kills you. You know, nothing's happening. You're doing all this work, but nothing's happening. Nothing's moving. So that's a bad scenario to be in. And I think that's the status quo, which which I would would want to go back to. But for CodeRabbit, like I'm working hard, but things are on the upside. Like we are like seeing the revenue grow like crazy. Our team is growing. The funding's coming in. It's always something happening. We're actually moving the needle as well.
客户很喜欢这款产品和新增的功能。所以,尽管我工作很努力,但我并不觉得自己快要 burnout 了。我可以,或者说必须在这个时候停下来。我觉得自己还能继续坚持下去。Customers are loving the product, the new capabilities. So even though I'm working hard, but I don't feel that I'm burning out. I can or I have to stop at this point. And I think I can keep going on.
主持人:我在想,我觉得这在你的情况下很有道理,因为你在所有这些公司里都是创始人,所以你马上就和结果挂钩了。或者说,比如收入增长了,这当然是好事,因为这会帮助你的公司发展、完成下一轮融资、出售公司,诸如此类。你知道可能会有什么结果。我想从同理心的角度问问那些自己不是创始人的员工。他们可能也有股权,但持股比例不会那么大。有没有可能,拥有自主权、了解业务情况,只是知道自己的工作与业务之间的联系,实际上会有所帮助?因为公司内部的人通常都很努力,也会工作很长时间,尤其是在早期阶段。但我想知道,在这里,拥有自主权并看到自己的工作与那些事情之间的联系,会不会真的有帮助,能让你获得这种劲头。Host: And I wonder like, I think in your case it makes a lot of sense, because you were a founder in all the companies, so you immediately, you were connected to the outcome. Or, you know, for example, if the revenue goes up, you know, this is, this is just good because it, it will help your company grow or raise the next round or get a sale or whatever, you know, like, you know what will, what, what can come. I'm wondering just being empathetic for employees who are not founders themselves. They might have equity, but it will not be as as big of a stake. Could it be that having autonomy, having visibility for the business, just knowing how their work is connected, that it might actually help because insiders people typically work hard and long, especially at early stage. But I wonder if the autonomy here and seeing how your work is connected to the things that actually just helps, you know, get this kind of kick that you're you're getting basically.
Harjot Gill:是的,这能激励大家。首先,我们不会强迫别人像我这样工作。我是说,我以身作则,这是我的信念。即使大家能在一定程度上跟着做,也很棒。但我还是会按自己的方式做。我的意思是,与其管理大家,我更愿意和开发人员一起深入一线。如果发生故障,我总是会第一时间赶到,帮他们解决问题,不管当时是什么时间。Harjot Gill: Yeah, it motivates people. Like first of all, we don't force people to work like I do. I mean, I lead by example. That's what I believe. And even if people can follow to some extent, it's great. But I do what I do. Like I and I mean, rather than managing the people, I'm on the ground in their trenches with the developers. If there's incidents, I'm always like first there to help them out, no matter what the time.
主持人:是的。Host: Yeah.
Harjot Gill:我觉得这确实能激励人。大家都很开心,觉得好吧,领导是对的。他们觉得领导对自己的生活更有共情,对吧?其次,我发现加入初创公司的人是在寻求这种冒险体验。他们的职业发展轨迹不是线性的。所以他们离开大公司里那种非常稳定、可预期的薪水和 RSU,对吧?去初创公司拿更便宜的股票,但他们看重的是潜在的上行空间。而当这种情况发生时,就会更鼓舞人心,对吧?尤其是公司处于上升轨道时。所以我想说,就连那些去初创公司的人,也是想打破现状,因为在规模更大的公司里,事情可能会非常平淡、无聊。Harjot Gill: And I think that does motivate people. They're all like happy that okay, the leaders right. They feel like much more empathy to their life, right? Secondly, like I found like the people who join startups are looking for this adventure. Like it's a non-linear career trajectory. So they are living living like very predictable salary RSUs in some big company, right? To get like cheaper stock at startups, but then they're looking at the upside. And when that happens, it's like even more inspiring, right? When the companies are on the upper trajectory. So I would say like even the people who go and join the startups are looking for breaking that status quo which things can be very mundane and boring in a larger setting.
主持人:对,你说得没错。比如,在一家高速增长的初创公司工作有很多好处:如果公司发展得特别好,而你又持有股权,最后公司成功退出,你可能会赚到一笔足以改变人生的钱。这意味着你可以买房、为孩子安排好教育,也能获得自由,想去一家有风险的初创公司也好,想做一份枯燥的工作也好,都可以由你决定。反过来,如果事情变成这样,公司倒闭了——比如 Fast 就是个典型例子,我想它是在 2022 年破产的——如果这家初创公司吸引了很多优秀的人才,那些人通常会去不同的公司,因为他们原来的公司已经关门了。不过,他们之间往往也会建立起一种人脉和同事情谊,很多年后还会互相联系。Host: Yeah, and you're right. Like on on a fast growth startup, there are a lot of advantages like either, you know, if the fast growth startup goes great and you have equity and there's an exit, you could have life changing amount of money, meaning that you can buy a house, you could have education set up for your kids, and you now have the freedom to like either take a risky startup or do a boring job, whatever you want. And if it goes like this and it drops, for example, fast was a typical example in the and I think in 2022 which went bankrupt, you often if the startup attracted really good people, you know, those people all go to different companies because now their company shut down. But there's also often this network, this camaraderie that was there and they often call each other years later.
他们当中有些人最终会进入下一家,你知道的,非常成功的公司。所以我其实改变了想法。好吧,我觉得加入初创公司的唯一缺点是,你通常得努力工作,而且通常需要到办公室上班。但一般来说,当你还年轻,而且你知道,生活中没有其他特别重要的优先事项时,这会对你的职业发展有很大的帮助。They will some of them will end up at the next, you know, like really successful company. So I've actually changed my mind and okay, the only downside I guess joining a startup is often you will need to work hard. It will be often be in person, but typically when you're young and when, you know, this is not you don't have other huge priorities in your life, it can be a huge career boost.
Harjot Gill:即便从经济角度来说,我也不会说这很疯狂,硅谷就是这样的。我觉得,这确实会奖励那些愿意承担这种风险的人。我的意思是,不知怎么的,失败并不会致命。Harjot Gill: It is like even financially I wouldn't say it's crazy like that's how the Silicon Valley is. Like I think it does reward people who took that kind of a risk. I mean, there's no fatal failure somehow.
主持人:是的。Host: Yeah.
Harjot Gill:就像,我见过一些人,他们刚经历过那种事,收获了很多。就算学到的是个不好的教训,至少他们知道什么行不通。这对他们接下来要找的工作来说很有价值。所以,所以他们总是……Harjot Gill: Like and I've seen like people like who have just been through that experience have gained a lot in like even like if it's like a bad lesson, at least they know what is not going to work. And that's valued in whatever the next job they're going to go look out for. So so they're always
主持人:说出来。它或许放在某个地方更有价值,不怎么动,也学不到多少东西,对吧?Host: saying it. It might be more valuable sitting in one place, not doing much, not learning much, right?
Harjot Gill:那样你就不会成长。但如果你走出去,冒险做这件事,我的意思是,这不会导致致命的失败。至少在硅谷,人们喜欢那些敢于冒险的人,不管你是创始人,还是傻到愿意加入的早期员工。但与此同时,人们也会认可这段经历,对吧?如果成功了,那你就会进入一条加速发展的轨道。我想这正是我会鼓励大家去做的。虽然没错,工厂方面的成本正变得有点高昂,但现在仍然是人们出去尝试的最佳时机。趁这些工厂还没变得更加成熟、开始排挤某些个体之前;现在真是一个非常神奇的时期,一个人只要以正确的方式驱动这些智能体,就能创造巨大的价值。Harjot Gill: that's where you don't grow. But if you go out and do this thing risky, I mean, there's no fatal failure there. Like they people love in in the valley at least, people who have taken risk, whether you're founders or early employees foolish enough to join. But but at the same time, people reward that experience, right? And if it's successful, then it's like you're on an accelerated trajectory like and I think that's what I would encourage. Like even though yes, I mean, it's becoming a little bit cost prohibitive on the factory front, but still it's still the best time for people to go out and try this out. Like before all these like factories become more established and start blocking some of these individuals, but right now it's a very magical time right now like in a single person just driving these agents in the right way can create immense value.
主持人:我想问一下,回顾一下……Host: I wanted to ask that, looking back
人工智能时代的技能Skills for the AI era
在 AI 出现之前,你作为软件工程师和创始人大概有 25 年的经历。在那段时间里,你学到了什么,或者培养了哪些技能?你觉得这些对现在从事 AI 相关工作、身处这个 AI 时代特别有用?pre-AI to like your 25-ish years as a software engineer and founder, what are the things that you learned there or skills that you built that you think have are really useful and helpful right now working with with AI and in this like, I guess, AI era?
Harjot Gill:我是说,就创业而言,它一直都像是——我的意思是,这几乎就像在玩电子游戏。你会玩各种各样的“游戏”,当然,你得考虑产品与市场的契合度。这些都很令人兴奋。我想我最喜欢的是创造价值,这才是归根结底最重要的。软件只是达到目的的手段。没错,你得写代码,我也很喜欢写代码,但对我来说,它只是达到目的的手段。真正重要的是我们的人——说到底,能用你提供的价值让某个人开心,始终是最大的回报,对吧?其他一切都会随之而来:你会拿到风投资金,会组建起团队,也会有人加入这项使命。所以,在这样的世界里,这几乎就像是在做传教士——传播一种宗教。而这正是创业的乐趣所在。我一直都在前沿领域:我见证过早期电信行业的发展,也见证过 SaaS 和云计算的兴起。每一次,真正让我兴奋的都是:在前沿领域创造的价值会呈非线性增长,远超其他地方,而我总会努力待在前沿。Harjot Gill: I mean in terms of like entrepreneurship it's always been like I mean again it's almost like a video game like I mean you're playing all these like games where yes you have to think about like the product market fit. I mean all that is exciting. I think what I love is like creating value like that's the end of the day. Like software is just means to an end yes you have to write code and I enjoyed it but it was like just means to an end for me. Like the real thing was like our people like it's really like really like making someone happy with the value you provide is always like the biggest reward, right? Everything is like then follows like you get you will get the VC money, you will get the team and people will join the mission. So so it's almost like being a missionary in this kind of a world like you're spreading a religion and that's the fun part of doing a startup like I mean I mean I've always been on the frontier like I've seen like early telecom, I've seen SaaS, cloud takeoff and each time it's always what excites me is like okay there's a lot of non-linear value going to be created at the frontier than at at other places and I'll always try to be at the frontier.
主持人:对于那些有一天想在 CodeRabbit 或类似 CodeRabbit 这样快速发展的地方工作的软件工程师,你有什么建议?他们应该投入精力培养哪些技能?应该养成哪些实践习惯、参与哪些活动,而不是花 500 个小时玩《异星工厂》?Host: What would you advise a software engineer who one day would like to work at CodeRabbit or at a place like CodeRabbit and just as a fast-moving place? What kind of skills should they invest in? What kind of practices, what kind of activities should they do outside of playing 500 hours of Factorio?
Harjot Gill:是的,我认为我们现在面试一个人时,最看重的就是主动性。因为现在,即使他们在一家大公司工作,大家也会在工作之外做很多事情;如果他们如今不做个人项目,那就是个危险信号。因为现在做东西太容易了,有主动性的人此刻真的在做些什么。他们能克制自己不去做,这始终是个很好的迹象。要是你有个人项目,我会非常喜欢,对吧?我们看重的第二点是经验广度。如今,借助 AI,你可以把某个领域钻研得很深,不断深入,优化性能;但如果你有广泛的经验,就可以构建各种东西。比如分布式系统,或者你来自某个领域,比如可观测性、数据库。Harjot Gill: Yeah, I think I think the agency is the number one thing I'm looking for right now when we interview someone. Because right now, like, even if they're in a bigger company because now lot is happening on the side if they're not doing side projects today, it's a red flag. Because right now it's so easy to build that people who have agency are actually building something right now. They can hold themselves back and that's all always like a great sign. If you have side projects, I love it, right? And the second thing we're looking for is like people who are have a range of experience now for the depth you have AI, it can go deep drill infinite to performance optimize something and but if you have like a range of experience you can like build let's say distributed systems let's say you came in from one space doing let's say observability databases.
现在如果交给智能体来做,你能做到十倍的量。你不只是构建那个系统,还在构建另外十种分布式系统。所以如今能力范围也很重要。这就是我在寻找的那类特质,对吧?我的意思是,这体现了系统思维:他们是否具备广泛的技能,以及足够强的主动性,能让这些智能体一直忙起来。Now if you were to give agents now you can do 10x of that. You're not just building that you're building 10 other types of distributed systems. So the range also matters now. So those kind of things I'm looking for, right? I mean it's like systems thinking whether they have range in skills and high agency to keep these agents busy.
书籍推荐Book recommendation
主持人:最后,你会推荐哪本你读过的书或论文?Host: To close, what book or paper you’ve read would you recommend?
Harjot Gill:我觉得我们正身处一个黑天鹅时刻。我读了这本书——我是说,我现在不怎么花时间读书,最近一直都在忙着做东西。但我觉得我们现在就处于那种黑天鹅地带,就像我们眼下所看到的这样。Harjot Gill: I think we're living in a black swan moment I read this book I mean I'm not like a spend a lot of time reading books these days I'm just been like very building but I think we are in that like the black swan zone like what we are seeing right now
主持人:那这本书叫什么?Host: And what's the book?
Harjot Gill:我的意思是,这就像《黑天鹅》那本书。我想我读过,忘了作者是谁了,但它真的……Harjot Gill: I mean this was like the black swan book I think I read forgot who the author was but it was really
主持人:是的,我们会把它放在下面的节目说明里。Host: Yeah we'll we'll put it in the show notes below.
Harjot Gill:是啊,是啊,是啊,不过有一点很有启发性:我们现在正在经历的,算是某种黑天鹅时刻。回想五年前,我绝不会预料到 AI 会变得这么厉害——首先,它能开我的车、驱动软件;而且对于这些模型究竟能做到什么,我们甚至还在不断发现它们的新能力,我们还远没有达到它们的巅峰。所以,是的,一切都将改变,而有些事情,直到今天我们也无法预料它们会带来怎样的后续影响。Harjot Gill: Yeah, yeah, yeah, but when there was like pretty insightful about we are right now going through is our kind of a black swan moment. Like if you look at five years back, I would not have predicted that AI would get so good that it's, first of all, like driving my cars, is driving the software, and it's like even some of the capabilities we're still like discovering with what these models are capable of doing, and we have not even hit the peak yet. So yeah so everything is going to change and some of the things we can't even predict today the way we're going to see the after effects.
主持人:好的,Harjot,谢谢你。Host: Well Harjot thank you.
Harjot Gill:嗯,谢谢。Harjot Gill: Yeah thanks.
主持人:嗯,我想不起来还和谁聊过,像 Harjot 这样近乎狂热地拥抱 AI。说清楚一点,一开始听说他为一个人、在一个月内投入 20 万美元打造 AI 系统时,我是持怀疑态度的;对好几件事我也一直相当怀疑。不过,听 Harjot 解释他的想法后,有些事情让我换了个角度看。先说我无法认同、也不推荐的部分:Harjot 半夜醒来给他的智能体发送提示词。他这种多相睡眠——但在我听来,这像是为了让智能体不受阻碍地运行,把睡眠完全放到次要位置。这在我看来非常低效。如果你真的想让智能体一直运行,甚至在你睡觉时也不停地执行任务,我宁愿把耗时较长的学习任务放到云端去做。不过说到底,我不明白为什么非要执着于让智能体一直运行。Host: Well I cannot recall talking with anyone nearly as AI-pilled as Harjot is. To be clear I was skeptical to start with when hearing about his $200,000 AI build for a single month for a single person and I remained pretty skeptical about several things but Harjot explaining his thinking put a few things into perspective. Let's start with the part that I cannot agree with or recommend Harjot's approach to waking up in the middle of the night to prompt his agents. He He this polymorphic sleep but to it sounds like de-prioritizing sleep all to unblock agents. This feels very inefficient to me, and I would rather look at longer learning tasks in the cloud if you really want to be there to have your agents running it all the time even when you sleep. But really, I don't see the obsession with agents always running.
这不是一场比拼谁能让自己的本地笔记本电脑始终以 100% 负载运行的竞赛。关于 Harj 认为一家获得 800 万美元融资的初创公司没有足够资金来打造一家软件初创公司这一点,我也持怀疑态度。我明白,Harj 假设所有初创公司都会像他那家有 40 名员工的公司一样,在 AI 上投入数百万美元,这样资金很快就会烧光。我也明白,在开发者工具领域,像 CodeRabbit 那样快速打造新产品(比如定制 CI)在商业上可能是行得通的。但除了销售 AI 开发者工具的初创公司之外,我实在看不出仅仅为了比竞争对手稍快一点进入市场,就大笔投入 AI 有什么道理。不过,我确实理解如今 AI 开发者工具初创公司之间的竞争有多激烈。推出新产品的可不只是拥有 40 人工程团队的 CodeRabbit。This is not a competition about utilizing your local laptop to always run at 100%. The part on how Harj doesn't think a startup with $8 million of funding has enough money to build a software startup, I'm also skeptical. I get it that when Harj assumes that all startups will send millions of AI like his startup does with 40 people, you burn through funding fast. I also get it that in dev tools, it can make business sense to build new products like a custom CI really fast like CodeRabbit did. But outside of startups that sell AI dev tools, I just don't see it making sense to spend massively on AI just to be a little bit faster to market than your competition. The part I do get though is how much competition across AI dev tool startups is there today. It's not just CodeRabbit launching new products with their 40-person engineering team.
此外,Ramp 或 Shopify 这样的大公司也在推出开发者工具产品、AI 实验室等,其他大型公司也都在争夺同一块市场。结合这一背景,我确实能理解为什么速度很重要,尤其是对小型初创公司来说;为了更快地构建产品而投入 AI,也确实有一定道理。最后,我特别喜欢的一项做法是:如果开发人员引发太多回归问题,就会被吊销“驾驶执照”。无论问题是否由 AI 导致,我都喜欢这个想法:它能迫使工程师更加重视可靠性,并交付高质量的代码。想深入了解软件工厂和 AI 辅助工程实践,请查看下方 Pragmatic Engineer 深度文章的链接。如果你喜欢这期播客,请在你常用的播客平台和 YouTube 上订阅。It's also larger companies like Ramp or Shopify launching dev tools products, AI Labs, and other large companies all trying to get the piece of the same market. So with this context, I do get why speed matters especially for small startups and why spending on AI to build so faster can make some sense. Finally, one practice I really liked is the concept of devs losing their driving license if they cause too many regressions. AI failed or not, I like this idea to force engineers to care more about reliability and shipping quality code. For more deep dives on software factories and engineering practices with AI, check out the link to pragmatic engineer deep dives below. If you've enjoyed this podcast, please do subscribe on your favorite podcast platform and on YouTube.
如果您也能为这个节目评分,我将特别感谢。谢谢,我们下期再见。A special thank you if you also leave a rating on the show. Thanks and see you in the next one.