AgentKit provides a simple way to create AI agents that can interact with blockchain networks. This guide will show you how to get started using our CLI tools.
This section will guide you through the process of creating a new AgentKit project using the TypeScript CLI. Through this process, you will generate a NextJs fullstack application, or a Model Context Protocol server to use with Claude Desktop.
Before you begin, make sure you have:
Check your Node.js and npm versions:
The fastest way to get started is using our TypeScript CLI:
This command will guide you through an interactive setup process:
Choose your AI Framework
Project Template (based on your framework choice)
Blockchain Network
Wallet Provider
Follow the instructions displayed in your CLI to get running. Be sure to check:
.env-local
file in your project root for instructions on obtaining API keysThe CLI also installs the agentkit
command globally, allowing you to generate additional components.
These generators will create TypeScript files in your current working directory.
Note: If the above commands print the error
agentkit: not found
, ensure the agentkit cli is installed by running the following command: