Hyperliquid · Agentic Trading

Your agent.
Trading Hyperliquid.
While you sleep.

Open Broker is the trading CLI built for autonomous agents. Execute orders, manage positions, and run strategies on Hyperliquid DEX — programmatically.

Start trading Read the docs
Install
$ npm install -g openbroker
1bps
Transparent builder fee
20+
CLI commands
1st
Agent-native Hyperliquid CLI
24/7
Autonomous execution

A trading desk that runs itself

One command to set up. Point your agent at it. Open Broker handles order routing, position tracking, and risk management directly on Hyperliquid — no intermediaries, no CEX API key complexity.

Built as a drop-in OpenClaw skill. Compatible with any agent that can run a CLI.

openbroker — zsh
# install openbroker $ npm install -g openbroker # Setup wallet and config $ openbroker setup Generated wallet: 0x4f2a...8c3e Config saved to ~/.openbroker/.env Builder fee approved # Check account $ openbroker account Equity: $2,400.00 · Margin: $0.00 # Market buy HYPE $ openbroker buy --coin HYPE --size 0.4 Filled LONG HYPE-PERP @ 38.50 · size: 0.4 # Set stop loss and take profit $ openbroker tpsl --coin HYPE --tp +5% --sl -2% TP set @ 40.425 · SL set @ 37.69 # Check positions $ openbroker positions HYPE-PERP LONG 0.4 +$84.20 (+2.6%) $

Everything an agent needs to trade

01 · EXECUTION
Full order types
Market, limit, trigger, TP/SL, bracket orders — all Hyperliquid order types exposed as clean CLI commands and composable for agents.
02 · STRATEGIES
Built-in strategies
Grid trading, DCA, funding arbitrage, and market making — ready to run. Each strategy is a single command with full configurability.
03 · AUTOMATIONS
Sophisticated execution
Agent-generated automations. Research, build, and deploy trading strategies with your agent.
04 · AGENTS
OpenClaw native
Drop-in skill for OpenClaw agents. AI models can read positions, place orders, and manage risk without human intervention.
05 · RISK
Position management
Real-time PnL tracking, per-position TP/SL with percentage or absolute targets, reduce-only orders, and dry-run mode for everything.
06 · OPEN
Non-custodial
Your keys stay yours. All transactions signed locally by your wallet. Open-source, MIT licensed, and fully transparent.
Setup

Trading in three commands

01
Install the CLI
One command. Works anywhere Node.js 22+ runs — local machine, server, or inside your agent's container.
npm install -g openbroker
02
Run setup
Generates a new wallet or imports your existing private key. Saves config to ~/.openbroker/.env and approves the builder fee — all in one command.
openbroker setup
03
Fund and trade
Deposit USDC to your wallet on Hyperliquid. Then start trading — market orders, limit orders, grid strategies, DCA, or let your agent take over.
openbroker buy --coin ETH --size 0.1

Talk trades. Your agent does the rest.

Tell your agent you're interested in oil. It researches the market, checks funding rates, finds the play. You talk it through, agree on the thesis — and the agent writes a custom automation: entry logic, stop losses, alerts, and monitoring. Deployed and running while you move on with your day.

01
Research together
Ask your agent to scan funding rates, check prices, or find opportunities across 100+ Hyperliquid markets. Talk through the thesis before committing.
02
Agent builds the strategy
Once you agree on the play, the agent writes a custom automation — entry conditions, position sizing, take profit, stop loss — tailored to your exact thesis.
03
Executes with safety rails
The automation runs with built-in risk management. Margin warnings, PnL thresholds, and graceful shutdowns keep you protected around the clock.
04
Keeps you in the loop
Your agent alerts you when the trade triggers, when targets hit, or when something needs your attention. You stay informed without watching charts.
crude-breakout.ts
// Agent-generated: crude oil breakout export default function(api) {   const COINS = ['CL', 'BRENTOIL'];   api.on('price_change', async (ev) => {     if (!COINS.includes(ev.coin)) return;     if (ev.changePct > 1.5) {       await api.client.marketOrder(         ev.coin, true, 50       );       await api.publish(         `${ev.coin} breakout — long`       );     }   });   api.on('pnl_threshold', async (ev) => {     if (ev.changePct < -3) {       await api.client.closePosition(ev.coin);       await api.publish(`${ev.coin} stopped out`);     }   }); }
price_change funding_update position_opened position_closed pnl_threshold margin_warning tick

Your agent should
be trading already.

Get started in under five minutes. No account. No KYC. Just your wallet and a strategy.

Install Open Broker Read the docs