WEBVTT
NOTE Generated by scripts/generate-bilingual-video-tracks.mjs from codex-hhdpnbfH6NU.en.vtt and codex-hhdpnbfH6NU.zh-Hans.vtt.

1
00:00:02.000 --> 00:00:06.720
Hello everyone and
大家好，

2
00:00:04.040 --> 00:00:08.960
welcome. Software engineering is
欢迎各位。 软件工程正在

3
00:00:06.720 --> 00:00:11.440
changing and by the end of 2025 it's
发生变化，到 2025 年底，它将发生

4
00:00:08.960 --> 00:00:13.840
going to look fundamentally different.
根本性的改变。

5
00:00:11.440 --> 00:00:16.080
In 2021 we announced our first model
2021年，我们发布了我们的第一个模型，

6
00:00:13.840 --> 00:00:16.880
that we called codeex. This was the
我们称之为codeex。 这是

7
00:00:16.080 --> 00:00:18.640
first time that we've really
我们第一次真正

8
00:00:16.880 --> 00:00:20.960
demonstrated what we would now call Vibe
展示我们现在称之为 Vibe

9
00:00:18.640 --> 00:00:23.119
coding. Just a couple weeks ago, we
编码的技术。 就在几周前，我们

10
00:00:20.960 --> 00:00:25.199
released Codex CLI, which is a local
发布了 Codex CLI，这是一个

11
00:00:23.119 --> 00:00:27.039
agent that runs on your laptop in your
运行在您笔记本电脑

12
00:00:25.199 --> 00:00:29.320
own terminal that you're able to pair
终端上的本地代理，您可以与它进行同步配对

13
00:00:27.039 --> 00:00:32.480
with and interact with in a synchronous
和交互

14
00:00:29.320 --> 00:00:33.840
fashion. Today, we're going to take a
。 今天，我们将朝着

15
00:00:32.480 --> 00:00:35.280
step towards where we think software
我们认为的软件

16
00:00:33.840 --> 00:00:38.160
engineering is going. And we are
工程发展方向迈出一步。 我们即将

17
00:00:35.280 --> 00:00:40.559
releasing a new system, which is a
发布一个新系统，它是一个

18
00:00:38.160 --> 00:00:43.840
remote software agent that can run many
远程软件代理，可以并行运行多个

19
00:00:40.559 --> 00:00:46.239
tasks in parallel. We call this system
任务。 我们沿袭

20
00:00:43.840 --> 00:00:48.399
in the grand tradition of of OpenAI
OpenAI

21
00:00:46.239 --> 00:00:50.239
naming codecs.
命名编解码器的优良传统，将此系统称为编解码器。

22
00:00:48.399 --> 00:00:52.640
The thing that is exciting about Codeex
Codeex 最令人兴奋的地方

23
00:00:50.239 --> 00:00:55.440
is that it runs with your repository,
在于，它可以与你的代码库、

24
00:00:52.640 --> 00:00:56.960
your environment on OpenAI compute. So
你的 OpenAI 计算环境一起运行。 所以

25
00:00:55.440 --> 00:00:58.640
you're able to run many, many copies of
你可以运行很多很多个副本

26
00:00:56.960 --> 00:01:00.320
it. So you're able to do many tasks in
。 这样你就可以并行执行许多任务

27
00:00:58.640 --> 00:01:01.600
parallel, fire them off, come back to
，启动它们，

28
00:01:00.320 --> 00:01:03.280
them later, which is something that
稍后再回来处理它们，这是

29
00:01:01.600 --> 00:01:07.600
we'll be showing you today. We're
我们今天要向你展示的内容。 从今天开始，我们将面向

30
00:01:03.280 --> 00:01:10.320
rolling this out to uh chat GBT for uh

31
00:01:07.600 --> 00:01:12.720
Pro, Enterprise, and Teams users
Pro、Enterprise 和 Teams 用户推出 uh chat GBT 功能，

32
00:01:10.320 --> 00:01:16.960
starting today, and we will be following

33
00:01:12.720 --> 00:01:18.880
up with plus and edu in the future.
未来我们将跟进 Plus 和 edu 用户。

34
00:01:16.960 --> 00:01:21.360
Codeex is powered by a new model that we
Codex 采用了一种我们

35
00:01:18.880 --> 00:01:24.479
call Codex one. This is our best coding
称之为 Codex one 的新模型。 这是我们迄今为止最好的编码

36
00:01:21.360 --> 00:01:26.640
model to date. We've taken 03 and we've
模型。 我们对 03 版本进行了优化，

37
00:01:24.479 --> 00:01:28.400
optimized it for not just the
不仅针对

38
00:01:26.640 --> 00:01:30.080
benchmarks, but really for the kind of
基准测试，而且真正针对

39
00:01:28.400 --> 00:01:31.439
code that people actually want to merge
人们希望合并

40
00:01:30.080 --> 00:01:33.119
into their codebase. So thinking about
到其代码库中的那种代码进行了优化。 所以要考虑

41
00:01:31.439 --> 00:01:35.119
comments, thinking about extraneous
评论、考虑无关的

42
00:01:33.119 --> 00:01:36.479
changes, thinking about the style so
更改、考虑风格，这样才能

43
00:01:35.119 --> 00:01:38.880
that it's something that that actually

44
00:01:36.479 --> 00:01:40.880
really accelerates people's work. And so
真正加快人们的工作速度。 为了向

45
00:01:38.880 --> 00:01:42.799
to show you this system which we're so
您展示我们非常

46
00:01:40.880 --> 00:01:45.119
excited to to share with you, uh we have
兴奋地想要与您分享的这个系统，我们有

47
00:01:42.799 --> 00:01:46.880
many members of the codeex team. Hey, um
Codeex 团队的许多成员。 嗨，嗯，

48
00:01:45.119 --> 00:01:49.119
I'm Hansen. I'm one of the members of
我是汉森。 我是

49
00:01:46.880 --> 00:01:51.119
the Codex research team. I'm Josh and
Codex研究团队的成员之一。 我是 Josh，

50
00:01:49.119 --> 00:01:54.399
I'm an engineer on the Codex team. And
我是 Codex 团队的一名工程师。

51
00:01:51.119 --> 00:01:56.799
I'm Tibo and I built code agents and
我是 Tibo，我构建了代码代理和为其提供

52
00:01:54.399 --> 00:01:58.799
infrastructure to power them. I'm going
支持的基础设施。 我将

53
00:01:56.799 --> 00:02:01.040
to be jumping right into the demo. So
直接进入演示环节。 所以

54
00:01:58.799 --> 00:02:02.640
normally you would have to connect your
通常情况下，你需要关联你的

55
00:02:01.040 --> 00:02:04.640
GitHub account. I've already done that
GitHub账号。 我已经

56
00:02:02.640 --> 00:02:06.799
for myself. And here I'm going to be
为自己做到了。 接下来我要

57
00:02:04.640 --> 00:02:08.640
selecting my repo. I have selected an
选择我的代码仓库。 我选择了一个

58
00:02:06.799 --> 00:02:10.959
open source repo, the preparedness repo
开源仓库，即备灾仓库，

59
00:02:08.640 --> 00:02:12.800
which contains some of our frontier uh
其中包含了

60
00:02:10.959 --> 00:02:14.640
evals made by the amazing uh

61
00:02:12.800 --> 00:02:16.319
preparedness team that we have here. And
我们这里优秀的备灾团队所做的一些前沿评估。

62
00:02:14.640 --> 00:02:18.560
this is relevant like frontier valves
这与前沿阀门

63
00:02:16.319 --> 00:02:20.200
are really about agents. So I'm just
实际上是关于代理的关联性有关。 所以我打算就

64
00:02:18.560 --> 00:02:23.280
going to be using that
使用那个

65
00:02:20.200 --> 00:02:25.599
environment. And then I'm greeted with
环境。 然后我看到了

66
00:02:23.280 --> 00:02:28.000
three tasks that we believe are good to
三个我们认为适合

67
00:02:25.599 --> 00:02:31.920
get started with on any repo. The first
在任何代码库中首先完成的任务。 第一个

68
00:02:28.000 --> 00:02:34.239
one is an ask task which just ask the
任务是询问

69
00:02:31.920 --> 00:02:36.080
the code agent codeex to explain the
代码代理代码库，

70
00:02:34.239 --> 00:02:37.440
codebase to a newcomer explain the
向新手解释代码库的

71
00:02:36.080 --> 00:02:40.080
general structure. The second one is a
总体结构。 第二个任务是

72
00:02:37.440 --> 00:02:42.440
code task which asks to find and fix a
代码任务，要求

73
00:02:40.080 --> 00:02:45.840
bug somewhere in the repo. Most of the
在代码库中查找并修复一个错误。

74
00:02:42.440 --> 00:02:48.400
repos as you all know like have bugs. So
大家都知道，大多数代码仓库都存在漏洞。 那么，

75
00:02:45.840 --> 00:02:51.440
let's see let's see if the codeex agent
让我们看看法典代理

76
00:02:48.400 --> 00:02:54.160
can find one. Um I did not put any bugs
能否找到一个。 嗯，我没有在里面放任何漏洞

