AI Copilot
Your conversational trading assistant integrated deep into the systems.
Autonomous Assistance
ClashX includes a full-featured AI copilot that acts as a conversational trading assistant. The copilot is deeply integrated with the platform's data layer, enabling it to answer questions, generate strategies, analyze performance, and execute platform actions on behalf of the user.
Architecture Overview
Dual-provider failover
The copilot attempts requests against TrollLLM first, then falls back to OpenAI if unavailable. Ensures consistent uptime.
Tool-calling framework
Extensive tool catalog enables the agent to query the database, inspect bot definitions, review execution history, and examine portfolios.
Conversation persistence
Full conversation history is stored with rolling summarization to manage and optimize context window limits.
Scoped database access
All queries are automatically and securely filtered against the authenticated user's active wallet address.
Supported Capabilities
The copilot can assist you directly via chat for a variety of execution tasks. Common prompts include:
"Query my bot definitions, runtimes, and backtest history."
"Inspect portfolio baskets and active allocation members."
"Analyze performance metrics and trade history for the last 7 days."
"Generate a momentum breakout strategy using RSI and SMA."