With LiveKit
Already running voice agents on LiveKit? The livekit-plugins-phonic plugin plugs Phonic’s realtime speech-to-speech model into LiveKit Agents, so you can switch providers without changing your LiveKit setup.
Installation
Usage
Configuration
Set the PHONIC_API_KEY environment variable, or pass api_key directly to RealtimeModel. All other options are optional.
If you already have an agent set up on the Phonic platform, you can use the phonic_agent option to specify the agent name. As a note, configuration options you set in the LiveKit Agents SDK will override the agent settings set on the Phonic platform. This means the system prompt you have set on the Phonic platform will be ignored in favor of the instructions field set on the LiveKit Agent. Likewise, options explicitly set in the RealtimeModel constructor will override the Phonic agent’s settings.
If you have Webhook tools set up on the Phonic platform, you can use phonic_tools to make them available to your agent.