Kalshi AI Trading Bot — AI skill for Claude Code
Multi-model AI trading bot for Kalshi prediction markets.
How to install Kalshi AI Trading Bot
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open gaaiyun/kalshi-ai-trading-bot and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Kalshi AI Trading Bot does
Multi-model AI trading bot for Kalshi prediction markets. Five-agent ensemble with portfolio optimization.
Alternatives in AI
- Open Multi Agent — TypeScript multi-agent orchestration engine — one runTeam() call from goal to result 5.8k ★
- Bot On Anything — A large model-based chatbot builder that can quickly integrate AI models (including ChatGPT, Claude, Gemini) i 4.2k ★
- Opennews MCP — News Aggregation · AI Ratings · Trading Signals · Real-time Updates 2.1k ★
README
Kalshi AI Trading Bot
[](https://www.python.org/downloads/) [](LICENSE)
**Multi-agent AI trading system for Kalshi prediction markets with Grok-4 ensemble.**
🚀 Features
- 5-Model AI Ensemble: Grok-4, Claude Sonnet 4, GPT-4o, Gemini 2.5 Flash, DeepSeek R1
- Multi-Agent Decision System: Specialized agents for forecasting, news analysis, bull/bear research, and risk management
- Advanced Trading Strategies: Directional trading (50%), Market making (40%), Arbitrage detection (10%)
- Portfolio Optimization: Kelly Criterion sizing, risk parity allocation, dynamic rebalancing
- Real-Time Monitoring: Live dashboard with P&L tracking and performance analytics
- Paper Trading Mode: Test strategies without risking real money
- Cost Controls: Daily AI API budget limits and cost tracking
📋 Prerequisites
- Kalshi Account: Sign up and obtain API credentials
- API Keys:
- xAI API key for Grok-4: console.x.ai
- OpenRouter API key: openrouter.ai
- Python 3.12+: Required for async features
🔧 Installation
# Clone and enter the project directory
git clone https://github.com/gaaiyun/kalshi-ai-trading-bot.git
cd kalshi-ai-trading-bot
# Install dependencies
pip install -r requirements.txt
# Initialize database
python -m src.utils.database
⚙️ Configuration
Create `.env` file in the project directory:
# Kalshi API credentials
KALSHI_API_KEY=your_kalshi_api_key_id
# Place your kalshi_private_key file (no extension) in the project directory
# AI Model APIs
XAI_API_KEY=your_xai_api_key
OPENROUTER_API_KEY=your_openrouter_api_key
OPENAI_API_KEY=your_openai_api_key # Optional fallback
Download your Kalshi private key from [Kalshi Settings → API](https://kalshi.com/account/settings) and sa
Related Skills
Phil
Phil is a self-improving trader: an AI agent that trades short-term prediction markets and rewrites his own st
FriesTrader
Robinhood Agentic Trading agent — a fully automated AI trading bot placing real orders through Robinhood's Age
Sentinel Skill
Risk-aware AI trading copilot for Binance Agent OS — analyzes your portfolio, challenges risky trades before e
Portfolio Setup
Check Portfolio Optimization AI helper and Riskfolio-Lib runtime availability
AI Advisor
You are a trading advisor for a Hyperliquid perpetual futures bot. You receive a JSON payload with positions,
JakeyBot
GPT-5.3-powered multi-model Discord bot to interact with powerful LLMs and explore capabilities. This repo als
Related Agents
Trading Researcher
Quantitative trading research specialist. Use when investigating market microstructure, prediction market mech
Arbitrage Bot
Identify and execute cryptocurrency arbitrage opportunities across exchanges and DeFi protocols. Use PROACTIVE
Fg Margin Specialist
Finance Guru Margin Trading Specialist (Richard Chen). Leveraged portfolio strategies, margin risk management,