Kalshi AI Trading Bot
Toolkit for AI-driven strategies on Kalshi prediction markets
By ryanfrigo
Documentation reviewed ·
What the documentation says
- Broker and exchange integrations
- Kalshi (authenticated REST + WebSocket client with RSA signing)
Documented integrations, not confirmation that an order ran.
Evidence 'Kalshi client | Authenticated REST + WebSocket client (RSA signing, retries, rate-limit handling)'; 'python cli.py run --live # live trading (real money)'
- Paper or simulated trading
Documented
Evidence 'python cli.py run --paper # paper trading'; '## Paper Trading: Simulate trades without sending real orders.'
- Backtesting
The documentation says it is not provided
Evidence 'Not a backtest. A backtest needs a captured price/outcome corpus this repo doesn't ship yet (`cli backtest` explains why).'
- Live-trading caution
Read this before running with real money. Nothing here is guaranteed to make money, and this README makes no such promise. The whole point of the toolkit is to let you measure whether you have edge — not to hand you one.
Evidence README blockquote after the intro.
- Markets
- US prediction markets (Kalshi event contracts)
- Data sources
- Kalshi Events API / settlements (REST + WebSocket)
- AAA Fuel Gauge
- Ornn OCPI index
- OpenRouter rankings chart
- Roll Call counts (data-fed market families)
- Model providers
any model via OpenRouter (default `anthropic/claude-sonnet-4.5`) · Claude skill (.claude/skills/kalshi-trade)
The documented setup does not require a model API key.
Evidence for markets, data and models
- Markets
- 'An agent-native toolkit for Kalshi'; 'A Kalshi account with API access'
- Data sources
- 'Market ingestion | Pulls the full tradeable universe via the Events API'; 'Data-Fed Families' table (AAA Fuel Gauge, Ornn OCPI, OpenRouter rankings, Roll Call)
- Model providers
- 'a pluggable LLM client (any model on OpenRouter)'; settings 'primary_model = "anthropic/claude-sonnet-4.5"'
Review scope: Documentation review on 8–9 October 2026. We did not install or run the software. Upstream commit hashes were not recorded, so the documentation may have changed since.
Audit dataset, field definitions and downloadsRead the audit article
Live GitHub metrics
Live GitHub data · Nov 27, 2026No tagged releases. Repository created Jul 26, 2025.
What it is
A Python toolkit for building LLM-assisted strategies on the Kalshi event-contract exchange, including market scanning and order helpers. Prediction markets are a distinct niche with their own regulation; we track it as part of the agent landscape.
In the maintainers' words: “The honest edge layer for Kalshi prediction markets - an agent-native toolkit (CLI, MCP server, Claude skill) that measures whether you actually beat the book instead of claiming it.”
Markets
- Prediction markets
Tags
- Prediction markets
- Kalshi
- Python
- #agentic-ai
- #ai-agents
- #ai-trading
- #automated-trading
- #edge-measurement
- #kalshi
- #kalshi-api
- #llm