# Introduction to Ping Agent Kit v2

The open-source toolkit – now more modular and plug-and-play with embedded wallet support

## Ping Agent Kit v2 <a href="#solana-agent-kit-v2" id="solana-agent-kit-v2"></a>

## Overview <a href="#solana-agent-kit-v2" id="solana-agent-kit-v2"></a>

Ping 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.

* 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 <a href="#solana-agent-kit-v2" id="solana-agent-kit-v2"></a>

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 <a href="#solana-agent-kit-v2" id="solana-agent-kit-v2"></a>

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

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

## Core Architecture <a href="#solana-agent-kit-v2" id="solana-agent-kit-v2"></a>

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

Application

Agent Core

Embedded Wallets

Turnkey

Privy

Plugin System

DeFi Plugin

Token Plugin

NFT Plugin

Misc Plugin

Blinks Plugin

Adapters

MCP

N8N

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 <a href="#solana-agent-kit-v2" id="solana-agent-kit-v2"></a>

Check out the [Quick Start Guide](https://pingai.gitbook.io/pingai/pingai-agent-kit/getting-started) for more detailed setup instructions and to create your first agent-powered application in minutes.

## Key Integrations <a href="#solana-agent-kit-v2" id="solana-agent-kit-v2"></a>

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

* [**Turnkey**](https://turnkey.com/): Implement fine-grained rules for your autonomous agent, enhancing security
* [**Privy**](https://privy.io/): Enable human-in-the-loop functionality where the agent waits for transaction confirmation
* [**LangChain**](https://langchain.com/): Leverage comprehensive evals to ensure optimal prompt performance
