Skip to main content

Overview

AvatarSession is an Agent Human plugin for LiveKit Agents. Drop it into your agent entrypoint and your agent’s voice output will be rendered as a talking avatar video in the LiveKit room — no manual session or token management required.

Installation

pip install livekit-agenthuman

Environment Variables

VariableDescription
AGENTHUMAN_API_KEYYour Agent Human API key
AGENTHUMAN_AVATARDefault avatar ID (used if no avatar is passed to AvatarSession)
LIVEKIT_URLYour LiveKit server WebSocket URL
LIVEKIT_API_KEYLiveKit API key
LIVEKIT_API_SECRETLiveKit API secret

Next Steps

Quick Start

Add AvatarSession to your agent in minutes

Configuration

AvatarSession parameters and options

Examples

Complete agent examples

API Reference

Underlying session API