Solana Agent Kit v2

Overview

Solana Agent Kit is an open-source toolkit designed to streamline the creation of Solana-powered applications with integrated wallet and transaction capabilities. Version 2 represents a complete evolution of our toolkit, providing developers with a more modular, plug-and-play experience with embedded wallet support.

With over 100,000 downloads, 1,400+ stars, and 800+ forks, Solana Agent Kit v1 saw tremendous adoption among developers but faced two major challenges:

  • Input private key method that wasn’t 100% secure
  • Increasing tooling context and LLM hallucinations due to 100+ aggregate tools

Version 2 directly addresses these issues with a completely redesigned architecture that improves security, reduces hallucinations, and enhances developer experience.

Key Features of v2

Embedded Wallet Support

Secure wallet integration with support for Embedded wallets like Turnkey and Privy for enhanced security and human-in-the-loop confirmation.

Plugin Architecture

Modular plugins that reduce hallucinations and context bloat by allowing agents to call only relevant tools for specific tasks.

React Native Support

Mobile-friendly development with a React Native support and out of the box examples

Improved Evals & Benchmarks

LangChain evals for most tools, significantly increasing the performance of prompts passed to the agent kit.

Plugin Ecosystem

Solana Agent Kit v2 introduces a powerful plugin system that lets you install only what you need:

  • Token Plugin (@solana-agent-kit/plugin-token): Transfer assets, swap tokens, bridge assets, and perform rug checks
  • NFT Plugin (@solana-agent-kit/plugin-nft): Mint, list, and manage Metaplex NFT metadata
  • DeFi Plugin (@solana-agent-kit/plugin-defi): Stake, lend, borrow, and trade on spot and perpetual markets
  • Misc Plugin (@solana-agent-kit/plugin-misc): Request airdrops, access price feeds, get token information, and register domains
  • Blinks Plugin (@solana-agent-kit/plugin-blinks): Interact with arcade games and other Solana protocol blinks

Core Architecture

Solana Agent Kit v2 is built around a modular, plugin-based architecture:

The architecture delivers significant improvements:

  • Reduced Hallucinations: By limiting LLM exposure to only relevant tools
  • Enhanced Security: Private keys never need to be directly input
  • Human-in-the-loop: Optional transaction confirmation through Privy integration
  • Fine-grained Rules: Advanced control through Turnkey integration
  • Better Performance: Improved prompts and comprehensive evaluations

Getting Started

Check out the Quick Start Guide for more detailed setup instructions and to create your first agent-powered application in minutes.

For complete working examples, see our implementation examples that demonstrate the Agent Kit in action.

Key Integrations

Solana Agent Kit v2 integrates with powerful tools to enhance your applications:

  • Turnkey: Implement fine-grained rules for your autonomous agent, enhancing security
  • Privy: Enable human-in-the-loop functionality where the agent waits for transaction confirmation
  • LangChain: Leverage comprehensive evals to ensure optimal prompt performance

Community and Support

Join our growing community of developers building with Solana Agent Kit:

Was this page helpful?