AAE - Agent skill that optimizes code with falsifiable hypotheses
Show HN: An agent skill that optimizes code with falsifiable hypotheses

AAE (Agentic Algorithm Engineering) is a skill for Claude Code and Codex from the Algorithm Engineering Group at Heidelberg University that turns autonomous agents into disciplined algorithm engineers. Before every experiment, the agent states a falsifiable hypothesis with a predicted effect; after every change, it checks correctness against assertions you agreed on, keeps only improvements, and commits one reviewable Git patch per accepted change. Sessions end with a PDF report charting each hypothesis, measurement, and verdict. On real open-source codes it delivered 8.9x faster VieCut, 3.9x faster KaHIP kaffpa, and 3.0x faster maximum flow — all with unchanged outputs. A 10-minute quick-start example is available to try it.
Agents that optimize your code like an algorithm engineer: a falsifiable hypothesis before every experiment, correctness checked after every change, one reviewable patch per accepted change, and a PDF report of the whole session.
- tomcatfish
The example report is a good demo:
https://github.com/CHSZLab/AgenticAlgorithmEngineering/blob/...
- tikimcfee
Looking forward to passing this to my little fleet of specialists. Anything that helps to articulate the process of optimization through rigor is alright with me.
- octoberfranklin
Most of these "falsifiable hypotheses" implicitly mean "for all inputs" -- or they would, if stated formally. This is a $\Pi_1$ condition, which is not in fact falsifiable by executing the code -- you'd need to execute it for infinitely many inputs!
Presumably you're stochastically approximating the real goal hypothesis. You should be more forthright about this; your AI-generated page really sweeps it under the rug.