Wolverine Experimental Project Uses AI to “Regenerate” Code on the Fly

Developer BioBootloader has unveiled an AI-powered Wolverine experimental project that gives Python programs “the ability to regenerate,” just like the Marvel superhero of the same name.

To fix the code, Wolverine uses the GPT-4 language model.

Run your scripts with it, and if they crash, GPT-4 edits them and explains what went wrong. Even if you have a lot of errors, it will restart until everything is fixed.BioBootloader explains on Twitter.

By the way, meanwhile Strange Enthusiasts Asked ChaosGPT to Destroy Humanity and Establish World Domination.

You might also be interested (and not so scared) to know what DJI Drones Reveal Their Pilot’s Location is, and also what Google Tag Manager Is Used to Implement Web Skimmers on E-Commerce Sites.

In the demo video, the BioBootloader developer shows a window with Python code on the left and Wolverine output on the right. It loads its own calculator script, which has a few bugs on purpose, and then executes it.

[Wolverine] launches it, sees a failure, and then turns to GPT-4 to try and figure out how to fix it.says BioBootloader.

Finally, GPT-4 returns an explanation of the errors found, shows the changes it is trying to make, and then restarts the program. Having found new errors, the AI again corrects the code, which eventually works correctly, and as a result, the source file contains the changes made by Wolverine.

The project code is already available on GitHub, and the developer says the technique can be applied to other programming languages as well.

Wolverine requires an OpenAI API key for GPT-3.5 or GPT-4, which is available by subscription only. The GPT 3.5 API is currently open to anyone with an OpenAI account, however access to GPT-4 is still limited to a waiting list.

About the author

Carina Wilson

With over 10 years' experience of writing for online and print media, I'm an expert in delivering clear and compelling copy.

I've written for a leading SEO copywriting agency as well as writing for some of the UK’s best known brands, magazines and newspapers.

Leave a Comment