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.0b6.tar.gz (191.6 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.0b6-py3-none-any.whl (14.8 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for moss_voice_agent_manager-1.0.0b6.tar.gz
Algorithm Hash digest
SHA256 9a3f2208bc3d4386a24d0ed6543978a62d19fb500fd6bc89454b507a55807146
MD5 b215df123ad7870562ee7e1abefc025a
BLAKE2b-256 7aaadefa6c6c1e3c4e52d1b29850b7f5e23e0d247fafa5b6ff8050e2e70fe674

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for moss_voice_agent_manager-1.0.0b6-py3-none-any.whl
Algorithm Hash digest
SHA256 8a841ec6bef6cfe389110d776b6aa3f71b67c9bd817fd48a3a43b43eb12f2083
MD5 0df2eb8fa612fa9b56e034bd860cddd2
BLAKE2b-256 6bfc803ca5234670803be532dab6be7cab75898c81d1cbfb45ada71e67c5f4d2

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