WEBVTT

1
00:00:00.080 --> 00:00:04.400
And we'll roll in those cameras.

2
00:00:03.360 --> 00:00:05.279
>> Great. Thank you.

3
00:00:04.400 --> 00:00:07.440
>> Yeah.

4
00:00:05.279 --> 00:00:09.440
>> Hey everyone, I'm Roma. We've been

5
00:00:07.440 --> 00:00:11.679
steadily improving Codex to make it feel

6
00:00:09.440 --> 00:00:13.679
like a more capable and reliable coding

7
00:00:11.679 --> 00:00:15.519
collaborator. And for us, it's very

8
00:00:13.679 --> 00:00:17.520
important for Codex to be everywhere you

9
00:00:15.519 --> 00:00:19.920
work. And that's why we launched an ID

10
00:00:17.520 --> 00:00:21.520
extension. You can now have codeex right

11
00:00:19.920 --> 00:00:23.279
in your code editor, whether it's like

12
00:00:21.520 --> 00:00:25.199
VS Code, Cursor, Windsor, or many

13
00:00:23.279 --> 00:00:26.800
others. And with me today, I have

14
00:00:25.199 --> 00:00:28.800
Gabriel, engineering lead on the

15
00:00:26.800 --> 00:00:30.480
extension to give us a quick tour. We on

16
00:00:28.800 --> 00:00:32.399
the team have been working really hard

17
00:00:30.480 --> 00:00:33.760
to bring lots of new things to Codex and

18
00:00:32.399 --> 00:00:37.640
I can't wait to show you.

19
00:00:33.760 --> 00:00:37.640
>> Amazing. Let's dive in.

20
00:00:37.920 --> 00:00:42.879
>> So, I'm working on this OpenA FM project

21
00:00:40.640 --> 00:00:44.879
and I noticed that it's using service

22
00:00:42.879 --> 00:00:47.200
workers. There's this interesting return

23
00:00:44.879 --> 00:00:50.239
clause. I'm going to go over to Codeex

24
00:00:47.200 --> 00:00:52.719
and just ask it why. So, what is this

25
00:00:50.239 --> 00:00:55.360
clause for? You'll notice that there's

26
00:00:52.719 --> 00:00:56.960
an autoc context button that tells

27
00:00:55.360 --> 00:00:58.000
codeex everything that I've recently

28
00:00:56.960 --> 00:00:59.199
done in my IDE.

29
00:00:58.000 --> 00:01:01.199
>> So what that means here is that

30
00:00:59.199 --> 00:01:02.800
basically you're using GPD5 codeex the

31
00:01:01.199 --> 00:01:04.479
new model we launched but you're kind of

32
00:01:02.800 --> 00:01:05.600
like I'm guessing prompting it a little

33
00:01:04.479 --> 00:01:07.840
differently when you're in the

34
00:01:05.600 --> 00:01:10.000
>> ID. Exactly. Exactly. So in this case

35
00:01:07.840 --> 00:01:12.000
I've just said what is this clause for?

36
00:01:10.000 --> 00:01:13.760
And it said it short circuits the effect

37
00:01:12.000 --> 00:01:15.840
when the browser doesn't support service

38
00:01:13.760 --> 00:01:17.280
workers which makes sense. If it

39
00:01:15.840 --> 00:01:19.280
determines that something is easy or a

40
00:01:17.280 --> 00:01:20.799
simple chat prompt it'll usually respond

41
00:01:19.280 --> 00:01:22.720
pretty quickly. Why don't you gonna

42
00:01:20.799 --> 00:01:24.880
navigate the codebase a little bit and

43
00:01:22.720 --> 00:01:27.360
um let's pick something to implement.

44
00:01:24.880 --> 00:01:29.200
>> Great. This button component happens to

45
00:01:27.360 --> 00:01:29.840
have a to-do to add a hover state.

46
00:01:29.200 --> 00:01:31.600
>> Yep.

47
00:01:29.840 --> 00:01:32.960
>> And if you have codeex installed, it

48
00:01:31.600 --> 00:01:34.880
will give you an opportunity to

49
00:01:32.960 --> 00:01:37.360
implement any to-do comments with

50
00:01:34.880 --> 00:01:39.280
codeex. So if I click it, it's going to

51
00:01:37.360 --> 00:01:41.600
kick off a local conversation and give

52
00:01:39.280 --> 00:01:42.000
Codex all the context it needs to fix

53
00:01:41.600 --> 00:01:43.680
this.

54
00:01:42.000 --> 00:01:46.079
>> That's awesome. So anyone that has like

55
00:01:43.680 --> 00:01:47.920
any to-dos or any task in their backlog

56
00:01:46.079 --> 00:01:49.680
can just like start sending them over to

