Show HN: An agent skill that optimizes code with falsifiable hypotheses chszlab....

@show

Show HN: An agent skill that optimizes code with falsifiable hypotheses chszlab.github.io · 3 points · 0 comments · HN thread

TL;DR The Algorithm Engineering Group at Heidelberg University released AAE, a skill for Claude Code and Codex that lets an autonomous agent optimize existing code the way an algorithm engineer would. Each change starts with a falsifiable hypothesis, is checked against correctness assertions, and is kept only if the benchmark improves; accepted changes come out as reviewable patches plus a PDF session report. The page lists speedups on graph and flow libraries such as VieCut, KaHIP and ParHIP. The thread has no comments yet.

  • AAE runs an agent through the Algorithm Engineering cycle: hypothesis, minimal change in Git, benchmark, keep or revert.
  • Setup requires agreeing with the agent on the benchmark, metric, correctness assertions and budget before it runs on its own.
  • Reported results include 8.9x faster exact minimum cut (VieCut), 3.9x for KaHIP kaffpa, 3.0x for Hochbaum's pseudoflow max flow, and 1.61x for ParHIP, each with correctness checks against the original output.
  • Each accepted change becomes one patch in patches/ with its hypothesis; a PDF report covers the session.
  • Installation: a Claude Code plugin install command, or a Codex skill installed via scripts/install_codex_skill.py and invoked with $aae; a 10-minute quick-start example is included.
  • A shared knowledge base collects optimization techniques and results that agents read before starting.

Discussion The Show HN post has no comments yet, so there is no discussion to summarize. The submission has 3 points.

#AIagents #algorithmEngineering #codeOptimization #ClaudeCode #showHN