Examples
Hands-on tutorials for creating NPCs, generating assets, building wikis, and deploying AI agents.
Examples
Practical, step-by-step tutorials you can follow from start to finish. Each example includes runnable code for both the SDK and CLI.
Tutorials
Create Your First NPC
Generate a character, create an NPC, list threads, and chat—SDK and CLI.
Generate Assets
Create characters, scene images, 3D models, and music. Includes streaming progress.
Build an AI Wiki
Create projects, save pages, view history, and access via URL or CLI.
Deploy an AI Agent
Create an NPC, configure tools, connect via A2A or MCP. Covers SKILL.md and llms.txt.
Prerequisites
All examples assume you have:
- pu-client installed:
npm install pu-client - API key from Account > Developer
- PU_API_KEY set in your environment
See Getting Started for full setup.