Skip to content

Open full-duplex voice models that hear your tone and speak with one. One GPU with vLLM-Omni, or fully offline on a Mac with MLX. Zero-shot voice cloning, OpenAI Realtime / GPT-Live compatible, free hosted API trial. Apache-2.0.

664 B
Raw Blame
"""Sophon-Realtime plugin for LiveKit Agents.

Self-hosted, full-duplex speech-to-speech: run the model on your own GPU and use it as the
realtime model of a LiveKit agent. See https://github.com/adventists-ai/sophon-realtime.
"""

from livekit.agents import Plugin

from .log import logger
from .realtime import DEFAULT_MODEL, DEFAULT_VOICE, LiveModel, RealtimeModel
from .version import __version__

__all__ = ["RealtimeModel", "LiveModel", "DEFAULT_MODEL", "DEFAULT_VOICE", "__version__"]


class SophonPlugin(Plugin):
    def __init__(self) -> None:
        super().__init__(__name__, __version__, __package__, logger)


Plugin.register_plugin(SophonPlugin())