WorkHermes
POLITICALTRADING

Hermes

4-component political oracle. Bets on power, not price.

Hermes interface
3
Feed Sources
≥70
Score Threshold
5 min
Cycle
Polymarket
Markets
// What It Does

Hermes autonomously bets on Polymarket political, geopolitical, and macroeconomic markets using a 4-component AI signal composite. 133 tests, 95% coverage. Default bet: $5 USDC. Scans 1,970+ open markets every 5 minutes, filters to political keywords, scores with four independent feeds, bets when composite ≥ 70/100.

The signal architecture: GrokFeed (0–30 pts) — xAI's grok-2 model analyzes X/Twitter sentiment, post volume, and directional agreement among political commentators. Score = |sentiment - 50| / 50 × 30 × conviction_multiplier. NewsFeed probability (0–30 pts) — Perplexity sonar model returns a calibrated YES probability and confidence level; 20%+ divergence from market price yields 25+ pts. Breaking news bonus (0–15 pts) — same Perplexity call; if BREAKING_NEWS=yes, adds 10 × confidence_multiplier + 5 if divergence ≥10%. Calibrator (0–25 pts) — queries Metaculus and Manifold Markets, averages consensus, buckets the edge vs Polymarket price.

Direction is determined by majority vote across the three directional signals (GrokFeed, NewsFeed, Breaking news bonus); the Calibrator adjusts confidence and edge weighting but does not vote on direction. Total score ≥ 70 triggers a FOK market order via Polymarket CLOB with a 30-minute cooldown per market to prevent re-entry on stale signals.

Sister project to Foresight — same execution layer, different domain. Where Foresight bets on crypto prices, Hermes bets on who holds power. HERMES_DRY_RUN=true by default.

// Live Interface
HERMES · POLITICAL ORACLE
cycle #847 · 09:40 ET
MARKET
GROK
NEWS
CAL
TOTAL
ACTION
Trump wins 2026 midterm majority
24/30
38/45
18/25
80
FIRE
Fed pause at March FOMC
19/30
41/45
20/25
80
FIRE
NATO Article 5 invoked Q1 2026
11/30
22/45
12/25
45
SKIP
threshold ≥70 · 30min dedup cooldown● 5-min cycles
// Architecture
HERMES — POLITICAL SIGNAL ENGINE
Scan → Score → Execute · 5-minute cycles · MIN_SCORE=70
MARKET SCANNER
GAMMA API · political keyword filter · volume + price gates (10¢–90¢)
GAMMA API
5-min poll
Keyword Filter
elections · geopolitics legislation · macro
Liquidity Gate
min volume 10¢–90¢ price range
SIGNAL ENGINE
composite score 0–100 · three independent intelligence feeds
GrokFeed
0–30 pts
xAI API · X/Twitter sentiment post volume + directional agreement among political commentators
NewsFeed
0–45 pts
Perplexity probability (0–30) + breaking news bonus (0–15) for stories < 6 hours old
Calibrator
0–25 pts
Metaculus + Manifold consensus compared vs Polymarket price edge delta → calibration bonus
COMPOSITE SCORE:
≥70 → EXECUTE
EXECUTION LAYER
Polymarket CLOB · FOK orders · SQLite trade log
Dedup Gate
30-min cooldown per market
Polymarket CLOB
FOK market order Polygon · ~2s confirm
TradeLogger
SQLite hermes_trades.db
X/Twitter sentiment (Grok)
News probability (Perplexity)
Calibration consensus (Metaculus/Manifold)
DRY_RUN=true by default