# Gepetto

An IDA Pro plugin that queries large language models to explain what a decompiled function does and to automatically rename its variables.

Gepetto is a Python plugin for IDA Pro (7.6 and later) that uses large language models to add meaning to functions decompiled by IDA's Hex-Rays decompiler. It asks a configured model to explain what a function does and can automatically rename its variables based on that explanation.

It installs either through the Hex-Rays CLI tool, which places it directly into the IDA user's plugins folder, or by manually copying the plugin script into that folder and installing its Python dependencies into IDA's own interpreter. Configuration, including API keys, lives in a config file inside the IDA user directory so it survives plugin upgrades. It supports several Anthropic, OpenAI and Google Gemini models, selected by name in that configuration.

It is released under the GPL-3.0 license.

Website: https://github.com/JusticeRage/Gepetto
