
Agentic Algorithm Engineering (AAE) is the MIT skill from Christian Schulz's Algorithm Engineering Group at Heidelberg University that hands the algorithm engineering cycle to an agent in Claude Code or Codex, with a falsifiable hypothesis before every experiment, correctness checked after every change, one reviewable patch per accepted change, and a PDF report of the session.

**It is the category's most disciplined keep-or-discard loop for code: every kept change must pass a correctness check against the original output and a benchmark you agreed on up front, and its own paper is the only large-scale evidence, written by the authors who built the loop.**

## What it is

You agree with the agent on the benchmark, the metric, the correctness assertions, and the budget, and it then runs the algorithm engineering cycle (design, analysis, implementation, experiment) on its own.
Each iteration states a hypothesis of the form "changing X will improve the metric by roughly Z, because ...", predicts the direction and size of the effect before measuring, implements it, runs the experiment, and keeps or discards the change on the result; AAE.md, the full program definition, asks that hypotheses be specific, falsifiable, grounded, and minimal.
Every session leaves two artifacts: one numbered patch per accepted change, and a PDF report with one page per tested hypothesis (hypothesis, prediction, measurements, verdict, code change), with its lessons going into a knowledge base.
It installs as a Claude Code plugin (`/plugin install aae --marketplace CHSZLab/AgenticAlgorithmEngineering`), and since v1.13 a plugin directory edition ships for Codex and other agents.
The repository is CHSZLab/AgenticAlgorithmEngineering, created 2026-03-21, MIT, with a Zenodo concept DOI, and the paper behind it (arXiv 2609.07204, submitted 2026-09-07, by Bader, Chhabra, Großmann, Henzinger, Noe, and Schulz) applies AAE to the shared-memory exact minimum-cut solver VieCut and is to appear in the 13th DIMACS Implementation Challenge workshop (OASIcs, 2027).

## Status

Active: 184 stars and 16 forks as of 2026-12-05, created 2026-03-21, last pushed 2026-12-04, 8 open issues, at least 100 commits on the default branch, and 16 releases from v1.0 (March 21, 2026) to v1.13.1 (December 4, 2026), the latest, which added a README section on why not just use Claude Code's `/goal`.
Two contributors appear in the list, schulzchristian holding 101 commits.
The community footprint is one thread that carries the project: a self-submitted Show HN of 2026-11-23 at 138 points with 15 comments, beside a 1-point Show HN at launch; the submitter's text opens with "I am a professor in algorithm engineering" and he answers twice in the thread, while thirteen other commenters reply, three of them skeptically (whether the falsifier moves after the result is seen, that a "for all inputs" claim is not falsifiable by execution, and a request for controls against a plain prompt).
A web search on 2026-12-05 found no third-party write-up beyond the thread.
The paper's own measurements are the project's evidence: on the README's table every kept change was checked against the original output (VieCut 8.9 times faster on one thread with every cut unchanged, KaHIP's kaffpa 3.9 times faster in total time with partition quality unchanged, Hochbaum's pseudoflow 3.0 times faster with the flow value verified on 164 instances), and the kaffpa session logged 122 experiments, 69 hypotheses (41 kept, 28 discarded), and 41 patches.

<picture>
  <source media="(prefers-color-scheme: dark)" srcset="https://api.star-history.com/chart?repos=CHSZLab/AgenticAlgorithmEngineering&type=date&theme=dark&legend=top-left" />
  <source media="(prefers-color-scheme: light)" srcset="https://api.star-history.com/chart?repos=CHSZLab/AgenticAlgorithmEngineering&type=date&legend=top-left" />
  <img alt="Star History Chart" src="https://api.star-history.com/chart?repos=CHSZLab/AgenticAlgorithmEngineering&type=date&legend=top-left" />
</picture>

## Strengths

- Correctness is checked against the original output after every change, so a speedup cannot quietly change what the code computes.
- The falsification discipline (predict the direction and size before measuring, one change at a time) turns a vague "make it faster" into experiments a reader can audit page by page.
- One reviewable patch per accepted change means you merge only what fits, rather than a rewritten tree.
- The results are on established codes (VieCut, KaHIP), with a 90-page session report as the record.
- Sessions feed a knowledge base of lessons for later runs.

## Cautions

