Agent Lifecycle
An agent moves through a small set of states that reflect its current operating mode:
You start an agent with POST /agents//start and stop it with POST /agents//stop. Pausing is useful when you want to stop new entries without closing existing positions.
What an Agent Does End to End
- Monitors signals — The agent polls the signal stream for the chain it is configured to trade on.
- Filters by confidence — Only signals at or above
min_confidenceare considered. Each signal carries a confidence score from 0 to 1. - Sizes the position — The agent calculates the swap amount using
risk.position_size_pctof the wallet’s available token balance. - Executes the swap — The agent constructs and submits a swap transaction to the DEX router on chain.
- Attaches risk controls — A stop loss, trailing stop, and take profit are set immediately based on the agent’s
riskconfiguration. - Manages the exit — The agent exits the position when the stop loss, trailing stop, or take profit triggers, or when a sell signal arrives.
Next Steps
Create an Agent
Walk through connecting a wallet and deploying your first trading agent.
Configure an Agent
Adjust risk parameters, confidence thresholds, and position limits.
Monitor Agent Performance
Track trades, open positions, and performance metrics.