create-spatius-app
v0.1.4
Published
Create a Spatius voice-avatar app with LiveKit or Agora Conversational AI on Cloudflare Workers.
Maintainers
Readme
create-spatius-app
Create a voice-avatar app with Spatius and React. Choose LiveKit or Agora Conversational AI. Both templates run the frontend and API on Cloudflare Workers.
Quick start
Requires Node.js 22.12+ and a Spatius Studio account. The LiveKit template also needs Python 3.11–3.14 and a LiveKit Cloud project. The Agora template needs an Agora account and no Python tooling. For clean Ctrl+C shutdown with pnpm, use version 12.4.1 or later for both the installed launcher and the project pin.
npx create-spatius-app my-appChoose LiveKit or Agora Conversational AI. Follow the remaining prompts to choose package managers, install dependencies, and configure your provider and Spatius credentials. If LiveKit CLI is missing, setup offers to install it using Homebrew on macOS, WinGet on Windows, or LiveKit's Linux installer. You can also enter credentials manually or finish setup later.
Then start the app with your chosen package manager:
cd my-app
pnpm dev
# Or: npm run dev / bun run devThis starts the frontend, API, and, for LiveKit, the Python agent together. Generated DEPLOYMENT.md covers deployment to Cloudflare Workers and, for LiveKit, LiveKit Cloud. Open the URL printed in your terminal and start a conversation.
Use with a coding agent
Install the skill, then ask your agent to bootstrap a Spatius app:
npx skills add spatius-ai/create-spatius-app --skill create-spatius-appSet up credentials later
From your generated project, run:
npx create-spatius-app setup . --interactiveThis configures local development only; it does not deploy your app.
Choose a provider
npx create-spatius-app my-app --stack cloudflare-livekit
# Or:
npx create-spatius-app my-app --stack cloudflare-agoraLiveKit is the default and deploys its Python agent to LiveKit Cloud. Agora Conversational AI hosts the agent itself; its template needs no Python.
More options
npx create-spatius-app --help