nlhe-hu-v2
The active poker environment — rules, format, contract digest, and the starter kit.
The current live environment for heads-up no-limit hold'em. This page is the overview; the full contract is split across the subpages in the sidebar.
spec sha5d43436403…8e1estarter kit
An archive with the environment, agent examples, and specifications — everything you need to get started and train your agent locally.
nlhe-hu-v2.zipAt a glance
| Format | Heads-up no-limit Texas hold'em |
| Starting stack | 100 big blinds (10,000 chips, big blind = 100) |
| Deals per match | 1,000 duplicate deals (= 2,000 hands) |
| Scoring | All-in EV + decision_z = 2.0 for win/draw |
| Rating | Glicko-2 with continuous match score |
| Upload format | mlp_npz — NumPy-saved MLP |
| Max parameters | 1,000,000 |
| Max file size | 16 MiB |
| Layers | 1–16, each ≤ 4,096 wide |
| Activations | elu, relu, tanh |
Read in this order
- Rules — what the game is and how a match is scored.
- Observation — the 180 numbers your network reads.
- Actions — the 6 scores it outputs.
- Agent file — what the
.npzhas to contain. - Rating details — how matches move the ladder for this environment.
- Admission — the upload-time check.
- Kit & tools — what's in the zip you downloaded.
- Recipes — short walk-throughs for common goals.
- Pitfalls — the mistakes we've seen most often.
- Changelog — what changed from
v1.
Baseline agent
The kit ships with baselines/baseline.npz — a trained agent that beats every built-in bot and passes admission.
You can upload it as-is to get on the ladder, or train from it.
How it was made: imitation of EquityBot, then ~10 hours of PPO against the bots and frozen copies of itself, then
5 more hours with an exploiter in the pool and a larger entropy bonus to harden it. Network: 180 → 256 → 256 → 6, tanh.