animation-reverse-engi…
Reverse-engineer any motion reference (a video from X/Twitter, Dribbble, a screen recording, a GIF) into production animation…
Comprehensive guide for building AI agents that interact with Solana blockchain using SendAI's Solana Agent Kit. Covers 60+ actions, LangChain/Vercel AI integration, MCP server setup, and autonomous agent patterns.
Claude Code
$ npx -y skills add sendaifun/skills --skill solana-agent-kit --agent claude-code
Codex
$ npx skills add sendaifun/skills --skill solana-agent-kit -a codex -y
Cursor
$ npx skills add sendaifun/skills --skill solana-agent-kit -a cursor -y
Gemini CLI
$ npx skills add sendaifun/skills --skill solana-agent-kit -a gemini-cli -y
GitHub Copilot
$ npx skills add sendaifun/skills --skill solana-agent-kit -a github-copilot -y
OpenCode
$ npx skills add sendaifun/skills --skill solana-agent-kit -a opencode -y
Windsurf
$ npx skills add sendaifun/skills --skill solana-agent-kit -a windsurf -y
name: solana-agent-kit description: Comprehensive guide for building AI agents that interact with Solana blockchain using SendAI's Solana Agent Kit. Covers 60+ actions, LangChain/Vercel AI integration, MCP server setup, and autonomous agent patterns.
Build AI agents that autonomously execute **60+ Solana blockchain operations** using SendAI's open-source toolkit. Compatible with LangChain, Vercel AI SDK, and Claude via MCP.
The Solana Agent Kit enables any AI model to:
| Feature | Description | |---------|-------------| | **60+ Actions** | Token, NFT, DeFi, staking, bridging operations | | **Plugin Architecture** | Modular - use only what you need | | **Multi-Framework** | LangChain, Vercel AI SDK, MCP, Eliza | | **Model Agnostic** | Works with OpenAI, Claude, Llama, Gemini | | **Autonomous Mode** | Hands-off execution with error recovery |
# Core package npm install solana-agent-kit # With plugins (recommended) npm install solana-agent-kit \ @solana-agent-kit/plugin-token \ @solana-agent-kit/plugin-nft \ @solana-agent-kit/plugin-defi \ @solana-agent-kit/plugin-misc \ @solana-agent-kit/plugin-blinks
# .env file OPENAI_API_KEY=your_openai_api_key RPC_URL=https://api.mainnet-beta.solana.com # or devnet SOLANA_PRIVATE_KEY=your_base58_private_key # Optional API keys for enhanced features COINGECKO_API_KEY=your_coingecko_key HELIUS_API_KEY=your_helius_key
import {
SolanaAgentKit,
createVercelAITools,
KeypairWallet,
} from "solana-agent-kit";
import { Keypair } from "@solana/web3.js";
import bs58 from "bs58";
// Import plugins
import TokenPlugin from "@solana-agent-kit/plugin-token";
import NFTPlugin from "@solana-agent-kit/plugin-nft";
import DefiPlugin from "@solana-agent-kit/plugin-defi";
import MiscPlugin from "@solana-agent-kit/plugin-misc";
import BlinksPlugin from "@solana-agent-kit/plugin-blinks";
// Create wallet from private key
const privateKey = bs58.decode(process.env.SOLANA_PRIVATE_KEY!);
const keypair = Keypair.fromSecretKey(privateKey);
const wallet = new KeypairWallet(keypair);
// Initialize agent with plugins
const agent = new SolanaAgentKit(
wallet,
process.env.RPC_URL!,
{
OPENAI_API_KEY: process.env.OPENAI_API_KEY!,
}
)
.use(TokenPlugin)
.use(NFTPlugin)
.use(DefiPlugin)
.use(MiscPlugin)
.use(BlinksPlugin);
// Create tools for AI framework
const tools = createVercelAITools(agent, agent.actions);| Action | Description | |--------|-------------| | `deployToken` | Deploy new SPL token or Token-2022 | | `transfer` | Transfer SOL or SPL tokens | | `getBalance` | Check token balances | | `stake` | Stake SOL via Jupiter/Solayer | | `bridge` | Bridge tokens via Wormhole | | `rugCheck` | Analyze token safety |
// Deploy a new token
const result = await agent.methods.deployToken({
name: "My Token",
symbol: "MTK",
decimals: 9,
initialSupply: 1000000,
});
// Transfer tokens
await agent.methods.transfer({
to: "recipient_address",
amount: 100,
mint: "token_mint_address", // optional, defaults to SOL
});
// Check balance
const balance = await agent.methods.getBalance({
tokenAddress: "token_mint_address", // optional
});| Action | Description | |--------|-------------| | `createCollection` | Create NFT collection via Metaplex | | `mintNFT` | Mint NFT to collection | | `listNFT` | List NFT on marketplaces | | `updateMetadata` | Update NFT metadata |
// Create collection
const collection = await agent.methods.createCollection({
name: "My Collection",
symbol: "MYCOL",
uri: "https://arweave.net/metadata.json",
});
// Mint NFT to collection
const nft = await agent.methods.mintNFT({
collectionMint: collection.collectionAddress,
name: "NFT #1",
uri: "https://arweave.net/nft1.json",
});| Action | Description | |--------|-------------| | `trade` | Swap tokens via Jupiter | | `createRaydiumPool` | Create Raydium AMM pool | | `createOrcaPool` | Create Orca Whirlpool | | `createMeteoraPool` | Create Meteora DLMM pool | | `limitOrder` | Place limit order via Manifest | | `lend` | Lend assets via Lulo | | `perpetualTrade` | Trade perps via Adrena/Drift |
// Swap tokens via Jupiter
const swap = await agent.methods.trade({
outputMint: "target_token_mint",
inputAmount: 1.0,
inputMint: "So11111111111111111111111111111111111111112", // SOL
slippageBps: 50, // 0.5%
});
// Create Raydium CPMM pool
const pool = await agent.methods.createRaydiumCpmm({
mintA: "token_a_mint",
mintB: "token_b_mint",
configId: "config_id",
mintAAmount: 1000,
mintBAmount: 1000,
});| Action | Description | |--------|-------------| | `airdrop` | ZK-compressed airdrop via Helius | | `getPrice` | Get token price via CoinGecko | | `registerDomain` | Register .sol domain | | `resolveDomain` | Resolve domain to address | | `getTPS` | Get network TPS |
// Compressed airdrop (cost-efficient)
const airdrop = await agent.methods.sendCompressedAirdrop({
mintAddress: "token_mint",
amount: 100,
recipients: ["addr1", "addr2", "addr3"],
priorityFeeInLamports: 10000,
});
// Get token price
const price = await agent.methods.getPrice({
tokenId: "solana", // CoinGecko ID
});Execute Solana Actions/Blinks directly:
// Execute a Blink const result
AI agent skills for Solana development — DeFi protocols, infrastructure, security, and more.
Reverse-engineer any motion reference (a video from X/Twitter, Dribbble, a screen recording, a GIF) into production animation…
Build and debug encrypted Solana applications with Arcium — data stays private during computation, no single party sees it. Use…
Complete Birdeye API integration for real-time DeFi data across Solana and 15 other chains. Use for token prices, OHLCV charts,…
Build on Solana with Carbium infrastructure — bare-metal RPC, Standard WebSocket pubsub, gRPC Full Block streaming (~22ms), DEX…
Complete CoinGecko Solana API integration for token prices, DEX pool data, OHLCV charts, trades, and market analytics. Use for…
Crypto Twitter intelligence and alpha research. Search X/Twitter for real-time crypto narratives, trending tokens, yield…
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…
Ask which skill or flow fits your situation. A router over the skills in this repo.