polymarket-prediction-agents

Automate Polymarket trading decisions using LLM reasoning, Gamma API data, and on-chain order submission.

10|2|Updated Mar 8, 2026
One-click install
npx skills add https://github.com/mahmoud20138/Tradecraft --skill polymarket-prediction-agents
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: polymarket-prediction-agents
Source: https://github.com/mahmoud20138/Tradecraft/tree/main/plugins/tradecraft/skills/polymarket-prediction-agents
Command: npx skills add https://github.com/mahmoud20138/Tradecraft --skill polymarket-prediction-agents

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

AI-powered autonomous trading on decentralized prediction markets, integrating LLM reasoning with live market data, gamma API-based feeds, and on-chain execution.

Core Features & Use Cases

  • Autonomous AI agents for market research and execution on Polymarket
  • RAG-enabled context gathering from Gamma API data, news sources, and web search
  • On-chain order submission via py-clob-client for automated bets

Quick Start

Configure your environment and run the main agent to start autonomous trading on Polymarket.

Frequently Asked Questions about polymarket-prediction-agents

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate trading decisions on Polymarket using AI agents?

Automate Polymarket trading by integrating LLM reasoning with live market data and on-chain execution. The agent uses the Gamma API, news sources, and RAG context to inform autonomous bets and submit orders via a Python client.

How does RAG context improve prediction market trading outcomes?

RAG context improves prediction market trading by gathering relevant data from the Gamma API, news sources, and web search to inform LLM reasoning. This contextual information helps the AI agent make more accurate autonomous trading decisions on Polymarket.

Can I use py-clob-client for on-chain order submission on Polymarket?

Yes, you can use py-clob-client for on-chain order submission on Polymarket. The autonomous AI trading agent utilizes this Python client to execute automated bets and submit orders directly on-chain.

What is the best way to build an autonomous trading agent for decentralized prediction markets?

Building an autonomous trading agent for decentralized prediction markets is best achieved through a modular architecture. This approach combines LLM reasoning, Gamma API market data integration, RAG-based context gathering, and on-chain order submission for automated execution.

Do I need LLM reasoning to execute automated bets on Polymarket?

You do not strictly need LLM reasoning to execute automated bets on Polymarket, but integrating LLM reasoning with market data and RAG context allows the AI agent to autonomously research and inform its trading decisions before on-chain execution.