57
00:01:47.920 --> 00:01:51.200
Codeex. Yeah, that's right.

58
00:01:49.680 --> 00:01:52.960
>> Can you show us a little bit like what's

59
00:01:51.200 --> 00:01:54.720
happening behind the scenes now?

60
00:01:52.960 --> 00:01:56.560
>> So behind the scenes when you ask Codeex

61
00:01:54.720 --> 00:01:58.320
to do something, it starts exploring

62
00:01:56.560 --> 00:01:59.840
your codebase and running commands and

63
00:01:58.320 --> 00:02:02.479
you can see its progression as it's

64
00:01:59.840 --> 00:02:04.000
going along. First, it's reading code

65
00:02:02.479 --> 00:02:07.280
and then when it decides to run

66
00:02:04.000 --> 00:02:09.039
commands, it runs in a safe sandbox that

67
00:02:07.280 --> 00:02:12.000
ensures that it's not going to modify

68
00:02:09.039 --> 00:02:13.520
files outside of your project. And if

69
00:02:12.000 --> 00:02:15.360
the model ever needs to do something

70
00:02:13.520 --> 00:02:17.200
that it thinks it can't run successfully

71
00:02:15.360 --> 00:02:19.360
in the sandbox, it can ask you for

72
00:02:17.200 --> 00:02:21.200
permission. It explored the codebase. It

73
00:02:19.360 --> 00:02:23.040
updated the button and then it made a

74
00:02:21.200 --> 00:02:24.959
bunch of changes at the end. You can

75
00:02:23.040 --> 00:02:27.120
then review the changes right in your

76
00:02:24.959 --> 00:02:28.000
IDE to see all the changes it made in

77
00:02:27.120 --> 00:02:30.160
one place. Y

78
00:02:28.000 --> 00:02:30.800
>> but I think we should just go see if it

79
00:02:30.160 --> 00:02:32.480
worked.

80
00:02:30.800 --> 00:02:34.080
>> Let's do it. Moment of truth.

81
00:02:32.480 --> 00:02:35.519
>> Hop over to the browser and I'm going to

82
00:02:34.080 --> 00:02:37.680
hover over these buttons. And as you can

83
00:02:35.519 --> 00:02:39.599
see, there's a nice subtle hover state

84
00:02:37.680 --> 00:02:41.200
where it the shadow expands, the card

85
00:02:39.599 --> 00:02:42.640
shifts up a little bit. I was looking

86
00:02:41.200 --> 00:02:44.400
around the the site and I noticed that

87
00:02:42.640 --> 00:02:46.239
there's a few other elements that also

88
00:02:44.400 --> 00:02:47.680
don't have a hover state. So, what I'm

89
00:02:46.239 --> 00:02:49.840
going to do now is I'm going to take

90
00:02:47.680 --> 00:02:51.680
this conversation we just had and I'm

91
00:02:49.840 --> 00:02:53.840
going to move it from local into the

92
00:02:51.680 --> 00:02:56.640
cloud. And this is going to use codeex

93
00:02:53.840 --> 00:02:58.480
in the cloud to continue this task

94
00:02:56.640 --> 00:02:59.840
without taking over my computer.

95
00:02:58.480 --> 00:03:01.360
>> I think it's like completely changing

96
00:02:59.840 --> 00:03:03.200
the way we think about engineering,

97
00:03:01.360 --> 00:03:05.200
right? Because you can start like a task

98
00:03:03.200 --> 00:03:07.120
locally upload it to your teammate in

99
00:03:05.200 --> 00:03:08.159
the cloud to just take care of it.

100
00:03:07.120 --> 00:03:10.319
>> That's really magical.

101
00:03:08.159 --> 00:03:11.840
>> Exactly. And so this is going in the

102
00:03:10.319 --> 00:03:13.760
cloud. It's going to include the changes

103
00:03:11.840 --> 00:03:15.920
we just had locally, but we can come

104
00:03:13.760 --> 00:03:17.840
back to it later. So we can stash our

105
00:03:15.920 --> 00:03:19.120
changes or even throw them away and

106
00:03:17.840 --> 00:03:20.080
bring them back from the remote tasks

107
00:03:19.120 --> 00:03:21.760
later if we want.

108
00:03:20.080 --> 00:03:23.599
>> Amazing. So this was a very like simple

109
00:03:21.760 --> 00:03:26.239
task that you showed us. I'd like to see

110
00:03:23.599 --> 00:03:28.319
like Codeex take some like initiatives

111
00:03:26.239 --> 00:03:30.080
in terms of the design direction or the

112
00:03:28.319 --> 00:03:30.799
I don't know like features or layout of

113
00:03:30.080 --> 00:03:32.640
the app.

