autonomous trading for Polymarket & Hyperliquid

Every retail trader gets a hedge fund.
Every quant
becomes a creator.

Describe a strategy in English. We compile it to a typed DSL, backtest it on 30 days of real Hyperliquid data, and run it as an autonomous paper agent — 11-rule risk engine on every order. Top agents become copy-tradable.

loading…
2
venues live
HL + PM
11
risk rules
every order
60s
deploy time
plain english
WS
real prices
browser-direct
real Hyperliquid · streaming · not a video
live· synced from the public leaderboard
autonomous · ticking every 60s
26
agents live
13 active · 24h
6,953
trades executed
23% win rate
+36.4%
top agent · 30d
real backtest
30d
data window
real HL candles
11
risk checks / order
deterministic gate
2
venues wired
HL + Polymarket
Track records are the real output of the @cortex/core backtest engine on live Hyperliquid candles, paper-settled against live prices. No fabricated numbers, no real-money execution. Not investment advice.
live · paper trading

Agents trading right now.

Every agent below is paper-trading against live Hyperliquid prices. Click one to see its real-time fill stream, reasoning log, and equity curve.

Full board →
live · ranked by 7d return
every agent on this board is paper-trading right now against live Hyperliquid prices
#handlestrategyreturnequitytradeswinratevenues
01@aria_quantRSI Overbought Fade · ETH+36.38%$3409.5421361%HYPE
02@crisp_ledgerBreakout Momentum · HYPE+36.29%$1771.8210235%HYPE
03@frosted_kappaMACD Bearish Cross · SOL+30.76%$3661.1715131%HYPE
04@violet_echoDeath Cross Trend · SOL+11.53%$2118.998732%HYPE
05@fierce_haloVolatility Fade Short · BTC+11.36%$1781.8148238%HYPE
06@amber_driftStochastic Overbought Fade · AVAX+11.09%$1110.9217263%HYPE
07@quiet_deltaDonchian Breakdown · BTC+10.33%$3530.5412526%HYPE
08@gritty_torqueRSI Fade Short · BTC+8.16%$3785.648551%HYPE
09@vol_marcusMomentum Trend Short · SOL+6.70%$1920.5964521%HYPE
10@gritty_spire64ETH RSI Overbought Short+3.90%$47951.1440253%HYPE·POLY
Deploy your own agent in 60 seconds →no signup · real prices · persistent for 7 days
cross-venue · polymarket gamma api

Markets your agents can route to.

Polymarket lost 30% of liquidity to Kalshi in two months. The same Cortex strategy works on whichever venue your edge lives in.

origin // Q1 2026

We're building this because we needed it.

We ran our own Hyperliquid mean-reversion bot for 90 days with $4,250 of our own money. Worked fine through January — about a 4% drawdown, normal. Mid-February the volatility regime shifted, the edge collapsed, our time stop was too long, we held into adverse moves. By the time we recognized it, we'd dropped to $400.

The lesson wasn't that mean reversion doesn't work. The lesson was: we had no infrastructure to detect regime shifts in real time, and no risk engine to halt trading when drawdown crossed a threshold. Cortex is that infrastructure.

how it works
01

Describe in English

Plain language in. AI compiler emits a typed StrategyAST. Every signal — momentum, funding, volatility, order-book imbalance, event calendar — has an executable implementation. Not a runtime LLM call.

> "Long ETH when 1h
momentum positive AND
funding negative"
✓ compiled to StrategyAST
zod-validated
02

Backtest then deploy

30-day backtest runs on real recent Hyperliquid data before you deploy. If the equity curve doesn't make sense, you see it in 4 seconds. Then one click — agent goes live in paper mode.

agent.status: RUNNING
venues: HL + POLY
tick interval: 1m
risk gate: 11 rules
audit: append-only
03

Top agents become hedge funds

The public leaderboard already ranks every paper agent by realized return. Next: when your track record speaks, others copy you and you earn carry on the AUM you attract. Substack for trading strategies — the creator layer ships after launch.

// roadmap — illustrative
copy_subs: 12 active
shadow AUM: $4,200
perf fee: 10%
carried: $186.40
risk engine // deterministic gate

Eleven checks. Every order. No exceptions.

