my-hermes-skills

Building ai-please-learn: a browser lab where neural networks visibly learn games, built in 28 hours by coordinated coding agents

Abstract

Background. Code Bullet's videos[1] and ml-visualized.com[2] made it fun to watch a machine learn: a stick figure falls over a thousand times, then walks. ai-please-learn (app name EvoLab)[3, 4] tries to recreate that experience for any game. You play the game first, set the rewards, pick a learning method, and watch the networks learn. You can also describe a new game in one sentence and a language model writes it.

Objective. To report what was built and how well it works: whether the learners improve on every game, whether LLM-written games are playable and trainable, and how reliable this way of building was (a coordinator agent writing briefs, coding agents implementing them, independent reviewers checking the result).

Methods. The app was built in 135 commits over about 28 hours of wall-clock time by 38 omp -p coding-agent dispatches, coordinated by Hermes. Evidence comes from headless learning benchmarks (seed 1)[5], three LLM generation trials with gpt-6-luna[6], 341 unit tests and 51 browser tests, two rounds of parallel code review, a code-against-report fact-check, and browser checks on the live site.

Results. Every built-in benchmark passed its pre-set learning margin. For example, NEAT Snake's best score rose from 11.05 to 215.05 in 40 generations, and the 3D walker's from 2.37 to 275.46 in 40 generations, with a champion that walks 27.12 m without falling (measured, single seed)[5]. gpt-6-luna wrote 10 of 10 requested games that passed the sandbox validator in trials 2 and 3, with no repair rounds, at about $0.01 to $0.015 per batch of five[6]. The final live check passed 21 of 21. Review found 1 serious bug (fake PPO zero scores), which was fixed and verified.

Conclusions. ai-please-learn works as intended: all six built-in games and LLM-written games train visibly in the browser with three learning methods, and the site explains its own maths. The main open weaknesses are statistical (single-seed results, budgets that are not comparable across methods) and generated games that plateau early; both are listed with fixes on the site's Math page[7].

1. Introduction

Watching a learner improve is more convincing than reading a loss curve. Code Bullet's videos[1] show the learner failing in many ways before it succeeds, and ml-visualized.com[2] shows the network itself. Neither lets the viewer pick the game, change the reward, or compare methods. The goal set for this project was:

When I was young, I often watched machine learning videos where the machine gradually learned something [...] The goal of this project is to replicate those approaches but with whatever input I have.

That goal sets three requirements: a common loop for every game (play it, set the rewards, choose the network, watch it learn), several learning methods behind that loop, and a way to add a game from a sentence. The project was also an experiment in building software unattended with coding agents.

2. Methods

2.1 System under study

2.2 Build process

Hermes (the coordinator) wrote a brief for each piece of work and launched omp -p coding agents, mostly Claude Fable 5.2 at medium effort. It watched them, verified their output, pushed, and checked the live site. The coordinator wrote no app code apart from one-line edits.

Each brief required the superpowers workflow skills (TDD and verification before completion), plus the Impeccable design skill for UI work. Reviews used independent subagents on Claude Opus 5.5.

2.3 Measurements

2.4 Derived figures

Wall-clock time is the gap between the first commit (2026-11-21 17:27) and the last (2026-11-22 21:43), 28 h 16 min. It includes idle time and is not effort. LLM cost per batch is tokens multiplied by the list price on the run date, as recorded in[6].

3. Results

3.1 Learning on built-in games (RQ1)

Table 1. Headless learning benchmarks, seed 1[5]. "Start" is the best score of the first iteration (for DQN and PPO, the mean of the early episodes or updates), "End" the best of the last five (for DQN and PPO, the late mean).

GameMethodIterationsStartEndAsserted marginSeconds
PongNEAT306.5433.72+83.4
SnakeNEAT4011.05215.05+400.3
FlappyNEAT4023.55378.99+1002.5
CarNEAT3062.39319.51+20, 2x start, 3 laps9.5
TetrisNEAT15648.452429.40+3002.4
Walker (3D)NEAT402.37275.46+5, replay of at least 1.0 m25.3
PongDQN160,000 steps-10.61 (mean)11.81 (mean)+56.1
CarPPO150 updates-2.32 (mean)106.62 (mean)+107.0

