Re:New tools for building agents
by theuppermiddle on Tuesday March 11, 2025 @06:00PM
(#43337528)
Does the SDK allow executing Python code generated in some sort of sandbox? If not are there any open source library which does this for us?
I would ideally like the state of the code executed, including return values, available for the entire chat session, like IPython, so that subsequent LLM generated code can use them.
[ Parent
| on HN ]
Yeah, OpenInterpreter does this (you are not limited to OpenAI only):
https://github.com/OpenInterpreter/open-interpreter
I wrote a wrapper around it that works in a web browser (you'll need an OpenAI API key): https://github.com/uhsealevelcenter/IDEA