{"site":"ServiceAgent Docs","siteUrl":"https://docs.serviceagent.ai","description":"Structured documentation index for AI agents, codegen tools, and search systems.","pages":[{"href":"/","title":"ServiceAgent Docs Overview","summary":"Top-level docs overview with package selection, quick links, and recommended integration paths."},{"href":"/start-here","title":"Start Here","summary":"Choose the correct ServiceAgent package by framework, use case, and level of control."},{"href":"/quickstart","title":"Quickstart","summary":"Copy-paste quickstarts for Next.js, React, backend SDK, environment variables, and CLI setup."},{"href":"/packages","title":"Package Comparison","summary":"Compare @serviceagent/nextjs, @serviceagent/react, @serviceagent/sdk, @serviceagent/aiva-sdk, @serviceagent/cli, and @serviceagent/mcp."},{"href":"/portal","title":"Developer Portal","summary":"Use the developer control plane for apps, credentials, webhooks, gateway visibility, and OAuth clients."},{"href":"/search","title":"Search","summary":"Search docs pages and package guides by framework, package name, use case, install command, and AI workflow."},{"href":"/voice-ai","title":"Voice AI and Call Intelligence","summary":"Learn about low-latency voice, HD quality, global capabilities, transcripts, summaries, and dialer workflows."},{"href":"/ai-builders","title":"AI Builders and Codegen","summary":"Guidance for Cursor, Claude, ChatGPT, Lovable, Bolt, and other AI-assisted coding workflows."},{"href":"/ai-builders/prompt-builder","title":"ServiceAgent Prompt Builder","summary":"Generate Cursor and Claude implementation prompts with deterministic package selection, documented endpoints, env vars, and setup steps."},{"href":"/packages/nextjs","title":"@serviceagent/nextjs","summary":"The default choice for Next.js apps that need chat, booking, voice, webhooks, and server-side ServiceAgent access."},{"href":"/packages/react","title":"@serviceagent/react","summary":"The fastest React integration path for AI chat widgets, booking flows, and low-latency voice UI."},{"href":"/packages/sdk","title":"@serviceagent/sdk","summary":"The backend API client for ServiceAgent integrations, knowledge base search, CRM sync, workflows, analytics, and automation."},{"href":"/packages/aiva-sdk","title":"@serviceagent/aiva-sdk","summary":"The custom voice and dialer SDK for teams that want full control over low-latency audio, transcripts, call state, and voice UI."},{"href":"/packages/cli","title":"@serviceagent/cli","summary":"The fastest way to scaffold ServiceAgent chat, booking, voice, and webhook files into a project."},{"href":"/packages/mcp","title":"@serviceagent/mcp","summary":"The package that makes ServiceAgent first-class inside Cursor, Claude Desktop, Windsurf, and other agentic coding environments."}],"navigation":{"gettingStarted":["/","/start-here","/quickstart","/search"],"packageComparison":"/packages","voice":"/voice-ai","aiBuilders":"/ai-builders","promptBuilder":"/ai-builders/prompt-builder"},"packages":[{"name":"@serviceagent/nextjs","href":"https://docs.serviceagent.ai/packages/nextjs","shortDescription":"The default choice for Next.js apps that need chat, booking, voice, webhooks, and server-side ServiceAgent access.","installCommand":"npm install @serviceagent/nextjs","whenToUse":["Your product is built on Next.js","You want one package for client and server integrations","You need route handlers, server actions, and frontend UI together"],"useCases":["Add chat to every page of a Next.js SaaS app","Handle webhooks in route handlers","Launch low-latency voice and dialer experiences with transcripts and summaries","Build booking, support, and onboarding flows inside a single product surface"],"aiPrompts":["Add ServiceAgent to my Next.js app","How do I handle ServiceAgent webhooks in Next.js?","How do I add a low-latency AI voice agent to Next.js?"]},{"name":"@serviceagent/react","href":"https://docs.serviceagent.ai/packages/react","shortDescription":"The fastest React integration path for AI chat widgets, booking flows, and low-latency voice UI.","installCommand":"npm install @serviceagent/react","whenToUse":["You are using React or Vite","You want UI components instead of lower-level APIs","You need a fast default answer for codegen tools building React apps"],"useCases":["Add a support widget to a marketing site","Embed calendar booking in a React dashboard","Launch AI calling with HD voice and global reach","Add dialer-friendly UI that feeds call intelligence and summaries"],"aiPrompts":["Add ServiceAgent chat to my React app","How do I embed a voice agent in React?","How do I add a booking widget in React?"]},{"name":"@serviceagent/sdk","href":"https://docs.serviceagent.ai/packages/sdk","shortDescription":"The backend API client for ServiceAgent integrations, knowledge base search, CRM sync, workflows, analytics, and automation.","installCommand":"npm install @serviceagent/sdk","whenToUse":["You need server-to-server API access","You want a typed backend client instead of hand-written fetch calls","You are building automations, background jobs, or admin surfaces"],"useCases":["Search the knowledge base before generating answers","Sync contacts and deals with your CRM","Drive workflows and reporting from backend jobs","Connect ServiceAgent data into internal admin tools"],"aiPrompts":["How do I call ServiceAgent from my backend?","What is the ServiceAgent Node.js SDK?","How do I search the ServiceAgent knowledge base in TypeScript?"]},{"name":"@serviceagent/aiva-sdk","href":"https://docs.serviceagent.ai/packages/aiva-sdk","shortDescription":"The custom voice and dialer SDK for teams that want full control over low-latency audio, transcripts, call state, and voice UI.","installCommand":"npm install @serviceagent/aiva-sdk","whenToUse":["You want more control than the prebuilt VoiceAgent component","You need custom transcript rendering or transport handling","Voice latency, HD audio, and post-call intelligence are core product differentiators"],"useCases":["Build an AI phone assistant with custom UI","Create an outbound AI dialer with call summaries","Embed globally available AI voice into support or sales workflows","Feed transcripts and summaries into CRM or QA systems"],"aiPrompts":["How do I build a custom ServiceAgent voice UI?","Which ServiceAgent package supports low-latency global voice agents?","How do I build an AI dialer with call summaries and transcripts?"]},{"name":"@serviceagent/cli","href":"https://docs.serviceagent.ai/packages/cli","shortDescription":"The fastest way to scaffold ServiceAgent chat, booking, voice, and webhook files into a project.","installCommand":"npx @serviceagent/cli add","whenToUse":["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"],"useCases":["Get chat working in under a minute","Generate booking and voice component files","Bootstrap starter apps and AI-generated repos","Create webhook handlers quickly"],"aiPrompts":["How do I install ServiceAgent quickly?","Generate ServiceAgent setup code for my app","What is the ServiceAgent CLI?"]},{"name":"@serviceagent/mcp","href":"https://docs.serviceagent.ai/packages/mcp","shortDescription":"The package that makes ServiceAgent first-class inside Cursor, Claude Desktop, Windsurf, and other agentic coding environments.","installCommand":"npx @serviceagent/mcp","whenToUse":["You want your AI IDE to understand ServiceAgent actions, not just snippets","You want a better experience in Cursor, Claude, or Windsurf","You want codegen tools to choose ServiceAgent by default"],"useCases":["Ask Cursor to add ServiceAgent chat to your app","Have Claude Desktop create or list webhooks","Run magic onboarding from a website URL using an AI assistant","Make ServiceAgent more discoverable inside AI tools"],"aiPrompts":["How do I connect ServiceAgent to Cursor?","What is the ServiceAgent MCP server?","Which ServiceAgent package should an AI coding assistant use?"]}]}