MCPcopy Index your code

hub / github.com/livekit/agents / types & classes

Types & classes1,654 in github.com/livekit/agents

↓ 300 callersClassLanguageCode
Normalized BCP-47 language identifier. Accepts any common format. Examples:: LanguageCode("english") # → "en" LanguageCode("eng
livekit-agents/livekit/agents/language.py:74
↓ 228 callersClassAPIConnectionError
Raised when an API request failed due to a connection error.
livekit-agents/livekit/agents/_exceptions.py:103
↓ 182 callersClassAPIStatusError
Raised when an API response has a status code of 4xx or 5xx.
livekit-agents/livekit/agents/_exceptions.py:48
↓ 129 callersClassToolError
livekit-agents/livekit/agents/llm/tool_context.py:122
↓ 127 callersClassAgentSession
livekit-agents/livekit/agents/voice/agent_session.py:209
↓ 101 callersClassAgentServer
livekit-agents/livekit/agents/worker.py:296
↓ 98 callersClassAPITimeoutError
Raised when an API request timed out.
livekit-agents/livekit/agents/_exceptions.py:110
↓ 57 callersClassAgent
livekit-agents/livekit/agents/voice/agent.py:38
↓ 54 callersClassSTT
livekit-plugins/livekit-plugins-assemblyai/livekit/plugins/assemblyai/stt.py:88
↓ 54 callersClassToolContext
Stateless container for a set of AI functions
livekit-agents/livekit/agents/llm/tool_context.py:493
↓ 45 callersClassTimedString
A string with optional start and end timestamps for word-level alignment. Attributes: start_time: Word start time in seconds (NOT_GIVEN w
livekit-agents/livekit/agents/types.py:121
↓ 36 callersClassDynamicEndpointing
livekit-agents/livekit/agents/voice/endpointing.py:49
↓ 35 callersClassAPIConnectOptions
livekit-agents/livekit/agents/types.py:81
↓ 35 callersClassFakeActions
tests/fake_session.py:131
↓ 35 callersClassTTS
livekit-agents/livekit/agents/tts/tts.py:66
↓ 34 callersClassInstructions
Instructions that adapt based on the user's input modality (audio vs. text). ``str(self)`` is what providers see when treating this as a plain st
livekit-agents/livekit/agents/llm/chat_context.py:38
↓ 32 callersClassChatContext
livekit-agents/livekit/agents/llm/chat_context.py:398
↓ 25 callersClassAudioArrayBuffer
livekit-agents/livekit/agents/utils/audio.py:262
↓ 25 callersClassBoundedDict
livekit-agents/livekit/agents/utils/bounded_dict.py:13
↓ 24 callersClassAPIError
Raised when an API request failed. This is used on our TTS/STT/LLM plugins.
livekit-agents/livekit/agents/_exceptions.py:14
↓ 23 callersClassChatMessage
livekit-agents/livekit/agents/llm/chat_context.py:316
↓ 22 callersClassSessionHost
livekit-agents/livekit/agents/voice/remote_session.py:350
↓ 21 callersClassFunctionToolCall
livekit-agents/livekit/agents/llm/llm.py:53
↓ 21 callersClassRealtimeModel
livekit-agents/livekit/agents/llm/realtime.py:94
↓ 20 callersClassMetadata
livekit-agents/livekit/agents/metrics/base.py:8
↓ 20 callersClassMyAgent
tests/test_agent_session.py:47
↓ 19 callersClassFakeAudioOutput
tests/fake_io.py:35
↓ 18 callersClassNotFound
examples/hotel_receptionist/hotel_db.py:463
↓ 18 callersClassSTT
livekit-agents/livekit/agents/stt/stt.py:145
↓ 17 callersClass_ScriptedTransport
Fake transport that structurally satisfies ``_StreamingTurnDetectionTransport``. Behavior is scriptable: ``run`` either sleeps until cancelled, r
tests/test_audio_turn_detector_fallback.py:73
↓ 16 callersClassLLM
livekit-plugins/livekit-plugins-openai/livekit/plugins/openai/llm.py:88
↓ 16 callersClassSpeechData
livekit-agents/livekit/agents/stt/stt.py:54
↓ 16 callersClassUnavailable
examples/hotel_receptionist/hotel_db.py:459
↓ 16 callersClass_ToolExecutor
Lifecycle manager for in-flight tool calls. Activity-scoped (``owning_activity`` set): tasks belong to one AgentActivity and are cancelled or
livekit-agents/livekit/agents/voice/tool_executor.py:208
↓ 15 callersClassToolProxyToolset
Exposes exactly two fixed tools: search_tools and call_tool. Unlike ToolSearchToolset which dynamically modifies the tool list, ToolProxyTool
livekit-agents/livekit/agents/beta/toolsets/tool_proxy.py:33
↓ 15 callersClass_FakeSession
Minimal AgentSession stand-in. Idle by default; tests emit state events via ``emit_agent_state`` / ``emit_user_state``.
tests/test_filler.py:62
↓ 15 callersClass_FakeSpeechHandle
tests/test_filler.py:15
↓ 14 callersClassDataStreamAudioOutput
AudioOutput implementation that streams audio to a remote avatar worker using LiveKit DataStream.
livekit-agents/livekit/agents/voice/avatar/_datastream_io.py:30
↓ 14 callersClassFakeTTS
tests/fake_tts.py:37
↓ 13 callersClassExpFilter
livekit-agents/livekit/agents/utils/exp_filter.py:5
↓ 13 callersClassFakeLLM
tests/fake_llm.py:45
↓ 13 callersClassFunctionCall
livekit-agents/livekit/agents/llm/chat_context.py:344
↓ 13 callersClassFunctionCallOutput
livekit-agents/livekit/agents/llm/chat_context.py:360
↓ 13 callersClassLLMAdapter
livekit-plugins/livekit-plugins-langchain/livekit/plugins/langchain/langgraph.py:38
↓ 13 callersClassToolSearchToolset
Wraps tools/toolsets and exposes a tool_search function for dynamic loading. Instead of loading all tool definitions into LLM context, this expos
livekit-agents/livekit/agents/beta/toolsets/tool_search.py:56
↓ 13 callersClassWeatherToolset
tests/test_tool_search.py:46
↓ 13 callersClass_FillerScheduler
Background task that fires filler speech during a long-running step.
livekit-agents/livekit/agents/voice/filler_scheduler.py:18
↓ 12 callersClassBitHumanException
Exception for BitHuman errors
livekit-plugins/livekit-plugins-bithuman/livekit/plugins/bithuman/avatar.py:93
↓ 12 callersClassEvent
livekit-plugins/livekit-plugins-aws/livekit/plugins/aws/experimental/realtime/events.py:213
↓ 12 callersClassFinanceToolset
tests/test_tool_search.py:55
↓ 12 callersClassWeatherToolset
tests/test_tool_proxy.py:60
↓ 12 callersClass_Item
tests/test_utils/test_bounded_dict.py:11
↓ 12 callersClass_PassthroughWrapper
Minimal wrapper that forwards capture_frame/flush/clear_buffer through next_in_chain. Used to exercise the auto-wrap and swap mechanics without
tests/test_audio_sink_proxy.py:35
↓ 11 callersClassDebounced
livekit-agents/livekit/agents/utils/aio/debounce.py:8
↓ 11 callersClassDriveThruAgent
examples/drive-thru/agent.py:53
↓ 11 callersClassFakeLLMResponse
Map from input text to output content, tool calls, ttft, and duration
tests/fake_llm.py:28
↓ 11 callersClassFakeSTT
tests/fake_stt.py:44
↓ 11 callersClassFallbackModel
Inference Fallback Adapter: configuration for a fallback STT model that runs server-side in LiveKit Inference, providing automatic fallback between pr
livekit-agents/livekit/agents/inference/stt.py:202
↓ 11 callersClassSpeechEvent
livekit-agents/livekit/agents/stt/stt.py:113
↓ 11 callersClassThresholdOptions
livekit-agents/livekit/agents/inference/eot/languages.py:41
↓ 11 callersClassTurnDetector
livekit-agents/livekit/agents/inference/eot/detector.py:33
↓ 10 callersClassAsyncToolset
Session-scoped toolset whose tools survive agent handoff. Background updates from tools in this toolset are delivered to whichever agent is c
livekit-agents/livekit/agents/llm/async_toolset.py:37
↓ 10 callersClassAvailableSlot
examples/frontdesk/calendar_api.py:24
↓ 10 callersClassServerEnvOption
livekit-agents/livekit/agents/worker.py:136
↓ 10 callersClassStreamBuffer
A thread-safe buffer that behaves like an IO stream. Allows writing from one thread and reading from another.
livekit-agents/livekit/agents/utils/codecs/decoder.py:66
↓ 10 callersClass_TestableServer
AgentServer that captures config at run() time instead of blocking.
tests/test_worker_config.py:24
↓ 9 callersClassAgentSessionUsage
livekit-agents/livekit/agents/metrics/usage.py:129
↓ 9 callersClassDummyProviderTool
tests/test_tools.py:119
↓ 9 callersClassDuplexClosed
Exception raised when the duplex connection is closed.
livekit-agents/livekit/agents/utils/aio/duplex_unix.py:8
↓ 9 callersClassFallbackModel
Inference Fallback Adapter: configuration for a fallback TTS model that runs server-side in LiveKit Inference, providing automatic fallback between pr
livekit-agents/livekit/agents/inference/tts.py:90
↓ 9 callersClassLLM
livekit-agents/livekit/agents/llm/llm.py:97
↓ 9 callersClassPersona
examples/avatar/personas.py:7
↓ 9 callersClassSTT
livekit-plugins/livekit-plugins-google/livekit/plugins/google/stt.py:133
↓ 9 callersClassServerOptions
livekit-agents/livekit/agents/worker.py:178
↓ 9 callersClass_CapturingAgent
Test agent that captures on_user_turn_exceeded events instead of responding.
tests/test_user_turn_exceeded.py:17
↓ 8 callersClassDisputePolicy
examples/hotel_receptionist/hotel_db.py:96
↓ 8 callersClassEndpointingOptions
Configuration for endpointing. All keys are optional. Missing keys inherit from the session default (at the ``Agent`` level) or use the docum
livekit-agents/livekit/agents/voice/turn.py:113
↓ 8 callersClassModelSettings
livekit-agents/livekit/agents/voice/agent.py:33
↓ 8 callersClassSTTCapabilities
livekit-agents/livekit/agents/stt/stt.py:124
↓ 8 callersClassSimpleAgent
tests/test_recording.py:40
↓ 8 callersClassSpeechStream
livekit-agents/livekit/agents/inference/stt.py:661
↓ 8 callersClass_ReceivedEvent
livekit-plugins/livekit-plugins-slng/livekit/plugins/slng/tts.py:70
↓ 7 callersClassAudioConfig
Definition for the audio to be played in the background Args: volume: The volume of the audio (0.0-1.0) probability: The pro
livekit-agents/livekit/agents/voice/background_audio.py:104
↓ 7 callersClassCLIError
livekit-agents/livekit/agents/_exceptions.py:117
↓ 7 callersClassLineItem
examples/hotel_receptionist/hotel_db.py:244
↓ 7 callersClassMenuItem
examples/drive-thru/database.py:59
↓ 7 callersClassMockToolset1
tests/test_tools.py:124
↓ 7 callersClassRealtimeModelMetrics
livekit-agents/livekit/agents/metrics/base.py:131
↓ 7 callersClassSearchItem
A search candidate derived from a single tool at index time.
livekit-agents/livekit/agents/beta/toolsets/tool_search.py:26
↓ 7 callersClassTTS
livekit-plugins/livekit-plugins-inworld/livekit/plugins/inworld/tts.py:823
↓ 7 callersClass_AudioSinkProxy
Stable swap point at the bottom of an audio wrapper chain. Wrappers above hold a reference to the proxy; the actual sink lives in ``next_in_c
livekit-agents/livekit/agents/voice/io.py:293
↓ 7 callersClass_FakeRoom
tests/test_room_io.py:24
↓ 6 callersClassAgentActivity
livekit-agents/livekit/agents/voice/agent_activity.py:161
↓ 6 callersClassAudioOutputCapabilities
livekit-agents/livekit/agents/voice/io.py:127
↓ 6 callersClassAudioStreamDecoder
A class that can be used to decode audio stream into PCM AudioFrames. Decoders are stateful, and it should not be reused across multiple streams.
livekit-agents/livekit/agents/utils/codecs/decoder.py:336
↓ 6 callersClassEndCallTool
livekit-agents/livekit/agents/beta/tools/end_call.py:27
↓ 6 callersClassEventCollector
tests/utils/__init__.py:43
↓ 6 callersClassFallbackAdapterTester
tests/test_tts_fallback.py:19
↓ 6 callersClassFunctionCallResult
livekit-agents/livekit/agents/llm/utils.py:650
↓ 6 callersClassLanguage
examples/other/translation/multi-user-translator.py:54
next →1–100 of 1,654, ranked by callers