77
00:02:51.440 --> 00:02:56.000
in there. Uh this is code that we work
。 嗯，这是我们每天都要用到的代码

78
00:02:54.160 --> 00:02:57.840
with every day. And so we're going to be
。 所以今天我们将

79
00:02:56.000 --> 00:02:59.440
showing two repos today. One is the
展示两个代码库。 一个是

80
00:02:57.840 --> 00:03:01.920
preparedness repo and the other one is
应急准备仓库，另一个是

81
00:02:59.440 --> 00:03:03.519
the codeex cli one. And the final one is
CodeEx CLI 仓库。 最后一个功能

82
00:03:01.920 --> 00:03:05.599
one that I'm really excited about where
我非常兴奋，

83
00:03:03.519 --> 00:03:07.599
I ask it to go through the codebase and
我要求它遍历代码库，

84
00:03:05.599 --> 00:03:09.920
not just explore the codebase but also
不仅要探索代码库，还要

85
00:03:07.599 --> 00:03:12.319
come up with proactive task suggestions
提出

86
00:03:09.920 --> 00:03:14.319
that it could be doing on its own. So
它可以自主执行的主动任务建议。 那么，

87
00:03:12.319 --> 00:03:17.200
let's start those. Now we have three
让我们开始吧。 现在我们有三个

88
00:03:14.319 --> 00:03:19.120
codeex agents working on these tasks uh
Codeex 代理在后台同时执行这些任务

89
00:03:17.200 --> 00:03:21.760
concurrently just in the background. And
。

90
00:03:19.120 --> 00:03:24.440
what I'm also going to do is um one of
我还要做的一件事，

91
00:03:21.760 --> 00:03:26.959
my favorites is find as
就是尽可能多地找出拼写

92
00:03:24.440 --> 00:03:32.480
many typos
错误

93
00:03:26.959 --> 00:03:33.560
um and grammar mistakes as you can and
和语法错误，并

94
00:03:32.480 --> 00:03:35.760
fix
改正

95
00:03:33.560 --> 00:03:38.480
them. This I think this didn't matter.
它们。 我觉得这无关紧要。

96
00:03:35.760 --> 00:03:41.920
Let's see if it understands also that my
看看它能不能理解我的

97
00:03:38.480 --> 00:03:44.239
instructions as I make typos. And I have
指令，即使我打字时出现拼写错误。 就在我们开始处理

98
00:03:41.920 --> 00:03:46.000
scheduled a task just before this before
这件事之前，我安排了一个任务，

99
00:03:44.239 --> 00:03:48.080
we uh we were going to jump on this

100
00:03:46.000 --> 00:03:49.840
where I asked some something quite
我

101
00:03:48.080 --> 00:03:53.280
interesting to the codeex agent. I asked
向 Codeex 代理询问了一些非常有趣的问题。 我问了它

102
00:03:49.840 --> 00:03:54.720
it about one of my goals. I say my
关于我的一个目标。 我希望我的

103
00:03:53.280 --> 00:03:56.879
codebase wants I want it to be
代码库易于

104
00:03:54.720 --> 00:03:58.640
maintainable and bug free. Uh read
维护且没有漏洞。 呃，通读

105
00:03:56.879 --> 00:04:01.040
through the code propose some tasks that
代码，提出一些

106
00:03:58.640 --> 00:04:03.519
would help with this goal and don't
有助于实现此目标的任务，不要

107
00:04:01.040 --> 00:04:06.159
overemphasize on to-dos. Like to-dos are
过分强调待办事项。 就像

108
00:04:03.519 --> 00:04:08.319
everywhere in code bases. Um those I
代码库中到处都是待办事项一样。 嗯，我

109
00:04:06.159 --> 00:04:09.760
know about. I want novel things. And so
知道的那些。 我想要新奇的东西。 因此，

110
00:04:08.319 --> 00:04:12.720
the codeex agent went through the
代码库代理程序

111
00:04:09.760 --> 00:04:15.200
codebase um and in its little
在其小型

112
00:04:12.720 --> 00:04:18.000
environment as we're going to show you
环境中（我们将向您展示）

113
00:04:15.200 --> 00:04:20.400
it found out about multiple things.
发现了许多问题。

114
00:04:18.000 --> 00:04:23.600
Let's have a look. One of them here
我们来看看。 其中一个例子似乎是说，

115
00:04:20.400 --> 00:04:26.400
looks like we are uh having mutable
我们将可变

116
00:04:23.600 --> 00:04:28.639
defaults as arguments. Let's have codeex
默认值作为参数。 让我们让Codex来

117
00:04:26.400 --> 00:04:31.600
fix that. Definitely fix that. So let's
解决这个问题。 一定要解决这个问题。 那我们就

118
00:04:28.639 --> 00:04:33.199
schedule that. Um correct variable
安排一下吧。 嗯，变量

119
00:04:31.600 --> 00:04:34.560
spelling. I believe this will get fixed
拼写正确。 我相信这个问题会在

120
00:04:33.199 --> 00:04:36.880
as part of the other task, but let's
其他任务中得到解决，但我们还是先把它

121
00:04:34.560 --> 00:04:38.880
schedule that anyway. And then here
安排进日程吧。 然后，

122
00:04:36.880 --> 00:04:40.680
there was like a little consistency

123
00:04:38.880 --> 00:04:43.759
about how we set
我们在设置

124
00:04:40.680 --> 00:04:47.040
timeouts. One time we set it to 120,
超时时间方面就保持了一些一致性。 我们有时将其设置为 120，

125
00:04:43.759 --> 00:04:49.680
another time we set it to 60. Um,
有时将其设置为 60。嗯，

126
00:04:47.040 --> 00:04:51.680
codeex, this codeex agent here has
codeex，这里的 codeex 代理已经

127
00:04:49.680 --> 00:04:54.240
proposed a task for itself. So we are
为自己提出了一项任务。 所以，我们在

128
00:04:51.680 --> 00:04:57.600
delegating the delegation here which
这里又把授权委托出去了，这

129
00:04:54.240 --> 00:04:59.840
blows my mind every time. Uh, and I'm
每次都让我感到匪夷所思。 嗯，我

130
00:04:57.600 --> 00:05:01.440
just going to say make it 120. I think
就说定在120吧。我觉得

131
00:04:59.840 --> 00:05:04.880
this is like the right time out here.
现在正是时候。

132
00:05:01.440 --> 00:05:08.000
And let's have it code out for us. And
让我们把它写成代码出来。

133
00:05:04.880 --> 00:05:11.840
then let's jump into maybe this task
然后让我们直接进入这个任务，

134
00:05:08.000 --> 00:05:14.560
here and see the codeex agent at work.
看看 Codeex 代理是如何工作的。

135
00:05:11.840 --> 00:05:17.039
So this isn't running on my laptop here.
所以它在我的笔记本电脑上运行不了。

136
00:05:14.560 --> 00:05:18.800
Um what exactly is going on here and
呃，这里到底发生了什么？

137
00:05:17.039 --> 00:05:21.280
like how does this work? Yeah, that's a
它是如何运作的？ 是的，这是一个

138
00:05:18.800 --> 00:05:23.120
great question to so um as evidenced
很好的问题，正如我们

139
00:05:21.280 --> 00:05:26.000
from just seeing all these tasks launch
看到的这些任务并行启动所证明的那样

140
00:05:23.120 --> 00:05:27.840
in parallel. Um we now need new agentic
。 嗯，我们现在需要新的智能体

141
00:05:26.000 --> 00:05:29.520
coding infrastructure for this world
编码基础设施，因为在这个世界里，

142
00:05:27.840 --> 00:05:32.560
where agents need not only their own
智能体不仅需要自己的

143
00:05:29.520 --> 00:05:34.400
GPUs but also a couple of CPUs. So this
GPU，还需要几个CPU。 所以它是

144
00:05:32.560 --> 00:05:35.759
runs on opens compute infrastructure.
在开放的计算基础设施上运行的。

145
00:05:34.400 --> 00:05:36.960
It's actually in fact the same
实际上，它与

146
00:05:35.759 --> 00:05:38.800
infrastructure we use for our
我们用于强化学习的基础设施相同，这意味着

147
00:05:36.960 --> 00:05:40.240
reinforcement learning and which means

148
00:05:38.800 --> 00:05:42.560
fortunately even ahead of this launch
幸运的是，即使在此次发布之前，

149
00:05:40.240 --> 00:05:45.520
it's been battle tested on the large
它已经在

150
00:05:42.560 --> 00:05:48.000
scale uh training runs that we do and uh
我们进行的大规模训练运行中经过了实战检验，而且

151
00:05:45.520 --> 00:05:50.000
crucially it's also consistent between
至关重要的是，它在

152
00:05:48.000 --> 00:05:52.160
what the agencies during training and
机构在训练期间和

153
00:05:50.000 --> 00:05:54.080
what the agencies later in production.
机构后来在生产中的结果之间也保持一致。

154
00:05:52.160 --> 00:05:57.680
So each of these tasks runs it in its
因此，每个任务都在其

155
00:05:54.080 --> 00:06:01.120
own microVM sandbox, file system, CPU,
自身的微型虚拟机沙箱、文件系统、CPU、

