solana-agent-kit  by sendaifun

SDK for connecting AI agents to Solana protocols

created 8 months ago
1,443 stars

Top 28.9% on sourcepulse

GitHubView on GitHub
1 Expert Loves This Project
Project Summary

This toolkit enables AI agents to interact with Solana protocols, allowing them to autonomously perform a wide range of blockchain operations. It targets AI researchers and blockchain developers, simplifying the integration of AI models with the Solana ecosystem for tasks like trading, NFT management, and DeFi interactions.

How It Works

The Solana Agent Kit provides a unified interface for AI agents to execute over 60 Solana actions. It leverages a plugin architecture, allowing developers to include specific functionalities like token operations, NFT management, DeFi integrations, and more. The kit integrates with AI frameworks like LangChain and Vercel AI SDK, offering ready-to-use tools and enabling autonomous agent behavior with features like memory management and real-time feedback.

Quick Start & Requirements

  • Install via npm: npm install solana-agent-kit
  • Install specific plugins as needed (e.g., @solana-agent-kit/plugin-token).
  • Requires a Solana wallet (e.g., KeypairWallet) and an RPC URL.
  • OpenAI API key is needed for AI integration.
  • Full documentation available at docs.sendai.fun.

Highlighted Details

  • Supports over 60 Solana actions including token operations, NFT creation/management, DeFi integrations (Jupiter, Raydium, Orca, Drift, etc.), and cross-chain bridging (Wormhole, deBridge).
  • Integrates with AI frameworks like LangChain and Vercel AI SDK for seamless agent development.
  • Features include ZK compressed airdrops, Solana Blinks, and DALL-E integration for NFT artwork.
  • Includes a LangGraph multi-agent system example for advanced orchestration.

Maintenance & Community

  • Apache-2.0 License.
  • Contributions are welcome via Pull Requests.
  • Public Solana Agent Kit Treasury Address: EKHTbXpsm6YDgJzMkFxNU1LNXeWcUW7Ezf8mjUNQQ4Pa on Solana Network.

Licensing & Compatibility

  • Licensed under the Apache-2.0 License, permitting commercial use and integration with closed-source projects.

Limitations & Caveats

  • The toolkit handles private keys and transaction signing; users must ensure secure environment usage and never share private keys.
  • Specific DeFi integrations may require understanding of underlying protocol mechanics.
Health Check
Last commit

1 week ago

Responsiveness

1 day

Pull Requests (30d)
8
Issues (30d)
3
Star History
178 stars in the last 90 days

Explore Similar Projects

Starred by Chip Huyen Chip Huyen(Author of AI Engineering, Designing Machine Learning Systems), Taranjeet Singh Taranjeet Singh(Cofounder of Mem0), and
1 more.

fragments by e2b-dev

0.6%
6k
Next.js template for AI-generated apps
created 1 year ago
updated 1 week ago
Feedback? Help us improve.