The Agent Gym — RL environments & reward hacking
JavaScript · Q-learning · no dependencies
- Interactive explainer of how reinforcement-learning environments and graders train AI coding agents — a real Q-learning agent in the page, not an animation
- Switch between a strict grader and a leaky one and watch the reward signal come apart from the work: 100% graded, 0% of tasks actually finished
- Environment, grader and learner are DOM-free and tested headlessly — 2,000 episodes per grader across five mazes, asserting that exact divergence
- The environment checks hold too: across 120 generated mazes the exit is always reachable and the shortcut is always a detour that is nearer than the exit