156
00:05:57.680 --> 00:06:02.880
memory, network policy and uh it the
内存、网络策略中运行，

157
00:06:01.120 --> 00:06:05.120
agent has free reign within it, right?
代理程序可以在其中自由行动，对吧？

158
00:06:02.880 --> 00:06:08.560
So uh the agent has learned how to use
所以，这个代理已经学会了如何使用

159
00:06:05.120 --> 00:06:10.639
all your pix commands like GP set, knows
你所有的 pix 命令，比如 GP 设置，知道

160
00:06:08.560 --> 00:06:12.160
how to run linting, formatting and
如何运行代码检查、格式化，而且

161
00:06:10.639 --> 00:06:14.720
obviously it likes to write and execute
显然它喜欢编写和执行

162
00:06:12.160 --> 00:06:15.840
a whole bunch of code. Yeah, one one
一大堆代码。 是的，

163
00:06:14.720 --> 00:06:17.600
thing that I really love about this
我非常喜欢这个

164
00:06:15.840 --> 00:06:18.960
interface is just how lightweight it
界面的一点就是它

165
00:06:17.600 --> 00:06:20.960
makes it to spin up tasks, right? It's
启动任务非常轻便，对吧？

166
00:06:18.960 --> 00:06:22.240
just your task left and right and I
你只需要完成左右两边的任务，我

167
00:06:20.960 --> 00:06:24.080
think that really makes a big difference
认为这对

168
00:06:22.240 --> 00:06:26.000
for how you use it. I think it's it's a
你如何使用它真的有很大的影响。 我认为它拥有

169
00:06:24.080 --> 00:06:27.840
lot of powerful infrastructure and like
非常强大的基础设施，而且

170
00:06:26.000 --> 00:06:30.319
the web interface makes it nice to
网页界面也让

171
00:06:27.840 --> 00:06:32.400
interface with it but I think it's also
交互更加便捷，但我觉得它的

172
00:06:30.319 --> 00:06:35.120
a lot more comfort uh configurable.
配置也更加灵活舒适。   是的

173
00:06:32.400 --> 00:06:37.919
Yeah. So each task runs what runs what
。 因此，每个任务都会运行

174
00:06:35.120 --> 00:06:39.600
we call environment essentially um more
我们称之为环境的程序，它本质上或多或少是一个

175
00:06:37.919 --> 00:06:41.759
or less a repo but with environment
存储库，但配置了环境

176
00:06:39.600 --> 00:06:43.360
variables secrets and setup scripts
变量、密钥和设置脚本，

177
00:06:41.759 --> 00:06:46.400
configured so that you can customize the
以便您可以自定义

178
00:06:43.360 --> 00:06:48.319
runtime to more fully unlock the agent's
运行时，从而更充分地释放代理的

179
00:06:46.400 --> 00:06:50.560
capabilities. Um when we worked with
功能。 嗯，当我们与

180
00:06:48.319 --> 00:06:52.720
early alpha testers, we found that you
早期 alpha 测试人员合作时，我们发现，

181
00:06:50.560 --> 00:06:54.720
get really big early wins by installing
安装

182
00:06:52.720 --> 00:06:56.639
something as simple as a llinter or a
像 llinter 或 formatter 这样简单的工具就能在早期取得巨大的成功

183
00:06:54.720 --> 00:06:58.319
formatter. Um we actually now install a
。 嗯，实际上我们现在默认安装了其中

184
00:06:56.639 --> 00:06:59.919
lot of those by default. And of course
很多软件。 当然，

185
00:06:58.319 --> 00:07:02.240
our power users have all their test
我们的高级用户已经

186
00:06:59.919 --> 00:07:04.720
dependencies set up for OpenIs internal
为 OpenIs 内部环境设置好了所有测试依赖项

187
00:07:02.240 --> 00:07:07.039
environments, we have uh even pre-commit
，我们甚至还设置了 pre-commit

188
00:07:04.720 --> 00:07:08.400
hooks set up. So as the agents coding,
hooks。 因此，当代理进行编码时，

189
00:07:07.039 --> 00:07:10.560
it's actually committing seeing what the
它实际上是在查看

190
00:07:08.400 --> 00:07:13.039
commit hooks say. Um really similar to
提交钩子的内容并进行提交。 嗯，

191
00:07:10.560 --> 00:07:14.639
actually my own dev environment. That
其实跟我自己的开发环境非常相似。

192
00:07:13.039 --> 00:07:17.520
sounds really exciting. Maybe let's
听起来真令人兴奋。 或许我们可以

193
00:07:14.639 --> 00:07:19.599
watch it work. Um, and we're going to
看看它能否奏效。 嗯，接下来我们将

194
00:07:17.520 --> 00:07:22.080
jump to an environment that we have
进入一个我们已经

195
00:07:19.599 --> 00:07:24.240
fully configured like the codeex CLI and
完全配置好的环境，比如 codeex CLI，然后用

196
00:07:22.080 --> 00:07:26.400
let's demo something cool with it. Yeah.
它来演示一些很酷的东西。 是的。

197
00:07:24.240 --> 00:07:28.240
So, I think one of my favorite use cases
所以，我认为 Codeex 最让我喜欢的用途之一

198
00:07:26.400 --> 00:07:30.639
for Codeex is its ability to find and
就是它能够发现和

199
00:07:28.240 --> 00:07:32.240
resolve complex issues. So, even leading
解决复杂问题。 所以，甚至在

200
00:07:30.639 --> 00:07:33.680
up to this launch, I think Codex
这次发布之前，我认为 Codex

201
00:07:32.240 --> 00:07:36.240
actually found and fixed a couple of
实际上已经发现并修复了

202
00:07:33.680 --> 00:07:37.599
critical bugs uh in our code. Um, but
我们代码中的几个关键错误。 嗯，但

203
00:07:36.240 --> 00:07:39.759
here we're looking at the Codex CLI
我们现在看到的是 Codex CLI，

204
00:07:37.599 --> 00:07:42.479
which um TBO and I have worked on. Um,
这是我和 TBO 共同开发的。 嗯，

205
00:07:39.759 --> 00:07:44.639
so uh we've got a bug report from a user
我们这里收到一位用户提交的错误报告

206
00:07:42.479 --> 00:07:46.479
here. basically uh when they have file
。 基本上，当文件

207
00:07:44.639 --> 00:07:49.280
names with special characters, the the
名包含特殊字符时，

208
00:07:46.479 --> 00:07:52.400
diff command in the CLI uh shows up with
CLI 中的 diff 命令会显示

209
00:07:49.280 --> 00:07:54.000
an error message. Um and so uh one of
错误消息。 嗯，所以

210
00:07:52.400 --> 00:07:56.160
the things we've trained our agents to
我们训练代理的其中一件事，

211
00:07:54.000 --> 00:07:58.080
do is not just like re uh address these
不仅是重新解决这些

212
00:07:56.160 --> 00:08:00.720
issues, but also um we've introduced
问题，而且我们还引入了

213
00:07:58.080 --> 00:08:02.639
this uh concept of an agent's MD file.
代理的MD文件这一概念。

214
00:08:00.720 --> 00:08:04.960
So we know for developers it's extremely
因此我们知道，对于开发者来说，为模型

215
00:08:02.639 --> 00:08:07.599
important to provide steerability and
提供可控性和

216
00:08:04.960 --> 00:08:09.360
instruction to to the model. And so the
指令是非常重要的。 因此，

217
00:08:07.599 --> 00:08:11.120
first thing we'll see it do here, um,
我们在这里看到的第一件事，嗯，

218
00:08:09.360 --> 00:08:13.840
it'll actually take a look at the agents
它实际上会查看

219
00:08:11.120 --> 00:08:15.599
MD file in the repository. Um, and so
存储库中的代理 MD 文件。 嗯，所以

220
00:08:13.840 --> 00:08:17.080
here, uh, we've provided some
这里，呃，我们提供了一些

221
00:08:15.599 --> 00:08:19.840
instructions about the layout of the
关于仓库布局的说明

222
00:08:17.080 --> 00:08:21.199
repository. Um, you can see one of the
。 嗯，您可以在这里看到其中一条

223
00:08:19.840 --> 00:08:23.360
special instructions here. We've asked
特殊说明。 我们要求

224
00:08:21.199 --> 00:08:24.639
it to print, um, some ASKI art to the
它在终端上打印一些 ASKI 的艺术作品

225
00:08:23.360 --> 00:08:28.080
terminal. I think does that look like a
。 你们觉得它像

226
00:08:24.639 --> 00:08:30.960
cat to you guys? It is. It's a different
猫吗？ 这是。 每次都是不同的

227
00:08:28.080 --> 00:08:32.959
cat every time. It passes my cat test.
猫。 它通过了我的猫咪测试。

228
00:08:30.960 --> 00:08:35.279
Pretty good. Um so and then uh I think
不错。 嗯，然后，嗯，我想

229
00:08:32.959 --> 00:08:37.519
we we also saw above that basically um
我们在上面也看到了，基本上，嗯，

230
00:08:35.279 --> 00:08:39.680
we've also told it you know here's the
我们也告诉它，你知道，这是

