# agents | LiveKit | Knowledge Base | Instagit

A framework for building realtime voice AI agents 🤖🎙️📹 

GitHub Stars: 9.6k

Repository: https://github.com/livekit/agents

---

## Articles

### [How to Implement Outbound Calling with LiveKit Agents: A Complete Guide](/livekit/agents/how-to-implement-outbound-calling)

Master outbound calling with LiveKit Agents. Learn to create SIP participants and manage call flows using JobContext and WarmTransferTask for seamless agent integrations. Get the complete guide.

- Tags: how-to-guide
- Published: 2026-03-06

### [How to Use Console Mode for Local Testing with LiveKit Agents](/livekit/agents/how-to-use-console-mode-for-local-testing)

Master local testing with LiveKit Agents console mode. Run agents without a LiveKit server, enabling interactive audio and text debugging for efficient development.

- Tags: how-to-guide
- Published: 2026-03-06

### [How to Implement Dynamic Tool Creation in LiveKit Agents](/livekit/agents/how-to-implement-dynamic-tool-creation)

Learn to implement dynamic tool creation in LiveKit Agents using three patterns: construction time initialization, runtime updates with update_tools, or temporary injection inside llm_node.

- Tags: how-to-guide
- Published: 2026-03-06

### [How to Optimize Latency and Performance in LiveKit Agents: A Complete Guide](/livekit/agents/how-to-optimize-latency-and-performance)

Optimize your LiveKit agents latency and performance. Discover techniques like preemptive generation and balanced TTS modes to slash end-to-end delays significantly.

- Tags: how-to-guide
- Published: 2026-03-06

### [How to Configure Telephony Integration with SIP in LiveKit Agents](/livekit/agents/how-to-configure-telephony-integration-with-sip)

Configure telephony integration with SIP in LiveKit Agents by provisioning a SIP trunk exporting environment variables and using JobContext to manage inbound and outbound calls.

- Tags: how-to-guide
- Published: 2026-03-06

### [How to Implement Transcription for Multi-User Rooms with LiveKit Agents](/livekit/agents/how-to-implement-transcription-for-multi-user-rooms)

Implement multi-user room transcription using LiveKit Agents. Leverage MultiSpeakerAdapter and diarization plugins to automatically tag speaker IDs and manage speaker detection for clear audio.

- Tags: how-to-guide
- Published: 2026-03-06

### [How to Use the Built-In Test Framework with Judges in LiveKit Agents](/livekit/agents/how-to-use-built-in-test-framework-with-judges)

Learn to use the LiveKit Agents built-in test framework with judges for end-to-end workflow testing. Automatically verify agent responses and LLM intents for robust development.

- Tags: how-to-guide
- Published: 2026-03-06

### [How to Implement Semantic Turn Detection in LiveKit Agents: 3 Methods Explained](/livekit/agents/how-to-implement-semantic-turn-detection)

Learn 3 methods to implement semantic turn detection in LiveKit Agents. Configure TurnDetection or MultilingualModel for precise control and enhanced conversational AI.

- Tags: how-to-guide
- Published: 2026-03-06

### [How to Configure Job Scheduling and Dispatch APIs in LiveKit Agents](/livekit/agents/how-to-configure-job-scheduling-and-dispatch-apis)

Learn to configure job scheduling and dispatch APIs in LiveKit Agents. Control worker scheduling with ServerOptions and agent placement using the AgentDispatch API.

- Tags: how-to-guide
- Published: 2026-03-06

### [How to Use RPC for Client-Agent Communication in LiveKit Agents](/livekit/agents/how-to-use-rpc-for-client-agent-communication)

Learn how to use RPC for client-agent communication in LiveKit Agents. Register RPC methods to query agent state, fetch chat history, or send messages using Pydantic models.

- Tags: how-to-guide
- Published: 2026-03-06

### [How to Implement Video Avatar Integration with LiveKit Agents: Tavus, Hedra, and More](/livekit/agents/how-to-implement-video-avatar-integration-tavus-hedra-etc)

Easily integrate realtime video avatars like Tavus and Hedra into your LiveKit Agents. Learn how to connect custom avatar plugins and enhance your voice agents.

- Tags: how-to-guide
- Published: 2026-03-06

### [How to Handle Long-Running Function Calls in LiveKit Agents: A Complete Guide](/livekit/agents/how-to-handle-long-running-function-calls)

