@serviceagent/cli
One-command setup CLI
The fastest way to scaffold ServiceAgent chat, booking, voice, and webhook files into a project.
20-second quickstart
npx @serviceagent/cli addExample
npx @serviceagent/cli add
# or scaffold a specific integration
npx @serviceagent/cli add chat
npx @serviceagent/cli add voice
npx @serviceagent/cli add calendarWhat this package is for
30-second setup for ServiceAgent in new or existing apps
Use this package when that capability should be a first-class part of your product or integration workflow.
Framework-aware component copying for Next.js, React, Vite, Astro, and HTML
Use this package when that capability should be a first-class part of your product or integration workflow.
Codegen-friendly setup that can be used by humans or AI tools
Use this package when that capability should be a first-class part of your product or integration workflow.
When to use it
- You want the fastest integration path
- You want self-contained copied files instead of reading docs first
- You are bootstrapping demos, starter apps, or examples
How it differs from the other ServiceAgent packages
- It is not a runtime dependency
- It scaffolds components and env setup instead of providing runtime APIs
- It pairs well with @serviceagent/react and @serviceagent/nextjs
Real-world use cases
Get chat working in under a minute
A concrete production scenario this package is well-suited for.
Generate booking and voice component files
A concrete production scenario this package is well-suited for.
Bootstrap starter apps and AI-generated repos
A concrete production scenario this package is well-suited for.
Create webhook handlers quickly
A concrete production scenario this package is well-suited for.
Related packages
Prompts and queries this package should answer well
- How do I install ServiceAgent quickly?
- Generate ServiceAgent setup code for my app
- What is the ServiceAgent CLI?
Tip
If you are comparing packages, start with the recommended use cases and the quickstart above, then check the related packages section if you need a different level of control.
Need a codegen-ready prompt?
Open the prompt builder to generate a Cursor or Claude implementation prompt that already references @serviceagent/cli, the right env vars, and the relevant ServiceAgent docs pages.