231
00:08:37.519 --> 00:08:42.000
TypeScript part of the repo in in in the
仓库的 TypeScript 部分，在

232
00:08:39.680 --> 00:08:43.599
codec cli uh and along with some
编解码器 CLI 中，嗯，以及一些关于

233
00:08:42.000 --> 00:08:44.880
instructions about how to run run tests
如何在这里运行测试的说明，

234
00:08:43.599 --> 00:08:47.200
here which is pretty important for the
这对代理来说非常重要

235
00:08:44.880 --> 00:08:49.440
agent. Um so one of the cool things
。 嗯，

236
00:08:47.200 --> 00:08:52.240
about the way we train these models with
我们使用

237
00:08:49.440 --> 00:08:54.160
end toend reinforcement learning um they
端到端强化学习来训练这些模型，其中一个很酷的地方是，它们

238
00:08:52.240 --> 00:08:56.640
not just write code but they also know
不仅编写代码，而且还知道

239
00:08:54.160 --> 00:08:58.240
how to navigate the codebase uh and even
如何浏览代码库，甚至

240
00:08:56.640 --> 00:09:00.399
reproduce the issue. So here it's
重现问题。 所以它

241
00:08:58.240 --> 00:09:02.240
written a little script for itself. So
给自己写了一小段脚本。 所以，

242
00:09:00.399 --> 00:09:03.360
um you can see it it's similar to us. I
你可以看出它和我们很相似。 我

243
00:09:02.240 --> 00:09:07.200
don't know about you guys but I love to
不知道你们怎么样，但我很喜欢

244
00:09:03.360 --> 00:09:08.959
use print debugging. Um never that's
使用打印调试。 嗯，从来没有，

245
00:09:07.200 --> 00:09:11.040
something we see emergent kind of as
我们认为这是

246
00:09:08.959 --> 00:09:12.880
part of the RL training. Um it actually
强化学习训练过程中自然而然产生的现象。 嗯，实际上我

247
00:09:11.040 --> 00:09:15.040
like write wrote a little script here to
写了一个小脚本来

248
00:09:12.880 --> 00:09:17.200
reproduce the issue. It's like written a
重现这个问题。 它就像编写了一个

249
00:09:15.040 --> 00:09:19.200
file actually like that matches the user
文件，该文件与用户

250
00:09:17.200 --> 00:09:23.040
description and it's actually able to
描述相符，并且能够

251
00:09:19.200 --> 00:09:25.839
like execute the code um to actually uh
执行代码来

252
00:09:23.040 --> 00:09:26.600
verify that the the issues uh able able
验证问题是否能够

253
00:09:25.839 --> 00:09:29.680
to be

254
00:09:26.600 --> 00:09:32.160
reproduced. is displaying a lot of like
重现。 表现出很多类似

255
00:09:29.680 --> 00:09:35.920
complex behavior that is very similar to

256
00:09:32.160 --> 00:09:38.720
how we all work. Um how do we teach the
我们所有人工作方式的复杂行为。 嗯，我们该如何教

257
00:09:35.920 --> 00:09:40.720
agent to do that? Yeah, I think so we
智能体做到这一点呢？ 是的，我想我们

258
00:09:38.720 --> 00:09:42.240
have a lot of these kinds of tasks in
在训练中有很多这类任务

259
00:09:40.720 --> 00:09:43.839
training. We use end to-end
。 我们使用端到端

260
00:09:42.240 --> 00:09:45.760
reinforcement learning to not to
强化学习，不仅是为了

261
00:09:43.839 --> 00:09:49.440
actually like verify that it completes
验证它是否完成了

262
00:09:45.760 --> 00:09:51.600
the entire uh cycle from writing code to
从编写代码到

263
00:09:49.440 --> 00:09:54.240
running tests and then we verify that
运行测试的整个周期，而且是为了验证

264
00:09:51.600 --> 00:09:56.399
the that that it actually is able to
它是否真的能够

265
00:09:54.240 --> 00:09:58.240
complete the tasks and satisfy for
完成任务，并满足

266
00:09:56.399 --> 00:10:00.160
example both style checks and
例如风格检查、

267
00:09:58.240 --> 00:10:02.240
programmatic checks and many other
程序检查以及许多其他

268
00:10:00.160 --> 00:10:04.480
things. Um and then we can see that you
要求。 嗯，然后我们可以看到，

269
00:10:02.240 --> 00:10:06.440
know on evaluations like Sweetbench uh
在 Sweetbench 等评估中，

270
00:10:04.480 --> 00:10:09.600
this results in state-of-the-art
这带来了最先进的

271
00:10:06.440 --> 00:10:11.760
performance. Um so yeah so it's actually
性能。 嗯，是的，实际上

272
00:10:09.600 --> 00:10:12.959
a it we can see here it's it's actually
它已经

273
00:10:11.760 --> 00:10:15.000
found the issue and it's actually
找到了问题，并且正在为

274
00:10:12.959 --> 00:10:18.160
writing a test for itself now um to
自己编写测试。

275
00:10:15.000 --> 00:10:20.480
actually so we can see that it's it's
我们可以看到它正在

276
00:10:18.160 --> 00:10:22.240
verifying its work for us um and it's
验证自己的工作，而且它

277
00:10:20.480 --> 00:10:24.480
almost done here so it's actually you
几乎完成了。

278
00:10:22.240 --> 00:10:27.120
know now it's even running llinters to
现在它甚至还在运行检查器来

279
00:10:24.480 --> 00:10:30.320
verify that the code is matching our our
验证代码是否符合我们的

280
00:10:27.120 --> 00:10:33.120
style expectations and I I saw it refer
风格预期。我看到它在

281
00:10:30.320 --> 00:10:35.920
back to its agents.mmd here yeah exactly
这里引用了 agents.mmd 文件。是的，没错。

282
00:10:33.120 --> 00:10:37.519
so uh as part of the agents MD you can
作为 agents.mmd 文件的一部分，你可以

283
00:10:35.920 --> 00:10:39.279
provide detailed guidelines and for
提供详细的指南，

284
00:10:37.519 --> 00:10:40.640
example like commit messages and PR
例如提交信息、PR

285
00:10:39.279 --> 00:10:42.720
messages and how exactly you want your
信息以及你希望

286
00:10:40.640 --> 00:10:44.800
code to be structured. It looks like
代码的具体结构。 看起来

287
00:10:42.720 --> 00:10:46.040
it's preparing files for commit. Yeah, I
它正在准备提交文件。 是的，我

288
00:10:44.800 --> 00:10:48.880
think it's almost
觉得差不多

289
00:10:46.040 --> 00:10:51.200
done. So just within you know like the
完成了。 所以，就在

290
00:10:48.880 --> 00:10:52.880
time that we spent talking um this this
我们讨论的这段时间里，这个

291
00:10:51.200 --> 00:10:55.279
change probably would have taken me you
改动可能至少需要我

292
00:10:52.880 --> 00:10:59.360
know like at least 30 minutes or even or
30 分钟甚至几个

293
00:10:55.279 --> 00:11:01.040
even hours to to debug and um and just
小时来调试，嗯，

294
00:10:59.360 --> 00:11:03.279
in a moment I think we'll see the final
马上我们就能看到最终的

295
00:11:01.040 --> 00:11:06.880
PR. And the other thing is you could do
PR 了。 还有一点就是，你可以用

296
00:11:03.279 --> 00:11:08.160
this from your phone. Exactly. Yeah, it
手机完成这件事。 确切地。 是的，

297
00:11:06.880 --> 00:11:10.079
looks like it's on the P. How does this
看起来是在P上。这样

298
00:11:08.160 --> 00:11:13.120
look to do?
看起来怎么样？

299
00:11:10.079 --> 00:11:16.320
Let's have a look. Um, it's kind of
我们来看看。 嗯，在这里这么

300
00:11:13.120 --> 00:11:18.800
tricky to review code so uh so fast
快地审查代码有点棘手

301
00:11:16.320 --> 00:11:21.680
here. But one of the things here is that
。 但其中一点是，它确实

302
00:11:18.800 --> 00:11:23.920
it it did add a test. Uh it's a repro
增加了一项测试。 这是

303
00:11:21.680 --> 00:11:26.800
test for uh the issue that we mentioned.
针对我们之前提到的问题的复现测试。

304
00:11:23.920 --> 00:11:29.279
So this seems to match here. And also
所以这似乎与此相符。 让

305
00:11:26.800 --> 00:11:31.279
what gives me confidence is that it
我感到放心的是，它

306
00:11:29.279 --> 00:11:34.000
actually ran this test. And there is
确实运行了这个测试。

307
00:11:31.279 --> 00:11:36.720
like a little proof here uh which we'll
这里有一个小小的证据，我们

308
00:11:34.000 --> 00:11:38.640
talk about later um where I gain a lot
稍后会谈到，这让我更加

309
00:11:36.720 --> 00:11:42.160
of confidence here that this test is
确信这个测试

310
00:11:38.640 --> 00:11:45.120
actually passing. So I would just go and
实际上是会通过的。 所以我会直接

311
00:11:42.160 --> 00:11:47.440
like push and create a PR here. But now
提交一个 PR。 但现在

