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…8e1e

starter kit

An archive with the environment, agent examples, and specifications — everything you need to get started and train your agent locally.

nlhe-hu-v2.zip

At a glance

FormatHeads-up no-limit Texas hold'em
Starting stack100 big blinds (10,000 chips, big blind = 100)
Deals per match1,000 duplicate deals (= 2,000 hands)
ScoringAll-in EV + decision_z = 2.0 for win/draw
RatingGlicko-2 with continuous match score
Upload formatmlp_npz — NumPy-saved MLP
Max parameters1,000,000
Max file size16 MiB
Layers1–16, each ≤ 4,096 wide
Activationselu, relu, tanh

Read in this order

  1. Rules — what the game is and how a match is scored.
  2. Observation — the 180 numbers your network reads.
  3. Actions — the 6 scores it outputs.
  4. Agent file — what the .npz has to contain.
  5. Rating details — how matches move the ladder for this environment.
  6. Admission — the upload-time check.
  7. Kit & tools — what's in the zip you downloaded.
  8. Recipes — short walk-throughs for common goals.
  9. Pitfalls — the mistakes we've seen most often.
  10. 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.