WEBVTT

1
00:00:00.000 --> 00:00:02.700
I've been a huge fan of Codex for a

2
00:00:02.730 --> 00:00:05.080
lot of last year. Really dramatically

3
00:00:05.110 --> 00:00:07.940
changed how I work, how I build

4
00:00:07.970 --> 00:00:10.040
software, and the app has been another

5
00:00:10.070 --> 00:00:12.300
step change, and it's made my job even

6
00:00:12.330 --> 00:00:14.000
more fun. I trust that it's going to

7
00:00:14.030 --> 00:00:15.340
make a lot more progress in one go

8
00:00:15.370 --> 00:00:16.900
without, you know, babysitting or

9
00:00:16.930 --> 00:00:19.300
handholding. And especially its

10
00:00:19.330 --> 00:00:20.840
improved ability to validate the work

11
00:00:20.870 --> 00:00:23.100
that it's done to write the code and

12
00:00:23.130 --> 00:00:25.500
then, like, automatically run tests or

13
00:00:25.530 --> 00:00:28.180
even launch the app and do checks like

14
00:00:28.210 --> 00:00:30.240
that. It means that when I get back to

15
00:00:30.270 --> 00:00:32.060
that session and it says that it's

16
00:00:32.090 --> 00:00:34.460
done, a lot more of a time, you know,

17
00:00:34.720 --> 00:00:36.420
it's not just, hey, I wrote a bunch of

18
00:00:36.450 --> 00:00:38.160
code and now, you know, you have to

19
00:00:38.190 --> 00:00:39.720
build compiler errors or whatever it

20
00:00:39.750 --> 00:00:42.080
is. But actually, you know, this code

21
00:00:42.110 --> 00:00:43.640
works and, you know, might need some

22
00:00:43.670 --> 00:00:46.140
refactoring or polishing, but, you

23
00:00:46.170 --> 00:00:47.600
know, I can immediately start testing

24
00:00:47.630 --> 00:00:48.900
this thing that I asked to build. And

25
00:00:48.930 --> 00:00:50.840
that's been just transformative for

26
00:00:50.870 --> 00:00:53.720
all sorts of work. So this is a

27
00:00:53.750 --> 00:00:55.720
task where I've been doing a little

28
00:00:55.750 --> 00:00:58.340
refactoring related to logging. And

29
00:00:58.370 --> 00:01:00.640
this is one of those tasks where Codex

30
00:01:00.670 --> 00:01:02.360
can really excel because there is,

31
00:01:02.580 --> 00:01:04.260
it's not a complicated task, but

32
00:01:04.290 --> 00:01:05.760
it does, it did require modifying a

33
00:01:05.790 --> 00:01:08.140
lot of files. And there was also a bit

34
00:01:08.170 --> 00:01:09.860
of risk where you're modifying, you

35
00:01:09.890 --> 00:01:11.840
know, sort of a crucial component of

36
00:01:11.870 --> 00:01:13.120
the app where our regression in this

37
00:01:13.150 --> 00:01:15.260
case would have meant our logs stop

38
00:01:15.290 --> 00:01:16.780
working and, you know, our

39
00:01:16.810 --> 00:01:19.340
observability pipeline breaks, right?

40
00:01:19.400 --> 00:01:21.740
So our ability to see the logs in the

41
00:01:21.770 --> 00:01:23.340
beta version of the app so we can

42
00:01:23.370 --> 00:01:25.560
diagnose back reports would break. So

43
00:01:25.590 --> 00:01:27.560
then the way that I would have done

44
00:01:27.590 --> 00:01:29.260
this before Codex is, you know, I've

45
00:01:29.290 --> 00:01:30.680
made a change. I'm going to compile

46
00:01:30.710 --> 00:01:33.080
the app and run it and look if the

47
00:01:33.110 --> 00:01:34.640
logs are there, right? So in this

48
00:01:34.670 --> 00:01:36.700
case, I just told the model and we can

49
00:01:36.730 --> 00:01:39.000
give that a try. I can see it using

50
00:01:39.030 --> 00:01:41.480
our logs tool

51
00:01:42.980 --> 00:01:45.480
and it's querying some logs. It ran

52
00:01:45.510 --> 00:01:48.580
the app and then it tried

53
00:01:48.610 --> 00:01:51.760
to find the session ID by

54
00:01:51.790 --> 00:01:54.180
writing some Python code. It found

55
00:01:54.210 --> 00:01:56.700
right here. Nice. And then now it's

56
00:01:56.730 --> 00:01:59.860
using the old logs MCP to go

57
00:01:59.890 --> 00:02:01.920
and query that. Yeah, so I just came

58
00:02:01.950 --> 00:02:03.980
back to our conversation and the

59
00:02:04.010 --> 00:02:05.640
model's telling me that it ran the

60
00:02:05.670 --> 00:02:06.820
command that I told it, it found the

61
00:02:06.850 --> 00:02:08.540
session ID and then it ran this and it

62
00:02:08.570 --> 00:02:11.720
found some logs statement. So I can

63
00:02:11.750 --> 00:02:14.120
tell that after our refactor, you

64
00:02:14.150 --> 00:02:15.320
know, logs are still being piked. So

65
00:02:15.350 --> 00:02:17.220
awesome. That's a piece of work that

66
00:02:17.250 --> 00:02:18.660
it just takes to me. That's very cool.

67
00:02:18.820 --> 00:02:20.440
Like 10 minutes on this task.