Two changes to the original spec were needed:

On the live site, every game trained at max speed, and every Learn header read "Still learning" within 7 to 12 s in the final check.

3.2 LLM-written games (RQ2)

Table 2. LLM generation trials with gpt-6-luna, five fixed sentences per run[6].

RunChange before the runPassedRepairsMean latency per callCost
1none0/501.7 sn/a
2client retries without temperature5/5031.4 s$0.0104
3learnability check, richer prompt5/5043.4 s$0.0144

3.3 Process and review (RQ3)

3.4 What the site offers

The live site[3] has six tabs:

The interface uses a light "Field guide" design chosen by the owner from three mockups. Text fills its container everywhere, at the owner's request.

4. Discussion

4.1 Answers to the research questions

4.2 Practical implications

5. Limitations

6. Conclusion

ai-please-learn works: six built-in games and LLM-written games train visibly in the browser with NEAT, DQN and PPO, and the site documents its own maths and weaknesses. The next useful work is statistical rigour (several seeds, intervals, equal budgets) and harder generated games.

Data and code availability

References

  1. [1] Code Bullet, YouTube channel: https://www.youtube.com/@CodeBullet back to text 1 2
  2. [2] ml-visualized.com: https://ml-visualized.com/ back to text 1 2
  3. [3] ai-please-learn (EvoLab), live site: https://laansdole.github.io/ai-please-learn/ back to text 1 2 3
  4. [4] LaansDole/ai-please-learn, source repository: https://github.com/LaansDole/ai-please-learn back to text 1 2 3
  5. [5] Learning benchmarks, docs/benchmarks.md: https://github.com/LaansDole/ai-please-learn/blob/main/docs/benchmarks.md back to text 1 2 3 4 5 6 7
  6. [6] Concept from text: trials against a real LLM, docs/llm-trial/RESULTS.md: https://github.com/LaansDole/ai-please-learn/blob/main/docs/llm-trial/RESULTS.md back to text 1 2 3 4 5 6
  7. [7] How the learners work (Math page): https://laansdole.github.io/ai-please-learn/math back to text 1 2 3 4
  8. [8] Stanley, K. O. and Miikkulainen, R. (2002). Evolving Neural Networks through Augmenting Topologies. Evolutionary Computation 10(2): https://doi.org/10.1162/106365602320169811 back to text
  9. [9] Mnih, V. et al. (2015). Human-level control through deep reinforcement learning. Nature 518: https://doi.org/10.1038/nature14236 back to text
  10. [10] van Hasselt, H., Guez, A. and Silver, D. (2016). Deep Reinforcement Learning with Double Q-learning. AAAI: https://arxiv.org/abs/1509.06461 back to text
  11. [11] Schulman, J. et al. (2017). Proximal Policy Optimization Algorithms: https://arxiv.org/abs/1707.06347 back to text
  12. [12] Schulman, J. et al. (2016). High-Dimensional Continuous Control Using Generalized Advantage Estimation. ICLR: https://arxiv.org/abs/1506.02438 back to text
  13. [13] Kingma, D. P. and Ba, J. (2015). Adam: A Method for Stochastic Optimization. ICLR: https://arxiv.org/abs/1412.6980 back to text
  14. [14] Does TypeSafe Jev deliver fast, calibrated structured decisions? A first-hands evaluation (2026-09-19): https://laansdole.github.io/my-hermes-skills/reports/2026-09/2026-09-19-typesafe-jev-first-hands.html back to text
  15. [15] Demo runbook and video: https://laansdole.github.io/ai-please-learn/demo/ back to text 1 2
  16. [16] Agarwal, R. et al. (2021). Deep Reinforcement Learning at the Edge of the Statistical Precipice. NeurIPS: https://arxiv.org/abs/2108.13264 back to text