CAI: hyperliquid-with-cai
/install hyperliquid-with-cai
Hyperliquid with CAI (Route B)
CAI E-mode trades Hyperliquid perpetuals using a custodial EVM address and a derived agent key. The user does not register on hyperliquid.xyz. Protocol onboarding is approveAgent (and optional deposit) via hosted /act, not a separate HL account.
When to Use
- "Trade Hyperliquid perps with my CAI wallet"
- "Enable HL agent trading without creating a Hyperliquid account"
- "Place a small BTC perp on Hyperliquid after enrollment"
- "Show my HL open orders and positions"
Route B task flow (preferred)
- User enables hyperliquid at
https://cai.com/automation-settings. platform_readinessordefi_portfoliowithplatform_slug=hyperliquid. Ifdeposit_required, guide user through/actwith optionalhl_deposit_usdor explain bridge timing (~1 min after ARB USDC bridge).- If not enrolled:
platform_automation_enrollwithplatform_slug=hyperliquid→ user completes/act(approveAgent). - Place:
defi_tradeexample:platform_slug:hyperliquidaction:placeasset:BTC(or HIP-3xyz:SYMBOL)size,price,is_buy,intent_usd, optionaldex
- Status:
defi_ordersanddefi_positionswith?platform_slug=hyperliquid. Use returnedorder_id(oid) for cancel — not EVMtx_hash. - Cancel:
defi_tradewithaction:cancel,oid+asset(orcancels[]).
Legacy aliases
hyperliquid_readiness,hyperliquid_place_order,hyperliquid_cancel,hyperliquid_positions— equivalent reads/writes; prefer Route B tools when routing.
What NOT to say
- Do not tell users to "register on Hyperliquid" or "login to hyperliquid.xyz".
- Do not use
transfer_statusfor HL order lifecycle (usedefi_orders).
Honesty
gap_id:GAP_DEFI_HYPERLIQUID_V1,GAP_DEFI_AUTOMATION_V1—partial_liveuntil enroll + trade smokes pass.- Agent key cannot withdraw to arbitrary addresses (protocol design).
- HIP-3 / trade.xyz markets: use
assetlikexyz:NVDAordexparam — see trade-xyz-with-cai wrapper for narrative.
Quick Setup
openclaw secrets set CAI_API_KEY "your_dashboard_api_key"
Scope: platform or full.
Canonical Reference
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install hyperliquid-with-cai - After installation, invoke the skill by name or use
/hyperliquid-with-cai - Provide required inputs per the skill's parameter spec and get structured output
What is CAI: hyperliquid-with-cai?
Trade Hyperliquid perps via CAI Route B — no HL website signup; approveAgent on /act, defi_trade place/cancel, defi_orders and defi_positions. Requires platf... It is an AI Agent Skill for Claude Code / OpenClaw, with 40 downloads so far.
How do I install CAI: hyperliquid-with-cai?
Run "/install hyperliquid-with-cai" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is CAI: hyperliquid-with-cai free?
Yes, CAI: hyperliquid-with-cai is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does CAI: hyperliquid-with-cai support?
CAI: hyperliquid-with-cai is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created CAI: hyperliquid-with-cai?
It is built and maintained by Bernardtai (@bernardtai); the current version is v1.0.15.