Master long-running function calls in LiveKit Agents. Learn to run LLM tools asynchronously with speech generation and manage operations via RunContext and SpeechHandle APIs for seamless user interaction.

- Tags: how-to-guide
- Published: 2026-03-06

### [How to Implement Push-to-Talk Functionality in LiveKit Voice Agents](/livekit/agents/how-to-implement-push-to-talk-functionality)

Implement push-to-talk in LiveKit Agents. Learn to control microphone input with RPCs for seamless voice agent interactions. Get started today!

- Tags: how-to-guide
- Published: 2026-03-06

### [How to Configure Different TTS Providers in LiveKit Agents: A Complete Guide](/livekit/agents/how-to-configure-different-tts-providers)

Learn how to configure different TTS providers in LiveKit Agents with our complete guide. Easily integrate various Text-to-Speech services using the unified TTS class and environment variables.

- Tags: how-to-guide
- Published: 2026-03-06

### [How to Configure Different STT Providers in LiveKit Agents](/livekit/agents/how-to-configure-different-stt-providers)

Easily configure various STT providers in LiveKit Agents. Install plugins, set API keys, and integrate with simple model strings for seamless voice processing.

- Tags: how-to-guide
- Published: 2026-03-06

### [How to Implement Text-Only Agent Mode in LiveKit Agents](/livekit/agents/how-to-implement-text-only-agent-mode)

Learn how to implement text-only agent mode in LiveKit Agents. Configure AgentSession and RoomOptions for seamless text-based interactions and enhance your agent's functionality.

- Tags: how-to-guide
- Published: 2026-03-06

### [How to Use Structured Output from an LLM to Guide TTS in LiveKit Agents](/livekit/agents/how-to-use-structured-output-from-llm-to-guide-tts)

Learn to guide TTS in LiveKit Agents using structured LLM output. Define schemas, parse JSON, and dynamically update TTS for better voice control. Integrate LLM responses seamlessly into your audio applications.

- Tags: how-to-guide
- Published: 2026-03-06

### [How to Implement Background Audio Handling in LiveKit Agents: A Complete Guide](/livekit/agents/how-to-implement-background-audio-handling-in-livekit-agents)

Learn to implement background audio handling in LiveKit Agents using BackgroundAudioPlayer. Manage ambient sounds and thinking cues for a seamless agent experience. Get the complete guide now.

- Tags: how-to-guide
- Published: 2026-03-06

### [How to Configure VAD in LiveKit Agents: A Complete Guide](/livekit/agents/how-to-configure-vad-voice-activity-detection-in-livekit-agents)

Easily configure Voice Activity Detection VAD in LiveKit Agents. Load plugins like Silero, set thresholds, and update options at runtime for seamless integration. Get the complete guide now.

- Tags: how-to-guide
- Published: 2026-03-06

### [How to Use Function Tools with LiveKit Agents: Complete Implementation Guide](/livekit/agents/how-to-use-function-tools-with-livekit-agents)

Master LiveKit Agents and LLMs by learning how to implement function tools. Decorate methods, manage ToolContext, and handle FunctionToolsExecutedEvents for seamless Python function invocation.

- Tags: how-to-guide
- Published: 2026-03-06

### [How to Integrate MCP Servers with LiveKit Agents: A Complete Guide](/livekit/agents/how-to-integrate-mcp-servers-with-livekit-agents)

Integrate MCP servers with LiveKit Agents easily. Convert remote MCP tools into callable LLM functions by passing an MCPServer instance to AgentSession. Learn how now.

- Tags: how-to-guide
- Published: 2026-03-06

### [How to Configure Turn Detection and Interruption Handling in LiveKit Agents](/livekit/agents/how-to-configure-turn-detection-and-interruption-handling)

Learn to configure turn detection and interruption handling in LiveKit Agents. Set up modes like STT VAD or LLM, and control interruptions effectively with the allow interruptions flag.

- Tags: how-to-guide
- Published: 2026-03-06

### [How to Implement Multi-Agent Handoffs in LiveKit Agents](/livekit/agents/how-to-implement-multi-agent-handoffs-in-livekit-agents)

Implement seamless multi agent handoffs in LiveKit Agents. Learn how function tools trigger transitions and preserve chat history with AgentHandoff events for smooth agent-to-agent communication.

- Tags: how-to-guide
- Published: 2026-03-06

