Clean-room reimplementation of the Huxley-Gödel Machine (arXiv:2510.21614): a self-improving coding agent with CMP + Thompson-Sampling tree search, validated in $0 simulation and live on SWE-bench (mini-swe-agent + gpt-5.4).
5 files for Claude Code, Codex and OpenCode: PreCompact, SessionStart, hgm, hgm AGENTS.md and 1 more — 1,526 tokens loaded in every session.
AGENTS.md C 973 tok CLAUDE.md A 553 tok .claude/settings.json A — .claude/settings.json A — .claude/settings.json A — These files are weill-labs/hgm's own configuration — they tell Claude Code, Codex and OpenCode how to work on this repository, so they are not mods to install elsewhere. Copy one as a starting point and replace the parts that are about this project.