- The gains are the authors' own measurements, VieCut among the solvers their abstract says they engineered; no independent replication has surfaced, and the paper is to appear rather than published.
- 184 stars at this reading is far under the category's 751-star coverage band; the admission rests on the thread's independent discussion, the workshop paper, and the release record rather than on adoption.
- The thread's controls question (does this beat just asking the agent to improve the runtime?) is answered by the paper's runs, not by a controlled comparison in the README, whose `/goal` section argues the difference in prose.
- The loop is only as good as the benchmark and correctness assertions you agree on up front, and a session spends your agent's tokens on many experiments (122 in the kaffpa session).
- One maintainer holds nearly all the commits.

## Pricing

Free and MIT.
A session costs your own coding-agent usage, with no paid tier, so pricing does not apply beyond your provider usage.

## Compared to

- [Karpathy Autoresearch](../karpathy-autoresearch/index.md): the three-file keep-or-revert loop where the validation curve judges every experiment; choose it for one training script, and AAE when the target is a program with a benchmark and correctness assertions and a reviewer who wants a report.
- [AutoKernel](../autokernel/index.md): the MIT autoresearch loop for GPU kernels behind a five-stage correctness gate; choose it for Triton and CUDA kernels, and AAE for general-purpose code with a CPU benchmark.
- [Agon](../agon/index.md): the Claude Code plugin running adversarial producer-critic factories from a topic to a paper draft; choose Agon when the deliverable is a paper, and AAE when it is faster code.

## Bottom line

**Recommended for engineers with a benchmark and correctness checks who want an agent to grind through performance work and leave an auditable record. Not for anyone without a repeatable benchmark, or who wants independently measured gains: the evidence so far is the authors' own.**

## Changes

- 2026-12-05 - Created.

## See also

- [Karpathy Autoresearch](../karpathy-autoresearch/index.md) - the founding keep-or-revert loop that this methodology disciplines with hypotheses
- [AutoKernel](../autokernel/index.md) - the same loop narrowed to GPU kernels
- [Agon](../agon/index.md) - the other Claude Code plugin in the category, aimed at a paper instead of a patch
- [Automated research](../_index.md) - the category index

## References

- https://api.github.com/repos/CHSZLab/AgenticAlgorithmEngineering - repository: 184 stars, 16 forks, 8 open issues, created 2026-03-21, pushed 2026-12-04, MIT, Python, not archived, default branch main (fetched 200 through the authenticated API, 2026-12-05)
- https://api.github.com/repos/CHSZLab/AgenticAlgorithmEngineering/readme - the README: the program definition, the results table on established codes, the kaffpa session counts, the quick start, the Zenodo DOI, and the /goal section (fetched 200 through the authenticated API, 2026-12-05)
- https://api.github.com/repos/CHSZLab/AgenticAlgorithmEngineering/releases?per_page=100 - 16 releases from v1.0 (2026-03-21) to v1.13.1 (2026-12-04) (fetched 200 through the authenticated API, 2026-12-05)
- https://api.github.com/repos/CHSZLab/AgenticAlgorithmEngineering/commits?per_page=100 - the hundred newest default-branch commits, from 2026-03-25 to 2026-12-04 (fetched 200 through the authenticated API, 2026-12-05)
- https://api.github.com/repos/CHSZLab/AgenticAlgorithmEngineering/contents/LICENSE - the MIT license text, Copyright (c) 2026 Christian Schulz and contributors (fetched 200 through the authenticated API, 2026-12-05)
- https://api.github.com/repos/CHSZLab/AgenticAlgorithmEngineering/contributors?per_page=100 - two contributors: schulzchristian at 101 commits (fetched 200 through the authenticated API, 2026-12-05)
- https://arxiv.org/abs/2609.07204 - the paper's abstract page: submitted 2026-09-07, six authors, and the VieCut solver the methodology improves (fetched 200, 2026-12-05)
- https://chszlab.github.io/AgenticAlgorithmEngineering/ - the project page: the four rules, the Heidelberg group, the results table, and the DIMACS 2027 venue (fetched 200, 2026-12-05)
- https://hn.algolia.com/api/v1/items/50611593 - the Show HN thread: 138 points, the submitter's text, and the fifteen comments (fetched 200, 2026-12-05)
- https://hn.algolia.com/api/v1/search?tags=comment,story_50611593&hitsPerPage=60 - the thread's fifteen comments by author: two by the submitter, thirteen by others (fetched 200, 2026-12-05)