The part of an autonomous trading agent that actually matters isn't the model — it's what stops it. Every order an agent emits passes through a pure, synchronous gate before it can reach a venue: eleven rules, strict priority order, first failure wins. No LLM in the hot path, nothing to jailbreak, nothing non-deterministic. This is the infrastructure we didn't have when we blew up our own account.

01kill_switch_active

A single flag — per-agent or platform-wide — halts every new order instantly.

02symbol_not_allowed

Orders only route to markets the strategy explicitly whitelisted.

03order_size_zero

Rejects zero- or negative-notional orders before they ever touch a venue.

04price_band_violation

A limit price must sit within a set band of live mid — no fat-finger fills.

05cooldown_active

After a losing trade, new entries pause for a set window to break tilt loops.

06max_concurrent_positions_exceeded

A hard ceiling on how many positions can be open at the same time.

07max_position_size_exceeded

No single position is allowed to exceed its USD notional cap.

08per_trade_risk_exceeded

Stop-distance × size can't put more than X% of equity at risk on one trade.

09max_drawdown_exceeded

Crossing the peak-to-trough drawdown limit halts the agent entirely.

10insufficient_equity

Blocks non-positive equity and anything above a 50× hard leverage cap.

11venue_circuit_breaker

If a venue is flagged unstable, every order to it is held until it clears.

Live illustration of checkOrder() from @cortex/core — the same pure function that runs in production on every agent intent, short-circuiting on the first rule that fails.
why now · june 2026
VENUE LIQUIDITY

$5.6B/week is moving through prediction markets

Kalshi $3.99B, Polymarket $1.65B in the week of May 18 alone. Kalshi pulled away from Polymarket in April with 70.8% of combined volume. Liquidity is migrating mid-cycle and retail has no infrastructure to follow it. Cortex routes across venues so your strategy follows the edge.

HYPERLIQUID

HYPE just hit its all-time high

$1B+ daily perp volume. Top-10 by market cap. HIP-4 brought prediction markets to Hyperliquid itself in April. Three prediction venues converging on the same outcomes, with no consumer-facing tool that abstracts venue choice. We are that tool.

INFRASTRUCTURE

x402 is now Linux Foundation infrastructure, not a thesis

69,000 active agents, 165M transactions, $50M in cumulative volume. Stripe shipped support in February. Visa, Mastercard, AWS, Google, Solana, Base, Microsoft are launch members. The plumbing for agentic finance is built. We're the first product using it for trading data.

manifesto

Markets are information processing machines. The edge goes to whoever processes information faster, with fewer mistakes, at lower cost. For a century, that meant banks with mainframes. Then prop shops with co-location. Now it means agents with APIs.

We're at an inflection point. Prediction markets are open. Perpetuals are permissionless. The data infrastructure is public. The only thing missing is the software layer that lets a smart person with a good idea actually compete — without burning six months writing infrastructure code.

We think the best trading strategies in the next decade won't come from Goldman or Citadel. They'll come from a former nurse who noticed a pattern in healthcare prediction markets. A sports analyst who turned his model into a Kalshi strategy. A student in Bangalore who found a Hyperliquid arbitrage nobody else saw.

These people can't hire a quant dev team. They shouldn't have to.

Cortex is the infrastructure layer for the democratization of quantitative trading. We're not making it easier to gamble. We're making it possible to express a real edge, manage risk properly, and get paid for being right. That's not a product. That's a category.

team
M
Maharsh Khatri
@maharsh · CEO

UC Berkeley CS '26 admit, deferring. USACO Platinum. Co-built EchoVision (AI wearable for the visually impaired, deployed across 10 NJ senior centers). Shipped the Cortex MVP solo in the weeks after his co-founder stepped away.

N
Nikul Maloo
@nikul · CTO

Carnegie Mellon SCS admit, deferring — at 17. USAMO qualifier, USACO Gold, two-time AIME Distinction. ML research at CMU LTI (2.5× faster inference), plus a fact-checking pipeline piloted by two university labs. Built a 1M-event/sec order-book simulator in Rust for Cortex backtesting.

Get alpha access.

Private alpha. Onboarding in cohorts of 50. Or jump in now and try paper trading without signing up.