Polymarket
Prediction market integration via Gamma and CLOB-aware provider actions. Setup, preflight, and EU egress for live orders.
New here? Use the main venues has the short path: check, fund, preview and confirm, with prompts to copy.
Category: Prediction
Polymarket flows use governed catalog actions with CLOB prep and policy gates in the runtime. Live orders egress through EU infrastructure, not from the Hermes machine region alone.
Credential model
| Layer | Model |
|---|---|
| Owner signer | User Privy embedded wallet in production |
| Signer delegation | User grants Thirdfy signer access via Privy |
| CLOB credentials | Encrypted polymarket_clob stored in Thirdfy API after browser setup |
| Deposit wallet | Deterministic funder with signatureType=3 (POLY_1271) for new users |
| Collateral | Deposit-wallet pUSD for CLOB buying power. Signer EOA USDC is not CLOB buying power. |
Wallet, funder, and CLOB credentials must belong together. ERC-7710/Gator applies to EVM paths, not CLOB order signing.
Discovery
| Surface | Example |
|---|---|
| MCP | getProviderActions { provider: "polymarket" } |
| CLI | thirdfy-agent actions with polymarket filter |
Use it
Ask your agent:
Check the venue. Readiness reports funding, credentials, approvals and the blockers that stop an order.
Trimmed result from a real read on 2026-10-08:
Signed in with Thirdfy, leave out agentKey: the connected agent is used. With an agent API key, add agentKey.
ready is true only when blockingReasons is empty. pUsdBalance is deposit-wallet pUSD, the CLOB buying power.
agentRun, executeIntent and the delegation tools need an agent API key. An app signed in with Thirdfy (Claude, ChatGPT) doesn't get them: it runs the same actions with previewOrder and walletExecute.
One read. Search Gamma for markets:
Trimmed result from a real read on 2026-10-08 (one event, one of its markets):
What to check: search also returns closed events, so skip any with closed: true. outcomes, outcomePrices and clobTokenIds are JSON strings in the same order; parse them and take the token ID for the outcome you want. Check acceptingOrders, the tick size and orderMinSize before you price an order.
One write. A limit order on one outcome token:
This places a real order with real funds. Run getVenueReadiness first and confirm with the wallet owner.
price is between 0 and 1 per share. size is in shares. side is BUY or SELL. Run thirdfy-agent preflight with the same flags to check the params before you send it.
Readiness checklist
- Browser or Privy setup flow completed for the owner wallet.
- CLOB credentials stored and valid before autonomous order placement.
- Setup, preflight, and geoblock gates pass in production runtimes.
- Credits gate orchestration; deposit-wallet pUSD funds the trade.
- Gasless relayer steps for deposit-wallet deploy and approvals where applicable.
Run mode
| Setting | Use |
|---|---|
runMode: agent_wallet | The one run mode, and the default. The agent's own wallet trades with its stored CLOB credentials. |
signer: user | Thirdfy prepares the transaction and your own wallet signs it. Build it with /build-tx (CLI --signer user). runMode: self is an old name for this. |
runMode thirdfy and hybrid are retired: they still run, as agent_wallet, and the reply lists them in deprecations[]. Gator delegation and acting for many wallets work as before, but they are not run modes.
See Delegation and protection for lane boundaries.
MCP sequence (summary)
getProviderActions { provider: "polymarket" }- Gamma discovery (tags, events, markets)
- CLOB setup and readiness actions
- Place or cancel orders with managed venue credentials
See Thirdfy MCP.
Hosted deploy
Polymarket brains are on EarnOrg (docs.earnorg.com).