Agent Categories
Agents are organized into the following categories:Simple Agents
Basic agents including coinflip and known outcome predictors
Research Agents
Advanced agents with web research and analysis capabilities
Prophet Agents
LLM-powered agents using GPT-4, Claude, Gemini, and more
Microchain Agents
Self-learning agents with modifiable prompts and goal management
Specialized Agents
Purpose-built agents for arbitrage, social media, and market monitoring
Running Agents
All agents in the gallery can be run using therun_agent.py entrypoint:
Example
Agent Architecture
All agents inherit from theDeployableAgent base class from the prediction-market-agent-tooling library. This provides:
- Market fetching and filtering
- Trade execution and position management
- Betting strategy configuration
- Monitoring and logging
- Deployment utilities for GKE
Key Agent Methods
Agents implement these core methods:Performance Tracking
Agent performance can be tracked using:- Langfuse: All agents support tracing via
enable_langfuse=True - Database Storage: Predictions and trades are stored in PostgreSQL
- Metrics: PnL, accuracy, and bet statistics available via the API
Adding New Agents
To add a new agent to the platform:- Create your agent class inheriting from
DeployableAgent - Add it to the
RunnableAgentenum inrun_agent.py - Register it in the
RUNNABLE_AGENTSdictionary - Deploy to GKE or run locally
Next Steps
Simple Agents
Start with basic agents
Prophet Agents
Explore LLM-powered predictions