从村子里的电脑到 DeepMind 出不去的聊天机器人
00:03:00–00:15:00Insight
- 他加入 OpenAI,是因为听说 ChatGPT 大约 20 人在做,研究和产品一起设计。入职约一个月赶上 o1 preview(约 00:13–00:15)。
- 取消项目那天加州 VP 飞来,用户只有几百,不是 Google 规模。他后来一直问自己:你做的事到底有没有影响。
主持人 A fun story that you recently shared on X as well is how you were part of the team that built this internal Google bot that was Chad GPT but a year before Chad GPT 你最近也在 X 上分享过一个有趣的故事:你曾参与打造 Google 内部的机器人,它很像 ChatGPT,但比 ChatGPT 早了一年。
Tibo Sottiaux that caught up like you know wildfires. It felt more than a research project 它像野火一样传开了。感觉已经不只是一个研究【音乐】项目。
主持人 for Codeex you built it in Rust and at the time the model was not on distribution for Rust. 你们用 Rust 来写 Codex,当时模型对 Rust 还不在分布之内。
Tibo Sottiaux Turns out it was quite clear that Rust as a language would actually be quite good for agents fairly quickly if we decided to put some effort into it. When someone joins the Codeex team, what do you tell them? How do things get done here? 结果很快就很清楚:如果我们愿意投入精力,Rust 作为一门语言其实会非常适合做 agent。决定投入精力。有人加入 Codex 团队时,你会跟他们说什么?这里的事情是怎么做成的?
主持人 The thing that they hear the most about when they have a question is like, "Have you asked Codex?" It still surprises new starters that you can basically ask it anything. 他们有问题时听到最多的一句话就是:「你问过 Codex 了吗?」新同事还是会惊讶,原来几乎什么都可以问它。
Tibo Sottiaux Building was the fun part, but then maintenance was the painful. 开发是有趣的部分,维护才是痛苦的。
主持人 So maintenance is really sort of like a tax that you pay over time just to keep things running. But where I think it changes is like a lot of it is just going to be automated. 所以维护其实就像一种税,你要持续缴纳,才能让系统继续跑。但我认为正在改变的地方是:其中很大一部分马上就会被自动化。
Tibo Sottiaux So you still have the concept of code review. 所以你们仍然有代码审查这个概念。
主持人 The role of code review is changing. And the role of code review now is like I think Codex is one of the most popular AI coding harnesses today. But how did it all start? Many of you will know today's guest Tibo from his generous and pretty frequent Codex usage resets. He was also there when Codex as a product started and has led the broader Codex team since. Today we cover how Codex started and why it was built in Rust and made open source. How coderies are changing inside the Codex 代码审查的角色正在改变。而且现在代码审查的角色是……我觉得 Codex 是今天最受欢迎的 AI 编程 harness 之一。但这一切是怎么开始的?很多人认识今天的嘉宾 Tibo,是因为他经常很大方地重置 Codex 用量。产品形态的 Codex 起步时他就在场,之后也一直带领更大范围的 Codex 团队。今天我们会讲 Codex 是怎么起步的,为什么用 Rust 写、又为什么开源。Codex 团队内部的代码审查正在如何变化,
主持人 team and open AAI. What it means when maintenance and rearchitecting are getting ridiculously cheap. what the merge of codeex into chat GPC looked like and the many underappreciated engineering challenges of this project. If you want to understand how teams inside of OpenAI plan review and ship software, this episode is for you. This episode is presented by Turbopuffer, a ridiculously scalable, fast and cheap hybrid search engine built on top of object storage by an engineering team that I've really grown to like after spending time with them. Turbopuffer is the tool that companies like Entropic, Notion Cognition, and Harvey all use to connect their AI products to massive amounts of unstructured data. When I've talked with engineers who use Turbopuffer, the theme that always comes up is reliability and performance at scale. The reasons for this have everything to do with Turbopuffer's architecture. Turbopuffer uses only object storage for state and MVME SSDs with memory cache for compute. Data in Turbopuffer is organized into 以及 OpenAI。当维护和重新架构变得便宜到离谱时,这意味着什么。把 Codex 并入 ChatGPT 是什么样子【音乐】,以及这个项目里许多被低估的工程挑战。如果你想了解 OpenAI 内部的团队如何规划、审查和交付软件,这一集就是为你准备的。本集由 Turbopuffer 呈现。这是一个可扩展性、速度和价格都离谱的混合搜索引擎,建在对象存储之上,背后的工程团队我接触过后真的越来越喜欢。他们。Anthropic、Notion、Cognition 和 Harvey 这类公司,都用 Turbopuffer 把 AI 产品接到海量非结构化数据上。我和用过 Turbopuffer 的工程师聊过,反复出现的主题就是大规模下的可靠性和性能。原因完全在于 Turbopuffer 的架构。Turbopuffer 只用对象存储来保存状态,计算则用 NVMe SSD 加内存缓存。Turbopuffer 里的数据按
主持人 namespaces. You can think of a namespace as a database table or a search index or an S3 prefix depending on the world you come from. When a namespace is not being queried, it stays on cheap object storage with no associated compute cost. When a namespace is active, Turbopuffer pulls it up into hot caching tiers, so queries are very fast. This design fundamentally makes it effortless to scale to hundreds of millions of namespaces. If you're building a multi-tenant AI product, every user and their agent can have their own dedicated search index without any overhead. And each namespace can hold hundreds of millions of documents without any special configuration. You can scale Turbopuffer virtually without limit. And the performance, reliability, and operating model all stay the same. If you need to connect AI to lots of data, Turbopuffer should be your first choice. Check it out at turbopuffer.com/pragmatic. Tibo, welcome to the podcast. So good to have you here. Thank you for having me. It's so good to see you again. namespace 组织。你可以把 namespace 想成数据库表、搜索索引,或 S3 prefix,取决于你来自哪个领域。某个 namespace 没有被查询时,它就待在便宜的对象存储上,没有对应的计算费用。namespace 活跃时,Turbopuffer 会把它拉进热缓存层,查询就会非常快。这种设计从根上让扩展到几亿个 namespace 变得毫不费力。如果你在做多租户 AI 产品,每个用户和他们的 agent 都可以拥有自己的专用搜索索引,没有任何额外开销。每个 namespace 都可以存放几亿份文档,不需要特殊配置。你可以几乎没有上限地扩展 Turbopuffer,性能、可靠性和运行模式都保持不变。如果你需要把 AI 接到大量数据上,Turbopuffer 应该是你的第一选择。去 turbopuffer.com/pragmatic 看看。Tibo,欢迎来到播客。非常高兴你来。谢谢邀请。再次见到你真好。
Tibo Sottiaux It's good to do this. Last time we did it in person. Now, now we're doing our video. First, I I wanted to ask you, how did you get into tech? When did you first know that you want to work with computers? 能做这期很好。上次我们是面对面做的。现在改成视频了。首先我想问你,你是怎么进入科技行业的?你最早是什么时候知道自己想跟计算机打交道的?
主持人 It's a good question. It was a long long time ago. Um my my parents actually decided to move out of Brussels where I was born and just just thought it was great to um just buy a small house and refurbish it. But it was in the middle of the middle of a village with not much going on. I think there was like roughly 200 people living there. Not many that I felt like I wanted to talk to or you know could make friends with. And so I kind of got stuck uh this is like very early like 8 8 years old. I kind of got stuck cuz like you know computers and you know it's like early days of like 这是个好问题。那是很久很久以前了。我父母其实决定搬出我出生的布鲁塞尔,当时就觉得买一栋小房子翻修一下会很好。但那是在一个村子正中间,周围没什么事可做。那里大概住着两百人。我觉得想说话、能交朋友的人并不多。所以我就有点被困住了。那是很早的时候,大概八岁。我被困住了,因为电脑,那还是
主持人 the the for me the internet and you know that was my way to learn about things and so just the rest is just like you know came from that. Um I sort of like I owe it to my parents to you know have moved into the middle of nowhere and then you know I had no choice but to get interested in computers. Once you you finished high school like you went on and went to university, right? Actually studying it properly. 对我来说是互联网的早期,那是我了解事物的方式,后面的一切都是从那里来的。某种程度上我要感谢父母搬到了荒郊野外,我别无选择,只能对计算机产生兴趣。高中毕业后你上了大学,对吧?开始正经学这个。
Tibo Sottiaux Yes. Uh I I studied mathematics, applied mathematics at university. I I went there quite quite early. Um and so I I graduated early as well. Like I thought for a long time um that I would actually not make it and that I would drop out. I had like small companies and small consulting business like uh like while I was studying uh I was like working for banks. I was working for I was like um very interested in supply chain and 是的。我在大学学的是数学,应用数学。我去得相当早,所以毕业也早。有很长一段时间我以为自己撑不下去、会退学。读书期间我开过小公司,也做过小型咨询,给银行干活。我当时对供应链和
Tibo Sottiaux applied mathematics problems and I sort of like selling that and learning a lot through that. Eventually ended up in the startup world in Belgium. I did that for a little while and then moved to London to work uh initially at Google and then Deep Mind and then now you know moved uh to be here at OpenAI like this California. I love the California weather. We can talk about that. Uh it's been very good. 应用数学问题很感兴趣,差不多是在卖这套东西,也从中学到很多。后来进了比利时的创业圈。做了一段时间,然后搬到伦敦工作,先是 Google,再是 DeepMind,现在又搬到加州这边的 OpenAI。我喜欢加州的天气。这个我们可以再聊。一直很好。
主持人 Right after university you started you you've founded a startup right? You had the startup bug in you or the entrepreneur entrepreneurial bug. 大学一毕业你就创办了创业公司,对吧?你身上有创业那股劲,或者说创业的瘾。
Tibo Sottiaux Yeah. So this this startup was all about uh pharmaceutical uh supply chain um looking at the supply chain for uh clinical trials and like try to optimize and decide like hey you know should you produce more medicine where should you send it where should dispatch it like how do you avoid waste and through that making clinical trials more efficient and this was using traditional like nonML techniques um like traditional like more optimization solving Monte Carlo simulations these kinds things stochastic multi-stage optimization problem really and we also applied it on steel industry and we applied it to electrical grid as well in Europe um it's like anything that sort of had the shape of like an optimization problem we sort of like get interested in and you know to this day like this this company still exists and I think they do some of the most interesting work uh still but it's changing a lot uh you know with with 对。那家创业公司做的是医药供应链,看临床试验的供应链,试图优化并决定:要不要多生产药、该送到哪里、该怎么调度、怎么避免浪费,从而让临床试验更高效。用的是传统的、非机器学习的技术,传统的更多是优化求解、蒙特卡洛模拟这类东西,其实是随机多阶段优化问题。我们也把它用到钢铁行业,还用到欧洲的电网。凡是长得像优化问题的东西,我们都会感兴趣。直到今天这家公司还在,我觉得他们仍然在做一些最有意思的工作,但变化很大,因为有了
Tibo Sottiaux modern AI for sure 现代 AI,这是肯定的。
主持人 but it's interesting because you kind of said like oh yeah that wasn't ML it was just the traditional stuff and then you go into like Monte Carlo simulation and optimization and this algorithm I get a sense that you kind of just went deep right that it was like okay like here's a problem space like how can I use mathematics stuff that I learned stuff that I didn't learn to just go deeper and deeper do I sense that correctly 但有意思的是,你差不多是说:哦对,那不是机器学习,只是传统的东西;然后你又讲到蒙特卡洛模拟、优化和这些算法。我感觉你就是往深处钻,对吧?面对一个问题空间,怎么用学过的、没学过的数学,一层一层往下挖。我这个感觉对吗?
Tibo Sottiaux yeah that's that's why I was obsessed with applied mathematics is just really this idea of you have theoretical mathematics or you have theoretical science and physics and like there you just you you do it because there's something to be discovered and something beautiful about it and it's all about patterns and pushing the frontier but you don't necessarily always know like how you're going to apply it and then there was like the real world right this like you know there's all these cool problems that just lie around and I was like very interested in seeing like you know how can I make the world better and so like how do I apply like you know sophisticated mathematics you know to 对,这就是我痴迷应用数学的原因:就是那种想法——一边是理论。数学,或者理论科学和物理。在那边你做它,是因为有东西可发现,有美在里面,全是关于模式、把边界往前推,但你不一定总知道以后怎么应用。然后还有真实世界,对吧?周围躺着各种很酷的问题。我非常想看自己能不能把世界变得更好,所以怎么把高深的数学用到
Tibo Sottiaux just optimize the world around me and that was like a lot of the thesis behind that startup 去优化身边的世界。那就是那家创业公司背后很大一部分论点。
主持人 yeah and then after a startup you ended up at Google and first at Google London it was in 2015 and I remember 2015 Google is a really really competitive place to get into like maybe as competitive as open AI is today in terms of the industry or terms of prestige. You worked on maps initially and then you moved over to deep mind. Can you talk a little bit what what you worked on and and then why did you move on from a already really interesting space that you clearly loved you know like optimization logistics and all these things? 对,创业之后你去了 Google,先是 Google 伦敦,那是 2015 年。我记得 2015 年进 Google 竞争非常非常激烈,放到行业或声望上,也许不亚于今天的 OpenAI。你一开始做地图,后来转到 DeepMind。能不能讲讲你当时做什么,以及你为什么离开一个你显然已经很喜欢的、已经很有意思的领域,就是优化、物流这些东西?
Tibo Sottiaux Yes. I I didn't I didn't start on Google Maps. I started on a project that was meant to make the web faster. uh and make to me to uh make websites faster especially on mobile. At the time you know Google was kind of so like seeing the transition from desktop to mobile and like more and more traffic going to like you know mobile phones and so like wanted to get ahead of that. So funded like a number of a number of initiatives and projects. Um I was working on one of them. This was like really really fun because it was a small group um within actually the ads organization. It was meant to sort of like you know offset the the loss uh for the ad revenue loss because of the shift of traffic to mobile and worked on it for roughly two years. Um and then it was cancelled and although it was like the most fun I've 是的。我并不是从 Google Maps 开始的。我一开始做的项目是为了让网页更快,尤其是让网站在手机上更快。当时 Google 差不多已经看到从桌面到移动的迁移,越来越多流量走到手机上,所以想抢在前面。于是资助了不少倡议和项目。我做的是其中之一。那真的很好玩,因为是一个小组,其实在广告组织里面。目的差不多是抵消流量转向移动带来的广告收入损失。我做了大约两年。然后项目被取消了。虽然那是我
Tibo Sottiaux had on, you know, solving hard technical uh challenges. I learned a lot from not having product market fit, not having the right users, not having the right feedback loop, not trusting your product manager when they say the project is going well when in fact it's not going well at all. And then you know one day it's just like this VP flew in uh from California and then it was just like oh yeah it's like you know we're canceling this project um you know unfortunately you only have you know hundreds of users and this is clearly not Google scale and then uh it's unbelievable but people were surprised um and I think there's a lesson there um that I that I carry with me of course is you know just always question always go to like always you know deeply think about the impact that you're having but also like the importance of the overall project that you're contributing. And then I moved into Google Maps. Google Maps was super fun. Worked on reviews. And then after roughly a year, I couldn't ignore like 在解决硬技术挑战上最开心的一段。我从中学到很多:没有产品市场契合、没有对的用户、没有对的反馈回路;产品经理说项目进展很好,其实一点都不好,你不该信。然后有一天,一位副总裁从加州飞过来,接着就是:对,我们要取消这个项目,很不幸你们只有几百个用户,这显然不是 Google 该有的规模。然后令人难以置信的是,大家还感到惊讶。我觉得这里有一个教训,我一直带着:永远要质疑,永远要深入想你正在产生的影响,也要想你参与的整个项目到底重不重要。然后我转到 Google Maps。Google Maps 超级好玩。我做评价。大约一年后,我没法再忽视
Tibo Sottiaux Deep Mind. It was just it was this special place. Uh headquartered in London. So many great things were happening. This was like really the early days, you know, with rumblings of um things like AlphaGo and they just seemed to be doing extraordinary things and you know, just really tackling the very very hardest problems that you can tackle. And like with my background I was obviously drawn to that started there like I worked on uh a lot of like the research infrastructure research tooling. This is a theme that I carried on for almost a decade and it's like this is very much also the like how I approach things is how can I build tooling and products that help make others more efficient and bring a lot of utility to them. Initially I was doing this for research and then like over time you know I got like into thinking about things in a much more like more general and general and general way you know eventually like you know ending up where where I am now. DeepMind。那是一个特别的地方,总部在伦敦。好多了不起的事正在发生。那真是很早期,已经有 AlphaGo 这类东西的传闻,他们好像在做非凡的事,真正去碰你能碰到的最难的问题。以我的背景,我当然被吸引过去。我在那里做了很多研究基础设施、研究工具。这是一条我带着走了将近十年的主线。这也非常像我做事的方式:怎样做出工具和产品,帮别人更高效,给他们带来大量效用。一开始我是为研究做这些,后来越想越往更通用、更通用、再更通用的方向走,最后就到了现在这个位置。
主持人 Yeah. And a fun story that you recently shared on X as well is how you were part of the team that built this internal Google bot that was you know if you want to say similar to Chad GPT but a year before Chad GPT can you can you talk about that? That's a that that is a new story. I haven't heard it before. 对。你最近还有一个有趣的故事,也在 X 上分享过:你参与过打造 Google 内部的机器人,如果你愿意说的话,它很像 ChatGPT,但比 ChatGPT 早一年。你能讲讲吗?这是我没听过的新故事。
Tibo Sottiaux This was part of deep mind. There were like multiple efforts as well. There was like brain as well that was separate at the time. They had their own efforts on large language models, but it was definitely something that was being explored. It was not the main thrust of of deep mind. Deep mind was like very much worried um and and busy like thinking about grand challenges and games and you know thinking about RL not in the language sense. And so there was like this group um that was pushing on large language models and you know thinking about you know think what what if what if large text corpuses are everything. What if uh you just pushed language to its maximum and you just scaled language models like you know 这是在 DeepMind 里做的。当时也有多条线。Brain 当时是分开的,他们自己也在做大语言模型,但这件事确实在被探索。它不是 DeepMind 的主攻方向。 DeepMind 当时非常操心、也非常忙于思考宏大挑战和游戏,想的是强化学习,不是语言意义上的。于是有一个小组在推大语言模型,在想:如果大规模文本语料就是一切呢?如果你把语言推到极限,只去扩展语言模型,
Tibo Sottiaux would that be enough to get to general intelligence? That was like a hot debate at the time and then one one group decided to just really push on that and then it it felt really natural like you know as I was building tooling you know with others for for research is like you know obviously you're like hey you know what can we do with this model like how do we present it you know to the researcher like how can they sort of like you know debug the inputs outputs and eventually you sort of like end up with you know like a chat system. So we built that internally. We had a lot of fun. Uh initially the models were like you know kind of like almost like a little bit absurd like you know not very coherent. Uh not super useful but it was a lot of fun um to sort of like tinker with them that caught up like you know like wildfires like you know this application is just sort of like you know everyone uh was kind of like u sharing little conversations within deep mind. It felt more than like a research project or like a research a project for researchers. And so then there was this desire over time to like launch it as an 那是否足以走到通用智能?当时这是一场热议。然后有一个小组决定真的往这个方向推。接着事情就显得很自然:我当时在和别人一起给研究做工具,你当然会想,这个模型能做什么、怎么呈现给研究员、他们怎么调试输入输出,最后差不多就做成了一个聊天系统。所以我们在内部把它做出来了。我们玩得很开心。一开始那些模型几乎有点荒谬,不太连贯,也不是特别有用,但拿来摆弄非常有趣。它像野火一样传开了,这个应用在 DeepMind 内部人人都在分享一小段对话。感觉已经不只是一个研究项目,也不只是给研究员用的项目。于是过了一段时间,就有了想把它做成
Tibo Sottiaux external product. But Deepine was just like not set up, you know, there was like the the right way to launch products at Google. There's like, you know, the whole machinery of like, you know, how you do that. Um, you know, the whole like blessed production stack. You obviously very very optimized over the years to do things well. Um, but also very very hard as an environment to truly innovate. And then I I I wanted to ask what made you you know look around or or or maybe even consider open AI but I feel you partially answered this question just just putting myself back into your shoes like you're you know if it's it's 2024 or 2023 you're inside of Google who are publishing amazing papers doing really good research you're doing super fun stuff right that pushing the limits of what what's been done before it's inside a company where you already moved you know for people who are feeling kind of comfortable or good about where they are right now which I imagine you must have been like what made you still explore all right like 对外产品的愿望。但 DeepMind 当时并没有为此准备好。在 Google 发布产品有一套正确做法,整套机制都在,还有那套被认可的生产技术栈。这些年来它当然被优化得非常擅长把事情做好,但作为环境也非常难真正创新。然后我想问,是什么让你开始张望,甚至考虑 OpenAI;不过我觉得你已经部分回答了这个问题。只是把自己放回你当时的位置:假如是 2024 或 2023 年,你在 Google 内部,他们在发很棒的论文、做很好的研究,你自己也在做超级有趣的事,对吧?,在把以前做过的事情往极限推。你已经在一家公司里挪过位置了。对那些现在觉得自己待得挺舒服、挺好的人来说——我猜你当时也是——是什么让你仍然去探索:好吧?,外面。
Tibo Sottiaux what else might be there? Yeah, I was I was very comfortable uh at my it's it's a good place, but really I had a I had a desire to, you know, meet great people, but also join a mission that I truly believed in and that, you know, I felt like the people were true to the mission and cared deeply about impacting the world in in a very in a deeply positive way, but also in a direct way, not not being like, oh yeah, it's just like, you know, we just do this work over here and then it's like it's the job of someone else to figure out you know how to how to make this useful. It's like I wanted to join a group where you know like all the parameters were sort of like considered together where you know research and product were like really co-designing. Open was just like crushing it. Uh I thought chatbt was like you know taking off. I was like I was uh I met a couple people from OpenAI and then I was like wait what you know 可能还有什么?对,我当时非常舒服,那是个好地方。但我真的渴望认识优秀的人,也渴望加入一个我真正相信的使命;我觉得那里的人对使命是认真的,非常在乎以一种深刻正面的方式影响世界,而且是直接的方式,而不是那种:哦对,我们在这边做这项工作,怎么把它变得有用是别人的事。我想加入的是这样一个群体:所有参数差不多是放在一起考虑的,研究和产品真正在共同设计。OpenAI 当时简直势如破竹。我觉得 ChatGPT 正在起飞。我见了几个 OpenAI 的人,然后我就想:等等,
Tibo Sottiaux you only have like 20 people working on Chad like that is that is an insanely small number that that must be like extremely empowering like you know how does that work? How do you manage to maintain you know a product with that level of scale um and with that level of autonomy with you know only only 20 engineers and then you know as I kind of dug and dug and dug and it's like it was just a an amazing group of people amazing mission you know super talented super driven and like it was it was like drew me in and then I joined pre-ereasoning uh efforts immediately like typical openi fashions like I joined it was like oh yeah you know like there's this thing going on like you know we're going to launch reasoning models like you know it's like some new paradigm and then you know start sprinting on that and like you know like a month later like the company launched 01 uh 01 01 preview and that was exhilarating to be part of I wanted to 你们做 ChatGPT 的只有大约 20 人?这个数字小得离谱,那一定极度赋能。这是怎么运作的?你们怎么用只有 20 个工程师,去维护那种规模、那种自主程度的产品?然后我越挖越深,发现那就是一群了不起的人、了不起的使命,超级有才华、超级有驱动力,把我吸进去了。然后我立刻加入了推理出现之前的工作,典型的 OpenAI 作风:我一加入就说,对,有件事在进行,我们要发布推理模型,这是某种新范式,然后开始为此冲刺。大约一个月后公司发布了 o1、o1 preview,能参与其中令人振奋。我想待在
Tibo Sottiaux be part of like a place that moves fast cares about impact would be in tune with the world and you know just really listen um and sort of like that's also to me like you know what I've carried with me like when when building codecs when building products is like having a community listen to the community just really focus on like a really intense feedback loop uh and then building something that is just like you know you just really want to care about it and like you know care about the utility of it that it provides to the world 一个动作快、在乎影响、跟世界合拍、真正会听的地方。对我来说,这也是我带着走的东西:做 Codex、做产品时,要有社区、听社区,真正抓住非常密集的反馈回路,然后做出一样你真心在乎的东西,也在乎它给世界提供的。效用。