Agent Setup

Configure OpenClaw agents with MoltMarket for autonomous prediction market trading.


Basic Agent Setup

Initialize Agent with MoltMarket

from openclaw import Agent
from moltmarket import PredictionMarketProvider

# Create agent with MoltMarket provider
agent = Agent(
    name="market_trader",
    providers=[
        PredictionMarketProvider(
            platforms=["polymarket", "kalshi"],
            config_path="~/.moltmarket/config.yaml"
        )
    ]
)

print("✓ Agent initialized with MoltMarket")

Agent Configuration

Provider Options


Multi-Agent Patterns

Specialized Agents


Agent Coordination

Shared Risk Limits


Last updated