‘Wolverine’ experiment: Python developer creates “self-healing” programs that fix themselves thanks to AI

Wolverine hero character sitting and typing on a terminal keyboard

Debugging a faulty program can be frustrating, so why not let AI do it for you? That’s what a developer that goes by “BioBootloader” did by creating Wolverine, a program that can give Python programs “regenerative healing abilities,” reports Hackaday. (Yep, just like the Marvel superhero.)

“Run your scripts with it and when they crash, GPT-4 edits them and explains what went wrong,” wrote BioBootloader in a tweet that accompanied a demonstration video. “Even if you have many bugs it’ll repeatedly rerun until everything is fixed.”

The code is available on GitHub, and the developer says the technique could be applied to other programming languages.

Hopefully the AI script is also self-healed. It will be interesting to see how this plays out in operational environments in the future.

See https://arstechnica.com/information-technology/2023/04/developer-creates-self-healing-programs-that-fix-themselves-thanks-to-gpt-4/