Skip to main content

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

PlatformCurrencyBlockchainMarket TypesBest For
OmenxDAI, USDCGnosis ChainBinary, Categorical, ScalarDecentralized trading, low fees
PolymarketUSDCPolygonBinaryHigh liquidity, real-money trading
ManifoldMana (play money)Off-chainBinary, Multiple choiceTesting, experimentation, high volume
MetaculusPointsOff-chainBinary, ContinuousForecasting tournaments, research

The AgentMarket Interface

All market platforms expose a unified AgentMarket interface:

Platform-Specific Features

Omen (Presagio)

  • 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)
.env

Polymarket

  • 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
The Berlin1PolySentAgent uses sentiment analysis and historical data:

Manifold Markets

  • Play money (Mana) - no real money risk
  • High volume of diverse markets
  • Fast iteration and experimentation
  • Community-driven questions
  • Ideal for testing agent strategies
  • 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

  • Tournament-style forecasting competitions
  • Point-based reputation system
  • Expert forecaster community
  • Questions often have longer time horizons
  • Emphasis on calibration and accuracy
The Metaculus bot tournament agent targets specific competitions:

Market Sorting and Filtering

SortBy Options

Prioritize markets that close soon. Good for:
  • Capturing value before resolution
  • Time-sensitive predictions
  • Maximizing capital efficiency
Target markets with most liquidity. Good for:
  • Minimizing price impact
  • Larger bet sizes
  • More efficient trading
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

Some agents work across all platforms, while others are specialized. Design your agent based on your goals:
  • Universal agents: Test on Manifold, deploy to Omen/Polymarket
  • Platform-specific: Optimize for one platform’s unique features
  • Arbitrage agents: Monitor prices across multiple platforms

Next Steps

Agent Architecture

Build your first trading agent

Betting Strategies

Learn about Kelly criterion and bet sizing