ChatGPT Containers can now run bash, pip/npm install packages and download files 6 months ago
The most accessible way to start experimenting would be the Ralph loop: https://github.com/anthropics/claude-code/tree/main/plugins/...
You could also work backwards from this paper: https://arxiv.org/abs/2512.18470