Heidelberg University’s Algorithm Engineering Group released Agentic Algorithm Engineering. It is a skill for Claude Code and Codex. The agent runs an algorithm engineering cycle on existing code. It starts with a falsifiable hypothesis for each change. It checks correctness after every modification. It produces one reviewable patch per accepted change. It generates a PDF report of the session. The KaHIP kaffpa session ran 122 experiments and delivered 41 patches. It achieved a 3.9x speedup with unchanged partition quality. VieCut saw an 8.9x speedup with every cut unchanged. KaHIP ultra reduced cut sizes by 2.2% under the same balance rule. Hochbaum’s pseudoflow ran 3.0x faster with verified flow values. FREIGHT, ParHIP, and ScalableCorrelationClustering also improved.
What changed
Code optimization required manual hypothesis testing, benchmarking, and patch review by algorithm engineers.
What it unlocks
Autonomous code optimization with falsifiable hypotheses, correctness checks, and reviewable patches for existing codebases.
- 8.9x faster on VieCut
- 3.9x faster on KaHIP kaffpa
- 2.2% smaller cuts on KaHIP ultra
- 3.0x faster on Hochbaum's pseudoflow
What you need to act on it
- Claude Code or Codex
- a Git repository
- defined benchmarks and correctness assertions
Sources