312
00:11:45.120 --> 00:11:49.440
that we have a whole bunch more tasks
我们已经完成了一大堆任务

313
00:11:47.440 --> 00:11:52.880
that have completed, what do you think,
，你觉得怎么样，

314
00:11:49.440 --> 00:11:54.320
Greg? I mean I think this is magic. I'm
格雷格？ 我觉得这简直太神奇了。 我

315
00:11:52.880 --> 00:11:57.800
feel I'm definitely feeling feeling the
感觉我确实感受到了通用人工智能（

316
00:11:54.320 --> 00:12:00.000
AGI here. Thank you. Thank you all. Um,
AGI）的影响。 谢谢。 谢谢大家。 嗯，

317
00:11:57.800 --> 00:12:01.760
and you know, I think that what the
你知道，我认为

318
00:12:00.000 --> 00:12:04.480
system in my mind shows is that we're
我脑海中的系统所显示的是，我们正在超越将

319
00:12:01.760 --> 00:12:06.399
moving beyond thinking of our AI systems
人工智能系统

320
00:12:04.480 --> 00:12:07.760
as just language models, right? That
仅仅视为语言模型的思维模式，对吧？

321
00:12:06.399 --> 00:12:10.320
we're really building systems around
我们正在围绕它们构建系统

322
00:12:07.760 --> 00:12:12.639
them. So, it's not just about the core
。 所以，这不仅仅关乎核心

323
00:12:10.320 --> 00:12:14.639
AI intelligence. It's really about what
人工智能。 这实际上与它能够使用的

324
00:12:12.639 --> 00:12:17.040
tools is access to, the environment that
工具、

325
00:12:14.639 --> 00:12:19.200
it is able to operate within, um, the
它能够在其中运行的环境、以及

326
00:12:17.040 --> 00:12:21.200
kinds of of sort of real world uh, you

327
00:12:19.200 --> 00:12:22.639
know, sort of uh, conditions that it's
它接受过

328
00:12:21.200 --> 00:12:24.079
been trained to be exposed to. It's
训练以适应的各种现实世界条件有关。 它

329
00:12:22.639 --> 00:12:25.440
starting to feel much more like the
越来越像

330
00:12:24.079 --> 00:12:27.920
interface that we're going to see for a
我们未来将在

331
00:12:25.440 --> 00:12:29.200
real AGI. Uh still still much more to
真正的通用人工智能（AGI）中看到的界面了。 嗯，还有很多工作

332
00:12:27.920 --> 00:12:31.200
build, but it's starting to feel like it
要做，但它的

333
00:12:29.200 --> 00:12:34.160
has the right form factor. And so here
外形尺寸已经开始感觉很合适了。 接下来，我们将由

334
00:12:31.200 --> 00:12:37.920
to tell you more about the how we build

335
00:12:34.160 --> 00:12:40.800
the system are more members of the team.
团队的更多成员为大家详细介绍我们如何构建这个系统。

336
00:12:37.920 --> 00:12:43.440
Uh hi everyone. I'm Andre. I work on uh
大家好。 我是安德烈。 我从事

337
00:12:40.800 --> 00:12:44.959
research and uh systems for

338
00:12:43.440 --> 00:12:46.880
reinforcement learning and coding
强化学习和智能体编码

339
00:12:44.959 --> 00:12:49.519
agents. I'm Katie. I'm on the research
方面的研究和系统开发工作。 我是凯蒂。 我是

340
00:12:46.880 --> 00:12:51.760
team here. I'm Jerry. I also work on on
这里研究团队的成员。 我是杰瑞。 我也在

341
00:12:49.519 --> 00:12:53.680
research here. If you if we look back at
这里从事研究工作。 回顾

342
00:12:51.760 --> 00:12:55.680
the history, we've been working on large
历史，我们一直在研究大型

343
00:12:53.680 --> 00:12:57.920
language models. Code for many years
语言模型。 已经编写代码多年了

344
00:12:55.680 --> 00:13:00.480
already. The first codeex models we have
。 我们发布的第一批​​ Codeex 模型为

345
00:12:57.920 --> 00:13:02.399
released that powered GitHub copilot and
GitHub Copilot 提供支持，它

346
00:13:00.480 --> 00:13:04.160
was little more than a smart
只不过是一个智能自动

347
00:13:02.399 --> 00:13:06.160
autocomplete and I think they have
补全功能，但我认为它们

348
00:13:04.160 --> 00:13:08.160
started a revolution of AI powered
开启了人工智能驱动的

349
00:13:06.160 --> 00:13:10.240
coding that we really see take off
编码革命，我们今天真的看到了这场革命的蓬勃发展

350
00:13:08.160 --> 00:13:12.079
today. Since then, we've worked on a lot
。 从那以后，我们做了很多

351
00:13:10.240 --> 00:13:13.600
of things. We've improved every layer of
事情。 我们改进了

352
00:13:12.079 --> 00:13:15.680
our pre-training stack to make our
预训练堆栈的每一层，使我们的

353
00:13:13.600 --> 00:13:18.399
models really, really great at all kinds
模型在各种

354
00:13:15.680 --> 00:13:20.079
of programming tasks. At the moment GPT4
编程任务中都非常出色。  GPT-4

355
00:13:18.399 --> 00:13:21.839
was released, it was by far the best
发布时，它是当时

356
00:13:20.079 --> 00:13:24.240
programming model in the world. We've
世界上最好的编程模型。 我们

357
00:13:21.839 --> 00:13:26.320
also constantly iterated on our on our
还不断迭代我们的

358
00:13:24.240 --> 00:13:28.480
post training recipe to make the moles
训练后配方，以使

359
00:13:26.320 --> 00:13:31.200
in chat GPT really great at answering
聊天中的 GPT 能够很好地回答

360
00:13:28.480 --> 00:13:34.320
users programming related questions.
用户与编程相关的问题。

361
00:13:31.200 --> 00:13:36.959
Every day millions of users use CH GPT
每天有数百万用户使用 CH GPT

362
00:13:34.320 --> 00:13:38.639
to accelerate their work. However,
来加速他们的工作。 然而，

363
00:13:36.959 --> 00:13:41.120
working with LLMs on a programming
与法学硕士（LLM）合作开展编程

364
00:13:38.639 --> 00:13:43.120
related projects still feels pretty
相关项目仍然感觉相当

365
00:13:41.120 --> 00:13:45.920
clanky. It does require a lot of
笨拙。 这确实需要大量的

366
00:13:43.120 --> 00:13:48.160
handholding and context switching. I
指导和频繁的上下文切换。 我

367
00:13:45.920 --> 00:13:50.480
believe the current paradigm of scaling
相信，目前

368
00:13:48.160 --> 00:13:52.959
up reinforcement learning finally can
强化学习的扩展范式最终可以

369
00:13:50.480 --> 00:13:55.839
take us to the place where we can
带领我们达到这样的境界：我们可以

370
00:13:52.959 --> 00:13:58.639
automate larger chunks of work where our
自动化处理更大块的工作，我们的

371
00:13:55.839 --> 00:14:01.279
models can work on where we can tell
模型可以执行我们

372
00:13:58.639 --> 00:14:03.120
them what we want to do not necessarily
想要它们做什么（不一定是

373
00:14:01.279 --> 00:14:05.760
how and they can work for extended
怎么做）的任务，它们可以

374
00:14:03.120 --> 00:14:08.959
period of time on that task for a user

375
00:14:05.760 --> 00:14:10.959
on a real production codebase. Even more
在真实的生产代码库中为用户长时间执行该任务。 更

376
00:14:08.959 --> 00:14:12.959
importantly the infrastructure that we
重要的是，我们为此开放的基础设施

377
00:14:10.959 --> 00:14:14.800
are opening up for it is perfectly
具有完美的

378
00:14:12.959 --> 00:14:16.800
scalable. It doesn't run on your laptop.
可扩展性。 它无法在你的笔记本电脑上运行。

379
00:14:14.800 --> 00:14:19.040
It runs on the cloud. At a single push
它运行在云端。 只需按一下

380
00:14:16.800 --> 00:14:22.000
of a button, you can spin up one agent,
按钮，即可启动一个代理、

381
00:14:19.040 --> 00:14:25.120
10 agents, or 10,000 agents. It's an
10 个代理或 10,000 个代理。 它是一种

382
00:14:22.000 --> 00:14:26.800
ondemand AI power force multiplier. And
按需使用的AI力量倍增器。 而且

383
00:14:25.120 --> 00:14:28.639
you are seeing really great results with
你们在内部也看到了非常好的效果

384
00:14:26.800 --> 00:14:30.240
it internally.
。

385
00:14:28.639 --> 00:14:32.959
Cool. So, I get to do the part of the
凉爽的。 所以，我要做的

386
00:14:30.240 --> 00:14:34.560
demo um that is probably the most
演示部分可能是最不

387
00:14:32.959 --> 00:14:36.800
unlucky where I'm not going to kick off
走运的，因为我不会启动

388
00:14:34.560 --> 00:14:39.199
any tasks, but I'm going to take a look
任何任务，但我会看看

389
00:14:36.800 --> 00:14:41.360
at the tasks that Tibo, Hansen, and Josh
Tibo、Hansen 和 Josh

