Skip to content

Installation

Prerequisites

The fastest way to start:

Terminal window
npx create-moon-wave-app my-agent

This runs an interactive wizard that generates a fully configured project.

Option B — Manual setup

Install the packages you need:

Terminal window
npm install @moon-wave/core @moon-wave/providers

Add optional packages based on your use case:

Terminal window
# Memory
npm install @moon-wave/memory
# Multi-agent
npm install @moon-wave/multi-agent
# Telegram / Web Chat channels
npm install @moon-wave/channels

Cloudflare setup

Install Wrangler (Cloudflare’s CLI):

Terminal window
npm install -D wrangler
npx wrangler login

Create a wrangler.toml:

name = "my-agent"
main = "src/index.ts"
compatibility_date = "2024-01-01"
compatibility_flags = ["nodejs_compat"]