Range Sage

Hold'em Strategy Coach: Improve Your Game

Portfolio 2025

Range Sage

  • AI / LLM
  • NLHE
  • Coaching
  • Game theory
  • Data parsing
Open Range Sage

Project Overview

Range Sage is an AI poker coach for No-Limit Hold’em that provides structured coaching using equilibrium baselines with optional exploit adjustments. It accepts plain questions or Poker Hand History (PHH) inputs and returns compact, decision-ready analyses with drills. It produces session artifacts—study summaries, progress records, and a leak tracker—for continuity and review, and enforces privacy and scope guardrails (NLHE-only, paraphrased knowledge use).

Genesis

Many players struggle to translate solver concepts (polarized vs. condensed ranges, MDF, bluff:value ratios) into table-speed decisions. Existing tools often overwhelm with raw game trees; learners benefit more from concise recipes, drills, and consistent naming. Range Sage operationalizes equilibrium math and exploit heuristics into a teachable, repeatable workflow with persistent records.

Scope

  • Agent workflow design (platform workflow): Session start calibrates stakes/pool, brevity, and math mode; sets coach mode (GTO, Exploit, Hybrid). Intake path: input → (optional) PHH validation → analysis (snapshot, ranges, line, alternatives) → drills/records → file outputs. Recognized commands streamline use (e.g., “analyze these hands,” “assign drills,” “save progress,” “produce a study summary”).
  • Prompt engineering (rules/spec authoring): Deterministic instructions with explicit capabilities, coach modes, response-depth toggles, and safety constraints. File-output and naming contracts for summaries and progress logs ensure reproducibility. Guardrails include NLHE-only scope, paraphrase-only knowledge use, and an “ask one question or proceed with assumptions” policy.
  • Information extraction (data ingestion/parsing): Accepts PHH TOML (with YAML/JSON mirrors) as authoritative, including multi-hand inputs. Validator checklist covers players, stacks/blinds, card uniqueness, and action legality; issues are flagged succinctly. Stable Hand IDs and tags are assigned for cross-referencing analysis, drills, and records.
  • Domain logic & modeling (business logic): Teaches and applies core equilibrium math: MDF P/(P+B), bluff:value B:(P+B), and bluff fraction B/(P+2B). Operationalizes range-shape rules (polarized bets vs. condensed checks), blocker heuristics, and raising dynamics. Provides an exploit framework: start from GTO, make a specific read, map to deviations, scale by confidence.
  • Presentation & UX: Compact per-hand output: snapshot, range view, line selection with rationale, close alternatives, flagged leaks, and one actionable drill. Progress artifacts include a machine-readable JSON record plus a concise Markdown summary; a leak tracker is maintained in JSON with a quick-scan table. Micro-drills (“range reps”) and competency snapshots support practice and longitudinal tracking.
  • Quality & robustness (testing/ops): Defensive intake with PHH sanity checks and clear assumptions when fields are missing. Stable IDs, ISO dates, and strict file naming enable reproducibility across sessions and exports. Privacy discipline and educational-only disclaimers reduce misuse and maintain trust.

Skills Demonstrated

  • AI/LLM: Instruction design, guardrailed prompting, controllable depth and math modes.
  • Data parsing: PHH TOML ingestion, legality checks, normalized outputs.
  • Analytics & modeling: MDF, bluff:value ratios, blocker logic, polarized vs. condensed planning.
  • Product thinking: Commands, artifacts, and drill design aligned to learner workflow.
  • Frontend output: Clear Markdown tables/records and downloadable text artifacts.
  • Ops & QA: Deterministic naming, ISO dating, and validation checklists.

Deliverables

  • Coaching instruction spec: Capabilities, modes, commands, privacy/scope rules, and file-naming contracts.
  • Knowledge base digest: Equilibrium math, range-shape doctrine, raising dynamics, and exploit heuristics.
  • Internal spec & templates (v1): PHH validator, Progress Record JSON/Markdown, Leak Tracker JSON/table, Hand ID schema.
  • Sample PHH hand & guidance: Authoritative TOML example and intake notes for users.
  • Drill framework: Range reps and competency snapshot structure for targeted practice and tracking.