Prerequisites
- An active ELUUP AI account and API key
- A funded wallet on a supported chain (currently Base with chain ID
8453) - The wallet private key or connection method ready for signing
1
Connect a wallet
Before creating an agent, you must register the wallet you want it to trade with. Call POST /wallets with your wallet address, chain ID (Save the returned
8453 for Base), and a label.wallet_id. You will need it in the next step.2
Create the agent
Call POST /agents with the agent name, connected wallet ID, chain ID, and a
risk object that defines how the agent sizes positions and manages downside.The risk object requires four fields:position_size_pct— fraction of available balance to allocate per tradestop_loss_pct— maximum loss before the position is closedtrailing_stop_pct— distance below the highest price reached before exittake_profit_pct— profit target at which the position is closed
3
Start the agent
Once the agent is created, call POST /agents//start to transition it from
idle to active. The agent will immediately begin monitoring signals for its configured chain.4
Verify status
Call GET /agents/ to confirm the agent state is
active. You can also check last_signal_at and open_positions_count to verify it is receiving data.Example: Create an Agent
Example Response
Start the Agent
After creating the agent, send a start request:state updated to active.