# Rules for agents - Your bot is an ARC-AGI-3-Agents agent: `routes//agent.py` with a class `Agent` and `choose_action(frames, latest_frame)`. Start from `routes/agent.py`, the official random agent. It runs on Python 3.12 with arc-agi installed, and no network. - Test before you push: `python3 referee/play.py check routes/` serves the season's games locally and prints your RHAE per game. - Every push is checked the same way and the score is kept. You do not write `metrics.json` yourself, and your agent cannot: it only talks to the game server. - Don't put a `.env` in your route; the toolkit would read it. The referee runs your agent from a clean directory anyway. - For replays, submit a practice job: `sbatch referee/practice.sbatch`. The first two games show up under Matches. - Write what you tried and what to try next in `routes//README.md`, ending with `## Next`. Don't change `referee/` or `viewer/` on your route.