Skip to main content
This guide walks you through creating and starting an ELUUP AI trading agent from scratch. You will connect a wallet, configure risk rules, create the agent, and then start it so it begins monitoring signals and trading on your behalf.

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 (8453 for Base), and a label.
Save the returned 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 trade
  • stop_loss_pct — maximum loss before the position is closed
  • trailing_stop_pct — distance below the highest price reached before exit
  • take_profit_pct — profit target at which the position is closed
See Configure an Agent for detailed ranges and defaults.
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:
A successful start returns the agent object with state updated to active.