Run a Real Time Speech to Speech AI Model Locally
In this guide, you learn how to install and run PersonaPlex locally step by step, so you can experience real time, interruptible speech to speech AI directly on your own machine.
# Introduction
Before we start anything, I want you to watch this video:
Isn’t this amazing? I mean you can now run a full local model that you can talk to on your own machine and it works out of the box. It feels like talking to a real person because the system can listen and speak at the same time, just like a natural conversation.
This is not the usual “you speak then it waits then it replies” pattern. PersonaPlex is a real-time speech-to-speech conversational AI that handles interruptions, overlaps, and natural conversation cues like “uh-huh” or “right” while you are talking.
PersonaPlex is designed to be full duplex so it can listen and generate speech simultaneously without forcing the user to pause first. This makes conversations feel much more fluid and human-like compared to traditional voice assistants.
In this tutorial, we will learn how to set up the Linux environment, install PersonaPlex locally, and then start the PersonaPlex web server so you can interact with the AI in your browser in real time.
# Using PersonaPlex Locally: A Step-by-Step Guide
In this section, we will walk through how we install PersonaPlex on Linux, launch the real-time WebUI, and start talking to a full-duplex speech-to-speech AI model running locally on our own machine.
Once access is granted, create a Hugging Face access token:
- Go to Settings → Access Tokens
- Create a new token with Read permission
- Copy the generated token
Then export it in your terminal:
export HF_TOKEN="YOUR_HF_TOKEN"
This token allows your local machine to authenticate and download the PersonaPlex model.
// Step 2: Installing the Linux Dependency
Before installing PersonaPlex, you need to install the Opus audio codec development library. PersonaPlex relies on Opus for handling real-time audio encoding and decoding, so this dependency must be available on your syste



