livekit-agent-panel

command
v0.15.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 13, 2026 License: MIT Imports: 32 Imported by: 0

Documentation

Overview

Command livekit-agent-panel runs a multi-agent panel discussion in LiveKit.

Supports two modes:

  • Human mode (default): Human moderator asks questions via voice
  • Auto mode: AI moderator runs the entire discussion automatically

Usage:

export LIVEKIT_URL="wss://your-project.livekit.cloud"
export LIVEKIT_API_KEY="your-api-key"
export LIVEKIT_API_SECRET="your-api-secret"
export LLM_PROVIDER="anthropic"        # or "openai"
export LLM_MODEL="claude-sonnet-4-20250514"
export ANTHROPIC_API_KEY="your-key"    # or OPENAI_API_KEY
export STT_PROVIDER="deepgram"         # for human mode
export DEEPGRAM_API_KEY="your-key"
export TTS_PROVIDER="openai"
export OPENAI_API_KEY="your-key"

# Panel configuration
export PANEL_TOPIC="The future of AI agents"
export PANEL_SIZE=3  # 2-4 panelists
export PANEL_MODE=human  # "human" or "auto"

# Auto mode configuration (optional)
export PANEL_QUESTIONS="What are the benefits?,What are the risks?,What's next?"
export PANEL_ROUNDS=5  # If no questions provided
export MODERATOR_NAME="Sam"
export MODERATOR_VOICE="shimmer"
export MODERATOR_PERSONALITY="Engaging moderator who asks probing questions"

# Optional: Override default panelists
export PANELIST_1_NAME="Dr. Sarah"
export PANELIST_1_VOICE="nova"
export PANELIST_1_PERSONALITY="A physician specializing in AI diagnostics"

# HeyGen Avatar Configuration (optional)
export HEYGEN_API_KEY="your-key"
export HEYGEN_SANDBOX=false           # Set to "true" for sandbox mode
export HEYGEN_VIDEO_QUALITY="high"    # "high", "medium", or "low"
export MODERATOR_AVATAR_ID="avatar-id"
export PANELIST_1_AVATAR_ID="avatar-id"
export PANELIST_2_AVATAR_ID="avatar-id"

go run -tags opus ./cmd/livekit-agent-panel

Package main provides the livekit-agent-panel command.

Directories

Path Synopsis
Package panel provides JSON IR types for panel discussion scheduling and output.
Package panel provides JSON IR types for panel discussion scheduling and output.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL