a noelo lab project
An agent-first decompiler.
Kuna is a self-refining decompiler built to be used by agents. It is based on the Ghidra decompiler, written in Rust, and integrates modern features from other open-source decompilers and research. Kuna is an experiment to see how far agents can take self-refining tools.
- built on Rust · SLEIGH
- runs in CLI · the browser (wasm) · Ghidra GUI (extension)
- license Apache‑2.0
compare
The same function out of the same binary: Kuna on the left, another decompiler (or the original source) on the right.
Not recorded yet.
No output committed for this decompiler on this sample.
Add it in compare-samples.js.
goals
This project optimizes for three specific goals.
-
01
Autonomous Refinement
LLM agents should drive the majority or all of code writing in Kuna, supported by a dataset which directs the models towards quality metrics. As such, code is optimized to be used, read, and modified by agents, as well as debugged in the context of big dataset competitions like DecBench.
-
02
LLM-Facing
LLMs are likely to become the main consumers of decompiled code in the future. As such, Kuna optimizes to be read by LLMs. That means GUI development is largely untouched and UX is on the lower side of priorities for this project. This also means decompilation text quality and speed are our top priority.
-
03
Tunable
Based on recent research in decompilation, not all decompiler features are always good. Some are useful in only specific contexts. As such, every feature is developed in this context: is it always good? How can we know? Can it be enabled dynamically and robustly?