MCPcopy Create free account

hub / github.com/livekit/agents / functions

Functions7,987 in github.com/livekit/agents

↓ 3 callersMethod_open_session
(self)
examples/hotel_receptionist/ui_view.py:74
↓ 3 callersFunction_plural
(n: int, noun: str)
tests/conftest.py:105
↓ 3 callersMethod_poll_plugin_managed_egress
( self, *, lkapi: livekit_api.LiveKitAPI, egress_id: str, filepath: st
livekit-plugins/livekit-plugins-hamming/livekit/plugins/hamming/_transport.py:312
↓ 3 callersMethod_post
( self, *, endpoint: str, payload: dict[str, Any], headers: dict[str, Any] )
livekit-plugins/livekit-plugins-liveavatar/livekit/plugins/liveavatar/api.py:107
↓ 3 callersFunction_process_words
(text: str, words: list[tuple[str, int, int]])
livekit-agents/livekit/agents/tokenize/utils.py:40
↓ 3 callersMethod_push
(self, payload: str)
examples/frontdesk/ui_view.py:86
↓ 3 callersFunction_push_speech
(session: llm.RealtimeSession, wav_name: str = "hello_world")
tests/test_realtime/test_realtime.py:113
↓ 3 callersMethod_read_first_int
(self, paths: list[str])
livekit-agents/livekit/agents/utils/hw/cpu.py:133
↓ 3 callersMethod_realtime_generation_task
( self, *, speech_handle: SpeechHandle, generation_ev: llm.GenerationCreatedEv
livekit-agents/livekit/agents/voice/agent_activity.py:3285
↓ 3 callersMethod_realtime_reply_task
( self, *, speech_handle: SpeechHandle, model_settings: ModelSettings,
livekit-agents/livekit/agents/voice/agent_activity.py:3172
↓ 3 callersFunction_recognize_response_to_speech_event
( resp: cloud_speech_v2.RecognizeResponse | cloud_speech_v1.RecognizeResponse, )
livekit-plugins/livekit-plugins-google/livekit/plugins/google/stt.py:954
↓ 3 callersMethod_recv_messages_task
Receive transcription messages, handle tokens, errors, and dispatch events.
livekit-plugins/livekit-plugins-soniox/livekit/plugins/soniox/stt.py:423
↓ 3 callersMethod_release_context
Remove a context and signal that capacity is available.
livekit-plugins/livekit-plugins-inworld/livekit/plugins/inworld/tts.py:357
↓ 3 callersMethod_render
(self)
tests/concurrency.py:745
↓ 3 callersFunction_requested_mode
Run mode the user asked for via flags/env, before the xdist override: off/default/all.
tests/concurrency.py:167
↓ 3 callersFunction_requires_thought_signatures
Check if model requires thought_signature handling for multi-turn function calling. Gemini 2.5+ models require thought signatures to be stored fr
livekit-plugins/livekit-plugins-google/livekit/plugins/google/llm.py:53
↓ 3 callersMethod_reset_state
(self)
livekit-agents/livekit/agents/voice/room_io/_output.py:399
↓ 3 callersFunction_resolve_env_or_value
(value: NotGivenOr[str | None], env_name: str)
livekit-plugins/livekit-plugins-protoface/livekit/plugins/protoface/avatar.py:228
↓ 3 callersFunction_resolved_string_or_fallback
(value: object, fallback: str)
livekit-plugins/livekit-plugins-hamming/livekit/plugins/hamming/_payload.py:239
↓ 3 callersMethod_restart_session
(self, ex: Exception)
livekit-plugins/livekit-plugins-aws/livekit/plugins/aws/experimental/realtime/realtime_model.py:1652
↓ 3 callersMethod_rewards
(self)
examples/telephony/bank-ivr/ivr_system_agent.py:587
↓ 3 callersMethod_send_chat
(self, text: str)
livekit-plugins/livekit-plugins-browser/livekit/plugins/browser/browser_agent.py:284
↓ 3 callersMethod_send_text_message
Internal method to send text message to Nova Sonic 2.0. Args: text (str): The text message to send to the model. inte
livekit-plugins/livekit-plugins-aws/livekit/plugins/aws/experimental/realtime/realtime_model.py:2168
↓ 3 callersMethod_send_vad_event
( self, type: VADEventType, fake_speech: FakeUserSpeech, curr_time: float )
tests/fake_vad.py:77
↓ 3 callersMethod_set_user_away_timer
(self)
livekit-agents/livekit/agents/voice/agent_session.py:1578
↓ 3 callersMethod_should_hold_stt_event
Test if the event should be held until the ignore_user_transcript_until timestamp.
livekit-agents/livekit/agents/voice/audio_recognition.py:609
↓ 3 callersMethod_start_false_interruption_timer
(self, timeout: float)
livekit-agents/livekit/agents/voice/agent_activity.py:3829
↓ 3 callersMethod_start_listening
(self)
livekit-agents/livekit/agents/voice/amd/detector.py:439
↓ 3 callersMethod_status
(self)
examples/hotel_receptionist/modify_booking.py:100
↓ 3 callersMethod_stop_log_buffering
Remove the buffering handler without replaying.
livekit-agents/livekit/agents/job.py:234
↓ 3 callersMethod_track_pending_task
Track a fire-and-forget task so its exceptions are surfaced instead of swallowed. Callers may still await the returned task to handle errors
livekit-agents/livekit/agents/job.py:608
↓ 3 callersMethod_update_languages
(self)
examples/other/translation/multi-user-translator.py:392
↓ 3 callersMethod_update_processor
(self, processor: rtc.FrameProcessor[T] | None)
livekit-agents/livekit/agents/voice/room_io/_input.py:172
↓ 3 callersFunction_validate_language_for_model
Validate language code for a given model. Args: model: The Sarvam model name. language: The requested language code (may be None)
livekit-plugins/livekit-plugins-sarvam/livekit/plugins/sarvam/stt.py:224
↓ 3 callersFunction_validate_mode_for_model
Validate and resolve mode for a given model. Args: model: The Sarvam model name. mode: The requested mode (may be None to use def
livekit-plugins/livekit-plugins-sarvam/livekit/plugins/sarvam/stt.py:190
↓ 3 callersFunction_validate_model
( model: DeepgramModels | str, language: NotGivenOr[DeepgramLanguages | str] )
livekit-plugins/livekit-plugins-deepgram/livekit/plugins/deepgram/stt.py:844
↓ 3 callersFunction_validate_tags
(tags: list[str])
livekit-plugins/livekit-plugins-deepgram/livekit/plugins/deepgram/stt.py:866
↓ 3 callersFunction_validate_tags
(tags: list[str])
livekit-plugins/livekit-plugins-deepgram/livekit/plugins/deepgram/stt_v2.py:613
↓ 3 callersMethod_warn_on_unexpected_args
Logs a warning when arguments are unexpected. This is not necessarily an error since the API may support languages in the future.
livekit-plugins/livekit-plugins-cartesia/livekit/plugins/cartesia/stt.py:323
↓ 3 callersFunction_win_readchar
Read a single UTF‑16 code unit from standard input on Windows systems. This function blocks until a character is available. It wraps ``msvcr
livekit-agents/livekit/agents/cli/readchar.py:227
↓ 3 callersMethod_ws_url
(self)
livekit-plugins/livekit-plugins-rime/livekit/plugins/rime/tts.py:277
↓ 3 callersFunction_xdist_active
True when pytest-xdist is in play -- on the controller *and* inside each worker. xdist splits a run by *item*, which would scatter a concurrent g
tests/concurrency.py:150
↓ 3 callersMethodaccept
Accept the job request, and start the job if the LiveKit SFU assigns the job to our worker.
livekit-agents/livekit/agents/job.py:925
↓ 3 callersMethodaccumulate_to
Get accumulated speaking units up to the given timestamp.
livekit-agents/livekit/agents/voice/transcription/synchronizer.py:85
↓ 3 callersMethodaclose
(self)
livekit-agents/livekit/agents/llm/llm.py:150
↓ 3 callersMethodaclose
Close the STT, and every stream/requests associated with it
livekit-agents/livekit/agents/stt/stt.py:277
↓ 3 callersMethodaclose
(self)
livekit-plugins/livekit-plugins-hamming/livekit/plugins/hamming/_plugin.py:976
↓ 3 callersMethodattach_session
( self, session: AgentSession[Any], *, job_ctx: JobContext | None = None,
livekit-plugins/livekit-plugins-hamming/livekit/plugins/hamming/_plugin.py:979
↓ 3 callersFunctionaudio_frames_from_file
Decode the audio file into rtc.AudioFrame instances and yield them as an async iterable. Args: file_path (str): The path to the audio
livekit-agents/livekit/agents/utils/audio.py:219
↓ 3 callersFunctionbuild_custom_graph
Graph with StreamWriter that emits custom payloads.
tests/test_langgraph.py:51
↓ 3 callersFunctionbuild_update_record
(mutable_fields: list[str] | None = None)
examples/healthcare/agent.py:238
↓ 3 callersMethodcancel
(self)
livekit-agents/livekit/agents/utils/aio/debounce.py:30
↓ 3 callersFunctioncancel_and_wait
(*futures: asyncio.Future[Any])
livekit-agents/livekit/agents/utils/aio/utils.py:6
↓ 3 callersMethodcancel_inference
Close the current inference request (new speech, turn boundary, prediction timeout, mode change) and fall back if needed.
livekit-agents/livekit/agents/inference/eot/base.py:175
↓ 3 callersFunctioncollect_digits
( agent: Agent, *, prompt: str, num_digits: int, confirmation: bool = False, )
examples/telephony/bank-ivr/ivr_system_agent.py:66
↓ 3 callersFunctionconvert_mid_conversation_instructions
Convert mid-conversation system messages to the given role to preserve their position. The first system/developer message is kept as the base pre
livekit-agents/livekit/agents/llm/_provider_format/utils.py:12
↓ 3 callersMethodcopy
(self)
livekit-agents/livekit/agents/llm/tool_context.py:620
↓ 3 callersFunctiondiff_databases
Order-invariant denylist diff of two hotel DBs. Empty list == states match.
examples/hotel_receptionist/benchmark.py:102
↓ 3 callersMethoddownload_files
(self)
livekit-agents/livekit/agents/plugin.py:39
↓ 3 callersMethodend_input
Mark the end of input, no more audio will be pushed
livekit-agents/livekit/agents/inference/interruption.py:500
↓ 3 callersMethodend_input
Mark the end of input, no more audio will be pushed
livekit-agents/livekit/agents/stt/stt.py:504
↓ 3 callersMethodend_input
(self)
livekit-agents/livekit/agents/voice/amd/classifier.py:411
↓ 3 callersFunctionfind_function_tools
(cls_or_obj: Any)
livekit-agents/livekit/agents/llm/tool_context.py:470
↓ 3 callersMethodfind_restaurant_reservation
( self, *, last_name: str, confirmation_code: str | None = None, on_date: date | None = None )
examples/hotel_receptionist/hotel_db.py:592
↓ 3 callersMethodflush
(self)
livekit-agents/livekit/agents/utils/codecs/decoder.py:205
↓ 3 callersMethodflush
(self)
livekit-agents/livekit/agents/voice/transcription/synchronizer.py:760
↓ 3 callersMethodflush
(self)
livekit-plugins/livekit-plugins-fireworksai/livekit/plugins/fireworksai/stt.py:58
↓ 3 callersFunctionformat_dtmf
(events: list[DtmfEvent])
livekit-agents/livekit/agents/beta/workflows/utils.py:43
↓ 3 callersMethodfrom_dtmf_inputs
(cls, dtmf_inputs: list[DtmfEvent])
livekit-agents/livekit/agents/beta/workflows/dtmf_inputs.py:28
↓ 3 callersMethodfrom_server_options
(cls, options: ServerOptions)
livekit-agents/livekit/agents/worker.py:414
↓ 3 callersMethodget_base_url
(cls)
tests/toxic_proxy.py:44
↓ 3 callersMethodget_detection_delay
Total time from the onset of the speech to the final prediction, in seconds.
livekit-agents/livekit/agents/inference/interruption.py:112
↓ 3 callersFunctionget_fnc_tool_names
Get names of all function and raw function tools in the list, unwrapping tool sets.
livekit-agents/livekit/agents/llm/tool_context.py:481
↓ 3 callersMethodget_function_tool
(self, name: str)
livekit-agents/livekit/agents/llm/tool_context.py:525
↓ 3 callersMethodget_instance
(cls)
livekit-agents/livekit/agents/cli/_legacy.py:290
↓ 3 callersMethodinitialize
(self)
livekit-agents/livekit/agents/llm/mcp.py:102
↓ 3 callersMethodinitialize_streams
Open the Bedrock bidirectional stream and spawn background worker tasks. This coroutine is idempotent and can be invoked again when recoverab
livekit-plugins/livekit-plugins-aws/livekit/plugins/aws/experimental/realtime/realtime_model.py:867
↓ 3 callersMethodlist_credit_cards
(self, customer_id: str)
examples/telephony/bank-ivr/mock_bank_service.py:202
↓ 3 callersFunctionmake_stream
Construct a cloud-mode stream with a controlled transport. Returns the stream, the fake ws, and the transport so callers can read post-connec
tests/fake_turn_detector_ws.py:94
↓ 3 callersFunctionmake_test_speech
( *, chunk_duration_ms: int | None = None, sample_rate: int | None = None, # resample if not None
tests/utils/__init__.py:84
↓ 3 callersFunctionmatches_agent
(p: rtc.RemoteParticipant)
livekit-agents/livekit/agents/utils/participant.py:35
↓ 3 callersMethodon_attached
(self)
tests/test_audio_sink_proxy.py:80
↓ 3 callersMethodon_end_of_agent_speech
(self, ended_at: float)
livekit-agents/livekit/agents/voice/endpointing.py:144
↓ 3 callersMethodon_start_of_speech
(self, ev: vad.VADEvent | None, speech_start_time: float)
livekit-agents/livekit/agents/voice/audio_recognition.py:131
↓ 3 callersFunctionperform_audio_forwarding
( *, audio_output: io.AudioOutput, tts_output: AsyncIterable[rtc.AudioFrame], )
livekit-agents/livekit/agents/voice/generation.py:355
↓ 3 callersFunctionperform_tts_inference
( *, node: io.TTSNode, input: AsyncIterable[str], model_settings: ModelSettings, text_tran
livekit-agents/livekit/agents/voice/generation.py:217
↓ 3 callersMethodplay
Plays an audio once or in a loop. Args: audio (Union[AudioSource, AudioConfig, List[AudioConfig]]): The
livekit-agents/livekit/agents/voice/background_audio.py:235
↓ 3 callersMethodprocess
Public method that calls _process (for backward compatibility).
livekit-plugins/livekit-plugins-krisp/livekit/plugins/krisp/viva_filter.py:264
↓ 3 callersFunctionprocess_complete_text
(text: str, is_newline: bool = False)
livekit-agents/livekit/agents/voice/transcription/filters.py:89
↓ 3 callersMethodprofile_authenticator
Creates a TaskGroup that collects user information
examples/healthcare/agent.py:585
↓ 3 callersMethodproxies
(self)
tests/toxic_proxy.py:155
↓ 3 callersMethodpush
Add a value to the accumulator
livekit-plugins/livekit-plugins-elevenlabs/livekit/plugins/elevenlabs/_utils.py:23
↓ 3 callersMethodpush
(self, value: T)
livekit-plugins/livekit-plugins-inworld/livekit/plugins/inworld/_utils.py:24
↓ 3 callersMethodpush
(self, value: float)
livekit-plugins/livekit-plugins-fireworksai/livekit/plugins/fireworksai/stt.py:52
↓ 3 callersMethodpush_text
Push transcript text to the AMD classifier.
livekit-agents/livekit/agents/voice/amd/classifier.py:380
↓ 3 callersMethodrecognize
( self, buffer: AudioBuffer, *, language: NotGivenOr[str] = NOT_GIVEN,
livekit-agents/livekit/agents/stt/stt.py:197
↓ 3 callersMethodrecv_bytes
(self)
livekit-agents/livekit/agents/utils/aio/duplex_unix.py:81
↓ 3 callersMethodregister
(self)
livekit-agents/livekit/agents/voice/room_io/_pre_connect_audio.py:33
↓ 3 callersMethodregister_text_stream_handler
(self, topic: str, callback: object)
tests/test_room_io.py:48
↓ 3 callersMethodrelease
Release a reference to the SDK (destroys if last reference). Call this when destroying a filter instance. The SDK will be cleaned up
livekit-plugins/livekit-plugins-krisp/livekit/plugins/krisp/krisp_instance.py:152
← previousnext →801–900 of 7,987, ranked by callers