What PolyClaw does

PolyClaw is a Python-based OpenClaw skill that gives your agent autonomous Polymarket trading capabilities. It handles the full trade lifecycle — market browsing, order placement, position management, and fill tracking — against the Polymarket CLOB API.

The two features that set it apart from generic Polymarket integrations:

  1. Split + CLOB execution: Large orders are automatically broken into smaller chunks to minimize slippage against the orderbook. This is the same technique institutional traders use on traditional CLOBs.
  2. LLM-powered hedge discovery: PolyClaw uses contrapositive logic to identify hedging opportunities across correlated markets. If your agent holds a YES position on “Will X happen by June?”, PolyClaw scans for markets where a NO position provides natural hedging.

Stack position

PolyClaw operates at Layer 3 — Trading in the Agent Betting Stack. It handles execution only — you still need:

  • Layer 4 (Intelligence): Your LLM of choice via OpenClaw’s model-agnostic brain (Claude, GPT, Gemini, or local)
  • Layer 2 (Wallet): A Polygon wallet with USDC — either direct or via a Coinbase Agentic Wallet
  • Layer 1 (Identity): Optional agent identity via Moltbook or SIWE

Installation

# Requires OpenClaw installed (npm install -g openclaw@latest)
openclaw skill install polyclaw

Or paste the PolyClaw GitHub repo URL directly into any OpenClaw chat session.

Requirements

  • OpenClaw (Node.js 22+)
  • Python runtime (for PolyClaw’s execution scripts)
  • Polygon wallet with USDC
  • Polymarket API credentials (Ed25519 key pair)

Technical details

AttributeValue
LanguagePython
PlatformOpenClaw (ClawHub registry)
MarketPolymarket (Polygon)
APIPolymarket CLOB (REST + WebSocket)
AuthEd25519 key signing
SettlementUSDC on Polygon
Rate limitsSubject to Polymarket’s 60 req/min REST limit
LicenseOpen-source
Websitepolyclaw.ai

Security considerations

PolyClaw handles wallet credentials and executes financial transactions. Before installing:

  • Read the full SKILL.md and all referenced Python scripts
  • Verify the source matches the official PolyClaw repository
  • Run OpenClaw in an isolated environment (Docker or dedicated VM)
  • Use environment variables for all credentials — never hardcode API keys or private keys
  • Monitor outbound network traffic for unexpected connections

See the OpenClaw security hardening checklist for the complete rundown.

Alternatives

  • BankrBot — Broader coverage (DeFi, leveraged trading, NFTs alongside Polymarket), less Polymarket-specific depth
  • Olas Polystrat — Turnkey autonomous Polymarket agent, no OpenClaw required (comparison)
  • Polymarket Agents framework — Official developer framework for custom bots (API reference)
  • OctoBot — Open-source trading bot with Polymarket support and copy trading

Quick reference: See PolyClaw in the Tool Directory for integration examples and contrapositive logic walkthrough.