Thousands of AI minds debate. One verdict. You profit.
๐ Live Demo โข Quick Start โข Features โข How It Works โข Pricing โข Trading โข API Docs
Full access to the AI Oracle, Auto-Pilot, Backtesting, Whale Tracking, and more.
OMEN is an AI-powered prediction and copy-trading platform for Polymarket. It combines:
- ๐ง Swarm Intelligence โ 45 AI agents debate outcomes and reach consensus
- ๐ Whale Intelligence โ Live on-chain tracking of top Polymarket wallets on Polygon
- ๐ Real Trading โ Manual, Oracle-driven, and copy-trade execution via Polymarket CLOB
- ๐ฐ Crypto Payments โ Pay with MATIC/USDC on Polygon. No subscriptions.
Users don't configure APIs. They don't set up models. They don't study charts. They ask OMEN a question. The swarm deliberates. A verdict appears. Then one button: "Bet with the Oracle."
Dashboard โ System overview with quick Oracle access
The Oracle uses a 5-agent swarm powered by Gemini 2.0 Flash with distinct personalities:
| Agent | Role | Style |
|---|---|---|
| ๐ข Atlas | Bull Analyst | Finds reasons to buy |
| ๐ด Nemesis | Bear Analyst | Finds reasons to sell |
| ๐ต Quant | Statistician | Pure data and probability |
| ๐ก Maverick | Contrarian | Challenges consensus |
| ๐ฃ Clio | Historian | Historical patterns and precedent |
Agents make real LLM API calls โ Debate independently โ Vote โ Swarm matrix animates โ Verdict with confidence score.
- Each agent card reveals sequentially with real AI reasoning
- 45-agent swarm network with ripple animation shows consensus forming
- Green = YES, Red = NO โ watch the swarm converge in real-time
- Whale agreement dots overlay for confidence boost
- Final verdict card with confidence percentage
- Live Polygon blockchain tracking via
polygon-bor-rpc.publicnode.com - Real MATIC and USDC balances for tracked wallets
- Transaction count and recent volume monitoring
- Polymarket CTF Exchange detection โ flags trades to Polymarket contracts
- DB whales with historical stats: win rate, PnL, volume, specialty
- Copy any whale โ one click to mirror their latest trade
| Mode | Description |
|---|---|
| Manual | Browse live Polymarket markets โ select โ set price/size โ place limit order |
| Oracle Auto-Trade | Ask Oracle โ AI analyzes โ auto-places bet on matching Polymarket market |
| Copy Trade | Enter whale address โ mirrors their latest Polymarket position |
Safety built-in:
- ๐ API-only credentials โ no private keys stored, only Polymarket API creds
- ๐ Liquidity check โ rejects trades on illiquid orderbooks (spread > $0.50)
- ๐ก๏ธ Risk controls โ max bet $50, daily limit $200, stop-loss 35%
- ๐ Fernet encryption โ all credentials encrypted at rest
- Wallet:
0x135C480C813451eF443A2F60cfaD49EA7197B855 - Accepted: MATIC, USDC, USDC.e on Polygon
- Verification: On-chain transaction hash verification via Polygon RPC
- Auto-credit: Credits added automatically after blockchain confirmation
โโ USER โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ "Will Bitcoin exceed $150k by end of 2026?" โ
โโโโโโโโโโโโโโโโโโโโโโโโฌโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ
โโโโโโโโโโโโโโโโโโโโโโโโผโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ ๐ฎ ORACLE ENGINE โ
โ Gemini 2.0 Flash via OpenRouter โ
โ โ
โ โโโโโโโโโโโ โโโโโโโโโโโ โโโโโโโโโโโ โโโโโโโ โโโโโโโ โ
โ โ Atlas โ โ Nemesis โ โ Quant โ โ Mav โ โClio โ โ
โ โ (Bull) โ โ (Bear) โ โ (Stats) โ โ โ โ โ โ
โ โโโโโโฌโโโโโโ โโโโโโฌโโโโโ โโโโโโฌโโโโโ โโโโฌโโโ โโโโฌโโโ โ
โ โโโโโโโโโโโโโโผโโโโโโโโโโโผโโโโโโโโโโผโโโโโโโโ โ
โ โผ โผ โผ โ
โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ
โ โ 45 SWARM AGENTS VOTE โ โ
โ โ 663 YES / 537 NO โ โ
โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ
โ โ โ
โ โโโโโโโโโโโโผโโโโโโโโโโโโโโโโโ โ
โ โ VERDICT: YES โ 72% โ โ
โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ
โโโโโโโโโโโโโโโโโโโโโโโโฌโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ
โโโโโโโโโโโโโโโโโโโโโโโโผโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ ๐ WHALE LAYER (Polygon) โ
โ Live blockchain tracking via RPC โ
โ Whale agreement: 5/8 โ Confidence BOOST โ
โโโโโโโโโโโโโโโโโโโโโโโโฌโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ
โโโโโโโโโโโโโโโโโโโโโโโโผโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ ๐ TRADING ENGINE โ
โ Manual | Oracle Auto-Trade | Copy Trade โ
โ User's Polymarket API โ py-clob-client โ CLOB โ
โโโโโโโโโโโโโโโโโโโโโโโโฌโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ
โโโโโโโโโโโโโโโโโโโโโโโโผโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ ๐ฐ PAYMENT LAYER โ
โ Polygon blockchain: MATIC/USDC โ On-chain verify โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
Every new account gets 50 free credits to try everything.
| Package | Credits | Price | Rate |
|---|---|---|---|
| Starter | 50 credits | $5 | 10 credits/$1 |
| โญ Popular | 120 credits | $10 | 12 credits/$1 |
| Pro | 300 credits | $20 | 15 credits/$1 |
| ๐ Whale | 1,000 credits | $50 | 20 credits/$1 |
| Action | Cost |
|---|---|
| ๐ฎ Oracle Prediction | 1 credit |
| ๐ Whale Deep Dive | 1 credit |
| ๐ค Auto-Trade Bet | 2 credits |
| ๐ Leaderboard | Free |
git clone https://github.com/Mecasa-hub/omen.git
cd omen
cp .env.example .env # Add your OpenRouter API key
pip install aiosqlite httpx aiohttp pydantic uvicorn fastapi cryptography py-clob-client
python -m uvicorn deploy:app --host 0.0.0.0 --port 8888
# OMEN is live at http://localhost:8888git clone https://github.com/Mecasa-hub/omen.git
cd omen
cp .env.example .env
docker-compose up -d# Required
OPENROUTER_API_KEY=your-openrouter-key
LLM_MODEL=google/gemini-2.0-flash-001
# Payment wallet (pre-configured)
PAYMENT_WALLET=0x135C480C813451eF443A2F60cfaD49EA7197B855
# Polymarket (users provide their own API keys in the UI)
# No server-side trading keys neededomen/
โโโ deploy.py # FastAPI app โ all routes + Oracle engine (31KB)
โโโ ui.html # MiroFish-inspired frontend (37KB)
โโโ trading.py # Polymarket CLOB trading module (14KB)
โโโ whale_tracker.py # Live Polygon blockchain whale tracking
โโโ payments.py # Polygon crypto payment verification
โโโ .env # API keys and configuration
โโโ data/ # SQLite database
โโโ docs/
โ โโโ screenshots/ # All 10 pages: Dashboard, Oracle, Whales, Trading, Credits, Leaderboard, God View, Auto-Pilot, Portfolio, Backtest
โ โโโ API.md # Full API reference
โ โโโ ARCHITECTURE.md # System design
โ โโโ DEPLOYMENT.md # Production setup guide
โ โโโ CREDITS.md # Credit system mechanics
โ โโโ VIRAL_STRATEGY.md
โโโ backend/ # Original modular backend (reference)
โโโ frontend/ # Vue 3 source (optional)
โโโ tests/ # Test suite
โโโ scripts/ # DB migration, whale seeding
โโโ docker-compose.yml
โโโ README.md
| Layer | Technology |
|---|---|
| Backend | FastAPI, Python 3.11+, aiosqlite |
| Frontend | Embedded HTML/CSS/JS (MiroFish aesthetic) |
| AI Engine | Gemini 2.0 Flash via OpenRouter (multi-agent swarm) |
| Trading | py-clob-client โ Polymarket CLOB API |
| Blockchain | Polygon RPC (whale tracking + payment verification) |
| Payments | MATIC/USDC on Polygon (on-chain verification) |
| Security | JWT auth, Fernet-encrypted credentials |
| Fonts | JetBrains Mono + Space Grotesk |
| Feature | Description |
|---|---|
| Advanced Swarm | 45 AI agents across 9 categories (Technical, Macro, Sentiment, Crypto, Sports, Risk, Timing, Fundamental) |
| Auto-Pilot | Fully automated trading with 3 risk profiles (Conservative, Balanced, Aggressive) |
| Backtesting | Test Oracle accuracy against real resolved Polymarket markets |
| Portfolio Tracker | Track positions, PnL, win rate, trade breakdown |
| Alert System | Real-time notifications for whale moves, Oracle streaks, trade results |
| Whale Discovery | Auto-detect profitable wallets from Polymarket trade data |
- ๐ฎ Oracle Engine with 5-agent AI swarm (Gemini 2.0 Flash)
- ๐จ MiroFish-inspired minimal UI (black & white theme)
- โ๏ธ War Room with 45-agent animated swarm network
- ๐ Live whale tracking on Polygon blockchain
- ๐ฐ Crypto payments (MATIC/USDC on Polygon)
- ๐ Polymarket market discovery via Gamma API
- ๐ JWT authentication + encrypted credential storage
- ๐ Dashboard with system stats
- ๐ Manual trading via Polymarket CLOB
- ๐ฎ Oracle auto-trade (AI verdict โ auto-bet)
- ๐ Copy trading (mirror whale positions)
- ๐ก๏ธ Liquidity checks + risk controls
- ๐ Per-user encrypted API credential storage
- ๐ Trade history logging
- ๐งฌ Advanced swarm โ 50+ agent personas with specialized strategies
- ๐ Backtesting engine โ test strategies against historical data
- ๐ Whale discovery โ auto-detect new profitable wallets
- ๐ Portfolio tracker โ aggregate positions, PnL, win rate
- ๐ Alert system โ whale moves, Oracle streaks, market events
- ๐ค Auto-pilot mode โ fully automated trading based on Oracle + whales
- ๐ฑ Mobile app (React Native)
- ๐ Multi-chain support (Azuro, Overtime Markets)
- ๐ฌ AI chat assistant with memory per user
- ๐ค Telegram bot for alerts and quick trades
- ๐ฌ Brag cards + social sharing for viral growth
- ๐ช Whale marketplace โ subscribe to top traders' strategies
- ๐ Public leaderboard with SEO optimization
- ๐ค Referral system โ 10% credit bonus for invites
- ๐ฆ X/Twitter whale alert bot
- ๐ Multi-language support
- ๐๏ธ DAO governance for platform decisions
| Doc | Description |
|---|---|
| Architecture | System design & data flow |
| API Reference | All endpoints with examples |
| Deployment Guide | Production setup |
| Credit System | Pay-as-you-go mechanics |
| Viral Strategy | Growth hacking playbook |
MIT License โ see LICENSE for details.
๐ฎ The swarm has spoken. Will you listen?
โญ Star this repo โข ๐ Report Bug โข ๐ก Request Feature
A dark hacker-style terminal interface inspired by the MiroFish God View for real-time swarm intelligence visualization.
- 45 Named AI Agents โ Each with unique personality, backstory, cognitive biases, and expertise
- Research-Informed Predictions โ Agents receive real-time research context via Gemini 2.0 Flash before voting
- Multi-Round Debate System:
- Round 1: All 45 agents vote independently with research context
- Round 2: Top 15 most confident agents re-evaluate after seeing Round 1 results
- Faction Formation: Agents cluster into Strong Bulls, Cautious Bulls, Strong Bears, Cautious Bears
- Vote Flips: Track which agents changed their minds during debate and why
- Real-Time Event Stream โ Scrolling terminal log of agent activities
- Performance Metrics โ Throughput, latency, OPS/s, memory, CPU, queue, errors, tokens
- D3.js Force Graph โ 45 agent nodes with connections and operation labels
- Boot Animation โ Agents come online 0/45 โ 45/45 with status messages
- Obsidian-Style Memory Vault โ Each agent has persistent memory stored in markdown files
- Autoresearch-Inspired Learning โ Agents track hypotheses, evidence, and post-mortems
| Agent | Role | Personality | Risk |
|---|---|---|---|
| ORCHESTRATOR | Master Controller | Neutral coordinator | 5/10 |
| SENTINEL | Risk Scanner | Cautious, threat-focused | 2/10 |
| VECTOR | Data Embedder | Pure quantitative | 5/10 |
| CIPHER | Encryption/Privacy | Paranoid analyst | 3/10 |
| BEACON | Trend Discoverer | Optimistic spotter | 7/10 |
| FLUX | Momentum Trader | Aggressive trend follower | 8/10 |
| FROST | Cold Logic | Zero emotion, pure probability | 4/10 |
| BOLT | Speed Trader | First to react | 9/10 |
| THORN | Contrarian | Bets against the crowd | 7/10 |
| RAVEN | Intelligence Scout | Obscure data sources | 6/10 |
| ...and 35 more | Each uniquely crafted |
GET /api/godview/agentsโ List all 45 agents with full profilesPOST /api/godview/predictโ Run full research-informed multi-round predictionGET /api/godview/statsโ Real-time system metricsGET /api/godview/agent/{id}/statsโ Individual agent stats and vote history
{
"question": "Will Bitcoin exceed $150k by end of 2026?",
"votes": [...],
"consensus": {"direction": "NO", "percentage": "37.8", "yes_count": 17, "no_count": 28},
"research_context": "## Research Brief: Bitcoin $150k...",
"rounds": [{"round": 1, "name": "Initial Vote", "yes": 17, "no": 28}, {"round": 2, "name": "Debate", "yes": 17, "no": 28, "changes": 4}],
"factions": [{"name": "Strong Bulls", "count": 9, "leader": "FLUX"}, ...],
"vote_changes": [{"codename": "DELTA", "from": "NO", "to": "YES", "reason": "..."}, ...]
}








