Overview
Build on ScaleAI with the @scalereal/sr-voice-engine-react-sdk package — typed data hooks, realtime hooks, and drop-in UI components.
The React SDK (@scalereal/sr-voice-engine-react-sdk) is the client-side
library for building applications on the ScaleAI calling-agent backend. It ships
typed data hooks, realtime (WebSocket / SSE) hooks, and drop-in UI components —
all driven by a single provider.
Install with pnpm add @scalereal/sr-voice-engine-react-sdk after
authenticating to AWS CodeArtifact. Full registry setup is in
Installation.
Start here
Installation
Configure AWS CodeArtifact and install the React SDK in your app.
Quickstart
Wire CallingAgentProvider in Vite or a Next.js client component.
Provider & Setup
projectId, secretKey, QueryClient, and CallingAgentError codes.
Components
Drop-in UI for call history, details, audio playback, and export.
Package entry points
Pick the subpath that matches what you need — root for the provider and shared helpers, or a narrower import for hooks, components, and types.
Explore the SDK
Hooks, realtime, and UI are grouped below. Open any card for the reference page.