Docsvoxioagent 2.0.0

Get started

Introduction

Put a Voxio voice agent on your website, in your app or on the phone, and manage it from your own code.

Voxio runs voice agents. You design an agent in the dashboard: what it says, how it sounds and what it can do. The voxioagent package then puts it in front of people as a button on your site, a talking face, a chat window or a phone call.

What you can build

To buildUseGuide
A "Talk to us" button on a website<voxio-voice-button>Voice button
A lip-synced face that talks<voxio-avatar>Talking avatar
A chat window<voxio-chat>Chat
Your own call interfacevoxioagent/clientHeadless sessions
An agent that fills in forms and clicks as it talksWeb actionsWeb actions
Agents created and changed from your servervoxioagent/serverFlows
Calls to your customers’ phonesCalls APIPhone calls

Concepts

Flow

A flow is one agent: its workflow (the conversation it follows), its voice (speech-to-text and text-to-speech), its behaviour settings, its face if it has one, its phone numbers and its webhook. Everything you put on a page talks to exactly one flow.

Keys

Every flow has a flow key, which widgets and sessions use to reach it. Your account has an account key, which creates and changes flows and must stay on your server. For which key goes where, see Keys and authentication.

Session

A session is one conversation: a browser call, a chat or a phone call. Each session has an id, a transcript, timings and, when recording is on, a recording.

The package

One npm package, voxioagent, has an entry point for each place your code runs:

ImportWhat it isRuns in
voxioagent/widgetReady-made web components: voice button, avatar, chatBrowser
voxioagent/reactuseVoxioSession and React componentsBrowser (React 18+)
voxioagent/clientHeadless voice sessions over WebRTC, with typed events and web actionsBrowser
voxioagent/serverFlows, sessions and usageNode 18+ or edge
voxioagent/voxio.jsOne file for a script tag, with no build stepBrowser

Next steps