Connect AI: Create Your Trading AI

Overview

Connect AI is an AI-driven platform designed to streamline the deployment of trading agents for Pump.fun and Raydium. With Connect AI, users can configure and Connect custom trading agents in a single click based on desired ROI, initial Solana balance, risk level (high or low), maximum stop-loss percentage, and trading strategy.

This documentation provides a comprehensive guide to using Connect AI, including setup, configuration, and deployment examples, as well as best practices for managing your trading agents.


Features


Prerequisites

Before using Connect AI, ensure you have:


Getting Started

Step 1: Install Connect AI CLI

Connect AI provides a CLI for advanced users. Install it via npm:

npm install -g Connect AI-cli

Step 2: Authenticate with Your Wallet

Connect your Solana wallet to Connect AI:

Connect AI auth --wallet-path /path/to/your/wallet.json
Tip: For Phantom users, export your private key as a JSON file for CLI authentication.

Step 3: Initialize a Trading AI

Create a configuration file for your trading AI:

Connect AI init-AI --name "MyFirstAgent"

This will generate a myfirstagent.config.json file.


Configuration File Structure

Below is an example of a configuration file:

{
  "name": "MyFirstAgent",
  "initial_balance": 10,
  "roi_target": 20,
  "risk_level": "low",
  "stop_loss": 5,
  "strategy": "scalping",
  "platform": "pumpfun"
}

Parameters


Custom Strategies

Connect AI allows advanced users to define custom strategies.

Example: Momentum Strategy

Define a custom strategy in a JavaScript file:

module.exports = {
  execute: async (marketData) => {
    const { price, volume } = marketData;
    if (price > price.movingAverage && volume > 1000) {
      return "BUY";
    } else if (price < price.movingAverage) {
      return "SELL";
    }
    return "HOLD";
  },
};

Best Practices


Support

For assistance, contact the Connect AI support team:


Connect AI - Empowering Your Trading Vision