390
00:14:39.199 --> 00:14:42.800
kicked off um and hope that they're
启动的任务，希望它们都

391
00:14:41.360 --> 00:14:46.000
good. And I think this is actually kind
不错。 我认为这实际上

392
00:14:42.800 --> 00:14:48.320
of reflection of where engineering work
反映了

393
00:14:46.000 --> 00:14:50.399
has moved over the past few years where
过去几年工程工作的发展方向，我

394
00:14:48.320 --> 00:14:52.959
a lot of my time now is spent reviewing
现在的很多时间都花在了

395
00:14:50.399 --> 00:14:54.800
code rather than writing it. And in that
代码审查上，而不是编写代码上。 从这个

396
00:14:52.959 --> 00:14:56.639
sense, it becomes even more important
意义上讲，

397
00:14:54.800 --> 00:14:58.959
for our models to be very aligned with
我们的模型与

398
00:14:56.639 --> 00:15:01.040
what we want. So I will talk you through
我们想要的目标高度一致就显得更加重要了。 接下来，我将带大家了解

399
00:14:58.959 --> 00:15:02.880
how we train these models with alignment
我们在训练这些模型时是如何考虑到对齐问题的，

400
00:15:01.040 --> 00:15:06.000
in mind um as we look through a couple
同时我们也会看一下其中的几个

401
00:15:02.880 --> 00:15:07.839
of these tasks. So let me let's click
任务。 那么，让我们回到

402
00:15:06.000 --> 00:15:09.680
back into the one that Tibo kicked off
Tibo发起的这个话题

403
00:15:07.839 --> 00:15:12.160
here. Um, so I think there's three key
。 嗯，我认为这里有三个关键

404
00:15:09.680 --> 00:15:13.760
parts here. On the right, we have the
部分。 右侧是

405
00:15:12.160 --> 00:15:16.160
actual code output produced by the
模型实际生成的代码输出

406
00:15:13.760 --> 00:15:18.399
model. When we look at code and when you
。 当我们查看代码以及您

407
00:15:16.160 --> 00:15:20.160
review code, you might look for things
审查代码时，您可能会寻找

408
00:15:18.399 --> 00:15:22.639
like, you know, like having sensible
诸如此类的事情，例如，进行合理的

409
00:15:20.160 --> 00:15:24.560
changes, doing exactly what the PR
更改，完全按照 PR

410
00:15:22.639 --> 00:15:27.040
description said, and not having extra
描述执行，以及没有进行额外的

411
00:15:24.560 --> 00:15:28.639
changes. Um, you don't want extra
更改。 嗯，你肯定不希望

412
00:15:27.040 --> 00:15:30.160
comments littered throughout your code.
代码里到处都是额外的注释。

413
00:15:28.639 --> 00:15:32.240
This is feedback that we've heard about
我们之前也收到过关于

414
00:15:30.160 --> 00:15:33.760
our models before. Um, and so something
我们模型的类似反馈。 嗯，所以

415
00:15:32.240 --> 00:15:35.760
that we really focused on was like
我们非常注重的一点是，如何保证

416
00:15:33.760 --> 00:15:38.560
having good code quality and style so
代码的质量和风格，以便

417
00:15:35.760 --> 00:15:40.000
that code is easier to review. Another
代码更容易审查。

418
00:15:38.560 --> 00:15:42.320
thing that we really focused on here was
我们在这里重点关注的另一件事是

419
00:15:40.000 --> 00:15:44.800
interpretability and verifiable u
可解释性和可验证的 u

420
00:15:42.320 --> 00:15:47.040
outputs. So on the left side here we
输出。 所以，左侧这里

421
00:15:44.800 --> 00:15:49.600
have a model generated summary of
是模型生成的摘要，

422
00:15:47.040 --> 00:15:52.399
exactly what it did. Right here it added
准确地描述了它所做的一切。 这里添加了

423
00:15:49.600 --> 00:15:54.240
an import for this function. It tells
该函数的导入语句。 它会告诉

424
00:15:52.399 --> 00:15:56.880
you what it's doing and like why it's
你它在做什么，以及为什么

425
00:15:54.240 --> 00:15:58.959
doing it. And it shows you in this
要这样做。 在这个

426
00:15:56.880 --> 00:16:00.399
citation view exactly the code that it
引用视图中，它会准确地显示它在描述其功能时所引用的代码

427
00:15:58.959 --> 00:16:02.560
was referencing when it's talking about

428
00:16:00.399 --> 00:16:04.639
what it did. And then in the testing
。 然后，在测试

429
00:16:02.560 --> 00:16:06.959
section here, the model actually ran the
部分，模型实际上运行了 agents.mmd 文件

430
00:16:04.639 --> 00:16:09.759
test um that it was told to run in the
中告诉它要运行的测试

431
00:16:06.959 --> 00:16:11.360
agents.mmd file. But beyond just
。 除了

432
00:16:09.759 --> 00:16:12.800
actually running the test, the model
实际运行测试之外，该模型

433
00:16:11.360 --> 00:16:15.040
actually reports whether the test passed
实际上还会报告测试是成功

434
00:16:12.800 --> 00:16:17.199
or failed. Um and in this case, you can
还是失败。 嗯，在这种情况下，您可以

435
00:16:15.040 --> 00:16:20.079
see exactly where in the work log the
在工作日志中准确地看到

436
00:16:17.199 --> 00:16:22.800
ter um the test was run and you can see
测试运行的位置，并且可以看到

437
00:16:20.079 --> 00:16:27.160
and verify that it succeeded. Let's take
并验证测试是否成功。 我们再

438
00:16:22.800 --> 00:16:27.160
a look at one more task.
来看一个任务。

439
00:16:27.600 --> 00:16:31.600
Okay, so here there's another task that
好的，这里还有一项

440
00:16:29.839 --> 00:16:34.240
was done in the preparedness repo where
在准备工作仓库中完成的任务，

441
00:16:31.600 --> 00:16:36.800
I can take a look over this model output
我可以查看这个模型的输出，

442
00:16:34.240 --> 00:16:39.279
and it might pass like the smell test to
它最初可能通过了我的初步判断

443
00:16:36.800 --> 00:16:40.959
me initially, but I can see from the
，但我从

444
00:16:39.279 --> 00:16:43.120
model's testing output here that it
模型的测试输出中可以看出，它

445
00:16:40.959 --> 00:16:45.920
actually didn't manage to pass the test.
实际上并没有通过测试。

446
00:16:43.120 --> 00:16:48.320
And so I'm looking here and it looks
所以，我在这里查看了一下，看起来

447
00:16:45.920 --> 00:16:50.560
like it might be something with like a
可能是

448
00:16:48.320 --> 00:16:52.880
missing dependency in the environment.
环境中缺少某个依赖项。

449
00:16:50.560 --> 00:16:54.399
Um maybe pedantic is not installed. And
嗯，或许是 Pedantic 插件没有安装。

450
00:16:52.880 --> 00:16:56.800
so this PR might be something that I
因此，我可能会将这个 PR 移回

451
00:16:54.399 --> 00:16:59.920
check back out to my computer and rerun
我的电脑，并在

452
00:16:56.800 --> 00:17:01.680
the tests locally and maybe if I see
本地重新运行测试，看看

453
00:16:59.920 --> 00:17:03.279
that this is valuable. This is something
它是否真的有价值。

454
00:17:01.680 --> 00:17:06.160
I can go back to my environment
我可以回到我的环境

455
00:17:03.279 --> 00:17:09.199
configuration and reinstall. And
配置中重新安装它。

456
00:17:06.160 --> 00:17:10.880
ultimately I think we find codecs to be
最终我认为，我们发现编解码器

457
00:17:09.199 --> 00:17:13.360
like as trustworthy if not more
即使不比我们自己的同事更值得信赖，也至少和我们自己的同事一样值得信赖

458
00:17:10.880 --> 00:17:15.520
trustworthy than our own co-workers. I
。 我

459
00:17:13.360 --> 00:17:17.679
don't have I don't have this kind of
没有

460
00:17:15.520 --> 00:17:19.839
access to like what Andre did on any
权限查看 Andre 在任何

461
00:17:17.679 --> 00:17:22.160
given day in terms of like the logs or
一天所做的工作，比如日志或

462
00:17:19.839 --> 00:17:23.919
the actual test outputs. And I think as
实际的测试输出。 我认为，随着

463
00:17:22.160 --> 00:17:26.000
we move towards this world where AI
我们迈向人工智能

464
00:17:23.919 --> 00:17:27.280
writes more and more code, this kind of
编写越来越多代码的世界，这种

465
00:17:26.000 --> 00:17:30.200
verifiability is going to be really
可验证性将变得非常

466
00:17:27.280 --> 00:17:33.360
important.
重要。

467
00:17:30.200 --> 00:17:34.799
So, uh, I'm super excited to share this
所以，呃，我今天非常兴奋地想

468
00:17:33.360 --> 00:17:36.400
with all of you today. I've been working
和大家分享这件事。 我为此已经努力了

469
00:17:34.799 --> 00:17:38.160
on this for more than two years.
两年多。

