Quickstart
Link a user, run an agent for them and chat with Ask Circuit.
Test with Paper trading
Build against production with Paper trading.
Demo app
Pinewood, a demo app built on this API, with every call it makes shown on screen.
API reference
Both methods of the one endpoint, generated from the contract.
What your app can do
- Chat: chats with Ask Circuit, with its replies in Markdown.
- Act: execute any action Circuit supports from a picked wallet: swaps, transfers to any address, orders, lending, withdrawals, and raw EVM and Solana transactions.
- Trade through Ask: Ask proposes trades on every venue Circuit supports, including perps on Lighter and Hyperliquid, prediction markets, swaps and lending. Your user approves each one in your interface.
- Run agents: start recurring agents (Circuit’s, the user’s own and popular community agents) as sessions with Real money or Paper trading, top them up and stop them, from your interface or through Ask.
- Show holdings: the picked wallets, their tokens, perps, predictions and positions, and their value.
What your app can’t do
- Reach anything else. Your app sees and acts on only the picked wallets, the agents on them and its own chats. Exchange accounts the user connected to Circuit stay out of reach.
What your app gets
A share of Circuit’s fee. Circuit charges 0.01% on Hyperliquid perp orders and spot sells (up to 0.01% on outcome orders) and 0.01% on swaps routed through Relay, Across (EVM-to-EVM), KyberSwap, Velora, CoW Swap, and Uniswap (pricing). Trades placed through Ask or agents your app starts earn your named Circuit account a fee share, claimable as USDC under Account.Register
Send Circuit:- Your app id: lowercase letters, digits and
-, up to 32 characters. - Your display name.
- The exact URLs Circuit may send users back to after they approve, such as
https://yourapp.com/linked:https, orhttp://localhostwhile you develop. - Optionally, the username of the Circuit account that earns your share of Circuit’s fee.