114
00:03:30.799 --> 00:03:35.360
>> So what I'm going to do now is I'm going

115
00:03:32.640 --> 00:03:35.760
to change my IDE settings to run it in

116
00:03:35.360 --> 00:03:36.640
the cloud.

117
00:03:35.760 --> 00:03:38.319
>> Yep.

118
00:03:36.640 --> 00:03:40.159
>> And this time this is going to be a new

119
00:03:38.319 --> 00:03:43.200
task. I don't need it to use my local

120
00:03:40.159 --> 00:03:46.400
changes or IDE context, but I'm going to

121
00:03:43.200 --> 00:03:47.760
ask it to add a button to the header to

122
00:03:46.400 --> 00:03:49.120
make a really interesting thing,

123
00:03:47.760 --> 00:03:50.640
something fun. It's like not just like

124
00:03:49.120 --> 00:03:53.519
dark mode, something more interesting

125
00:03:50.640 --> 00:03:55.440
than that. And next to it, I can tell

126
00:03:53.519 --> 00:03:57.360
Codeex how many times I want it to

127
00:03:55.440 --> 00:04:00.480
attempt this task. So, you just gave

128
00:03:57.360 --> 00:04:02.319
those instructions and Codeex Cloud is

129
00:04:00.480 --> 00:04:04.640
going to work separately four different

130
00:04:02.319 --> 00:04:06.080
times with maybe coming up with four

131
00:04:04.640 --> 00:04:07.040
different opportunities to solve that

132
00:04:06.080 --> 00:04:08.720
problem.

133
00:04:07.040 --> 00:04:10.319
>> Exactly. Exactly. I mean, it's it's

134
00:04:08.720 --> 00:04:11.760
pretty amazing to watch Codeex work.

135
00:04:10.319 --> 00:04:13.439
Every single attempt is going to be a

136
00:04:11.760 --> 00:04:14.959
little bit different. In fact, we we

137
00:04:13.439 --> 00:04:17.040
even have Codeex currently working on

138
00:04:14.959 --> 00:04:18.720
the hover states and the theme at the

139
00:04:17.040 --> 00:04:21.040
same time. I could even have another

140
00:04:18.720 --> 00:04:22.240
conversation going locally if I wanted.

141
00:04:21.040 --> 00:04:23.680
>> I'm curious, by the way, in your own

142
00:04:22.240 --> 00:04:24.960
personal experience, like how has that

143
00:04:23.680 --> 00:04:27.520
changed your workflow?

144
00:04:24.960 --> 00:04:29.520
>> It's a good question. Um, back when we

145
00:04:27.520 --> 00:04:31.440
were launching Codex Web, it was like

146
00:04:29.520 --> 00:04:33.600
1:30 in the morning and we were trying

147
00:04:31.440 --> 00:04:36.000
to get this really fun Lahi animation to

148
00:04:33.600 --> 00:04:38.880
animate whenever you submit a new

149
00:04:36.000 --> 00:04:40.720
conversation in Codex. Um, and it worked

150
00:04:38.880 --> 00:04:42.639
perfectly locally, but when we pushed it

151
00:04:40.720 --> 00:04:45.120
into production, all of the Lah

152
00:04:42.639 --> 00:04:47.280
animations except for this one wouldn't

153
00:04:45.120 --> 00:04:50.320
work. So, we asked Codex to attempt it

154
00:04:47.280 --> 00:04:51.919
four times. Three of them did not work,

155
00:04:50.320 --> 00:04:54.400
but one of them figured out this very

156
00:04:51.919 --> 00:04:56.240
obscure content security policy issue

157
00:04:54.400 --> 00:04:57.680
that was preventing some inline

158
00:04:56.240 --> 00:04:59.759
JavaScript that happens to be in that

159
00:04:57.680 --> 00:05:00.880
one animation from working and it saved

160
00:04:59.759 --> 00:05:02.320
that aspect of the launch.

161
00:05:00.880 --> 00:05:05.120
>> That's incredible. So I guess for like

162
00:05:02.320 --> 00:05:06.720
very nasty or complex like bugs or like

163
00:05:05.120 --> 00:05:08.400
you know things that you're kind of like

164
00:05:06.720 --> 00:05:10.000
struggling to find out, this is exactly

165
00:05:08.400 --> 00:05:10.639
the kind of thing that Codex can take a

166
00:05:10.000 --> 00:05:10.960
look at.

167
00:05:10.639 --> 00:05:12.479
>> Exactly.

168
00:05:10.960 --> 00:05:14.479
>> Like even like look at it from different

169
00:05:12.479 --> 00:05:16.479
angles, try different perspectives.

170
00:05:14.479 --> 00:05:18.240
>> Exactly. And I I'll use it for planning,

171
00:05:16.479 --> 00:05:20.160
even planning or working on a

