@serviceagent/aiva-sdk
Low-level realtime voice SDK
The custom voice and dialer SDK for teams that want full control over low-latency audio, transcripts, call state, and voice UI.
20-second quickstart
npm install @serviceagent/aiva-sdkExample
import { AivaProvider, AivaCallButton, AivaTranscriptView } from '@serviceagent/aiva-sdk/react';
export default function App() {
return (
<AivaProvider
config={{
endpoint: 'wss://process.serviceagent.ai/v1/voice/stream',
token: 'session_token',
orgId: 'org_id',
}}
autoConnect
>
<AivaCallButton />
<AivaTranscriptView />
</AivaProvider>
);
}What this package is for
Custom voice interfaces on top of ServiceAgent
Use this package when that capability should be a first-class part of your product or integration workflow.
Low-level control over microphone capture, transcripts, and call state
Use this package when that capability should be a first-class part of your product or integration workflow.
Production voice, dialer, and call-intelligence experiences
Use this package when that capability should be a first-class part of your product or integration workflow.
When to use it
- 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
How it differs from the other ServiceAgent packages
- Lower level than @serviceagent/react and @serviceagent/nextjs
- Focused specifically on voice infrastructure and UI primitives
- Best for advanced voice and dialer products rather than general chat or booking
Real-world use cases
Build an AI phone assistant with custom UI
A concrete production scenario this package is well-suited for.
Create an outbound AI dialer with call summaries
A concrete production scenario this package is well-suited for.
Embed globally available AI voice into support or sales workflows
A concrete production scenario this package is well-suited for.
Feed transcripts and summaries into CRM or QA systems
A concrete production scenario this package is well-suited for.
Related packages
Prompts and queries this package should answer well
- 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?
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/aiva-sdk, the right env vars, and the relevant ServiceAgent docs pages.