Skip to content
caliper ui pro docs

Voice agent

A full voice assistant screen with states and transcript.

Pro

Aria

Call ended · 0:00

0:00

Tap to talk

Captions appear here as you talk.

Press Call again to place a simulated call.

When to use

  • Voice-first support or concierge.

When not to use

  • Text-only.

Installation

terminal
pnpm dlx shadcn@latest add @caliper/voice-agent

Adds its 4 files to components/ui/, each with its own stylesheet, and installs their packages. Pro installs with your access token, set up once per project. See Pro access. The first part also adds Caliper UI’s tokens; import them once as in Installation.

API reference

VoiceAgent

13 props
PropTypeDefaultDescription
name *string—
phase *CallPhase—
state *VoiceState—Whose turn it is during a live call.
levelnumber—
captions *readonly Caption[]—
muted *boolean—
onMutedChange *(muted: boolean) => void—
onEnd *() => void—
onRedial(() => void)—
pushToTalkbooleanfalse
onTalk((talking: boolean) => void)—Called with true while the talk key is held.
secondsnumber0
classNamestring—

Keyboard

  • No custom key handling; Tab and the native activation keys do the work.

Accessibility

It exposes status and log semantics, with aria-label, aria-live, aria-pressed and aria-hidden kept in step with state. Changes that matter are announced through a live region.

Notes for AI

Give your coding assistant this page as Markdown instead of screenshots: the props, keyboard and examples in one file.

/docs/components/voice-agent.md

The index of every part is at /llms.txt.

More in Voice screens