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.0b14.tar.gz (242.0 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.0b14-py3-none-any.whl (18.7 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for moss_voice_agent_manager-1.0.0b14.tar.gz
Algorithm Hash digest
SHA256 211fd9fdf2c7e9117fc8942a91603153198c93c001902c220f465d1061a5366a
MD5 c41cc76bad8ab5acc09f889a518dec34
BLAKE2b-256 6613a4b878182247b1eddd45ee96948afaad10878f910c368aa6c26d35b29808

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for moss_voice_agent_manager-1.0.0b14-py3-none-any.whl
Algorithm Hash digest
SHA256 c49904ac68fbb91f96866224098d830f4fac62df71374f69a478eedfdf1961f7
MD5 ff769f51e753a7713c9cbc37f4ae65b1
BLAKE2b-256 863b591964ff3d2e9da3edae03e387193e0f9d027f05ec8c6f78290ceda2a372

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