Skip to main content
This guide will help you get up and running with Solana Agent Kit quickly.

Installation

Setup

  1. Create a .env file in your project root:
  1. Create a new file (e.g., agent.ts) and initialize the agent:

Interactive Mode

Create a chat interface to interact with your agent:

Example Commands

Once your agent is running, you can interact with it using natural language:

Available Features

Your agent can perform various operations:
  • 🪙 Create and manage tokens
  • 🎨 Mint NFTs and deploy collections
  • 💱 Swap tokens using Jupiter
  • 💰 Check balances and transfer assets
  • 🎮 Execute Solana Programs
  • 📦 Send compressed airdrops

Troubleshooting

If you encounter issues:
  1. Ensure all environment variables are set correctly
  2. Verify your RPC endpoint is responsive
  3. Check that your wallet has sufficient SOL for transactions
  4. For API errors, try again with increased priority fees