MCPcopy Create free account

hub / github.com/livekit/agents / functions

Functions7,987 in github.com/livekit/agents

↓ 4 callersMethodreset_dwell
Abort the current idle dwell — the next iteration restarts from wait_for_idle. Called by ``ctx.update()`` to signal that the tool just took t
livekit-agents/livekit/agents/voice/filler_scheduler.py:51
↓ 4 callersMethodretrieve_chat_ctx
(self)
livekit-agents/livekit/agents/voice/audio_recognition.py:141
↓ 4 callersMethodsend_fake_transcript
(self, transcript: str, is_final: bool = True)
tests/fake_stt.py:166
↓ 4 callersMethodsession
Retrieve the VoiceAgent associated with the current agent. Raises: RuntimeError: If the agent is not running
livekit-agents/livekit/agents/voice/agent.py:710
↓ 4 callersMethodset_transcription_enabled
(self, enabled: bool)
livekit-agents/livekit/agents/voice/io.py:606
↓ 4 callersMethodset_video_enabled
(self, enable: bool)
livekit-agents/livekit/agents/voice/io.py:486
↓ 4 callersMethodsimulate_job
( self, room: str, *, fake_job: bool = False, agent_identity: str | No
livekit-agents/livekit/agents/worker.py:943
↓ 4 callersMethodstart
(self)
livekit-agents/livekit/agents/cli/_legacy.py:1466
↓ 4 callersMethodstart
(self, *args: object, **kwargs: object)
livekit-plugins/livekit-plugins-hamming/tests/test_recording.py:22
↓ 4 callersMethodstream
( self, *, language: NotGivenOr[str] = NOT_GIVEN, conn_options: APIConnectOpti
livekit-agents/livekit/agents/stt/stt.py:267
↓ 4 callersMethodstream
( self, *, language: NotGivenOr[str] = NOT_GIVEN, conn_options: APIConnectOpti
livekit-agents/livekit/agents/stt/stream_adapter.py:56
↓ 4 callersFunctionto_oai_tool_choice
(tool_choice: llm.ToolChoice | None)
livekit-plugins/livekit-plugins-openai/livekit/plugins/openai/realtime/utils.py:289
↓ 4 callersMethodtruncate
( self, *, message_id: str, modalities: list[Literal["text", "audio"]],
livekit-plugins/livekit-plugins-aws/livekit/plugins/aws/experimental/realtime/realtime_model.py:2229
↓ 4 callersMethodupdate_chat_ctx
( self, chat_ctx: llm.ChatContext, *, exclude_invalid_function_calls: bool = True )
livekit-agents/livekit/agents/voice/agent_activity.py:496
↓ 4 callersFunctionupdate_instructions
Update the instruction message in the chat context or insert a new one if missing. This function looks for an existing instruction message i
livekit-agents/livekit/agents/voice/generation.py:891
↓ 4 callersMethodupdate_options
( self, *, fake_timeout: NotGivenOr[float | None] = NOT_GIVEN, fake_audio_dura
tests/fake_tts.py:65
↓ 4 callersMethodupdate_turn_detector
Update the turn detector and turn detector stream if possible. When *stream* is provided it is adopted as-is (handoff reuse) instead of
livekit-agents/livekit/agents/voice/audio_recognition.py:821
↓ 4 callersFunctionwait_for_track_publication
( room: rtc.Room, *, identity: str | None = None, kind: list[rtc.TrackKind.ValueType] | rtc.Tr
livekit-agents/livekit/agents/utils/participant.py:212
↓ 4 callersFunctionwriter
()
tests/test_audio_decoder.py:80
↓ 3 callersMethod__anext__
(self)
tests/fake_io.py:17
↓ 3 callersMethod__init__
(self, message: str, *, body: object | None = None, retryable: bool = True)
livekit-agents/livekit/agents/_exceptions.py:34
↓ 3 callersMethod__init__
( self, *, client_session_timeout_seconds: float, tool_result_resolver: MCPToo
livekit-agents/livekit/agents/llm/mcp.py:76
↓ 3 callersMethod__init__
(self)
livekit-agents/livekit/agents/cli/_legacy.py:295
↓ 3 callersMethod__init__
(self, *, oneshot: bool)
tests/test_evals.py:105
↓ 3 callersMethod__init__
(self)
tests/test_tools.py:88
↓ 3 callersMethod__init__
(self)
tests/test_tool_search.py:47
↓ 3 callersMethod__init__
(self, menu: str)
examples/voice_agents/restaurant_agent.py:149
↓ 3 callersMethod_accounts
(self)
examples/telephony/bank-ivr/ivr_system_agent.py:376
↓ 3 callersFunction_async_iter
(items)
tests/test_aio_itertools.py:10
↓ 3 callersFunction_audio_format_from_encoding
(encoding: TTSEncoding)
livekit-plugins/livekit-plugins-speechify/livekit/plugins/speechify/tts.py:49
↓ 3 callersMethod_await_recv_completion
(self)
livekit-plugins/livekit-plugins-rtzr/livekit/plugins/rtzr/stt.py:272
↓ 3 callersFunction_await_subscribed_audio
(user_room: rtc.Room)
tests/test_room.py:276
↓ 3 callersMethod_build_connect_config
(self)
livekit-plugins/livekit-plugins-google/livekit/plugins/google/realtime/realtime_api.py:1130
↓ 3 callersFunction_build_recording_config
( *, recording: RecordingConfigInput | None, auto_record_audio: bool, recording_mode: str | No
livekit-plugins/livekit-plugins-hamming/livekit/plugins/hamming/_plugin.py:1391
↓ 3 callersMethod_build_ws_url
(self)
livekit-plugins/livekit-plugins-gnani/livekit/plugins/gnani/stt.py:292
↓ 3 callersMethod_build_ws_url
(self)
livekit-plugins/livekit-plugins-gnani/livekit/plugins/gnani/tts.py:495
↓ 3 callersMethod_calc_hyphens
Calculate hyphens for text.
livekit-agents/livekit/agents/voice/transcription/synchronizer.py:417
↓ 3 callersFunction_called_tools
(sess: AgentSession)
examples/survey/test_survey_agent.py:125
↓ 3 callersMethod_cancel
(self)
livekit-agents/livekit/agents/voice/speech_handle.py:211
↓ 3 callersMethod_cancel_silence_timer
(self)
livekit-plugins/livekit-plugins-nvidia/livekit/plugins/nvidia/experimental/realtime/realtime_model.py:719
↓ 3 callersMethod_cancel_speech_pause
( self, old_task: asyncio.Task[None] | None = None, *, interrupt: bool = True )
livekit-agents/livekit/agents/voice/agent_activity.py:3871
↓ 3 callersFunction_cerebras_llm
(**kwargs)
tests/test_plugin_cerebras.py:35
↓ 3 callersFunction_cerebras_llm_with_transport
( *, use_gzip: bool, use_msgpack: bool )
tests/test_plugin_cerebras.py:78
↓ 3 callersMethod_check_completion
(self)
examples/survey/agent.py:180
↓ 3 callersMethod_check_user_turn_limit
Check if the user turn exceeds configured limits. Called when a final transcript event is received.
livekit-agents/livekit/agents/voice/audio_recognition.py:1648
↓ 3 callersMethod_cleanup_connection
(self)
livekit-plugins/livekit-plugins-rtzr/livekit/plugins/rtzr/stt.py:265
↓ 3 callersMethod_cleanup_context
Clean up context state
livekit-plugins/livekit-plugins-elevenlabs/livekit/plugins/elevenlabs/tts.py:832
↓ 3 callersMethod_clear_authorization
(self)
livekit-agents/livekit/agents/voice/speech_handle.py:254
↓ 3 callersMethod_close
Clean up processor session resources (required by FrameProcessor interface). Note: This method is called during track transitions (when strea
livekit-plugins/livekit-plugins-krisp/livekit/plugins/krisp/viva_filter.py:291
↓ 3 callersMethod_close_active_session
(self)
livekit-plugins/livekit-plugins-google/livekit/plugins/google/realtime/realtime_api.py:513
↓ 3 callersMethod_close_stream
(self)
livekit-agents/livekit/agents/voice/room_io/_input.py:182
↓ 3 callersFunction_committed_transcript
(text: str)
tests/test_plugin_elevenlabs_stt.py:43
↓ 3 callersFunction_configure_logger
(c: AgentsConsole | None, log_level: int | str)
livekit-agents/livekit/agents/cli/_legacy.py:989
↓ 3 callersFunction_convert_model
Convert a Pydantic model to a different type with the same field structure.
livekit-plugins/livekit-plugins-openai/livekit/plugins/openai/realtime/realtime_model.py:141
↓ 3 callersFunction_cpu_count_from_env
()
livekit-agents/livekit/agents/utils/hw/cpu.py:24
↓ 3 callersMethod_create_audio_recognition
Create an AudioRecognition instance with mocked dependencies.
tests/test_speech_start_time_persistence.py:38
↓ 3 callersMethod_create_response_generation
Instantiate _ResponseGeneration and emit the GenerationCreated event. Can be called multiple times - will reuse existing generation but ensur
livekit-plugins/livekit-plugins-aws/livekit/plugins/aws/experimental/realtime/realtime_model.py:1082
↓ 3 callersFunction_create_session
()
tests/test_openai_realtime_chat_ctx.py:15
↓ 3 callersMethod_create_session_update_event
(self)
livekit-plugins/livekit-plugins-openai/livekit/plugins/openai/realtime/realtime_model.py:1187
↓ 3 callersMethod_create_text_writer
( self, attributes: dict[str, str] | None = None )
livekit-agents/livekit/agents/voice/room_io/_output.py:404
↓ 3 callersMethod_create_update_chat_ctx_events
( self, chat_ctx: llm.ChatContext )
livekit-plugins/livekit-plugins-openai/livekit/plugins/openai/realtime/realtime_model.py:1368
↓ 3 callersFunction_detach_turn_detector_if_reusable
Call the real _detach_reusable_resources, return turn_detector_stream.
tests/test_audio_recognition_handoff.py:166
↓ 3 callersMethod_drain_audio_channel
(self)
livekit-agents/livekit/agents/inference/eot/base.py:312
↓ 3 callersFunction_dump_stack_traces_impl
Implementation of stack trace dumping (callable directly or from signal handler).
livekit-agents/livekit/agents/ipc/proc_client.py:148
↓ 3 callersMethod_emit_end_of_speech
(self)
livekit-plugins/livekit-plugins-sarvam/livekit/plugins/sarvam/stt.py:1046
↓ 3 callersMethod_ensure_http_session
(self)
livekit-plugins/livekit-plugins-simli/livekit/plugins/simli/avatar.py:87
↓ 3 callersMethod_ensure_session
(self)
livekit-plugins/livekit-plugins-gradium/livekit/plugins/gradium/tts.py:135
↓ 3 callersMethod_ensure_session
(self)
livekit-plugins/livekit-plugins-elevenlabs/livekit/plugins/elevenlabs/tts.py:222
↓ 3 callersMethod_ensure_session
(self)
livekit-plugins/livekit-plugins-inworld/livekit/plugins/inworld/tts.py:1075
↓ 3 callersMethod_ensure_session
(self)
livekit-plugins/livekit-plugins-gladia/livekit/plugins/gladia/stt.py:341
↓ 3 callersFunction_env_float
(name: str, *, default: float)
livekit-plugins/livekit-plugins-hamming/livekit/plugins/hamming/_plugin.py:1371
↓ 3 callersFunction_env_int
(name: str, *, default: int)
livekit-plugins/livekit-plugins-hamming/livekit/plugins/hamming/_plugin.py:1360
↓ 3 callersFunction_evaluate_with_llm
Run LLM evaluation using function calling for reliable verdict extraction.
livekit-agents/livekit/agents/evals/judge.py:98
↓ 3 callersMethod_fail_all
Fail all registered streams and mark the connection non-current.
livekit-plugins/livekit-plugins-soniox/livekit/plugins/soniox/tts.py:623
↓ 3 callersFunction_filter_extra
(extra: dict[str, Any])
livekit-agents/livekit/agents/llm/_provider_format/openai.py:13
↓ 3 callersFunction_final_transcript_event
(*, text: str, start_time: float, end_time: float)
tests/test_agent_session.py:1342
↓ 3 callersFunction_format_turn_metrics
( user_metrics: llm.MetricsReport | None, assistant_metrics: llm.MetricsReport | None, )
livekit-agents/livekit/agents/cli/_legacy.py:1279
↓ 3 callersMethod_generate_reply
( self, *, user_message: NotGivenOr[llm.ChatMessage | None] = NOT_GIVEN, chat_
livekit-agents/livekit/agents/voice/agent_activity.py:1263
↓ 3 callersFunction_get_api_language_param_from_language_code
API expects an ISO 639-1 language code (without region)
livekit-plugins/livekit-plugins-cartesia/livekit/plugins/cartesia/_recognize_streams/legacy_recognize_stream.py:129
↓ 3 callersFunction_get_urls_for_model
Get base URL and streaming URL based on model type. Args: model: The Sarvam model name Returns: Tuple of (base_url, streamin
livekit-plugins/livekit-plugins-sarvam/livekit/plugins/sarvam/stt.py:334
↓ 3 callersMethod_handle_error_message
Handle error messages from the API.
livekit-plugins/livekit-plugins-sarvam/livekit/plugins/sarvam/stt.py:1700
↓ 3 callersMethod_handle_input_speech_started
(self)
livekit-plugins/livekit-plugins-google/livekit/plugins/google/realtime/realtime_api.py:1360
↓ 3 callersFunction_install_schema
(conn: apsw.Connection)
examples/hotel_receptionist/hotel_db.py:1606
↓ 3 callersMethod_interrupt_background_speeches
(self, force: bool = False)
livekit-agents/livekit/agents/voice/agent_activity.py:1390
↓ 3 callersFunction_is_gemini_3_model
Check if model is Gemini 3 series
livekit-plugins/livekit-plugins-google/livekit/plugins/google/llm.py:43
↓ 3 callersFunction_is_recoverable_validation_error
(exc: object)
livekit-plugins/livekit-plugins-aws/livekit/plugins/aws/experimental/realtime/realtime_model.py:83
↓ 3 callersFunction_is_sonic_3
(model: str)
livekit-plugins/livekit-plugins-cartesia/livekit/plugins/cartesia/models.py:87
↓ 3 callersMethod_make_opts
( self, *, base_url: str = "localhost:8998", voice: str = "NATF2", tex
tests/test_personaplex_realtime_model.py:122
↓ 3 callersFunction_mark
(name: str)
tests/test_room_io.py:203
↓ 3 callersMethod_mark_generation_done
(self)
livekit-agents/livekit/agents/voice/speech_handle.py:269
↓ 3 callersFunction_matches
( publication: rtc.RemoteTrackPublication, participant: rtc.RemoteParticipant )
livekit-agents/livekit/agents/utils/participant.py:263
↓ 3 callersFunction_merge_record_extra
(record: logging.LogRecord, target: dict[Any, Any])
livekit-agents/livekit/agents/cli/log.py:68
↓ 3 callersFunction_metadata_to_attrs
(metadata: MetricsMetadata)
livekit-agents/livekit/agents/telemetry/otel_metrics.py:101
↓ 3 callersFunction_migrate_turn_handling
Build a TurnHandlingOptions from deprecated keyword arguments.
livekit-agents/livekit/agents/voice/turn.py:336
↓ 3 callersFunction_module_facts
Retrieve information about the module without importing it. Cache to avoid redundant filesystem reads.
tests/conftest.py:90
↓ 3 callersFunction_new_start_args
(mp_ctx: BaseContext)
tests/test_ipc.py:139
↓ 3 callersFunction_nonfinal_token
(text: str, language: str, translation_status: str | None = None)
tests/test_plugin_soniox_stt.py:218
↓ 3 callersFunction_normalize_language_for_ref
( ref: ModelRef | None, language: str, *, model_options: Mapping[str, Any] | None = None, )
livekit-plugins/livekit-plugins-slng/livekit/plugins/slng/gateway_adapter.py:407
↓ 3 callersFunction_observability_url
Return the observability endpoint, or None if observability is unavailable.
livekit-agents/livekit/agents/job.py:51
↓ 3 callersMethod_on_local_failure
(self, *, reason: BaseException)
livekit-agents/livekit/agents/inference/eot/base.py:380
← previousnext →701–800 of 7,987, ranked by callers