GOAT Network AgentKit
AgentKit plugs your existing agent or app into GOAT Network. It is not an agent creator; it is the toolkit your project uses to sign transactions, accept x402 payments, register ERC-8004 identity, and expose the same capability surface to major AI frameworks.
It provides a production-grade runtime engine, 95 pre-built on-chain actions, 13 plugins, 30 merchant actions, and adapters for five major AI frameworks — so you define an action once and export it everywhere.
Open the official AgentKit product page for the latest public overview, or review the AgentKit GitHub repository for source code and package updates.
Key Features
95 Actions, 13 Plugins
Wallet, DEX, bridge, NFT, governance, payments, merchant management, agent identity, cross-chain, and more.
5 AI Framework Adapters
OpenAI Function Calling, LangChain, MCP, Vercel AI SDK, and OpenAI Agents SDK — define once, use everywhere.
x402 Payments
Native agent payment protocol with EIP-712 signing flow and a 30-action merchant portal.
ERC-8004 Identity
On-chain agent registration, metadata, and reputation system for trustless agent identity.
Production Runtime
Policy engine, Zod validation, idempotency (memory/Redis), retries, timeouts, Prometheus metrics, and execution hooks.
CLI Scaffolding
The published create-goat-agent CLI generates starter projects with minimal, defi, or full presets.
Quick Start Paths
Install the SDK directly when you already have an app, agent, or runtime. Use the CLI when you want a runnable starter project for GOAT Network AgentKit.
Architecture
AgentKit is organized into four layers:
| Layer | Responsibility | Key Files |
|---|---|---|
| Core | Runtime engine: policy gate, schema validation, idempotency, retry, metrics, timeout, hooks | core/runtime/execution-runtime.ts |
| Plugins | Concrete on-chain operation implementations grouped by feature | plugins/*/actions/*.ts |
| Providers | Action registration, discovery, and JSON Schema tool manifest generation | providers/action-provider.ts |
| Adapters | Convert actions into tool formats for each AI framework | adapters/*/tools.ts |
Repository Structure
How It Fits in GOAT Network Agent Infrastructure
AgentKit sits at the top of the GOAT Network agent protocol stack, integrating the identity and payment layers into a single developer SDK:
- ERC-8004 for AgentKit provides the agent-facing registration, metadata, and reputation flow. AgentKit wraps this as the
erc8004plugin with 9 actions. - x402 provides HTTP-native payments. Start with the x402 overview, developer quick start, and payment modes before wiring the AgentKit plugins.
- AgentKit adds wallet management, DeFi operations, cross-chain bridging, Bitcoin integration, and a production-grade runtime on top.
Supported Networks
| Network | Chain ID | RPC URL |
|---|---|---|
goat-mainnet | 2345 | https://rpc.goat.network |
goat-testnet | 48816 | https://rpc.testnet3.goat.network |
AgentKit upstream now maps goat-testnet to chain ID 48816 and the default RPC URL https://rpc.testnet3.goat.network.
Next Steps
Quick Start
Install AgentKit or scaffold a starter project, then run your first action.
Plugins Reference
Browse all 13 plugins and 95 actions.
ERC-8004 for AgentKit
Register agents, publish metadata, and collect reputation using the AgentKit plugin.
CLI Scaffolding
Generate a ready-to-run project with npm create goat-agent.
x402 Payments
Make and accept payments with the x402 protocol.