Metadata-Version: 2.4
Name: moss-voice-agent-manager
Version: 1.0.0b4
Summary: Moss Voice Agent Manager - Simplified LiveKit agent integration
Author-email: Moss Team <support@moss.dev>
License-Expression: MIT
Project-URL: Homepage, https://github.com/InferEdge-Inc/moss
Project-URL: Repository, https://github.com/InferEdge-Inc/moss
Project-URL: Changelog, https://github.com/InferEdge-Inc/moss/blob/main/python/moss-voice-sdk/CHANGELOG.md
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Requires-Python: >=3.10
Description-Content-Type: text/markdown
Requires-Dist: pydantic<3.0.0,>=2.0.0
Requires-Dist: httpx<1.0.0,>=0.27.0
Requires-Dist: livekit-api<2.0.0,>=1.0.2
Requires-Dist: livekit-agents==1.3.11
Requires-Dist: livekit-plugins-deepgram==1.3.11
Requires-Dist: livekit-plugins-google==1.3.11
Requires-Dist: livekit-plugins-cartesia==1.3.11
Requires-Dist: livekit-plugins-silero==1.3.11
Requires-Dist: livekit-plugins-noise-cancellation<1.0.0,>=0.2.0
Requires-Dist: google-genai<2.0.0,>=1.55
Provides-Extra: dev
Requires-Dist: pytest>=7.0; extra == "dev"
Requires-Dist: black>=22.0; extra == "dev"
Requires-Dist: flake8>=4.0; extra == "dev"

# 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

```bash
pip install moss-voice-agent-manager
```

## Quick Start

```python
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
