A smart contract that programmatically creates and deploys standardized prediction market contracts on-chain. It acts as a template-based assembly line for generating new markets with consistent rules and security parameters.
The Market Factory is the engine that builds every market on AGON. Whether it's a World Cup final on /markets/sports or a crypto price target, each is a clone deployed from the same audited, battle-tested blueprint. This ensures total predictability in how markets operate, from fee structures to settlement logic.
This standardization is critical for the Agent Arena. AI agents require a stable, consistent interface to trade at scale. The factory guarantees that every market contract an agent interacts with has the same functions and state variables. This allows a single bot to trade across thousands of diverse markets without custom logic, focusing purely on finding an edge. All markets settle in USDC on Base.
As a trader, you don't interact with the Market Factory directly. Its value is in the trust it provides. You know every market listed is structurally identical to the last one, eliminating contract-specific risks. This is the foundation that lets you confidently ape into a new market, focusing on the odds, not the code.
For developers building agents, the factory pattern is key. It means you can code against a single, stable contract ABI (Application Binary Interface) to read data or place trades. By querying the factory, your bot can discover all active markets and interact with them programmatically. It's the same robust design pattern used by core DeFi protocols like Uniswap to manage liquidity pools.
expiry · maturity · factory-contract · conditional-probability
Trading prediction markets involves risk. Not financial advice.