MCPcopy Index your code

hub / github.com/livekit/agents / functions

Functions7,987 in github.com/livekit/agents

↓ 6 callersMethod_handle_search
(self, raw_arguments: dict[str, object])
livekit-agents/livekit/agents/beta/toolsets/tool_proxy.py:100
↓ 6 callersFunction_is_mist_model
(model: TTSModels | str)
livekit-plugins/livekit-plugins-rime/livekit/plugins/rime/tts.py:96
↓ 6 callersFunction_lang_segments_to_fields
Convert `(lang, text)` runs to the parallel `SpeechData` field pair, or `(None, None)` when empty.
livekit-plugins/livekit-plugins-soniox/livekit/plugins/soniox/stt.py:644
↓ 6 callersFunction_machine_vm_response
(transcript: str = "voicemail greeting")
tests/test_amd_classifier.py:50
↓ 6 callersFunction_make_mock_job_ctx
Build a mock JobContext with the fields that agent_session.start() accesses.
tests/test_recording.py:66
↓ 6 callersFunction_make_recognition_for_validation
Minimal AudioRecognition wired for the VAD-silence validation — no tasks.
tests/test_audio_recognition_turn_detection.py:643
↓ 6 callersFunction_make_track_available_args
( identity: str = "test-user", sid: str = "TR_123" )
tests/test_room_io.py:120
↓ 6 callersFunction_model_attrs
(metadata: Metadata | None)
livekit-agents/livekit/agents/telemetry/otel_metrics.py:85
↓ 6 callersFunction_normalize_overrides
( overrides: NotGivenOr[float | dict[LanguageCode | str, float]], )
livekit-agents/livekit/agents/inference/eot/languages.py:33
↓ 6 callersFunction_patch_job_ctx
Patch get_job_context and optionally RecorderIO.
tests/test_recording.py:80
↓ 6 callersFunction_render
Render a template: callables receive ``args``; strings use ``str.format(**args)``.
livekit-agents/livekit/agents/voice/tool_executor.py:126
↓ 6 callersMethod_report_connection_acquired
Report connection timing as a RealtimeModelMetrics event with zero usage.
livekit-agents/livekit/agents/llm/realtime.py:174
↓ 6 callersFunction_require_env
(name: str)
livekit-plugins/livekit-plugins-hamming/livekit/plugins/hamming/_transport.py:511
↓ 6 callersFunction_run_worker
(server: AgentServer, args: proto.CliArgs)
livekit-agents/livekit/agents/cli/cli.py:277
↓ 6 callersMethod_schedule_speech
(self, speech: SpeechHandle, priority: int, force: bool = False)
livekit-agents/livekit/agents/voice/agent_activity.py:1462
↓ 6 callersMethod_send_dump_signal
(self)
livekit-agents/livekit/agents/ipc/supervised_proc.py:374
↓ 6 callersMethod_send_kill_signal
forcefully kill the process
livekit-agents/livekit/agents/ipc/supervised_proc.py:392
↓ 6 callersMethod_send_status
(self, status: str)
livekit-plugins/livekit-plugins-browser/livekit/plugins/browser/browser_agent.py:295
↓ 6 callersMethod_transfer_to_agent
(self, name: str, context: RunContext_T)
examples/voice_agents/restaurant_agent.py:139
↓ 6 callersFunction_websocket_text_message
(payload: dict[str, object])
tests/test_plugin_elevenlabs_tts.py:77
↓ 6 callersMethodaclose
(self)
livekit-agents/livekit/agents/voice/remote_session.py:959
↓ 6 callersFunctionbuild_config
( *, api_key: str | None = None, base_url: str | None = None, call_review_enabled: bool = True
livekit-plugins/livekit-plugins-hamming/livekit/plugins/hamming/_plugin.py:1110
↓ 6 callersFunctionbuild_messages_graph
Graph with fake LLM that streams AIMessageChunk tokens.
tests/test_langgraph.py:36
↓ 6 callersMethodchat
(self, *args, **kwargs)
examples/voice_agents/llamaindex-rag/chat_engine.py:44
↓ 6 callersMethodclose
Unblock any waiting consumer and mark as closed.
livekit-agents/livekit/agents/cli/tcp_console.py:55
↓ 6 callersFunctioncreate_access_token
(api_key: str | None, api_secret: str | None, ttl: float = 600)
livekit-agents/livekit/agents/inference/_utils.py:76
↓ 6 callersMethoddone
Indicates whether the run has finished processing all events.
livekit-agents/livekit/agents/voice/run_result.py:134
↓ 6 callersMethodflush
(self)
livekit-plugins/livekit-plugins-inworld/livekit/plugins/inworld/_utils.py:32
↓ 6 callersFunctionformat_usd
(cents: int)
examples/hotel_receptionist/hotel_db.py:55
↓ 6 callersMethodfrom_model_string
Create a LLM instance from a model string
livekit-agents/livekit/agents/inference/llm.py:259
↓ 6 callersMethodget_patient_by_name
(self, name: str)
examples/healthcare/fake_database.py:53
↓ 6 callersFunctiongroup_tool_calls
Group chat items (messages, function calls, and function outputs) into coherent groups based on their item IDs and call IDs. Each group will
livekit-agents/livekit/agents/llm/_provider_format/utils.py:56
↓ 6 callersMethodinterrupt
(self)
livekit-agents/livekit/agents/llm/realtime.py:245
↓ 6 callersMethodinterrupt
Interrupt the current speech generation. Returns: An asyncio.Future that completes when the interruption is fully processed
livekit-agents/livekit/agents/voice/agent_session.py:1266
↓ 6 callersMethodis_fake_job
(self)
livekit-agents/livekit/agents/job.py:332
↓ 6 callersMethodlogging_extra
(self)
livekit-agents/livekit/agents/ipc/job_thread_executor.py:346
↓ 6 callersMethodlookup
(self, language: LanguageCode | None)
livekit-agents/livekit/agents/inference/eot/languages.py:92
↓ 6 callersMethodnew_event_loop
(self)
tests/virtual_time.py:320
↓ 6 callersMethodon_end_of_agent_speech
(self, ended_at: float)
livekit-agents/livekit/agents/voice/endpointing.py:45
↓ 6 callersFunctionparse_function_arguments
Parse a raw JSON tool-call arguments string into a dict. First tries strict parsing; if the JSON is malformed (common with smaller / open-wei
livekit-agents/livekit/agents/llm/utils.py:417
↓ 6 callersMethodpop_if
Pop an item from the dictionary if it satisfies the predicate. Args: predicate: The predicate to check if the value satisfies.
livekit-agents/livekit/agents/utils/bounded_dict.py:70
↓ 6 callersMethodpush_frame
Push audio frame for syllable rate detection
livekit-agents/livekit/agents/voice/transcription/_speaking_rate.py:256
↓ 6 callersMethodpush_timed_transcript
(self, _timed_words: object)
tests/test_plugin_elevenlabs_tts.py:38
↓ 6 callersMethodrecognize
( self, buffer: AudioBuffer, *, language: str | None = None, conn_opti
tests/fake_stt.py:126
↓ 6 callersMethodreset
(self, new_delay: float | None = None)
livekit-agents/livekit/agents/utils/aio/sleep.py:26
↓ 6 callersMethodsay
( self, text: str | AsyncIterable[str], *, audio: NotGivenOr[AsyncIterable[rtc
livekit-agents/livekit/agents/voice/agent_session.py:1166
↓ 6 callersMethodsend
(self, value: T)
livekit-agents/livekit/agents/utils/aio/channel.py:71
↓ 6 callersMethodsend_event
(self, msg: dict)
livekit-plugins/livekit-plugins-liveavatar/livekit/plugins/liveavatar/avatar.py:219
↓ 6 callersMethodstart
(self)
livekit-agents/livekit/agents/voice/remote_session.py:952
↓ 6 callersMethodstream
( self, *, conn_options: APIConnectOptions = DEFAULT_API_CONNECT_OPTIONS )
livekit-agents/livekit/agents/tts/tts.py:129
↓ 6 callersFunctionsupports_actions
(persona_id: str)
examples/avatar/actions.py:41
↓ 6 callersMethodtick
(self)
livekit-agents/livekit/agents/utils/aio/interval.py:30
↓ 6 callersMethodto_chat_ctx
(self)
livekit-agents/livekit/agents/llm/remote_chat_context.py:23
↓ 6 callersMethodupdate_value
Update the value of a key with the given keyword arguments. Only update the value if the field value is not None and the field exists on the v
livekit-agents/livekit/agents/utils/bounded_dict.py:26
↓ 6 callersMethodwrite
Write data to the buffer from a writer thread.
livekit-agents/livekit/agents/utils/codecs/decoder.py:83
↓ 5 callersMethod__init__
( self, *, chat_ctx: NotGivenOr[llm.ChatContext] = NOT_GIVEN, require_confirma
livekit-agents/livekit/agents/beta/workflows/credit_card.py:156
↓ 5 callersMethod__init__
(self)
livekit-plugins/livekit-plugins-google/livekit/plugins/google/tools.py:50
↓ 5 callersMethod__init__
Create a new instance of MistralAI LLM. Uses the Mistral Conversations API, which supports both function tools and provider
livekit-plugins/livekit-plugins-mistralai/livekit/plugins/mistralai/llm.py:65
↓ 5 callersMethod__init__
(self, *, state: SessionState, service: MockBankService)
examples/telephony/bank-ivr/ivr_system_agent.py:496
↓ 5 callersMethod_broadcast_focus
(self)
livekit-plugins/livekit-plugins-browser/livekit/plugins/browser/session.py:226
↓ 5 callersMethod_build_headers
(self, *, api_version: str | None = None)
examples/frontdesk/calendar_api.py:203
↓ 5 callersFunction_call_upload
Call _upload_session_report with sensible defaults.
tests/test_recording.py:160
↓ 5 callersMethod_cancel_user_away_timer
(self)
livekit-agents/livekit/agents/voice/agent_session.py:1595
↓ 5 callersMethod_cloud
(overrides: Any = NOT_GIVEN)
tests/test_audio_turn_detector_fallback.py:469
↓ 5 callersFunction_compute_end_of_turn_metrics
Compute the end-of-turn timing metrics from the captured turn anchors. ``last_speaking_time`` is the internal ``_last_speaking_time`` anchor (rep
livekit-agents/livekit/agents/voice/audio_recognition.py:74
↓ 5 callersFunction_count_loops
(transcripts: list[str], detector: TfidfLoopDetector | None = None)
tests/test_ivr_activity.py:8
↓ 5 callersMethod_current_event
(self)
livekit-agents/livekit/agents/voice/run_result.py:296
↓ 5 callersFunction_do_synthesis
(tts_v: tts.TTS, segment: str, *, conn_options: APIConnectOptions)
tests/test_tts.py:265
↓ 5 callersMethod_drive
(ar: AudioRecognition, chat_ctx: MagicMock)
tests/test_audio_recognition_turn_detection.py:373
↓ 5 callersFunction_final_event
(captured: list[Any])
livekit-plugins/livekit-plugins-sarvam/tests/test_language_probability.py:62
↓ 5 callersFunction_format_duration_ms
(seconds: float)
livekit-agents/livekit/agents/cli/_legacy.py:1269
↓ 5 callersMethod_handle_tool_output_content_event
Execute the referenced tool locally and queue results.
livekit-plugins/livekit-plugins-aws/livekit/plugins/aws/experimental/realtime/realtime_model.py:1295
↓ 5 callersMethod_interrupt_current_generation
(self)
livekit-plugins/livekit-plugins-ultravox/livekit/plugins/ultravox/realtime/realtime_model.py:844
↓ 5 callersFunction_log
( otel_logger: Any, body: str, timestamp: int, attributes: dict, sever
livekit-agents/livekit/agents/telemetry/traces.py:462
↓ 5 callersFunction_make_ctx
Build a ChatContext with messages of the given roles.
tests/test_chat_ctx.py:467
↓ 5 callersFunction_make_detector
(*, threshold: NotGivenOr[float] = NOT_GIVEN)
tests/test_interruption/test_interruption_session_create.py:32
↓ 5 callersFunction_make_fake_session
(captured: list)
livekit-plugins/livekit-plugins-aws/tests/test_nova_sonic_tool_args.py:55
↓ 5 callersFunction_make_frame
(byte: int = 0x11, samples: int = 160, sample_rate: int = 16000)
tests/test_audio_recognition_push_audio.py:13
↓ 5 callersFunction_make_mock_report
Create a minimal mock SessionReport for upload tests.
tests/test_recording.py:96
↓ 5 callersFunction_make_mock_session
()
tests/test_remote_session.py:58
↓ 5 callersFunction_make_proc
(*, memory_warn_mb: float = 500, memory_limit_mb: float = 0)
tests/test_supervised_proc_memory.py:37
↓ 5 callersFunction_make_server
(drain_timeout: int = 1)
tests/test_drain_timeout.py:35
↓ 5 callersFunction_make_stream_under_test
Construct a minimal SpeechStream and collect its emitted events. Returns ``(stream_instance, captured_events)`` where each event sent via ``s
livekit-plugins/livekit-plugins-sarvam/tests/test_language_probability.py:26
↓ 5 callersFunction_make_tool_event
(content)
livekit-plugins/livekit-plugins-aws/tests/test_nova_sonic_tool_args.py:43
↓ 5 callersMethod_mark_current_generation_done
(self)
livekit-plugins/livekit-plugins-google/livekit/plugins/google/realtime/realtime_api.py:1310
↓ 5 callersMethod_mark_playout_done
(self)
livekit-agents/livekit/agents/voice/background_audio.py:494
↓ 5 callersMethod_mark_restart_needed
(self, on_error: bool = False)
livekit-plugins/livekit-plugins-google/livekit/plugins/google/realtime/realtime_api.py:523
↓ 5 callersMethod_on_overlap_speech_event
(self, ev: inference.OverlappingSpeechEvent)
livekit-agents/livekit/agents/voice/audio_recognition.py:1286
↓ 5 callersMethod_on_stt_event
(self, ev: stt.SpeechEvent)
livekit-agents/livekit/agents/voice/audio_recognition.py:990
↓ 5 callersMethod_parse_part
(self, id: str, part: types.Part)
livekit-plugins/livekit-plugins-google/livekit/plugins/google/llm.py:602
↓ 5 callersFunction_patch_upload_deps
Patch OTel logger provider and AccessToken. Yields the mock logger for assertions.
tests/test_recording.py:144
↓ 5 callersFunction_posix_readchar
Read a single character from standard input on POSIX systems. This function blocks until a character is available. It uses ``termios`` to di
livekit-agents/livekit/agents/cli/readchar.py:155
↓ 5 callersFunction_recording_debug_context
( *, participant_metadata_raw: str | None, recording_context: RecordingContext | None, )
livekit-plugins/livekit-plugins-hamming/livekit/plugins/hamming/_plugin.py:1856
↓ 5 callersMethod_recv_loop
(self)
livekit-agents/livekit/agents/voice/remote_session.py:410
↓ 5 callersMethod_require_room
Normalize a spoken room number ("304") to its id and require it exists.
examples/hotel_receptionist/hotel_db.py:1451
↓ 5 callersMethod_reset_interruption_detection
Reset relevant states for adaptive interruption detection.
livekit-agents/livekit/agents/voice/audio_recognition.py:604
↓ 5 callersMethod_resolve
(self)
livekit-agents/livekit/agents/inference/eot/languages.py:176
↓ 5 callersMethod_send_transcript_event
(self, event_type: stt.SpeechEventType, data: dict)
livekit-plugins/livekit-plugins-deepgram/livekit/plugins/deepgram/stt_v2.py:512
↓ 5 callersMethod_send_transcript_event
(self, event_type: stt.SpeechEventType, transcript: str)
livekit-plugins/livekit-plugins-cartesia/livekit/plugins/cartesia/_recognize_streams/auto_finalize_recognize_stream.py:383
↓ 5 callersFunction_set_participant_attributes
(span: Span, participant: rtc.Participant)
livekit-agents/livekit/agents/voice/_utils.py:10
← previousnext →401–500 of 7,987, ranked by callers