The leading all-in-one open-source framework for deploying custom AI agents and trading bots purpose-built for prediction markets - bring your own data, models, and strategies to dominate prediction forecasting
Built by PredictionXBT, the team behind Predict โ The Layer 1 for Social Prediction Market
๐ Social Prediction Markets ยท ๐ PredictionXBT ยท ๐ฅ๏ธ Alpha/Arb Terminal ยท ๐ค Predict Agent
Prediction markets are having their moment. With platforms like Kalshi and Polymarket opening up their APIs to the public, there's now unprecedented access to real-time market data, order books, and trading capabilities. But raw API access is just the beginning โ what's been missing is a unified framework that lets anyone tap into this new financial primitive.
PredictOS is that framework.
Sure, there are hosted tools out there. But here's the problem:
-
Your data isn't yours. Every query, every strategy signal, every trade you analyze โ it all flows through their servers. Your alpha becomes their alpha. Your edge gets commoditized the moment you share it with a third party.
-
Your strategy isn't private. Want to build a custom trading bot with proprietary signals? Maybe you've got insider domain knowledge, a unique data source, or a thesis nobody else is running. The moment you plug that into a hosted platform, you've handed over your playbook.
-
You can't customize what you don't own. Need a specific feature? Want to integrate your own AI model? Good luck submitting a feature request and waiting 6 months.
With PredictOS, you own everything. Run it on your own infrastructure. Fork it. Modify it. Build your secret sauce without anyone watching. Your strategies stay yours. Your data never leaves your servers. And when you find an edge, you keep it.
PredictOS is an open-source, AI-powered operating system for prediction markets. It provides a unified interface to analyze markets across platforms, delivering real-time AI insights to help you find alpha opportunities and make informed trading decisions.
Whether you're a casual trader looking for quick market analysis or a power user building automated betting strategies with proprietary data, PredictOS gives you the tools to navigate prediction markets โ on your own terms.
What's next? We're building towards a complete prediction market toolkit: automated betting bots, whale tracking, copytrading, cross-platform arbitrage, and more. See the Coming Soon section for the full roadmap.
$PREDICT serves as the foundational pillar of the open-source PredictOS framework, powering a decentralized, community-driven Layer 1 ecosystem for social prediction markets, trading, and participation.
As the primary utility token, $PREDICT is deeply integrated across the platform:
- Launchpad Liquidity โ The launchpad will be seeded with $PREDICT liquidity to ensure depth, stability, and fair access for new project discoveries and token launches
- No-Code Builder Access โ Essential for accessing upcoming no-code builder tools that allow anyone to effortlessly create custom prediction markets, agents, or interfaces with premium features unlocked through holding or using $PREDICT
- Ecosystem Engagement โ Required for full participation in the broader Predict ecosystem, including creating markets, accessing advanced analytics, AI-driven signals, and governance
A key feature driving adoption is the ability to stake $PREDICT for attractive APY rewards, delivering passive yields while empowering holders with enhanced capabilities:
- Unlocked Trading Abilities โ Enhanced access to trading features and boosted capabilities
- Prediction Market Access โ Boosted access to the native prediction market for betting on events, outcomes, or price movements
- Long-Term Value โ Staking and liquidity provision promotes long-term holding, strengthens network security, and redistributes value directly to the community
๐ก $PREDICT is more than a token โ it's the core fuel powering adoption, liquidity, and innovation in the live PredictOS framework, establishing it as a leader in decentralized social prediction markets.
| Feature | Status | Description | Setup Guide |
|---|---|---|---|
| AI Market Analysis | โ Released | Paste a Kalshi or Polymarket URL and get instant AI-powered analysis with probability estimates, confidence scores, and trading recommendations | ๐ Setup Guide |
| Betting Bots | โ Released | Polymarket 15 Minute Up/Down Arbitrage Bot (more bots coming) | ๐ Setup Guide |
| Feature | Description |
|---|---|
| Agent Battles (x402) | Pit AI agents against each other to discover winning strategies |
| No Code Builder | Build trading strategies without writing code |
| Whale Tracking | Monitor and follow large traders across markets |
| Copytrading | Automatically copy top-performing traders |
| Arbitrage Opportunity | Detect and exploit cross-platform price differences |
| Perps Trading / Leverage | Leveraged prediction market positions |
| $Predict Staking | Stake for APY rewards, unlock enhanced trading abilities, and get boosted access to prediction markets |
| Predict Protocol SDK | For trading Social markets built on Predict (currently Testnet on predictionxbt.fun) |
PredictOS/
โโโ terminal/ # Frontend (Next.js 14)
โ โโโ src/
โ โ โโโ app/ # Next.js App Router
โ โ โโโ components/ # React components
โ โ โโโ types/ # TypeScript definitions
โ โโโ public/ # Static assets
โ
โโโ supabase/ # Backend (Supabase)
โโโ migrations/ # DB migrations (future features)
โโโ functions/
โโโ _shared/ # Shared utilities
โ โโโ ai/ # AI integrations (xAI Grok & OpenAI)
โ โโโ dome/ # Dome API client
โโโ analyze-event-markets/ # Market analysis endpoint
โโโ <feature-name>/ # Future edge functions
๐ก Extensibility: New features are added as Edge Functions under
supabase/functions/<feature-name>/with shared logic in_shared/. Database schemas live insupabase/migrations/.
- Node.js v18+
- Supabase CLI v1.0+
- Docker (for local Supabase)
git clone https://github.com/PredictionXBT/PredictOS.git
cd PredictOS# Navigate to supabase directory
cd supabase
# Copy environment template and add your API keys
cp .env.example .env.localEdit .env.local with the credentials required for the features you want to use:
๐ Feature-specific setup guides:
- Market Analysis: docs/features/market-analysis.md โ requires
DOME_API_KEY+ AI provider key (XAI_API_KEYorOPENAI_API_KEY)- Betting Bots: docs/features/betting-bots.md โ requires
POLYMARKET_WALLET_PRIVATE_KEY+POLYMARKET_PROXY_WALLET_ADDRESS
Example for Market Analysis:
DOME_API_KEY=your_dome_api_key # Get from https://dashboard.domeapi.io
# AI Provider (only one is required)
XAI_API_KEY=your_xai_api_key # Get from https://x.ai
OPENAI_API_KEY=your_openai_api_key # Get from https://platform.openai.comExample for Betting Bots:
POLYMARKET_WALLET_PRIVATE_KEY=0x... # Your wallet private key
POLYMARKET_PROXY_WALLET_ADDRESS=0x... # Your Polymarket proxy wallet๐ก Note: See the setup guides linked above for detailed instructions on obtaining each API key and configuration.
Start the Supabase services:
supabase startOnce running, get your local credentials (you'll need these for the frontend):
supabase statusThis will display your API URL and anon key โ save these for the next step.
Now start the Edge Functions server (keep this running):
supabase functions serve --env-file .env.localOpen a new terminal:
# Navigate to terminal directory
cd terminal
# Install dependencies
npm install
# Copy environment template
cp .env.example .envEdit .env with credentials from supabase status:
SUPABASE_URL=<API URL from supabase status>
SUPABASE_ANON_KEY=<anon key from supabase status>
# Edge Function URLs (for local development)
# Note that the base url might vary depending on `supabase status`:
SUPABASE_EDGE_FUNCTION_ANALYZE_EVENT_MARKETS=http://127.0.0.1:54321/functions/v1/analyze-event-markets # Required for Market Analysis
SUPABASE_EDGE_FUNCTION_BETTING_BOT=http://127.0.0.1:54321/functions/v1/polymarket-up-down-15-markets # Required for Betting BotsStart the development server:
npm run devYour PredictOS terminal will be running at http://localhost:3000
Frontend:
- Next.js 14 โ React framework with App Router
- React 18 โ UI library
- TailwindCSS โ Utility-first CSS
- Lucide React โ Icon library
Backend:
- Supabase Edge Functions โ Serverless Deno runtime
- Dome API โ Unified prediction market data
- xAI Grok โ xAI's reasoning models (Grok 4, Grok 4.1)
- OpenAI GPT โ OpenAI's language models (GPT-4.1, GPT-5)
|
|
The unified API for prediction markets. Dome provides seamless access to Kalshi, Polymarket, and other prediction market platforms through a single, elegant interface. ๐ PredictOS is proudly powered by Dome โ they handle the complexity of multi-platform data aggregation so we can focus on building the best trading tools. |
|
|
The FIRST all-in-one prediction markets bot. Available on Telegram and soon on web, OKBet makes it easy to trade prediction markets from anywhere. ๐ Our Predict_Agent provides direct OKBet links to place bets on Kalshi and Polymarket in Telegram. ๐ค Telegram ยท ๐ Website ยท ๐ Docs ยท ๐ Twitter |
We welcome contributions from the community! Here's how you can help:
- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
This project is licensed under the MIT License. See the LICENSE file for details.
- Website: predictionxbt.fun
- Twitter/X: @prediction_xbt
- GitHub: PredictionXBT/PredictOS
Built with โค๏ธ by the PredictionXBT team
Powered by Dome