470
00:17:36.400 --> 00:17:41.200
Actually, a lot of that time with Jerry.
事实上，那段时间大部分时间都是和杰瑞在一起。   真是

471
00:17:38.160 --> 00:17:44.400
It's been a real blast. Um, and we're
太棒了！ 嗯，我们一直在

472
00:17:41.200 --> 00:17:46.400
we've been using this internally and
内部使用这个功能，并且

473
00:17:44.400 --> 00:17:48.480
seeing a lot of really magical moments
看到很多非常神奇的时刻

474
00:17:46.400 --> 00:17:49.840
start to appear. Uh we're sharing this
开始出现。 我们

475
00:17:48.480 --> 00:17:51.600
with you today because we think this
今天与大家分享这个，是因为我们认为这

476
00:17:49.840 --> 00:17:54.799
does represent a glimpse into the future
代表了

477
00:17:51.600 --> 00:17:56.080
of how software engineering is done. Um
软件工程未来发展的方向。 嗯，

478
00:17:54.799 --> 00:17:58.160
I'm just going to tell you a little bit
我来简单介绍一下

479
00:17:56.080 --> 00:18:00.799
about how I use the product. So in the
我是如何使用这款产品的。 所以在

480
00:17:58.160 --> 00:18:02.240
leadup to this launch, uh I've ended up
这次发布会筹备期间，我

481
00:18:00.799 --> 00:18:04.320
doing a lot of coordination work. I
做了很多协调工作。 我花在

482
00:18:02.240 --> 00:18:06.480
haven't had as much time for coding as I
编程上的时间

483
00:18:04.320 --> 00:18:09.600
maybe used to as much as I maybe ideally
不如以前那么多了，也不像我理想中那样多

484
00:18:06.480 --> 00:18:12.320
would like. Sorry. Maybe Greg Greg can
。 对不起。 或许格雷格·格雷格能

485
00:18:09.600 --> 00:18:14.000
empathize with that a little bit. Um,
对此略有同感。 嗯，

486
00:18:12.320 --> 00:18:16.960
and so if I'm like reviewing someone
所以如果我在审查

487
00:18:14.000 --> 00:18:18.480
else's code or uh reading through Slack
别人的代码，或者浏览 Slack

488
00:18:16.960 --> 00:18:20.880
or playing with the product just to make
或试用产品以

489
00:18:18.480 --> 00:18:22.880
sure that uh it's developing well,
确保它开发顺利，

490
00:18:20.880 --> 00:18:24.320
sometimes I'll have an idea of like a
有时我会想到一些

491
00:18:22.880 --> 00:18:26.160
code change I might like to make, a
代码更改，比如我想

492
00:18:24.320 --> 00:18:27.919
change in the product or some refactor
对产品进行一些更改或重构，

493
00:18:26.160 --> 00:18:29.600
and I'll just kick it off in codeex. It
然后我就会在 CodeEx 中开始着手处理。

494
00:18:27.919 --> 00:18:30.960
takes like 30 seconds. It's a very
大概需要30秒。 这只是个很

495
00:18:29.600 --> 00:18:34.000
lightweight thing to do and then I'll go
简单的操作，之后我就会

496
00:18:30.960 --> 00:18:36.559
back to Slack or or wherever I wherever
回到 Slack 或者我

497
00:18:34.000 --> 00:18:38.240
I am. Uh and then later I'll come back
所在的任何地方。 嗯，过段时间我再回来，

498
00:18:36.559 --> 00:18:40.880
and the task is sitting there and it's
任务就在那里，已经

499
00:18:38.240 --> 00:18:42.240
done. And sometimes it's a small task.
完成了。 有时这只是件小事。

500
00:18:40.880 --> 00:18:44.400
It's like a simple string change.
这就像简单的字符串更改一样。

501
00:18:42.240 --> 00:18:46.400
Sometimes I was ambitious and I put in a
有时我雄心勃勃，会提出一些

502
00:18:44.400 --> 00:18:48.720
request for like a bigger refactor or
更大的重构请求或

503
00:18:46.400 --> 00:18:50.000
some sort of feature. And this by no
某种功能请求。 但这并非总是

504
00:18:48.720 --> 00:18:51.840
means works all the time. This is a
奏效。 这是

505
00:18:50.000 --> 00:18:54.679
research preview. Uh we think it's still
研究预览。 我们认为现在下结论还

506
00:18:51.840 --> 00:18:57.200
early days. Uh but
为时过早。 嗯，但

507
00:18:54.679 --> 00:18:58.559
sometimes it's like a multiund line diff
有时候它就像一个多行差异，

508
00:18:57.200 --> 00:19:00.320
and I open it and I start reading
我打开它，开始阅读，

509
00:18:58.559 --> 00:19:04.160
through it and I'm like, "Wow, this
然后我就想，“哇，这

510
00:19:00.320 --> 00:19:05.520
actually looks like it's correct." And I
看起来确实是正确的。” 我

511
00:19:04.160 --> 00:19:07.360
read through what the model did. Maybe
仔细阅读了模型的运行原理。 或许

512
00:19:05.520 --> 00:19:09.360
the model ran some tests. Maybe those
该模型运行了一些测试。 或许那些

513
00:19:07.360 --> 00:19:12.640
tests failed. and the model fixed the
测试失败了。 该模型修复了

514
00:19:09.360 --> 00:19:14.720
the test failure. I look on the left and
测试失败的问题。 我看了看左边，

515
00:19:12.640 --> 00:19:16.400
all the little test results are green
所有的小测试结果都是绿色的，

516
00:19:14.720 --> 00:19:18.240
and I'm like, "This change actually
我就想：“这个改动

517
00:19:16.400 --> 00:19:19.799
looks really good. Let me open a PR.
看起来确实不错。我提交一个 PR 吧。

518
00:19:18.240 --> 00:19:21.919
Maybe I'll send it to a colleague for
也许我可以把它发给同事

519
00:19:19.799 --> 00:19:23.360
review. Maybe they'll approve it and
审核一下。也许他们会批准，然后

520
00:19:21.919 --> 00:19:25.280
we'll merge it and it lands in the
我们把它合并到

521
00:19:23.360 --> 00:19:27.120
codebase." And then I take a step back
代码库里。” 然后我退后一步，

522
00:19:25.280 --> 00:19:29.200
and I realize I just landed like a
意识到我刚刚做出了一个

523
00:19:27.120 --> 00:19:31.280
non-trivial change, like a large change
非同寻常的更改，就像

524
00:19:29.200 --> 00:19:33.840
often in our codebase and that branch
我们代码库中经常出现的大更改一样，而那个分支

525
00:19:31.280 --> 00:19:35.360
never even hit my laptop. uh it was just
甚至都没有出现在我的笔记本电脑上。 嗯，这

526
00:19:33.840 --> 00:19:36.960
something that happened completely
完全是

527
00:19:35.360 --> 00:19:39.679
through this interaction with an async
通过与

528
00:19:36.960 --> 00:19:41.600
delegation to to one of these agents and
其中一个代理进行异步委托交互而发生的，

529
00:19:39.679 --> 00:19:44.320
when that works it's really a magical
当它成功运行时，那真是一个神奇的

530
00:19:41.600 --> 00:19:46.559
moment uh and it's really amazing and
时刻，非常令人惊叹。

531
00:19:44.320 --> 00:19:47.760
when I talk to other colleagues uh
当我与其他同事交流时，

532
00:19:46.559 --> 00:19:49.200
they're using the product too and
他们也在使用这款产品，并且

533
00:19:47.760 --> 00:19:50.480
they're using it in different ways and
以不同的方式使用它，

534
00:19:49.200 --> 00:19:51.840
they're having magical moments and
他们也经历了属于他们自己的神奇时刻和

535
00:19:50.480 --> 00:19:53.760
magical interactions with it of their
神奇交互。

536
00:19:51.840 --> 00:19:56.000
own and you can see some of those uh
你可以在

537
00:19:53.760 --> 00:19:57.559
stories in the videos that we're linking
我们链接到

538
00:19:56.000 --> 00:20:00.960
from the blog associated with this
与此版本相关的博客中的视频中看到其中的一些故事。

539
00:19:57.559 --> 00:20:02.880
release. Um, so that's all very exciting
嗯，看到这些真是令人兴奋

540
00:20:00.960 --> 00:20:04.400
to see, but what I'm most excited about
，但我最兴奋的

541
00:20:02.880 --> 00:20:07.120
is to share this with all of you today
是今天能和大家分享这些，

542
00:20:04.400 --> 00:20:09.679
and see what you all do with it. One of
看看大家会如何利用它们。  Codeex 的运作方式让

543
00:20:07.120 --> 00:20:12.880
the things that I find really exciting
我感到非常兴奋的一点

544
00:20:09.679 --> 00:20:15.360
about how Codeex works is it has very
是，它具有非常

545
00:20:12.880 --> 00:20:17.600
nonhuman strengths and weaknesses. And
非人类的优势和劣势。 所以，

546
00:20:15.360 --> 00:20:19.360
so it really means that you get much

547
00:20:17.600 --> 00:20:21.600
more out of it if you start thinking of
如果你开始把它看作

548
00:20:19.360 --> 00:20:24.720
of it as not just a static tool that you
不仅仅是一个静态工具，你

