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 IDMOSS_PROJECT_KEY- Your Moss project keyMOSS_VOICE_AGENT_ID- Voice agent ID
Optional:
MOSS_PLATFORM_API_URL- Platform API URL (defaults to production)
How It Works
- Fetches configuration from Moss platform
- Auto-configures voice providers
- Tracks metrics and diagnostics
License
MIT
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file moss_voice_agent_manager-1.0.0b10.tar.gz.
File metadata
- Download URL: moss_voice_agent_manager-1.0.0b10.tar.gz
- Upload date:
- Size: 196.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a5b6d865ccd4c767787d3e6c18e70b06fa2e5ddb0619c0d35fa954442fdb8a11
|
|
| MD5 |
b47838d05b77eb4a438e761e95b252ba
|
|
| BLAKE2b-256 |
edff3b4b258e0b19dc87db6a2105ef2dc9e14f0990994caa1e9cd895e6be8c43
|
File details
Details for the file moss_voice_agent_manager-1.0.0b10-py3-none-any.whl.
File metadata
- Download URL: moss_voice_agent_manager-1.0.0b10-py3-none-any.whl
- Upload date:
- Size: 17.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e247263db68d414a242ddee65823b200d3f2ac3835a56ba780ab256192fe1b18
|
|
| MD5 |
cb00a7604f20a3e918e7dcc7701ec1e4
|
|
| BLAKE2b-256 |
e41b54265fd35f7f194b7af6d2ee3ef6696d2a603a05acf16ce89d06a6329c85
|