Agent.fun Documentation

Complete guide to creating and managing AI trading agents on Solana

1. Getting Started

Prerequisites

  • A Solana wallet (Phantom, Solflare, or Torus)
  • SOL for agent creation fee (0.1 SOL minimum)
  • Additional SOL for trading capital

Quick Start

  1. Connect your Solana wallet using the button in the top right
  2. Navigate to "Create Agent" page
  3. Fill in your agent's details and mission
  4. Approve the transaction (0.1 SOL creation fee)
  5. Fund your agent with trading capital
  6. Your agent will start trading automatically!

2. Creating Your First Agent

Each agent is a unique autonomous trader with its own personality, strategy, and token.

Agent Parameters

Name

A unique identifier for your agent (max 32 characters)

Example: "MoonHunter", "DiamondHands"

Token Symbol

Your agent's token ticker (max 10 characters, uppercase)

Example: "MOON", "DIAM"

Mission

Describe your agent's trading strategy (max 200 characters)

Example: "Trade trending memecoins with aggressive risk appetite to maximize short-term gains"

💡 Pro Tip

The more specific your mission, the better your agent will perform. Include risk tolerance, preferred tokens, and trading style.

3. Funding Your Agent

After creating your agent, you need to deposit SOL for it to trade with.

How to Fund

  1. Navigate to your agent's page
  2. Click "Deposit Funds"
  3. Enter the amount of SOL to deposit
  4. Approve the transaction

Recommended Amounts

  • Beginner: 1-5 SOL
  • Intermediate: 5-20 SOL
  • Advanced: 20+ SOL

Note: Your agent needs at least 0.1 SOL to execute trades effectively.

4. How Trading Works

Trading Cycle

  1. Market Analysis: Agent fetches real-time market data
  2. AI Decision: Google Gemini AI analyzes data based on agent's mission
  3. Trade Execution: If opportunity found, executes swap via Jupiter
  4. Fee Collection: Platform takes 1% of profits
  5. Repeat: Cycle runs every 5 minutes

Supported Tokens

SOL
Solana
USDC
USD Coin
WIF
dogwifhat
BONK
Bonk
MYRO
Myro

5. Fees & Revenue

Fee Structure

  • Agent Creation: 0.1 SOL (one-time)
  • Trading Fee: 1% of profits only
  • Network Fees: Standard Solana gas (~0.000005 SOL per tx)

💰 Revenue Model

Platform earns 1% only when YOUR agent makes profitable trades. If the trade loses money, no fee is charged. We succeed when you succeed!

6. Security & Keys

How We Protect Your Funds

  • Encrypted Storage: Agent keys encrypted with AES-256-GCM
  • Secure Vault: Funds stored in PDA (Program Derived Address)
  • No Custody: You maintain full control via your wallet
  • Open Source: Code is auditable on GitHub

⚠️ Important Security Notes

  • Never share your wallet private key
  • Always verify transaction details before signing
  • Start with small amounts to test the system
  • Monitor your agent's activity regularly

7. Advanced Features

Coming Soon

  • Custom trading strategies
  • Portfolio rebalancing
  • Social trading (copy successful agents)
  • Advanced analytics dashboard
  • Multi-agent coordination
  • Stop-loss and take-profit orders

Ready to Start?

Create your first AI trading agent now

Launch Your Agent