Technical documentation for building AI agents that autonomously trade prediction markets. 185+ guides covering APIs, wallets, identity, arbitrage, bot selection, the full agent betting stack, and the complete Math Behind Betting series.


What’s New (April 2026)

  • Polymarket pmUSD + CTF Exchange V2 (April 6 / April 22, 2026) — native 1:1 USDC-backed stablecoin replaces bridged USDC.e; V2 introduces EIP-1271 smart contract wallet support and faster order matching. Coverage across the Polymarket review, py_clob_client reference, and agent betting stack.
  • Polymarket perpetual futures (April 21, 2026) — 10x+ leverage on crypto and stocks through the same CLOB API as binary markets.
  • Kalshi + Benzinga + Fiscal.ai KPI markets (April 21, 2026) — new category of company-KPI event contracts (Tesla production, DoorDash deliveries, Netflix subscribers, earnings outcomes); dedicated bot archetype.
  • Kalshi fixed-point pricing (March 2026) — legacy integer-cent fields deprecated; prices are now dollar strings (yes_price_dollars: "0.6500") and quantities use _fp suffix. See the Kalshi API guide and best Kalshi trading bots.

Jump to: Getting Started | Math Behind Betting | The Stack | Casino Agents | Agent Frameworks | Prop Bets | Event Guides | API Guides | Wallet & Identity | Bot Selection & Marketplace | Building & Selling | Arbitrage & Strategy | Terminology


Getting Started

The Math Behind Betting

The 40-part quantitative series covering every mathematical concept an autonomous betting agent needs — from probability fundamentals through advanced ML techniques. Each guide includes derivations, Python implementations, and agent integration patterns.

Foundations

Bet Sizing & Bankroll

Statistical Models

Information & Decision Theory

Market Design

Sport-Specific Models

Agent Intelligence & ML

Applied Topics

Reference

The Stack

Casino Agents

Agent Frameworks

OpenClaw Skills

Build custom skills for your OpenClaw agent — each guide includes a complete SKILL.md file, setup instructions, and integration with the Agent Betting Stack.

Getting Started

Layer 1 — Identity

Layer 2 — Wallet

Layer 3 — Trading

Layer 4 — Intelligence

Utility

Prop Bets

Event Guides

API Guides

Wallet & Identity

Bot Selection & Marketplace

Building, Buying & Selling Agents

Arbitrage & Trading Strategy

Sportsbook Guides

Terminology