Comment by vallode
1 year ago
I believe that Claude has been running JavaScript code for itself for a bit now[1]. I could have sworn it also runs Python code, but I cannot find any post concretely describing it. I've seen it "iterate" on code by itself a few times now, where it will run a script, maybe run into an error, and instantly re-write it to fix that error.
Gemini can run Python using the Code Execution or Function Calling APIs.
https://ai.google.dev/gemini-api/docs/code-execution