PAI — Pi + AI. One command to launch an agent on Pi Network.
npm create pai-app my-agent
cd my-agent
npm start ← your agent is LIVE on Pi
The PAI CLI is the fastest way to scaffold, develop, and deploy AI agents on Pi Network. Inspired by solana-new from SendAI, but purpose-built for Pi.
| Command | What It Does |
|---|---|
pai new <name> |
Scaffold a new PAI agent |
pai dev |
Start local development server |
pai build |
Build agent for production |
pai deploy |
Deploy agent to Pi Browser |
pai add <skill> |
Install a PAI skill |
pai list |
List installed skills |
pai verify |
Connect Pi wallet + verify identity |
pai publish |
Publish agent to PAI marketplace |
pai new my-agent --template verify # Identity verification agent
pai new my-agent --template trust # Trust scoring agent
pai new my-agent --template pay # Payment processing agent
pai new my-agent --template blank # Start from scratch# Install
npm install -g @pai/cli
# Create
pai new my-agent --template verify
cd my-agent
# Configure Pi wallet
pai verify
# Run
pai devpai new my-agent
│
▼
┌────────────────┐
│ Scaffold from │
│ PAI templates │ ← agent-kit + skills
└────────┬───────┘
▼
┌────────────────┐
│ Add skills │
│ pai add verify│ ← from PAI Skills marketplace
└────────┬───────┘
▼
┌────────────────┐
│ Deploy │
│ pai deploy │ ← to Pi Browser / Virtuals ACP
└────────────────┘
PiOS — Pi Open Source License
PAI CLI. Your agent, one command away.