✨ Visual Editor

close

Thread Truncated

Only the first 20 tweets are shown to ensure high-quality rendering and prevent image size issues.

palette Canvas & Background

Gradient:arrow_forward
Text Color:
135°

style Card Style

40px
16px

text_fields Typography

16px
zostaff
@zostaff
## Three AI agents, one prediction market, zero bosses. Below is the exact architecture of a system that trades Polymarket autonomously
Thread image
zostaff
@zostaff
Three Agents:

Claude (Anthropic API)
- strategist. Takes market data + news -> returns probability estimate, recommendation, and confidence score.

Codex (OpenAI) - engineer. Writes, debugs, iterates bot code. Describe a task in plain text - get a working script with tests.
zostaff
@zostaff
OpenClaw (ex-Clawdbot) - orchestrator. Open-source agent running on your hardware. Persistent memory, cron jobs, modular skills, Telegram interface. Coordinates Claude and Codex, executes trades, logs everything. Not a chatbot - an operating system for life without an office
zostaff
@zostaff
One thinks. One builds. One runs.
zostaff
@zostaff
## Why OpenClaw, Not a Cron Script?
zostaff
@zostaff
A cron script can't remember context from two weeks ago, adapt strategy through an LLM on the fly, deploy new skills on its own, or talk to you in Telegram like a human.
zostaff
@zostaff
OpenClaw is a gateway + agent runtime. It routes messages to an LLM, interprets responses, calls the right tools, executes. Persistent memory means: "last Tuesday the strategy lost 3% on Fed markets" -> it adapts behavior on its own. Skills are modular: a folder with SKILL.md + scripts. New skill -> OpenClaw picks it up automatically.
zostaff
@zostaff
Telegram as a remote: "stop all positions" -> done. "
Weekly report" -> P&L in chat.
zostaff
@zostaff
## Bot Core: market_scanner
zostaff
@zostaff
Here's the main file - 20 lines that wire Claude, Polymarket, and decision logic together:
zostaff
@zostaff
Thread image
zostaff
@zostaff
Every 5 minutes OpenClaw calls this function via cron.

Exchange + market data -> Claude -> decision -> trade
zostaff
@zostaff
## System Prompt - the Strategy Brain
zostaff
@zostaff
Claude receives this prompt with every request. It defines how the model estimates probabilities and when to recommend a trade:
zostaff
@zostaff
Thread image
zostaff
@zostaff
Edge > 0.10 + confidence > 0.7 = trade. The formula that replaces your boss.
zostaff
@zostaff
## Codex: a Bot That Upgrades Itself
zostaff
@zostaff
OpenClaw detects win rate dropping -> creates a task -> Codex patches code, runs tests, deploys. Without you.
zostaff
@zostaff
Thread image
zostaff
@zostaff
## What It Looks Like at 3 AM
Generated by Thread Navigator
100%
view_carousel Carousel Studio NEW
Press + S to quick-export