Skip to content

Solana AI Agent connect AI agent to solana protocols, using DeepSeek and Vapi(Voice chat) LLMs

License

Notifications You must be signed in to change notification settings

TopTrenDev/solana-ai-agents

Repository files navigation

Solana AI Agent

An innovative AI-powered solution built on the Solana blockchain.

Solana AI Agent revolutionizes digital interactions by integrating artificial intelligence with the Solana blockchain. Designed for automating complex tasks and optimizing decision-making, this agent enhances DeFi operations, trading, analytics, and cross-chain interactions.

With its ability to learn and adapt, Solana AI Agent ensures seamless integration and actionable insights for both newcomers and experienced crypto users.


📌 Overview

Solana AI Agent enables the connection between AI agents and Solana protocols, offering:

1️⃣ Blockchain Agent Chat Terminal

  • Real-time streaming implementation
  • Blockchain integration for AI-driven operations
  • Intuitive UI components for seamless interaction

2️⃣ Trading Infrastructure

  • Jupiter Exchange swaps
  • PumpPortal launch support
  • Raydium pool creation (CPMM, CLMM, AMMv4)
  • Orca Whirlpool & OpenBook market integration
  • Pyth price feeds for real-time asset tracking
  • Drift Vaults, Perps, Lending, and Borrowing

3️⃣ Analytics & Automation

  • Real-time market analytics dashboard
  • Whale monitoring & DeFi insights
  • NFT management & automated NFT listing
  • Multi-chain bridge to Solana
  • Autonomous trading agent powered by Solana AI

4️⃣ Cross-Chain & Security Enhancements

  • Interoperability across ecosystems
  • Advanced security protocols
  • Comprehensive integration with Solana's ecosystem

5️⃣ Full Decentralization & Community Governance

  • Decentralized architecture
  • Community-led decision-making
  • Sustainable growth & innovation

Anyone—whether an AI researcher or a crypto-native developer—can train AI agents and seamlessly integrate them with Solana.

Run on Replit


🔧 Core Blockchain Features

🪙 Token Operations

  • Deploy SPL tokens via Metaplex
  • Transfer assets and balance checks
  • Stake SOL for rewards
  • ZK-compressed airdrops via Light Protocol & Helius

🎨 NFT Integration

  • Create NFT collections and list them automatically on 3.land
  • NFT metadata & royalty management via Metaplex

📊 DeFi Integration

  • Jupiter Exchange swaps & PumpPortal integration
  • Raydium & Orca liquidity pools
  • Perpetuals trading & lending via Adrena and Drift
  • Market data via Pyth price feeds

⚡ Solana Blinks

  • Best USDC lending rates via Lulo
  • Arcade game transactions
  • JupSOL staking & Solayer SOL staking

🛠️ Non-Financial Actions

  • Bounty registration via Gib Work

🤖 AI Integration Features

💡 LangChain Integration

  • Blockchain-ready LangChain tools
  • Autonomous agent support with React framework
  • Persistent memory management
  • Real-time streaming responses

🚀 Vercel AI SDK Integration

  • Framework-agnostic AI toolkit
  • Seamless integration for AI agent workflows

🔄 Autonomous AI Modes

  • Interactive mode for user-guided operations
  • Fully autonomous mode for AI-driven tasks
  • Configurable action intervals & error handling

🖼️ AI-Powered Tools

  • DALL·E integration for NFT artwork generation
  • Natural Language Processing (NLP) for blockchain commands
  • Automated price feed tracking & market analysis
  • AI-driven decision-making for DeFi strategies

🚀 Quick Start Guide

import { SolanaAIAgent, createSolanaTools } from "solana-ai-agents";

// Initialize with private key and optional RPC URL
const agent = new SolanaAIAgent(
  "your-wallet-private-key-as-base58",
  "https://api.mainnet-beta.solana.com",
  "your-openai-api-key"
);

// Create LangChain tools
const tools = createSolanaTools(agent);

🛠️ Usage Examples

  • Deploy a New Token
  • Create NFTs & Collections (Auto-listed on 3Land)
  • Swap & Lend Tokens
  • Stake SOL on Solana & Solayer
  • ZK Compression Airdrops
  • Fetch Market Data via Pyth
  • Open & Close Perpetual Trades
  • Manage Drift Vaults & Accounts
  • Borrow & Repay Loans on Drift

🔍 Advanced AI & Blockchain Examples

LangGraph Multi-Agent System

This repository includes a multi-agent system using LangGraph & Solana AI Agent.

📂 Located in: examples/agent-kit-langgraph

🔹 Features:

  • Multi-agent architecture using StateGraph
  • Specialized agents for queries, transactions, and market analysis
  • Fully typed implementation in TypeScript
  • Configurable & scalable environment

🔗 Explore the full implementation: LangGraph Example


📦 Dependencies

This toolkit integrates key Solana and Metaplex libraries:

  • @solana/web3.js
  • @solana/spl-token
  • @metaplex-foundation/mpl-token-metadata
  • @lightprotocol/compressed-token
  • @lightprotocol/stateless.js

🤝 Contributing

Contributions are welcome! Please review the CONTRIBUTING.md file before submitting a Pull Request.


👥 Contributors


🛡️ Security Notice

⚠️ Always store your private keys securely. This toolkit handles private keys and blockchain transactions, so ensure proper security measures.


📬 Contact & Community

📢 Telegram: @toptrendev
📢 Discord: toptrendev

About

Solana AI Agent connect AI agent to solana protocols, using DeepSeek and Vapi(Voice chat) LLMs

Topics

Resources

License

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published