
Company News
Socket Joins New OpenJS Program to Fund Node.js Security Work
Socket is joining the OpenJS Security Stewardship Program to fund Node.js vulnerability research, maintainer remediation, and security releases.
@serviceagent/cli
Advanced tools
ServiceAgent CLI - Add AI chat, voice agents, and calendar booking to any project in 30 seconds
Add AI chat, voice agents, and calendar booking to any project in 30 seconds.
npx @serviceagent/cli add
That's it. The CLI auto-detects your framework (Next.js, Vite, Astro, React, HTML), provisions a demo widget, writes .env, and copies a component into your project. No account needed.
npx @serviceagent/cli add chat # AI chat widget
npx @serviceagent/cli add calendar # Calendar booking
npx @serviceagent/cli add voice # Voice agent
npx @serviceagent/cli add webhook # Webhook handler
npx @serviceagent/cli add all # Everything
Each command copies a self-contained component file into your project — no runtime CLI dependency.
npx @serviceagent/cli init
Walks you through auth, workspace creation, and magic onboarding (auto-configures from your website URL).
--name <name> Site/business name
--url <url> Site URL (for origin lock)
--platform <name> Override detection: nextjs, react, vite, astro, html
--no-component Skip component generation
--help Show help
components/chat.tsx — Chat widget componentcomponents/calendar-booking.tsx — Calendar booking componentcomponents/voice-agent.tsx — Voice agent componentapp/api/serviceagent/webhooks/route.ts — Webhook handler.env.local — Environment variablesNEXT_PUBLIC_SERVICEAGENT_WIDGET_KEY=wid_xxxxx
NEXT_PUBLIC_SERVICEAGENT_API_URL=https://process.serviceagent.ai
NEXT_PUBLIC_SERVICEAGENT_BOOKING_KEY=your_booking_key
NEXT_PUBLIC_SERVICEAGENT_VOICE_ENDPOINT=wss://process.serviceagent.ai/v1/voice/stream
SERVICEAGENT_API_KEY=your_api_key
SERVICEAGENT_WEBHOOK_SECRET=your_secret
Vue and Svelte currently use the script-embed or docs/MCP flow until dedicated native component templates are added.
MIT
FAQs
CLI to add ServiceAgent chat widgets, low-latency voice agents, dialer-ready calling UI, calendar booking, and webhooks to modern web apps
The npm package @serviceagent/cli receives a total of 0 weekly downloads. As such, @serviceagent/cli popularity was classified as not popular.
We found that @serviceagent/cli demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.

Company News
Socket is joining the OpenJS Security Stewardship Program to fund Node.js vulnerability research, maintainer remediation, and security releases.

Security News
Two compromised GitHub Actions were re-enabled with malicious tags intact, exposing thousands of downstream repositories to Mini Shai-Hulud.

Research
/Security News
A malicious Firefox extension fetches its payload after installation to evade detection, steal Google session cookies, and automate account takeover.