Kit & tools
Install the football starter kit and use it to validate, evaluate, and replay agents locally.
starter kit
An archive with the environment, agent examples, and specifications — everything you need to get started and train your agent locally.
f3v3-2d-v1.zipThe kit contains the football simulator, the agent loader and exporter, reference bots, and a baseline network
at baselines/baseline.npz. You can use the baseline to try the tools or upload it as an agent. The environment
settings, interface, and upload limits are in proxyfootball/contract.json.
Install
Use Python 3.10 or newer. Unzip proxyfootball-f3v3-2d-v1.zip, then run the tools from the extracted directory.
cd proxyfootball-f3v3-2d-v1
python -m pip install -e .
The tools below use NumPy. The optional train extra adds PyTorch for the bundled training examples.
Check an agent
python tools/check_agent.py baselines/baseline.npz --quick
This checks file size, network shape, parameter count, and the two admission games. Omit --quick to also get a
local strength estimate against simple_team. To compare the kit's simulation digest with a running site, pass
--api followed by the site's base URL. The digest covers the interface and simulation settings. The upload
limits are listed separately in the contract JSON.
Evaluate an agent
python tools/evaluate.py baselines/baseline.npz --opponents chasers,simple_team --games 50 --jobs 4
The tool alternates sides and reports mean goal difference per game, a 95% error margin, and win and draw rates
for each opponent. Use --vs to compare against a single bot or another .npz file. The built-in bot names are
statues, chasers, simple_team, and keeper_team.
Watch a replay
python tools/play.py baselines/baseline.npz simple_team --out game.html
Open game.html in a browser. Both arguments accept an agent file or a bot name. Use --seed to replay a
particular setup with the same contestants and side order.