Overview
Gnosis Prediction Market Agent is a comprehensive library for exploring the landscape of AI agent frameworks through the lens of prediction market trading. Build agents that can research, analyze, and place bets on markets from multiple platforms. The library provides a unified interface for agents to interact with:- Presagio (formerly Omen) - Decentralized prediction markets on Gnosis Chain
- Manifold - Play-money prediction markets
- Polymarket - Cryptocurrency-based prediction markets
- Metaculus - Forecasting platform for future events
Key features
Multiple agent frameworks
Explore different AI agent architectures including autonomous agents, microchain agents, prophet agents, and more
Multi-platform support
Deploy agents across Presagio, Manifold, Polymarket, and Metaculus with a unified interface
Extensible architecture
Easily create custom agents by subclassing DeployableTraderAgent with minimal code
Production ready
Deploy agents to cloud infrastructure with built-in monitoring and analytics
Interactive apps
The library includes interactive Streamlit applications:- Agent Research App - Pick a prediction market question, or create your own, and select agents to perform research and make predictions. Deployed at pma-agent.ai.gnosisdev.com
- Autonomous Trader Agent - An autonomous agent with function calling that can be guided by user input. Deployed at autonomous-trader-agent.ai.gnosisdev.com
Live dashboard
Track the on-chain activity of deployed agents on the Dune Analytics dashboard.Getting started
Installation
Set up the project with Poetry and Python 3.11+
Quickstart
Run your first agent in minutes with the coinflip example
Configuration
Configure environment variables for API keys and blockchain access
Contributing
Check out issues and contribute to the project