Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/livekit/agents
/ functions
Functions
7,987 in github.com/livekit/agents
⨍
Functions
7,987
◇
Types & classes
1,654
↳
Endpoints
22
↓ 3 callers
Method
remove
(self, _client)
tests/test_plugin_google_stt.py:88
↓ 3 callers
Method
remove
(self, order_id: str)
examples/drive-thru/order.py:69
↓ 3 callers
Function
remove_instructions
(chat_ctx: ChatContext)
livekit-agents/livekit/agents/voice/generation.py:942
↓ 3 callers
Method
reset
(self)
tests/toxic_proxy.py:178
↓ 3 callers
Method
reset
(self)
livekit-plugins/livekit-plugins-soniox/livekit/plugins/soniox/stt.py:724
↓ 3 callers
Method
resume
(self, *, reuse_resources: _ReusableResources | None = None)
livekit-agents/livekit/agents/voice/agent_activity.py:997
↓ 3 callers
Method
run
( self, text: str, timeout: float = 60.0 )
livekit-agents/livekit/agents/voice/remote_session.py:1062
↓ 3 callers
Method
send_message_threadsafe
(self, msg: agent_pb.AgentSessionMessage)
livekit-agents/livekit/agents/voice/remote_session.py:186
↓ 3 callers
Function
setup_logging
(log_level: str, devmode: bool, console: bool, compact: bool = False)
livekit-agents/livekit/agents/cli/log.py:204
↓ 3 callers
Method
simulate_prediction
Mirror what a transport would do: hand the prediction to the stream.
tests/test_turn_detection_fsm.py:69
↓ 3 callers
Method
simulation_context
Return the :class:`SimulationContext` when this job is running under a simulation, or ``None`` for a normal/production session. Resol
livekit-agents/livekit/agents/job.py:442
↓ 3 callers
Method
speed_up
(self, factor: float)
tests/fake_stt.py:36
↓ 3 callers
Function
split_words
( text: str, *, ignore_punctuation: bool = True, split_character: bool = False )
livekit-agents/livekit/agents/tokenize/basic.py:112
↓ 3 callers
Method
start
Starts the background audio system, publishing the audio track and beginning playback of any configured ambient sound. If `a
livekit-agents/livekit/agents/voice/background_audio.py:284
↓ 3 callers
Method
start
(self)
examples/avatar_agents/audio_wave/dispatcher.py:38
↓ 3 callers
Method
stream
( self, *, conn_options: APIConnectOptions = DEFAULT_API_CONNECT_OPTIONS, )
livekit-agents/livekit/agents/voice/turn.py:88
↓ 3 callers
Method
stream
(self)
livekit-agents/livekit/agents/voice/transcription/_speaking_rate.py:49
↓ 3 callers
Method
stream
( self, *, language: str | None = None, conn_options: APIConnectOptions = DEFA
tests/test_stt_fallback.py:189
↓ 3 callers
Method
stream
(self, *, language=None, conn_options=DEFAULT_API_CONNECT_OPTIONS)
tests/test_stt_base.py:58
↓ 3 callers
Function
time_ms
()
livekit-agents/livekit/agents/utils/misc.py:18
↓ 3 callers
Method
timestamp
(self)
livekit-plugins/livekit-plugins-hamming/livekit/plugins/hamming/_payload.py:27
↓ 3 callers
Function
to_noise_reduction
( noise_reduction: NotGivenOr[ InputAudioNoiseReduction | NoiseReduction | NoiseReductionType | No
livekit-plugins/livekit-plugins-openai/livekit/plugins/openai/realtime/utils.py:63
↓ 3 callers
Method
track_task
(self, task: asyncio.Task[Any])
livekit-plugins/livekit-plugins-hamming/livekit/plugins/hamming/_plugin.py:964
↓ 3 callers
Method
transcription_node
A node in the processing pipeline that finalizes transcriptions from text segments. This node can be used to adjust or post-process
livekit-agents/livekit/agents/voice/agent.py:350
↓ 3 callers
Method
update_agent
(self, agent: Agent)
livekit-agents/livekit/agents/voice/agent_session.py:1347
↓ 3 callers
Method
update_interruption_detection
( self, interruption_detection: inference.AdaptiveInterruptionDetector | None )
livekit-agents/livekit/agents/voice/audio_recognition.py:793
↓ 3 callers
Method
update_options
(self, **kwargs: object)
tests/test_plugin_elevenlabs_stt.py:119
↓ 3 callers
Method
update_vad
(self, vad: vad.VAD | None)
livekit-agents/livekit/agents/voice/audio_recognition.py:755
↓ 3 callers
Function
validate_model_speaker_compatibility
Validate that the speaker is compatible with the model version.
livekit-plugins/livekit-plugins-sarvam/livekit/plugins/sarvam/tts.py:366
↓ 3 callers
Method
validate_python
(v: Any)
livekit-agents/livekit/agents/llm/chat_context.py:155
↓ 3 callers
Function
validate_response
(response: requests.Response)
tests/toxic_proxy.py:29
↓ 3 callers
Method
wait_for_audio
Resolve when rolling RMS exceeds `min_rms`, or raise on timeout.
tests/utils/audio_test.py:167
↓ 3 callers
Method
wait_for_join
Wait until the avatar participant has joined the room and published its video track. Raises ``asyncio.TimeoutError`` if it doesn't ar
livekit-agents/livekit/agents/voice/avatar/_types.py:105
↓ 3 callers
Function
wait_until_connected
Block until ``transport._ws`` is set.
tests/fake_turn_detector_ws.py:137
↓ 3 callers
Method
watch
(cls, track: rtc.RemoteAudioTrack)
tests/utils/audio_test.py:136
↓ 2 callers
Method
__anext__
(self)
tests/test_plugin_google_stt.py:61
↓ 2 callers
Method
__enable_proxy
(self, enabled: bool)
tests/toxic_proxy.py:148
↓ 2 callers
Method
__end_segment
(self)
livekit-agents/livekit/agents/tts/tts.py:847
↓ 2 callers
Method
__generate_lk_token
( self, livekit_api_key: str, livekit_api_secret: str, room: rtc.Room,
livekit-plugins/livekit-plugins-avatartalk/livekit/plugins/avatartalk/avatar.py:47
↓ 2 callers
Method
__init__
(self, instrumenting_module_name: str)
livekit-agents/livekit/agents/telemetry/traces.py:61
↓ 2 callers
Method
__init__
( self, *, model: AdaptiveInterruptionDetector, conn_options: APIConnectOptions )
livekit-agents/livekit/agents/inference/interruption.py:409
↓ 2 callers
Method
__init__
Initialize a FallbackAdapter that manages multiple TTS instances. Args: tts (list[TTS]): A list of TTS instances to use
livekit-agents/livekit/agents/tts/fallback_adapter.py:53
↓ 2 callers
Method
__init__
( self, *, capabilities: TTSCapabilities, sample_rate: int, num_channe
livekit-agents/livekit/agents/tts/tts.py:71
↓ 2 callers
Method
__init__
(self, *, label: str, source: AudioInput | None = None)
livekit-agents/livekit/agents/voice/io.py:42
↓ 2 callers
Method
__init__
( self, *, agent_session: AgentSession, sample_rate: int = 48000, loop
livekit-agents/livekit/agents/voice/recorder_io/recorder_io.py:34
↓ 2 callers
Method
__init__
( self, synchronizer: TranscriptSynchronizer, *, next_in_chain: io.TextOutput | None )
livekit-agents/livekit/agents/voice/transcription/synchronizer.py:722
↓ 2 callers
Method
__init__
( self, *, generate_reply_on_enter: bool = False, say_on_user_turn_completed:
tests/test_agent_session.py:48
↓ 2 callers
Method
__init__
(self)
tests/test_nested_agent_task.py:18
↓ 2 callers
Method
__init__
(self)
tests/test_audio_sink_proxy.py:66
↓ 2 callers
Method
__init__
(self)
tests/fake_io.py:12
↓ 2 callers
Method
__init__
(self)
tests/test_tool_proxy.py:61
↓ 2 callers
Method
__init__
( self, *, sample_rate: int = 24000, num_channels: int = 1, fake_timeo
tests/fake_tts.py:38
↓ 2 callers
Method
__init__
Create a new instance of SLNG TTS (based on Deepgram's architecture). Args: model (str): SLNG model identifier (e.g., "d
livekit-plugins/livekit-plugins-slng/livekit/plugins/slng/tts.py:157
↓ 2 callers
Method
__init__
Create a new instance of Deepgram TTS. Args: model (str): TTS model to use. Defaults to "aura-2-andromeda-en".
livekit-plugins/livekit-plugins-deepgram/livekit/plugins/deepgram/tts.py:47
↓ 2 callers
Method
__init__
( self, g: GeneratorType | CoroutineType, registered_fn: RegisteredFunction, w
livekit-plugins/livekit-durable/livekit/durable/function.py:96
↓ 2 callers
Method
__init__
Initialize the Baseten TTS. Args: api_key: Baseten API key, or ``BASETEN_API_KEY`` env var. model_endpoint:
livekit-plugins/livekit-plugins-baseten/livekit/plugins/baseten/tts.py:53
↓ 2 callers
Method
__init__
Initialize the Gradium TTS. Args: api_key (str): Gradium API key, or `GRADIUM_API_KEY` env var. model_endpoi
livekit-plugins/livekit-plugins-gradium/livekit/plugins/gradium/tts.py:53
↓ 2 callers
Method
__init__
Create a new instance of Respeecher TTS. Args: voice_id: ID of the voice to use. If not provided, a model-specific defau
livekit-plugins/livekit-plugins-respeecher/livekit/plugins/respeecher/tts.py:101
↓ 2 callers
Method
__init__
( self, *, base_url: NotGivenOr[str] = NOT_GIVEN, model: TTSModels | str = "ar
livekit-plugins/livekit-plugins-rime/livekit/plugins/rime/tts.py:157
↓ 2 callers
Method
__init__
Create a new instance of Smallest AI Lightning TTS. Args: api_key: Your Smallest AI API key. model: The TTS
livekit-plugins/livekit-plugins-smallestai/livekit/plugins/smallestai/tts.py:61
↓ 2 callers
Method
__init__
Create a new instance of Fish Audio TTS. See https://docs.fish.audio/api-reference/endpoint/websocket/tts-live for more details
livekit-plugins/livekit-plugins-fishaudio/livekit/plugins/fishaudio/tts.py:65
↓ 2 callers
Method
__init__
Create a new instance of ElevenLabs TTS. Args: voice_id (str): Voice ID. Defaults to `DEFAULT_VOICE_ID`. voi
livekit-plugins/livekit-plugins-elevenlabs/livekit/plugins/elevenlabs/tts.py:100
↓ 2 callers
Method
__init__
Create a new instance of Cartesia TTS. See https://docs.cartesia.ai/reference/web-socket/stream-speech/stream-speech for more detail
livekit-plugins/livekit-plugins-cartesia/livekit/plugins/cartesia/tts.py:87
↓ 2 callers
Method
__init__
Create a new instance of Uplift TTS. Args: base_url: Base URL for TTS service. Defaults to wss://api.upliftai.org
livekit-plugins/livekit-plugins-upliftai/livekit/plugins/upliftai/tts.py:95
↓ 2 callers
Method
__init__
Create a new instance of Anthropic LLM. ``api_key`` must be set to your Anthropic API key, either using the argument or by setting
livekit-plugins/livekit-plugins-anthropic/livekit/plugins/anthropic/llm.py:64
↓ 2 callers
Method
__init__
Create a new instance of NeuPhonic TTS. See https://docs.neuphonic.com for more details on the NeuPhonic API. Args:
livekit-plugins/livekit-plugins-neuphonic/livekit/plugins/neuphonic/tts.py:74
↓ 2 callers
Method
__init__
Create a new instance of Google TTS. Credentials must be provided, either by using the ``credentials_info`` dict, or reading
livekit-plugins/livekit-plugins-google/livekit/plugins/google/tts.py:70
↓ 2 callers
Method
__init__
Create a new instance of the Resemble TTS. See https://docs.app.resemble.ai/docs/text_to_speech/ for more documentation on all of th
livekit-plugins/livekit-plugins-resemble/livekit/plugins/resemble/tts.py:55
↓ 2 callers
Method
__init__
Create a new instance of Inworld TTS. Args: api_key (str, optional): The Inworld API key. If not provide
livekit-plugins/livekit-plugins-inworld/livekit/plugins/inworld/tts.py:824
↓ 2 callers
Method
__init__
Minimax TTS plugin Args: model (TTSModel | str, optional): The Minimax TTS model to use. Defaults to DEFAULT_MODEL.
livekit-plugins/livekit-plugins-minimax/livekit/plugins/minimax/tts.py:169
↓ 2 callers
Method
__init__
Create a new instance of OpenAI TTS. ``api_key`` must be set to your OpenAI API key, either using the argument or by setting the
livekit-plugins/livekit-plugins-openai/livekit/plugins/openai/tts.py:61
↓ 2 callers
Method
__init__
( self, *, target_language_code: SarvamTTSLanguages | str = "en-IN", model: Sa
livekit-plugins/livekit-plugins-sarvam/livekit/plugins/sarvam/tts.py:460
↓ 2 callers
Method
__init__
Create a new instance of Murf AI TTS. See https://murf.ai/api/docs/api-reference/text-to-speech/stream-input for more details on the
livekit-plugins/livekit-plugins-murf/livekit/plugins/murf/tts.py:75
↓ 2 callers
Method
__setstate__
(self, state)
livekit-plugins/livekit-durable/livekit/durable/function.py:172
↓ 2 callers
Method
__start_segment
(self, *, segment_id: str)
livekit-agents/livekit/agents/tts/tts.py:828
↓ 2 callers
Method
_add_drain_blocked_tasks
(self, tasks: list[asyncio.Task[Any]])
livekit-agents/livekit/agents/voice/agent_activity.py:978
↓ 2 callers
Function
_agent_publishing_tone
Publish a steady sine tone via the production `_ParticipantAudioOutput` helper, so the test exercises both the SDK and the agents-framework layer.
tests/test_room.py:240
↓ 2 callers
Function
_agent_style
(name: str)
livekit-agents/livekit/agents/cli/_legacy.py:1250
↓ 2 callers
Method
_auth_headers
(self)
livekit-plugins/livekit-plugins-hamming/livekit/plugins/hamming/_transport.py:47
↓ 2 callers
Function
_backchannel_event
()
tests/test_agent_session.py:1333
↓ 2 callers
Function
_base_url_to_ws_base_url
(base_url: str)
livekit-plugins/livekit-plugins-cartesia/livekit/plugins/cartesia/stt.py:56
↓ 2 callers
Method
_build_config_options
( self, *, system_prompt: str, tools_payload: list[dict | str] )
livekit-plugins/livekit-plugins-phonic/livekit/plugins/phonic/realtime/realtime_model.py:511
↓ 2 callers
Method
_build_confirm_tool
(self, *, dob: date | None)
livekit-agents/livekit/agents/beta/workflows/dob.py:258
↓ 2 callers
Function
_build_conversation_ctx
Build a ChatContext with system, user/assistant pairs, and interleaved tool calls.
tests/test_chat_ctx.py:302
↓ 2 callers
Function
_build_public_s3_url
(filepath: str)
livekit-plugins/livekit-plugins-hamming/livekit/plugins/hamming/_transport.py:504
↓ 2 callers
Method
_build_speech_data
(self, data: dict)
livekit-agents/livekit/agents/inference/stt.py:896
↓ 2 callers
Function
_build_streaming_config
Build the streaming configuration for Gladia API.
livekit-plugins/livekit-plugins-gladia/livekit/plugins/gladia/stt.py:141
↓ 2 callers
Method
_build_tools_payload
(self)
livekit-plugins/livekit-plugins-phonic/livekit/plugins/phonic/realtime/realtime_model.py:496
↓ 2 callers
Method
_build_turn_history
(self, chat_ctx: llm.ChatContext)
livekit-plugins/livekit-plugins-phonic/livekit/plugins/phonic/realtime/realtime_model.py:503
↓ 2 callers
Function
_capture_first_ws_create_packet
Drive `_InworldConnection._send_loop` against a fake websocket and return the first `create` packet it sends, as a parsed dict. The fake `sen
tests/test_plugin_inworld_tts.py:59
↓ 2 callers
Function
_capture_session_create
Run the real _connect_ws path and return the parsed session.create payload it sent.
tests/test_interruption/test_interruption_session_create.py:56
↓ 2 callers
Method
_cards
(self)
examples/telephony/bank-ivr/ivr_system_agent.py:462
↓ 2 callers
Method
_check_generation_config
(self)
livekit-plugins/livekit-plugins-cartesia/livekit/plugins/cartesia/tts.py:307
↓ 2 callers
Method
_check_input_not_ended
(self)
livekit-agents/livekit/agents/vad.py:199
↓ 2 callers
Method
_check_input_not_ended
(self)
livekit-agents/livekit/agents/inference/interruption.py:534
↓ 2 callers
Method
_check_input_not_ended
(self)
livekit-agents/livekit/agents/stt/stt.py:538
↓ 2 callers
Method
_check_not_closed
(self)
livekit-agents/livekit/agents/vad.py:194
↓ 2 callers
Method
_check_not_closed
(self)
livekit-agents/livekit/agents/inference/interruption.py:529
↓ 2 callers
Method
_check_not_closed
(self)
livekit-agents/livekit/agents/stt/stt.py:533
↓ 2 callers
Method
_check_not_closed
(self)
livekit-agents/livekit/agents/tokenize/token_stream.py:100
← previous
next →
901–1,000 of 7,987, ranked by callers