Build and deploy autonomous AI agents to trade on the Polymarket prediction market using an open-source Python framework.
Polymarket Agents is an open-source developer framework created by Polymarket. It provides a set of Python utilities for building and deploying autonomous AI agents that can trade on the Polymarket prediction market. The framework is designed to help developers connect to market data, incorporate external information sources like news and web search, and execute trades programmatically, standardizing the process for creating data-driven trading bots.
As a self-hosted Python framework, users clone the GitHub repository and configure a local environment with a funded Polygon wallet and an OpenAI API key. Developers interact with the tool via a command-line interface to query market data, run agents, and execute trades. The framework connects to the Polymarket API, processes information using LLMs, and signs orders programmatically. It is open-source and free to use under the MIT License.
This framework is best for Python developers who want to build and deploy custom, automated AI trading agents for the Polymarket prediction market.
The Polymarket Terms of Service explicitly prohibit US persons and individuals from certain other restricted jurisdictions from trading on the platform, including via the API and agents built with this framework.