create-assistant-ui#
Scaffold a new assistant-ui project from a chosen template (default AI SDK, minimal, cloud, langgraph, MCP, and more).
Usage#
npm create assistant-ui my-app
pnpm create assistant-ui my-app
yarn create assistant-ui my-app
bunx create-assistant-ui my-app
This wraps the assistant-ui create command from the assistant-ui CLI. Pass -t <template> to pick a starter, or --preset <url> to scaffold from an assistant-ui.com playground link.
Templates#
| Name | Description |
|---|---|
default | Next.js + Vercel AI SDK (the recommended starting point). |
minimal | Smallest possible Next.js + assistant-ui setup. |
cloud | Default template plus Assistant Cloud thread persistence. |
cloud-clerk | Cloud template with Clerk authentication. |
langgraph | Next.js + LangGraph agent backend. |
mcp | Next.js + an MCP server integration. |
Documentation#
Full template list and flag reference at assistant-ui.com/docs/cli.