solana-agent-kit  by sendaifun

SDK for connecting AI agents to Solana protocols

Created 11 months ago
1,555 stars

Top 26.7% 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

3 weeks ago

Responsiveness

1 day

Pull Requests (30d)
1
Issues (30d)
0
Star History
39 stars in the last 30 days

Explore Similar Projects

Starred by Guillermo Rauch Guillermo Rauch(Founder of Vercel), Jared Palmer Jared Palmer(SVP at GitHub; Founder of Turborepo; Author of Formik, TSDX), and
18 more.

ai by vercel

0.8%
19k
AI SDK for building AI-powered applications and agents
Created 2 years ago
Updated 19 hours ago
Feedback? Help us improve.