Code Interpreter == GPT 4.5 (w/ Simon Willison, Alex Volkov, Aravind Srinivas, Alex Graveley, et al.) artwork

Code Interpreter == GPT 4.5 (w/ Simon Willison, Alex Volkov, Aravind Srinivas, Alex Graveley, et al.)

Latent Space: The AI Engineer Podcast

July 10, 2023

Code Interpreter is GA! As we do with breaking news, we convened an emergency pod and >17,000 people tuned in, by far our most biggest ever. This is a 2-for-1 post - a longform essay with our trademark executive summary and core insights - and a podcast capturing day-after reactions.
Speakers: Alex Volkov, Simon Willison, Alex Graveley, Surya, Daniel, Gabriel Cohen, Lenny, Shyamal, Alex Reibman, Aravind Srinivas, Carl, Junaid
**Alex Volkov** (0:00)
So, hey, everyone in the audience. There's a lot of you, and there's gonna be more.
And if you pay for ChatGPT, you now have access. And I think Logan confirmed on Threads that now every 100% of people who pay have access. So it's like a public release right now. You now have access to a new beta feature. If you look up on top on the Jumbotron, I think one of the first tweets there, there's a quick video for those of you. But if you don't want to, just go to Settings on ChatGPT, go to Beta Features and Enable Code Interpreter. Just hit the little toggle there and you'll have access under GPT-4. You'll have access to a new code interpreter, AbleGPT-4, which does amazing things. And we're going to talk about many of these things. I think the highlight of the things is it's able to intake a file, so you can upload the file, which none of us were able to before.
It's able to then run code in a secure environment, which we're going to talk about which code it runs, what it can do and different ways to use that code. Everybody here on stage is going to cover that.
And the third and incredible thing that it can do is let you download files, which is also new for ChatGPT. You can ask it to generate a file, you get a link, you click that link and you download the file. And I think this is what we're here to talk about. I think there's a lot that can be done with this. It's incredible. Some people have had access to this for a while, like Simon, and some people are brand new and very excited.

**Simon Willison** (1:18)
Yeah, I've had this for a couple of months, at least, I think. And honestly, I've been using it almost every day.
I think it's the most exciting tool in AI at the moment, which is a big statement, which I am willing to defend. Because it gives you so many capabilities that ChatGPT, and even ChatGPT with plugins doesn't really touch on, especially if you know how to use it. If you're an experienced developer, you can make this thing fly. If you're not, it turns out you can do amazing things with it as well. Yeah, it's a really powerful tool.

**Alex Volkov** (1:50)
So data analysis we've talked about, and I think you've written some of this on your blog as well. Can you take us into the data analysis?

**SPEAKER_3** (1:57)
Simon has tried a lot of exploits, including some that have since been banned. And I like to explore a little bit of that history. And I've been spending the last day, because I only also got access yesterday. I was spending the last day documenting everything. So I just published my research notes, which is also now up on the Trombotron. But I wanted to just let Simon talk about what it was like in the early days.

**Simon Willison** (2:17)
Sure. So in the early days, back those few weeks ago. Yeah. So Code Interpreter, I think everyone understands what it does now. It writes code, which ChatGPT has been able to do for ages, but it can also then run that code and show you the results.
The most interesting thing about it is that it can run that code on a loop. So it can run the code and get an error and go, I can fix it out and try it again. I've had instances where it's tried four or five times before it got to the right solution by writing the code, getting an error, thinking about it, writing the code again. It's kind of fun to just watch it and watch it stumbling through different things. But yeah, in addition to running code, the other thing it can do is you can upload files into it and you can download files back out of it again.
The number of files it supports is pretty astonishing. The easy thing is you upload like a CSV file or something and it will start doing analysis. But it can handle anything that Python can handle for its standard library, and Python standard library includes SQLite. So I've uploaded SQLite database files to it, and it's just started analyzing them and running SQL queries and so forth. It can generate a SQLite file for you to download again. So if you're very SQLite oriented as I am, then it's this amazing multi-tool for feeding it SQLite, getting SQLite back out again.
It's got a bunch of other libraries built in. It's got pandas built in, so it can do all of that kind of stuff. It has matplotlib that it can use to generate graphs. A feature that they seem to have disabled, which I'm really frustrated about, is for a while, you could upload new Python packages to it. If it runs some code and said, oh, I'm sorry, I don't have access to this library, you could go to the Python Package Index, download the wheel file for that library, upload it into Code Interpreter and go, oh, a Python wheel, I'll install that and-

121 more minutes of transcript below

Feed this to your agent

Try it now — copy, paste, done:

curl -H "x-api-key: pt_demo" \
  https://spoken.md/transcripts/1000651996090

Works with Claude, ChatGPT, Cursor, and any agent that makes HTTP calls.

From $0.10 per transcript. No subscription. Credits never expire.

Using your own key:

curl -H "x-api-key: YOUR_KEY" \
  https://spoken.md/transcripts/1000620628400