Agentic Trading lets you connect an AI agent (such as Claude, Codex or Cursor) or your own bot to open and close perpetual futures positions on Hyperliquid or Decibel from your Tria account.
You create a trading key for it. The key can place and cancel trades, but it can never withdraw or move your funds. Your account stays self-custodial.
Who can use it
Users aged 18+ with a verified account, in an eligible location for the chosen venue. The Futures Trading Terms apply.
You need funds in the chosen venue's trading account.
How to set it up
In the Tria app, go to Settings → Agentic Trading. (On the web app: Settings → Account Settings → API Keys.)
Choose the venue (Hyperliquid or Decibel) and tap Create Key.
Review the permissions, name the key and choose how long it stays active (1 to 180 days; 90 days by default).
Copy the key and store it somewhere safe. It's shown only once.
Connect your AI tool or bot by following the developer docs: api-docs.tria.so.
Creating a key doesn't start trading. Your agent only trades once it's connected and you give it instructions.
For developers: the Tria Trade SDK is public on npm (@tria-sdk/api-trading) and PyPI (pip install tria-trade). No access token is needed.
Rules at a glance
Fees: a Tria builder fee applies to trades routed through the SDK, plus the venue's trading fees and funding.
Decibel: also needs a Geomi API key, and APT for network fees (or a gas sponsor).
Hyperliquid key slots: limited per account, and Tria's own apps use some. If you see "No slots available", remove an unused key first. Decibel has no limit.
Hyperliquid minimum order: $10. Order prices can't be more than 95% away from the market price.
Rewards (Points, VIP progress, competitions) only count for trades that carry Tria's builder address. The SDK and the AI setup add it automatically. If you use your key directly with a venue or another tool, add the builder address to every order yourself: Hyperliquid
0x9f83fe01f4a62d44e8ca471e2eeb42b5c05531d9, Decibel0x8de28fda1616c70073354755c124b7fbe1557989877983a5008bfcc50e160900. Trades without it can't be credited later.
Stopping your agent
Revoke the key at any time in Settings → Agentic Trading.
Revoking a key, or letting it expire, doesn't close your positions or cancel your open orders. After revoking, check both and close or cancel anything you don't want to keep.
Keeping your key safe
Never share your key, and never paste it into an AI chat. Tria support will never ask for it.
If you think someone else has your key, revoke it straight away and create a new one. It can't withdraw funds, but anyone holding it could trade.
Only connect tools you trust.
Understand the risks
Your agent trades on live markets with real funds. Like any trader, it can make losing trades, and positions can be liquidated. AI tools are provided by third parties, and Tria doesn't control their decisions. Nothing here is investment advice.
Troubleshooting
401 or 403 when installing the SDK: remove the old
@tria-sdklines from your.npmrcand install again.404 when installing: check the package name is exactly
@tria-sdk/api-trading."valid_until already expired": your Hyperliquid key has expired. Create a new key.
Decibel requests return 401: add your Geomi API key (
TRIA_TRADE_DECIBEL_NODE_API_KEY).VENUE_REJECTED: the order is below $10, the price is too far from the market, or there isn't enough margin.
Trades not earning Points or VIP progress: the builder address is missing, usually because the key was used outside the SDK or AI setup. Add the builder address listed above to your orders.
Full documentation: api-docs.tria.so · Read more: Introducing Agentic Trading on Tria. For anything else, contact in-app support with the full error message and the venue.