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 payments through GOAT Flow, register ERC-8004 identity, and expose the same capability surface to major AI frameworks.
It provides a production-grade runtime engine, 118 pre-built on-chain actions across 15 plugins (including the 30-action x402-merchant plugin, the 15-action GNS .goat name service, and the 8-action giftcard purchase flow), plus 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
118 Actions, 15 Plugins
Wallet, DEX, bridge, NFT, governance, payments, merchant management, agent identity, cross-chain, .goat naming, and GOAT Flow giftcard purchase.
5 AI Framework Adapters
OpenAI Function Calling, LangChain, MCP, Vercel AI SDK, and OpenAI Agents SDK — define once, use everywhere.
GOAT Flow
Agent payments with EIP-712 signing, a 30-action merchant portal, and a real consumer flow for giftcard purchases.
ERC-8004 Identity
On-chain agent registration, metadata, and reputation system for trustless agent identity.
GOAT Name Service
.goat human-readable names with ENS-style commit-reveal registration and cross-chain GOAT Flow payments from supported networks.
Production Runtime
Policy engine, Zod validation, idempotency (memory/Redis), retries, timeouts, Prometheus metrics, and execution hooks.
Three CLIs
create-goat-agent project scaffolder; agentkit-gns for .goat name management; agentkit-giftcard for end-user giftcard purchases.
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. - GOAT Flow provides HTTP-native payments using the x402 protocol. Start with the GOAT Flow overview, Flow Quick Start, and integration guide 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 15 plugins and 118 actions.
GOAT Name Service (.goat)
Register and manage .goat human-readable names — on-chain or paid cross-chain through GOAT Flow.
Giftcard Purchase with GOAT Flow
Turn-key cross-chain consumer flow — agents pay USDC/USDT on Polygon/Base/Arbitrum/Optimism/BSC/Metis, users receive giftcards off-chain.
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.
GOAT Flow
Make and accept GOAT Flow payments with AgentKit.