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
↓ 2 callers
Function
_is_bulbul_ref
(ref: ModelRef)
livekit-plugins/livekit-plugins-slng/livekit/plugins/slng/gateway_adapter.py:383
↓ 2 callers
Function
_is_gemini_3_flash_model
Check if model is Gemini 3 Flash
livekit-plugins/livekit-plugins-google/livekit/plugins/google/llm.py:48
↓ 2 callers
Function
_is_ignorable_task
(task)
tests/conftest.py:285
↓ 2 callers
Method
_is_local_proxy_participant
(self, participant: rtc.Participant)
livekit-agents/livekit/agents/voice/room_io/_output.py:341
↓ 2 callers
Function
_is_realtime
(model: str)
livekit-plugins/livekit-plugins-mistralai/livekit/plugins/mistralai/stt.py:41
↓ 2 callers
Function
_is_sarvam_ref
(ref: ModelRef)
livekit-plugins/livekit-plugins-slng/livekit/plugins/slng/gateway_adapter.py:387
↓ 2 callers
Function
_is_valid_base64
Strictly validate if a string is valid base64 encoded data. Args: s: String to validate Returns: True if the string is
livekit-plugins/livekit-plugins-bithuman/livekit/plugins/bithuman/avatar.py:54
↓ 2 callers
Function
_is_whisper_realtime
(model: str)
livekit-plugins/livekit-plugins-openai/livekit/plugins/openai/stt.py:67
↓ 2 callers
Function
_iter_test_files
(config: pytest.Config)
tests/conftest.py:109
↓ 2 callers
Method
_json
( self, method: str, path: str, *, json: dict[str, Any] | None = None,
livekit-plugins/livekit-plugins-protoface/livekit/plugins/protoface/api.py:117
↓ 2 callers
Function
_llm_model
()
examples/frontdesk/test_agent.py:14
↓ 2 callers
Method
_loans
(self)
examples/telephony/bank-ivr/ivr_system_agent.py:523
↓ 2 callers
Function
_looks_like_error_text
Heuristic to detect server-side error hints in text payloads/reasons.
livekit-plugins/livekit-plugins-sarvam/livekit/plugins/sarvam/stt.py:440
↓ 2 callers
Function
_make_agent_output
()
tests/test_audio_sink_proxy.py:21
↓ 2 callers
Function
_make_fallback
(model: FallbackModelType)
livekit-agents/livekit/agents/inference/stt.py:252
↓ 2 callers
Function
_make_fallback
(model: FallbackModelType)
livekit-agents/livekit/agents/inference/tts.py:126
↓ 2 callers
Function
_make_mock_tagger
( *, evaluations: list | None = None, outcome_reason: str | None = None )
tests/test_recording.py:115
↓ 2 callers
Function
_make_stt_eos_recognition
()
tests/test_agent_session.py:766
↓ 2 callers
Function
_make_token
( identity: str, room: str, *, kind: str | None = None, agent: bool = False, )
tests/test_room.py:40
↓ 2 callers
Method
_make_update_pair
Synthesize a (FunctionCall, FunctionCallOutput) pair for a progress update. The new FunctionCall carries ``{call_id}{call_id_suffix}``; name/
livekit-agents/livekit/agents/voice/events.py:250
↓ 2 callers
Method
_mark_done
(self)
livekit-agents/livekit/agents/voice/run_result.py:200
↓ 2 callers
Method
_mark_restart_needed
(self)
livekit-plugins/livekit-plugins-ultravox/livekit/plugins/ultravox/realtime/realtime_model.py:315
↓ 2 callers
Method
_maybe_mark_playback_started
Mark the playback as started if it hasn't been already. Must be called under ``audio_lock``.
livekit-agents/livekit/agents/cli/_legacy.py:268
↓ 2 callers
Method
_maybe_set_server_request_id
Capture server-assigned request_id once it is available.
livekit-plugins/livekit-plugins-sarvam/livekit/plugins/sarvam/tts.py:1414
↓ 2 callers
Method
_memory_monitor_task
Monitor memory usage and kill the process if it exceeds the limit.
livekit-agents/livekit/agents/ipc/supervised_proc.py:568
↓ 2 callers
Function
_merge_lang_segments
Merge two (language, text) segment lists, combining adjacent segments of the same language.
livekit-plugins/livekit-plugins-soniox/livekit/plugins/soniox/stt.py:630
↓ 2 callers
Function
_model_params
Per-model option fields shared between the HTTP body and the WS query string.
livekit-plugins/livekit-plugins-rime/livekit/plugins/rime/tts.py:106
↓ 2 callers
Function
_model_supports_mode
Check whether the model supports mode parameter.
livekit-plugins/livekit-plugins-sarvam/livekit/plugins/sarvam/stt.py:256
↓ 2 callers
Function
_new_stream
(*, server_vad=NOT_GIVEN)
tests/test_plugin_elevenlabs_stt.py:22
↓ 2 callers
Function
_normalize_azure_client_event
In-place normalization of client event dicts for legacy Azure compatibility. The legacy Azure Realtime API uses "text" for assistant content part
livekit-plugins/livekit-plugins-openai/livekit/plugins/openai/realtime/realtime_model.py:207
↓ 2 callers
Method
_normalize_builtin_audio
(self, source: AudioSource)
livekit-agents/livekit/agents/voice/background_audio.py:229
↓ 2 callers
Function
_normalize_recording_source
(value: object, *, fallback: str)
livekit-plugins/livekit-plugins-hamming/livekit/plugins/hamming/_plugin.py:1694
↓ 2 callers
Method
_normalize_sound_source
( self, source: AudioSource | AudioConfig | list[AudioConfig] | None )
livekit-agents/livekit/agents/voice/background_audio.py:213
↓ 2 callers
Function
_normalize_string_list
(values: object)
livekit-plugins/livekit-plugins-hamming/livekit/plugins/hamming/_plugin.py:1622
↓ 2 callers
Function
_note
(freq: float, dur_s: float, amp: float)
examples/avatar/hold_music.py:50
↓ 2 callers
Method
_note_provider_request_id
Record a provider-known id for this stream on the current span. Exposed on the `tts_request_run` span as `lk.provider_request_ids` so users
livekit-agents/livekit/agents/tts/tts.py:810
↓ 2 callers
Function
_observability_endpoint_arg
Build endpoint kwargs for old/new telemetry function signatures.
tests/test_recording.py:136
↓ 2 callers
Method
_on_credentials_updated
(self, *, token: str, url: str)
tests/test_room_io.py:92
↓ 2 callers
Method
_on_error
( self, error: llm.LLMError | stt.STTError | tts.TTSError | llm.Realti
livekit-agents/livekit/agents/voice/agent_activity.py:1662
↓ 2 callers
Method
_on_transcript
(self, text: str)
livekit-agents/livekit/agents/voice/amd/detector.py:316
↓ 2 callers
Function
_parse_metadata
(metadata_raw: str | None)
livekit-plugins/livekit-plugins-hamming/livekit/plugins/hamming/_payload.py:247
↓ 2 callers
Function
_parse_received_event
Normalize a raw WS message into a typed :class:`_ReceivedEvent`. Handles the variant message shapes from SLNG-fronted TTS providers (Sarvam,
livekit-plugins/livekit-plugins-slng/livekit/plugins/slng/tts.py:104
↓ 2 callers
Function
_parse_style
parse the list of fields required by the style
livekit-agents/livekit/agents/cli/log.py:74
↓ 2 callers
Function
_parse_timestamp_info
Parse timestamp info from API response into TimedString objects. Args: timestamp_info: The timestamp info from the API response.
livekit-plugins/livekit-plugins-inworld/livekit/plugins/inworld/tts.py:1308
↓ 2 callers
Function
_patch_session_to_capture_post
Replace the TTS's aiohttp session with a stub that captures the body of the first ``post()`` call and short-circuits the rest of the request.
tests/test_plugin_inworld_tts.py:141
↓ 2 callers
Method
_pause_enabled
(self)
livekit-agents/livekit/agents/voice/agent_activity.py:3820
↓ 2 callers
Method
_pause_scheduling_task
( self, *, blocked_tasks: list[asyncio.Task] | None = None )
livekit-agents/livekit/agents/voice/agent_activity.py:959
↓ 2 callers
Method
_pipeline_reply_task
( self, *, speech_handle: SpeechHandle, chat_ctx: llm.ChatContext, too
livekit-agents/livekit/agents/voice/agent_activity.py:2626
↓ 2 callers
Method
_played_duration
(self)
tests/fake_io.py:58
↓ 2 callers
Function
_playout_task
Playout audio frames from the queue to the audio source
examples/other/text-to-speech/sync_tts_transcription.py:116
↓ 2 callers
Function
_port_in_use
(port: int)
tests/lk_server.py:24
↓ 2 callers
Method
_positive_time
(self, value: object)
livekit-plugins/livekit-plugins-sarvam/livekit/plugins/sarvam/stt.py:983
↓ 2 callers
Method
_post
Make a POST request to the Tavus API with retry logic. Args: endpoint: API endpoint path (without leading slash)
livekit-plugins/livekit-plugins-tavus/livekit/plugins/tavus/api.py:99
↓ 2 callers
Method
_post
Internal method to make a POST request with retry logic.
livekit-plugins/livekit-plugins-anam/livekit/plugins/anam/api.py:149
↓ 2 callers
Method
_proc_spawn_task
(self)
livekit-agents/livekit/agents/ipc/proc_pool.py:202
↓ 2 callers
Method
_process
Process an audio frame with Krisp noise reduction. This is the method required by the FrameProcessor interface. Args: fr
livekit-plugins/livekit-plugins-krisp/livekit/plugins/krisp/viva_filter.py:201
↓ 2 callers
Method
_process_audio
(self, frame: rtc.AudioFrame)
examples/voice_agents/speedup_output_audio.py:73
↓ 2 callers
Method
_process_audio_stream
( self, audio: AsyncIterable[rtc.AudioFrame] )
examples/voice_agents/speedup_output_audio.py:55
↓ 2 callers
Method
_process_event
(self, event: ResponseStreamEvent | None)
livekit-plugins/livekit-plugins-openai/livekit/plugins/openai/responses/llm.py:512
↓ 2 callers
Method
_process_transcript
(self, data: dict, is_final: bool)
livekit-agents/livekit/agents/inference/stt.py:938
↓ 2 callers
Function
_publish_audio_track
(room: rtc.Room)
tests/test_room.py:82
↓ 2 callers
Method
_publish_track
(self)
livekit-agents/livekit/agents/voice/avatar/_runner.py:104
↓ 2 callers
Method
_publish_transcription
(self, id: str, text: str, final: bool)
livekit-agents/livekit/agents/voice/room_io/_output.py:292
↓ 2 callers
Method
_push_pcm
(self, data: bytes)
livekit-agents/livekit/agents/utils/codecs/decoder.py:325
↓ 2 callers
Function
_ramp_frame
A frame whose samples are a monotonic ramp, so splits can be checked for alignment.
tests/test_recording.py:430
↓ 2 callers
Method
_read_cpu_usage
(self)
livekit-agents/livekit/agents/utils/hw/cpu.py:80
↓ 2 callers
Method
_read_cpuacct_usage
(self)
livekit-agents/livekit/agents/utils/hw/cpu.py:124
↓ 2 callers
Function
_read_exactly
(sock: socket.socket, num_bytes: int)
livekit-agents/livekit/agents/utils/aio/duplex_unix.py:63
↓ 2 callers
Function
_read_message
(data: bytes, messages: MessagesDict)
livekit-agents/livekit/agents/ipc/channel.py:24
↓ 2 callers
Method
_reconcile_translators
(self)
examples/other/translation/multi-user-translator.py:418
↓ 2 callers
Function
_recv_proto
(reader: asyncio.StreamReader)
livekit-agents/livekit/agents/cli/watcher.py:21
↓ 2 callers
Method
_reestimate_speed
(self)
livekit-agents/livekit/agents/voice/transcription/synchronizer.py:288
↓ 2 callers
Method
_refresh
(self)
livekit-agents/livekit/agents/telemetry/traces.py:184
↓ 2 callers
Method
_register_playback_finished_rpc
( cls, room: rtc.Room, *, caller_identity: str, handler: Callable[[rtc
livekit-agents/livekit/agents/voice/avatar/_datastream_io.py:271
↓ 2 callers
Method
_register_playback_started_rpc
( cls, room: rtc.Room, *, caller_identity: str, handler: Callable[[rtc
livekit-agents/livekit/agents/voice/avatar/_datastream_io.py:304
↓ 2 callers
Function
_render
()
livekit-agents/livekit/agents/cli/_legacy.py:1163
↓ 2 callers
Method
_render_tag
( self, child: RenderableType, *, tag: str = "", tag_width: int | None
livekit-agents/livekit/agents/cli/_legacy.py:532
↓ 2 callers
Method
_report_processed_audio_duration
Report the total audio duration processed by the STT engine.
livekit-plugins/livekit-plugins-soniox/livekit/plugins/soniox/stt.py:298
↓ 2 callers
Method
_request
(self, method: str, path: str, **kwargs: Any)
livekit-plugins/livekit-plugins-avatartalk/livekit/plugins/avatartalk/api.py:35
↓ 2 callers
Method
_reset_pause_state
Reset all pause tracking state.
livekit-agents/livekit/agents/voice/recorder_io/recorder_io.py:423
↓ 2 callers
Method
_reset_playout
(self)
tests/fake_io.py:64
↓ 2 callers
Function
_resolve_config
(config: ServerConfig | None)
tests/utils/livekit_test.py:78
↓ 2 callers
Function
_resolve_deepgram_stt_model_for_ref
(ref: ModelRef)
livekit-plugins/livekit-plugins-slng/livekit/plugins/slng/gateway_adapter.py:524
↓ 2 callers
Function
_resolve_endpointing
Fill in defaults for missing keys. When ``turn_detection`` is a streaming turn detector, keys the caller did not provide fall back to the tig
livekit-agents/livekit/agents/voice/turn.py:298
↓ 2 callers
Method
_resolve_hamming_room_composite_recording_url
( self, *, resolution_context: RecordingResolutionContext, )
livekit-plugins/livekit-plugins-hamming/livekit/plugins/hamming/_plugin.py:720
↓ 2 callers
Method
_resolve_layer
Layer a user override onto the server defaults. A scalar override replaces the whole map (every language resolves through it); a dict
livekit-agents/livekit/agents/inference/eot/languages.py:185
↓ 2 callers
Function
_resolve_optional_string
(value: NotGivenOr[str | None], env_name: str)
livekit-plugins/livekit-plugins-protoface/livekit/plugins/protoface/api.py:182
↓ 2 callers
Function
_resolve_optional_string
(value: NotGivenOr[str | None], default: str)
livekit-plugins/livekit-plugins-protoface/livekit/plugins/protoface/avatar.py:222
↓ 2 callers
Method
_resolve_opts
Resolve language, model and mode from overrides or defaults. Returns: Tuple of (language, model, mode). Raises:
livekit-plugins/livekit-plugins-sarvam/livekit/plugins/sarvam/stt.py:590
↓ 2 callers
Function
_resolve_recording_options
(record: bool | RecordingOptions)
livekit-agents/livekit/agents/voice/agent_session.py:126
↓ 2 callers
Function
_resolve_text_normalization
(value: Any)
livekit-plugins/livekit-plugins-inworld/livekit/plugins/inworld/tts.py:83
↓ 2 callers
Function
_resolve_vad_for_model
( model: NotGivenOr[STTModels | str], vad_instance: vad.VAD | None, )
livekit-agents/livekit/agents/inference/stt.py:229
↓ 2 callers
Function
_resolve_wrapped_tool
Convert a wrapped tool to a FunctionTool or RawFunctionTool with a warning.
livekit-agents/livekit/agents/llm/tool_context.py:431
↓ 2 callers
Method
_resume_authorization
(self)
livekit-agents/livekit/agents/voice/agent_activity.py:1387
↓ 2 callers
Function
_rime_lang_from_variant
Extract language code from Rime Arcana variant strings. Handles both plain variants ("en", "es") and versioned variants ("3-en", "3-es").
livekit-plugins/livekit-plugins-slng/livekit/plugins/slng/gateway_adapter.py:357
↓ 2 callers
Function
_row_to_booking
(row: tuple[Any, ...] | None)
examples/hotel_receptionist/hotel_db.py:2067
↓ 2 callers
Function
_row_to_reservation
(row: tuple[Any, ...] | None)
examples/hotel_receptionist/hotel_db.py:2080
↓ 2 callers
Function
_rows
( conn: apsw.Connection, sql: str )
examples/hotel_receptionist/benchmark.py:89
↓ 2 callers
Function
_run_all
()
tests/concurrency.py:831
↓ 2 callers
Function
_safe_get_job_context
()
livekit-plugins/livekit-plugins-hamming/livekit/plugins/hamming/_plugin.py:1264
← previous
next →
1,101–1,200 of 7,987, ranked by callers