549
00:20:21.600 --> 00:20:27.360
just use like you know just without
只需要使用它而无需

550
00:20:24.720 --> 00:20:29.360
having to build expertise but if you um
积累专业知识，而是围绕它的功能来

551
00:20:27.360 --> 00:20:31.280
if you really optimize your codebase
优化你的代码库，

552
00:20:29.360 --> 00:20:34.159
around what it can do you start like
你就能从中获得更多。说

553
00:20:31.280 --> 00:20:35.919
honestly most of what codeex benefits
实话，CodeEx 的大部分优势都来自于

554
00:20:34.159 --> 00:20:38.400
from is just what is good software
良好的软件

555
00:20:35.919 --> 00:20:40.080
engineering practices um in terms of of
工程实践，例如

556
00:20:38.400 --> 00:20:42.000
modular code bases with good tests and
模块化代码库、良好的测试

557
00:20:40.080 --> 00:20:44.000
things like that um you're able to just
等等。这样你就能

558
00:20:42.000 --> 00:20:46.400
move so fast and we've seen that we've
快速迭代，我们已经看到，

559
00:20:44.000 --> 00:20:49.440
seen that happen uh internally uh with

560
00:20:46.400 --> 00:20:52.000
many people at OpenAI. Um we are
在 OpenAI 内部，很多人都做到了这一点。 嗯，我们

561
00:20:49.440 --> 00:20:55.880
releasing this today to uh chat GBT
今天将此功能发布给 Chat GBT

562
00:20:52.000 --> 00:20:57.840
enterprise teams and uh
企业团队和专业

563
00:20:55.880 --> 00:21:00.159
prousers. We're going to have very
用户。 我们将实行非常

564
00:20:57.840 --> 00:21:02.880
generous rate limits. Uh we're going to
宽松的利率限制。 嗯，我们一开始

565
00:21:00.159 --> 00:21:04.480
start out without any additional pricing
不会增加任何额外费用，

566
00:21:02.880 --> 00:21:05.840
over time as we start to get some
随着时间的推移，当我们开始获得一些

567
00:21:04.480 --> 00:21:07.520
feedback and some sense of how people
反馈并了解人们如何

568
00:21:05.840 --> 00:21:09.840
are using it, we'll introduce more rate
使用它时，我们会引入更多速率

569
00:21:07.520 --> 00:21:12.320
limits. we'll be rolling out out to plus
限制。 我们将逐步向 Plus

570
00:21:09.840 --> 00:21:14.400
and edu users. Um that we'll be thinking
和教育用户推出。 嗯，我们会考虑一下

571
00:21:12.320 --> 00:21:17.039
about if there's pricing for how to get

572
00:21:14.400 --> 00:21:18.880
additional queries. Um in general, we're
额外查询是否需要收费。 总的来说，我们

573
00:21:17.039 --> 00:21:20.320
just so excited to see how people use it
非常兴奋地想看看大家是如何使用它的，

574
00:21:18.880 --> 00:21:23.360
because we've seen every single person
因为我们发现 OpenAI 的每个人都以

575
00:21:20.320 --> 00:21:26.080
at OpenAI uses codecs differently. Now,
不同的方式使用编解码器。 现在，

576
00:21:23.360 --> 00:21:27.600
we're not nearly at the end of this this
我们离这段旅程的终点​​还远着呢

577
00:21:26.080 --> 00:21:29.120
journey. We're very much at the
。 我们目前还处于

578
00:21:27.600 --> 00:21:30.720
beginning uh that we're going to
起步阶段，但我们将

579
00:21:29.120 --> 00:21:33.200
continue to improve codecs. We're going
继续改进编解码器。 我们将使其

580
00:21:30.720 --> 00:21:34.880
to make it be integrated into far more
集成到更多

581
00:21:33.200 --> 00:21:37.200
systems like be there in your issue
系统中，例如在您的问题

582
00:21:34.880 --> 00:21:38.799
tracker release an API so that you can
跟踪器中发布 API，以便您可以将

583
00:21:37.200 --> 00:21:40.799
have it automatically be integrated into
其自动集成到

584
00:21:38.799 --> 00:21:42.799
your CI so if there's a CI error you
您的 CI 中，这样如果出现 CI 错误，您就

585
00:21:40.799 --> 00:21:46.320
don't have to fix it anymore that Codex
不必再修复它了，Codex

586
00:21:42.799 --> 00:21:48.880
takes care of it. Um we also are
会处理它。 嗯，我们也在

587
00:21:46.320 --> 00:21:50.720
continuing to develop Codeex CLI which
继续开发 Codeex CLI，它

588
00:21:48.880 --> 00:21:52.480
again is a local agent that runs on your
也是一个运行在你笔记本电脑上的本地代理

589
00:21:50.720 --> 00:21:54.720
laptop. We're releasing a mini model
。 我们今天将发布一个迷你模型，

590
00:21:52.480 --> 00:21:56.720
today and we're also going to be
同时还将

591
00:21:54.720 --> 00:21:59.039
releasing signin with with chatb to make
发布使用 chatb 登录的功能，以便用户更

592
00:21:56.720 --> 00:22:00.159
it easier to get up and running. Now, if
容易上手使用。 现在，仔细

593
00:21:59.039 --> 00:22:01.919
you think about it, there's two
想想，

594
00:22:00.159 --> 00:22:04.159
different form factors that we've talked
我们已经讨论过两种不同的外形尺寸

595
00:22:01.919 --> 00:22:06.799
about. There's the local synchronous on
。 既有本地同步

596
00:22:04.159 --> 00:22:09.679
your computer version, but there's also
版本（运行在计算机上），也有像

597
00:22:06.799 --> 00:22:12.080
what codeex is of an asynchronous in the
Codeex 那样的异步版本（

598
00:22:09.679 --> 00:22:13.840
cloud runs on its own computer. And we
运行在云端自己的计算机上）。 我们

599
00:22:12.080 --> 00:22:15.679
think that the future is going to be
认为未来将会是

600
00:22:13.840 --> 00:22:17.520
these two systems coming together,
这两个系统融合在一起，

601
00:22:15.679 --> 00:22:19.760
right? What you really want is you want
对吗？ 你真正想要的是

602
00:22:17.520 --> 00:22:21.120
a remote co-orker with its own computer,
一个拥有自己电脑的远程协作设备，

603
00:22:19.760 --> 00:22:22.640
but who can also look over your
但它也可以在你

604
00:22:21.120 --> 00:22:24.240
shoulder. And so, you're there typing
身后进行监控。 于是，你就在那儿噼里啪啦地敲着键盘

605
00:22:22.640 --> 00:22:25.520
away, you're working on some change,
，忙着做一些修改，然后突然想：

606
00:22:24.240 --> 00:22:27.280
you're like, "Ah, I don't I want to go
“啊，我不想去吃

607
00:22:25.520 --> 00:22:29.120
to lunch. Codex, can you finish this?"
午饭了。Codex，你能把这个做完吗？”

608
00:22:27.280 --> 00:22:30.720
it just takes it over seamlessly and
它能无缝接管并

609
00:22:29.120 --> 00:22:31.840
runs it in the cloud. Or if you have a
在云端运行。 或者，如果您对

610
00:22:30.720 --> 00:22:33.200
question about something or you want to
某些内容有疑问，或者

611
00:22:31.840 --> 00:22:34.559
pull down a change because your
因为依赖项未安装而想要拉取更改，

612
00:22:33.200 --> 00:22:36.240
dependency isn't installed or something

613
00:22:34.559 --> 00:22:38.159
like that, it all just moves around
等等，所有这些都会

614
00:22:36.240 --> 00:22:40.320
totally totally seamlessly. So it's a
完全无缝地进行。 所以他是一个

615
00:22:38.159 --> 00:22:43.520
co-orker, it's a intern that you can
合作者，一个你可以

616
00:22:40.320 --> 00:22:45.600
delegate to. It's a mentor, it's a pair
委派任务的实习生。 他既是导师，又是结对

617
00:22:43.520 --> 00:22:47.600
programmer and all of these at once. And
程序员，集所有这些角色于一身。

618
00:22:45.600 --> 00:22:50.000
so our goal really is to help accelerate
因此，我们的目标是帮助加快

619
00:22:47.600 --> 00:22:52.080
the useful work that is done to help it
有用的工作进度，从而让

620
00:22:50.000 --> 00:22:53.280
be so there's more software engineers in

621
00:22:52.080 --> 00:22:55.200
the world so that there's more
世界上有更多的软件工程师，从而完成更多

622
00:22:53.280 --> 00:22:57.280
programming that is done uh that is

623
00:22:55.200 --> 00:22:59.200
useful and and able to move forward move
有用的编程工作，并推动

624
00:22:57.280 --> 00:23:00.080
forward the world. So we're just so
世界向前发展。 我们非常

625
00:22:59.200 --> 00:23:02.710
excited to see what you're going to do
期待看到你们将如何利用

626
00:23:00.080 --> 00:23:05.979
with codeex. Thank you all.
Codeex。 谢谢大家。

627
00:23:02.710 --> 00:23:05.979
[Music]
[音乐]
