magicciv/tooling/rl_self_play/__init__.py
Natalie b7891991a4 feat(@projects/@magic-civilization): add rl_self_play tooling for self-play training
Co-Authored-By: Lilith Autocommit <noreply@atlilith.com>
2026-05-17 03:54:40 -07:00

7 lines
295 B
Python

"""Magic Civilization RL self-play scaffold.
Wraps `scripts/player-api-server.sh` (the generic JSON-Lines harness)
as a Gymnasium environment, then trains a MaskablePPO policy against
the harness's built-in AI. See `README.md` for the methodology and
`train.py --help` for the CLI surface.
"""