Overview
The Gnosis Prediction Market Agent framework supports four major prediction market platforms. Each platform has unique characteristics, market types, and trading mechanisms.Market Platforms
Omen (Presagio)
Decentralized prediction markets on Gnosis Chain
Polymarket
High-liquidity crypto prediction markets
Manifold
Play-money prediction markets with high volume
Metaculus
Forecasting tournaments and community predictions
MarketType Enum
Specify which platform to use when running your agent:Running Agents on Different Platforms
When running your agent, specify the market type as a command-line argument:Platform Comparison
| Platform | Currency | Blockchain | Market Types | Best For |
|---|---|---|---|---|
| Omen | xDAI, USDC | Gnosis Chain | Binary, Categorical, Scalar | Decentralized trading, low fees |
| Polymarket | USDC | Polygon | Binary | High liquidity, real-money trading |
| Manifold | Mana (play money) | Off-chain | Binary, Multiple choice | Testing, experimentation, high volume |
| Metaculus | Points | Off-chain | Binary, Continuous | Forecasting tournaments, research |
The AgentMarket Interface
All market platforms expose a unifiedAgentMarket interface:
Platform-Specific Features
Omen (Presagio)
Key Features
Key Features
- Fully decentralized on Gnosis Chain
- Support for binary, categorical, and scalar markets
- On-chain settlement via Reality.eth oracle
- GraphQL API for market data
- Low transaction fees (~$0.01)
Market Discovery
Market Discovery
Required API Keys
Required API Keys
.env
Polymarket
Key Features
Key Features
- High liquidity and trading volume
- Real money (USDC) trading
- Wide range of topics (politics, crypto, sports)
- CLOB (Central Limit Order Book) trading
- Historical market data via GraphQL
Agent Example
Agent Example
The Berlin1PolySentAgent uses sentiment analysis and historical data:
Manifold Markets
Key Features
Key Features
- Play money (Mana) - no real money risk
- High volume of diverse markets
- Fast iteration and experimentation
- Community-driven questions
- Ideal for testing agent strategies
Best Practices
Best Practices
- Filter out self-referential markets (markets about Manifold itself)
- Use for testing before deploying to real-money platforms
- High volume means more opportunities to trade
- Lower stakes mean higher risk tolerance
Metaculus
Key Features
Key Features
- Tournament-style forecasting competitions
- Point-based reputation system
- Expert forecaster community
- Questions often have longer time horizons
- Emphasis on calibration and accuracy
Specialized Agent
Specialized Agent
The Metaculus bot tournament agent targets specific competitions:
Market Sorting and Filtering
SortBy Options
SortBy.CLOSING_SOONEST
SortBy.CLOSING_SOONEST
Prioritize markets that close soon. Good for:
- Capturing value before resolution
- Time-sensitive predictions
- Maximizing capital efficiency
SortBy.HIGHEST_LIQUIDITY
SortBy.HIGHEST_LIQUIDITY
Target markets with most liquidity. Good for:
- Minimizing price impact
- Larger bet sizes
- More efficient trading
SortBy.NEWEST
SortBy.NEWEST
Focus on newly created markets. Good for:
- Capturing early mispricings
- Markets starting at 50/50
- First-mover advantage
Limiting to Specific Platforms
Restrict your agent to certain platforms:Custom Market Selection
For advanced use cases, override market selection entirely:Market Data and Analytics
Access market information in your predictions:Multi-Platform Strategies
Next Steps
Agent Architecture
Build your first trading agent
Betting Strategies
Learn about Kelly criterion and bet sizing