What do you want to do?
3 use cases
-
Build a voice agent and talk to it in the terminal
Install livekit-agents with OpenAI, Deepgram and Cartesia plugins and run your agent in console mode.
View prompt
Using livekit/agents, install `pip install "livekit-agents[openai,deepgram,cartesia]"`, write myagent.py based on the README weather tool example for <my use case>, and run `python myagent.py console`.
-
Give your voice agent a tool it can call
Use the function_tool decorator so the agent can look up data, like the README's weather example.
View prompt
With livekit/agents, add a @function_tool to my agent that looks up <my data source>, register it on the Agent, and test it with `python myagent.py console`.
-
Write tests for your agent's behavior
Use AgentSession in pytest to check that the agent calls the right tool for a user message.
View prompt
Using livekit/agents, write a pytest test like the README's test_no_availability that checks my agent calls <my tool> when the user says <phrase>, and run it.
Quick start with Agents
- Check you have what it needs: Python with pip; A LiveKit server or LiveKit Cloud project; API keys for the model providers you choose.
- Open livekit/agents on GitHub and read the README and license.
- Install with
pip install "livekit-agents[openai,deepgram,cartesia]" - Write myagent.py with an Agent and AgentSession as in the README example
- Run it locally with
python myagent.py console - Switch to
python myagent.py devto connect it to LiveKit
These steps come from our top use case, Build a voice agent and talk to it in the terminal, which also has a copy-paste agent prompt.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for livekit/agents
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeAbout this repo
- Who it is forDevelopers building voice agents for apps, support lines or assistants.
- Why it is hot15k stars, talked about in 2 AI sources we track
- LanguagePython
- Sourcegithub.com/livekit/agents ยท Back to Hot repos
Requirements
- Python with pip
- A LiveKit server or LiveKit Cloud project
- API keys for the model providers you choose
Add this badge to your README
Maintain Agents? Show readers where to find these use cases.
Markdown
[](https://dedupedai.com/use-cases/livekit-agents/?utm_source=github&utm_medium=badge&utm_campaign=livekit-agents)
HTML
<a href="https://dedupedai.com/use-cases/livekit-agents/?utm_source=github&utm_medium=badge&utm_campaign=livekit-agents"><img src="https://dedupedai.com/badge/livekit/agents.svg" alt="Use cases on Deduped" height="20"></a>
A static image, no tracking script. About the badge
Questions about Agents
What is Agents?
LiveKit Agents is a Python framework for building realtime, programmable voice and multimodal agents that run on servers, with plugins for speech to text, LLMs, text to speech and realtime APIs, built in job dispatch and a test harness. It is an open-source project on GitHub: https://github.com/livekit/agents.
How do I use Agents?
Install with pip install "livekit-agents[openai,deepgram,cartesia]"; then write myagent.py with an Agent and AgentSession as in the README example; run it locally with python myagent.py console. The use cases on this page give the full steps and a copy-paste agent prompt for each job.
Who is Agents for?
Developers building voice agents for apps, support lines or assistants.
What can I do with Agents?
3 use cases so far, for example: Build a voice agent and talk to it in the terminal; Give your voice agent a tool it can call; Write tests for your agent's behavior. Each has steps and a copy-paste agent prompt.
What do I need to run Agents?
Python with pip; A LiveKit server or LiveKit Cloud project; API keys for the model providers you choose.
What are alternatives to Agents?
Other hot AI repos in Software and DevOps: Skills, Claude Mem, Freellmapi, Andrej Karpathy Skills, Agent Desktop.
Is Agents safe to run?
Deduped does not own, audit or vouch for it. Read the README and license, run it on your own systems first and review every command before you run it.