The Scenaro voice agent is a Python service built on LiveKit Agents — the current Transport implementation. It joins the Transport session, runs the voice pipeline (STT → LLM → TTS), and communicates with the frontend over the data channel.

Repository

Source: github.com/scenaro/voice-agent Local development is bootstrapped from the projects workspace via ./bootstrap-scenaro-local.sh.

Session lifecycle

Responsibilities

Config handshake

On join, the agent sends a config payload:
The frontend responds with config_ack. Until ack is received, the agent may wait or retry with config_request.

Tool execution model

Tools fall into two categories: Frontend tools declare a frontend_method in Cockpit. The agent calls it via Transport RPC; the SDK session routes it to your handler — a tools entry on useScenaroSession or a FeatureProvider registry handler.

State sync

The frontend can send experience checkpoints on state:update. The agent uses this for context restoration across page navigations or session resumes.

Voice stack

Configured per scenario in Cockpit. The agent supports multiple STT/LLM/TTS providers via LiveKit Agents plugins (the current Transport implementation’s agent framework).