> For the complete documentation index, see [llms.txt](https://pingai.gitbook.io/pingai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://pingai.gitbook.io/pingai/introduction/introduction-to-ping-agent-kit-v2.md).

# 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


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://pingai.gitbook.io/pingai/introduction/introduction-to-ping-agent-kit-v2.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
