goat

Connect AI agents to 200+ onchain protocols across 30+ blockchains via modular plugins.

6|20|Updated Mar 14, 2026
One-click install
npx skills add https://github.com/andresdefi/cryptoskills --skill goat-andresdefi
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: goat
Source: https://github.com/andresdefi/cryptoskills/tree/main/skills/goat
Command: npx skills add https://github.com/andresdefi/cryptoskills --skill goat-andresdefi

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? AI agents lack reliable, up-to-date knowledge of onchain protocols, leading to hallucinated contract addresses, wrong package imports, and broken wallet integrations. This Skill provides accurate, verified instructions for building onchain AI agents with the GOAT SDK, covering tool creation, wallet management, and DeFi actions across EVM, Solana, and other chains. ## Core Features & Use Cases - Framework Adapters: Integrate onchain tools with Vercel AI SDK, LangChain, LlamaIndex, Eliza, MCP, and Python frameworks like CrewAI and Smolagents. - Modular Plugin System: Install only the protocol plugins needed (Uniswap, Jupiter, deBridge, Polymarket, ERC-20, and 200+ more) with per-chain wallet providers. - Custom Plugin Development: Create new plugins using the @Tool decorator or createTool patterns with Zod-validated parameters. - Use Case: Build an agent that checks a USDC balance on Base, swaps tokens on Uniswap, and bridges funds to Arbitrum via deBridge — all from natural language prompts. ## Quick Start Use the goat skill to set up a Vercel AI SDK agent with a viem wallet on Base that can send ETH and transfer ERC-20 tokens.

Frequently Asked Questions about goat

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I connect an AI agent to blockchain protocols with GOAT?

Install @goat-sdk/core, a framework adapter like @goat-sdk/adapter-vercel-ai, a wallet provider such as @goat-sdk/wallet-viem, and the protocol plugins you need. Then call await getOnChainTools() with your wallet and plugins, and pass the resulting tools to your LLM.

What packages do I need to install for a minimal GOAT setup?

A minimal setup needs 3-4 packages: @goat-sdk/core, one adapter for your framework, one wallet provider for your chain, and the specific protocol plugins. There is no single goat-sdk package; everything lives under the @goat-sdk scope.

Does GOAT support Solana and non-EVM chains?

Yes, GOAT supports Solana, Aptos, Sui, Cosmos, Starknet, Fuel, Radix, Zilliqa, and others through dedicated wallet provider packages like @goat-sdk/wallet-solana. Each chain requires its own wallet provider; you cannot pass a viem wallet to a Solana plugin.

Why does my GOAT agent return an empty tools array?

Empty tools usually mean a missing await on getOnChainTools(), a plugin-chain mismatch where EVM plugins receive a Solana wallet, or an uninitialized wallet client. Verify the wallet initializes correctly and that plugins support the wallet's chain type.

Why does my agent make only one tool call and stop?

The Vercel AI SDK performs exactly one tool-calling round unless you set maxSteps in generateText or streamText. Set maxSteps to 5-15 depending on task complexity so the agent can chain multiple tool calls.

How do I create a custom GOAT plugin?

Extend PluginBase with your wallet client type, define tools using the @Tool decorator with Zod parameter schemas or the createTool function, and implement supportsChain() to declare chain compatibility. Export a factory function that returns a new plugin instance.