Skip to main content
This page takes you from one line of text to a first order placed by your agent, in the same three steps as outcome.xyz/ai: paste, approve, trade.
1

Paste

Open your agent in an empty folder and paste:
Your agent fetches the skill file, reads its rules, and loads further pages only when it needs them. Reading markets needs no wallet and costs nothing, so you can start with questions like these:
Your agent installs the SDK, reads live data from Hyperliquid, and answers with the market link and the time it read each price.
2

Approve

For real trading your agent needs a funded account and a trading-only key that your wallet approves. Your agent creates the key, opens outcome.xyz/ai/connect and copies the key’s address to your clipboard. Paste it, check that the start and end match what your agent printed, and approve. The key can place and cancel orders. It cannot withdraw. See Set up trading below.
3

Trade

Ask for a trade in plain words. Your agent states the market, side, price, size, cost and the most the order can lose, then waits. Nothing is signed until you say yes.

Set up trading

Your agent trades with a trading-only key, which Hyperliquid calls an agent key or API wallet. You approve it from your own account, and your wallet’s own key never goes to the agent. The key can place and cancel orders. It cannot withdraw or send your funds, and you can revoke it at any time. Agent keys explains it in full.
Never give an agent the private key or seed phrase of your wallet. An agent that follows Outcome’s skill will refuse it.
  1. Fund your account. Outcome trades settle in USDC on Hyperliquid. If you already trade on outcome.xyz, your agent uses that balance. If not, see Funding your account. Hyperliquid’s bridge takes native USDC from Arbitrum. The minimum is 5 USDC, and a smaller deposit is not credited. A new Hyperliquid account pays a one-time 1 USDC activation fee.
  2. Move USDC to spot if needed. On a standard Hyperliquid account, deposits land in the perps balance and Outcome orders spend the spot balance. Your wallet signs that transfer, not the agent’s key. See Fund your spot balance.
  3. Approve the trading-only key from your account. Your agent creates the key on your machine, shows you its address, and where it can, opens outcome.xyz/ai/connect and copies the address to your clipboard. Sign in, paste the address, check that the page shows the same start and end as the address your agent printed, and approve it with your wallet. The key’s private half stays in a local environment file on your machine. It should never appear in chat, in code or in a repository.
  4. Tell your agent your account address. The page shows it once the key is approved. The agent signs orders with the key, for your account. See Authentication.
  5. Check Outcome’s builder address is approved. Orders that carry Outcome’s builder code count for liquidity rewards. If you have enabled trading on outcome.xyz, your account approved it then and there is nothing to do. If not, the approve page asks you to enable trading first. The approval is signed by your wallet, not by the agent’s key.
Only approve a key your own agent created on your machine. Never approve an address somebody sent you: whoever holds the key can trade your balance until you remove it.
The smallest order is 1 USDC of notional.

Prompts for quoting both sides

If you run a quoting strategy, give the agent hard numbers:
A limit written in a prompt is an instruction to the agent, not a control on the key. Keep in the account only what you want the agent to trade with.

What to expect from the agent

  • It shows the source and the time for every price it quotes.
  • It asks before the first live order. If you later turn confirmations off, it says so at the start of every session.
  • It prefers limit orders and checks depth before a market order.
  • It backs off when Hyperliquid rate limits it.
  • It stops and tells you if you are in a region where Outcome is not available. See Facts for agents.
If your agent does something else, stop it and tell us.

Practise first, if you want

The SDK can also target Hyperliquid’s testnet, where orders use test funds. Ask your agent to practise on testnet and it will switch. Testnet has its own markets and needs test funds from Hyperliquid’s testnet.