172
00:05:18.240 --> 00:05:21.759
complicated refactor where I don't even

173
00:05:20.160 --> 00:05:23.759
know exactly what I want, but I'll have

174
00:05:21.759 --> 00:05:25.280
Codeex take multiple attempts. And

175
00:05:23.759 --> 00:05:26.800
sometimes I'll take the best aspects of

176
00:05:25.280 --> 00:05:28.720
each one. That's really cool. So, what's

177
00:05:26.800 --> 00:05:30.080
going on now with those four tasks?

178
00:05:28.720 --> 00:05:31.840
>> Okay, let's take a look at this. So, we

179
00:05:30.080 --> 00:05:33.759
have attempt number one. I'm just going

180
00:05:31.840 --> 00:05:35.600
to go ahead and apply it. See what

181
00:05:33.759 --> 00:05:36.960
happens. And go over to the browser. And

182
00:05:35.600 --> 00:05:38.000
you can see

183
00:05:36.960 --> 00:05:38.880
>> Oh, wow.

184
00:05:38.000 --> 00:05:41.680
>> Oh my gosh.

185
00:05:38.880 --> 00:05:42.720
>> That's very, very good actually. Very

186
00:05:41.680 --> 00:05:44.400
creative. Okay.

187
00:05:42.720 --> 00:05:45.280
>> I've never seen that before. the same.

188
00:05:44.400 --> 00:05:46.800
Let's see what else it did.

189
00:05:45.280 --> 00:05:48.479
>> Let's Let's take a look at the next one.

190
00:05:46.800 --> 00:05:50.240
>> So, I'm going to revert that one and

191
00:05:48.479 --> 00:05:51.199
then I'm going to apply attempt number

192
00:05:50.240 --> 00:05:52.800
two.

193
00:05:51.199 --> 00:05:54.160
>> Oh, yeah. The entire theme has already

194
00:05:52.800 --> 00:05:56.639
changed. Interesting. Okay.

195
00:05:54.160 --> 00:05:58.639
>> Uh let's take a look at the next one.

196
00:05:56.639 --> 00:06:00.479
>> Wa. That's pretty cool. I'm guessing

197
00:05:58.639 --> 00:06:02.320
like conversely to what we did right

198
00:06:00.479 --> 00:06:04.560
before, now you can take any of these

199
00:06:02.320 --> 00:06:06.000
cloud tasks, check them out locally, and

200
00:06:04.560 --> 00:06:06.560
keep working locally in your code

201
00:06:06.000 --> 00:06:06.960
editor.

202
00:06:06.560 --> 00:06:08.880
>> Exactly.

203
00:06:06.960 --> 00:06:10.639
>> That's very magical. Gabriel, before we

204
00:06:08.880 --> 00:06:12.080
wrap, like can you check on the status

205
00:06:10.639 --> 00:06:13.520
of that task that you sent at the

206
00:06:12.080 --> 00:06:15.520
beginning that you started locally and

207
00:06:13.520 --> 00:06:18.080
then like offloaded to Codexcloud?

208
00:06:15.520 --> 00:06:20.160
>> Looks like it's done. If I open up the

209
00:06:18.080 --> 00:06:21.840
hover state task that we kicked off, I

210
00:06:20.160 --> 00:06:24.400
can see now that it's modified a few

211
00:06:21.840 --> 00:06:26.160
additional files. And if I apply the

212
00:06:24.400 --> 00:06:29.600
changes locally and then go to the

213
00:06:26.160 --> 00:06:31.600
browser, you'll see that it added hover

214
00:06:29.600 --> 00:06:33.280
states for a couple new items. The start

215
00:06:31.600 --> 00:06:35.039
building button now has a slight hover

216
00:06:33.280 --> 00:06:35.759
state as well as the switch in the top

217
00:06:35.039 --> 00:06:38.479
right corner.

218
00:06:35.759 --> 00:06:40.319
>> Amazing. Thanks, Gabriel. Well, we hope

219
00:06:38.479 --> 00:06:42.639
this gave you a quick tour of how you

220
00:06:40.319 --> 00:06:44.800
can use codeex directly in your code

221
00:06:42.639 --> 00:06:46.880
editor now with the extension. It's all

222
00:06:44.800 --> 00:06:48.400
included in your Chad GPT subscription.

223
00:06:46.880 --> 00:06:50.639
In order to download the extension, you

224
00:06:48.400 --> 00:06:52.080
can go to opener.com/codex or simply

225
00:06:50.639 --> 00:06:54.319
look for codeex in your extension

226
00:06:52.080 --> 00:06:58.120
marketplace. With that, thank you and we

227
00:06:54.319 --> 00:06:58.120
can't wait to see what you build.


