create-xmtp-agent
v1.0.4
Published
Create XMTP agent projects with one command
Downloads
16
Readme
Create XMTP Agent
A command-line tool to generate XMTP agent projects. Create your new agent project in seconds!
Usage
# Using npx (recommended)
npx create-xmtp-agent my-agent
# Or install globally
npm install -g create-xmtp-agent
create-xmtp-agent my-agentThis will create a new XMTP agent project in the specified directory with all the necessary files and configurations.
Available Templates
Currently, the following templates are available:
- Basic Agent - A simple agent that responds to messages with an acknowledgment.
After Creating Your Project
Once your project is created, you can:
Install dependencies:
cd my-agent yarn install # or npm installGenerate XMTP keys:
yarn gen:keys # or npm run gen:keysStart the development server:
yarn dev # or npm run dev
Requirements
- Node.js v20 or higher
- Yarn v4 or higher (or npm)
License
MIT
