Open source · alpha · Hyperliquid testnet

The trading interface
for coding agents.

T3 Trade is an open-source desktop and self-hosted web app for supervised perp trading on Hyperliquid testnet. Give an agent a mandate in plain English. T3 Trade gives it a fixed set of market and execution tools, checks every proposed entry against hard limits, and signs locally only after every check passes.

Download for macOSRun from source

Alpha software. Places orders on Hyperliquid testnet only. Testnet funds have no real-world value. Mainnet is not supported.

T3 Trade desktop app showing a BTC trading thread, the agent's plan, market watches, and an open position
The desktop app showing one BTC trading mission: agent conversation, current plan, market watches, and exchange position data.

One thread. One market. One mandate.

A mission is a trading thread inside T3 Trade. Choose a perp market and type your mandate as the first message. T3 Trade binds that agent conversation to one testnet account and limits its tools by market, direction, leverage, notional, planned risk per position, cumulative loss in USD, and margin mode.

Resumes when a condition is met

The agent can use a tool to register a price cross, candle close, position update, or unrealised-PnL watch. T3 Trade evaluates the watch and resumes the same thread with fresh market, account, position, order, and budget data.

Reconciles with Hyperliquid

T3 Trade reads canonical positions, orders, and fills from Hyperliquid after submissions, fills, position updates, reconnects, and restarts. Local records do not override the exchange.

Accounts for risk before entry

Realised loss, paid fees, protected open-position risk, and pending-entry risk all count toward the mission's USD loss limit. When the budget is exhausted, T3 Trade blocks new exposure and keeps valid reduce-only protection in place.

Every entry passes the same 17 checks.

Before signing a position-increasing order, T3 Trade checks mission status, entry permission, current strategy and authority, agent lease, allowed direction and market, signer approval, fresh account and order-book data, valid size and price, exchange minimums, leverage, gross notional, per-position risk, cumulative loss budget, pending execution conflicts, and the stop. One failure rejects the order.

  • Every position increase requires a stop. T3 Trade submits an exchange-native reduce-only stop, then confirms its size against the position reported by Hyperliquid.
  • Retries reuse the same order identity. The client order ID and local request key are deterministic, so a retry does not create a second order.
  • You keep direct control. Use the app to pause new entries, cancel entry orders, reduce or close the position, and revoke the mission even when the agent CLI is stopped.
trading_preview_order17 required checks
  • mission active; entries allowedauthority current
  • market, side, and leverage allowedwithin mandate
  • account and order book freshlive exchange data
  • size, price, and minimum validexchange rules
  • position and mission risk availableUSD loss budget
  • valid reduce-only stop attachedrequired
  • T3 Trade signs only after all 17 checks pass
Operator controls:PauseCancel entriesReduce 50%CloseRevoke

Bring your coding-agent CLI.

The interface inherited from T3 Code supports five CLIs installed and authenticated on your machine. Trading missions currently run with Claude Code, Codex, or OpenCode. Cursor and Grok remain available for regular coding threads. The agent never receives the signer key.

Claude Code
trading missions
Codex CLI
trading missions
OpenCode
trading missions
Cursor
coding threads only
Grok CLI
coding threads only
No valid signer keyExecution is disabled. T3 Trade rejects every action that requires a signature.
Valid key loadedExecution is enabled for the Hyperliquid testnet account derived from the key.

Execution requires a local testnet private key.

This alpha has no wallet onboarding. To trade, provide one 32-byte EVM private key for the Hyperliquid testnet account in ~/.t3trade/secrets. T3 Trade derives the account address, holds the raw key in server memory, and uses it to sign orders locally. It does not write the key to logs, reports, or the database. Use a testnet-only key. This temporary key setup is the only wallet path today.

What ships in this alpha.

T3 Trade is for supervised trading experiments on Hyperliquid testnet.

Today
  • Trading missions for Claude Code, Codex, and OpenCode
  • Hyperliquid testnet orders with fixed authority and USD loss limits
  • Required reduce-only stops, exchange reconciliation, and retry-safe submission
  • Apple Silicon macOS app and a self-hosted web app that runs from source
Not today
  • No mainnet support
  • No packaged Windows, Linux, or Intel Mac builds
  • No wallet onboarding; execution uses one local testnet private key
  • No mobile app and no support for unattended trading with real funds
Open source

Built on T3 Code. Open all the way down.

T3 Trade is an MIT-licensed fork of T3 Code, the open-source interface for running coding agents from one app. T3 Trade keeps the upstream agent and repository workflows, adds trading in dedicated packages, and records every intentional fork change in PATCH_LEDGER.md.

Run T3 Trade on testnet.

Download the Apple Silicon Mac app, or run the server and web app from source. Install one supported trading-agent CLI, add a testnet-only signer key, choose a perp, and type your mandate.

The macOS build is Apple Silicon only and is not code-signed or notarized. On first launch, right-click the app and choose Open to pass Gatekeeper. Run from source on Windows, Linux, and Intel Macs. Older builds and checksums are on the releases page.