Integrate LiveKit Agents
Build a voice assistant with real time email capabilities.
Overview
This guide walks you through building a voice assistant with real time email capabilites. We use the LiveKit Agents SDK to build the voice functionality.
Prequisites
Follow the LiveKit voice AI quickstart to build a simple voice assistant. In this guide we will extend the functionality to this assistant to email.
You should have a file named agent.py
which we will modify.
Setup
Install python packages
Set environment variables
Code
To the agent.py
file add the following imports
Then add the EmailAssistant
class
Finally update the entrypoint
function
That’s It
Run your agent inside the terminal and send it an email