Skip to main content

Moss Voice Agent Manager - Simplified LiveKit agent integration

Project description

Moss Voice Agent Manager

Simplified LiveKit voice agent integration with the Moss platform.

Features

  • Drop-in replacement for LiveKit AgentSession
  • Automatic configuration from Moss platform API
  • Built-in metrics tracking and diagnostics
  • Secure credential management - no hardcoded secrets
  • Dynamic runtime config - models and settings from backend

Installation

pip install moss-voice-agent-manager

Quick Start

from moss_voice_agent_manager import MossAgentSession

# Initialize session - config loaded automatically
session = MossAgentSession(
    userdata=your_data,
    vad=vad,  # optional, auto-created if None
    max_tool_steps=10,
)

# Access platform API
api = session.platform_api

# Get metrics
metrics = session.metrics
diagnostics = session.diagnostics

# Save metrics
session.save_metrics()

# Generate diagnostics report
report = session.generate_diagnostics_report()

Environment Variables

Required:

  • MOSS_PROJECT_ID - Your Moss project ID
  • MOSS_PROJECT_KEY - Your Moss project key
  • MOSS_VOICE_AGENT_ID - Voice agent ID

Optional:

  • MOSS_PLATFORM_API_URL - Platform API URL (defaults to production)

How It Works

  1. Fetches configuration from Moss platform
  2. Auto-configures voice providers
  3. Tracks metrics and diagnostics

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

moss_voice_agent_manager-1.0.0b4.tar.gz (190.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

moss_voice_agent_manager-1.0.0b4-py3-none-any.whl (13.5 kB view details)

Uploaded Python 3

File details

Details for the file moss_voice_agent_manager-1.0.0b4.tar.gz.

File metadata

File hashes

Hashes for moss_voice_agent_manager-1.0.0b4.tar.gz
Algorithm Hash digest
SHA256 ab5f774d6d75421997970d215d4a3241cc07172174da127bd3b1426f69fb4d0c
MD5 bd07edb1e6c80cd7282df4f925041391
BLAKE2b-256 92b88b7c87ff5b2755acdf61fcf8dd1131cdcc2bf229ad7d500f37159787fa08

See more details on using hashes here.

File details

Details for the file moss_voice_agent_manager-1.0.0b4-py3-none-any.whl.

File metadata

File hashes

Hashes for moss_voice_agent_manager-1.0.0b4-py3-none-any.whl
Algorithm Hash digest
SHA256 424830a8db14d6af7252f9fe4668163130c8c1da46a0c32e0d2b77898ed778c1
MD5 0d2678f6b39bb12af89bc285da19ec72
BLAKE2b-256 80176f10985dfbf3987b2a332de1d9a7c112f1ee3bd017a3f7716c89a0f37626

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page