DEDUPED Hot AI repos. Real use cases. What people build. Get the Monday 5

How to build a voice agent and talk to it in the terminal with Agents

Install livekit-agents with OpenAI, Deepgram and Cartesia plugins and run your agent in console mode.

Short answer: 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. All steps.

  • Top pick
  • Software and DevOps
  • Intermediate
  • 45 minutes
  • From the README
  • Claude Code
  • Codex
  • Cursor
  • Gemini CLI

cost. Model providers bill per use.

privacy. Speech is sent to the providers you configure.

Who it is forA developer prototyping a voice assistant.

The problemTesting a voice agent usually needs a full client app.

The outcomeA voice agent you can talk to from your terminal before connecting any client.

What you need first

  • Python with pip
  • A LiveKit server or LiveKit Cloud project
  • API keys for the model providers you choose

Steps

  1. Install with pip install "livekit-agents[openai,deepgram,cartesia]"
  2. Write myagent.py with an Agent and AgentSession as in the README example
  3. Run it locally with python myagent.py console
  4. Switch to python myagent.py dev to connect it to LiveKit

Prompt for your agent

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`.

Caveat. Dev and start modes need a LiveKit server or LiveKit Cloud project.

Use this in your AI agent

Ask your agent

Using the Deduped MCP, get the setup steps for livekit/agents and "Build a voice agent and talk to it in the terminal"

Add Deduped to Claude Code once

claude mcp add --transport http deduped https://dedupedai.com/mcp

Cursor, ChatGPT, others

Share: X LinkedIn Hacker News Email Copy link

Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer