Table of Contents

Namespace Livekit.Agent

Classes

AgentConfigUpdate
AgentDevMessage

AgentDevMessage is used for IPC between the CLI and agent processes during dev-mode hot reload.

AgentHandoff
AgentSessionEvent
AgentSessionEvent.Types

Container for nested types declared in the AgentSessionEvent message type.

AgentSessionEvent.Types.AgentFalseInterruption
AgentSessionEvent.Types.AgentStateChanged
AgentSessionEvent.Types.AmdPrediction
AgentSessionEvent.Types.ConversationItemAdded
AgentSessionEvent.Types.EotPrediction
AgentSessionEvent.Types.Error
AgentSessionEvent.Types.FunctionToolsExecuted
AgentSessionEvent.Types.FunctionToolsStarted
AgentSessionEvent.Types.OverlappingSpeech
AgentSessionEvent.Types.SessionUsageUpdated
AgentSessionEvent.Types.ToolExecutionUpdated

Per-call tool lifecycle. One flat update per occurrence: a call started -> progress updates while it runs (CallUpdated) -> the single terminal entry (Ended), with the deferred reply voicing buffered updates advancing separately (ReplyUpdated).

AgentSessionEvent.Types.ToolExecutionUpdated.Types

Container for nested types declared in the ToolExecutionUpdated message type.

AgentSessionEvent.Types.ToolExecutionUpdated.Types.CallUpdated

a progress update emitted via ctx.update() while the call runs

AgentSessionEvent.Types.ToolExecutionUpdated.Types.Ended

the call's single terminal entry

AgentSessionEvent.Types.ToolExecutionUpdated.Types.ReplyUpdated
AgentSessionEvent.Types.ToolExecutionUpdated.Types.Started
AgentSessionEvent.Types.UserInputTranscribed
AgentSessionEvent.Types.UserStateChanged
AgentSessionMessage
AgentSessionMessage.Types

Container for nested types declared in the AgentSessionMessage message type.

AgentSessionMessage.Types.ConsoleIO
AgentSessionMessage.Types.ConsoleIO.Types

Container for nested types declared in the ConsoleIO message type.

AgentSessionMessage.Types.ConsoleIO.Types.AudioFrame
AgentSessionMessage.Types.ConsoleIO.Types.AudioPlaybackClear
AgentSessionMessage.Types.ConsoleIO.Types.AudioPlaybackFinished
AgentSessionMessage.Types.ConsoleIO.Types.AudioPlaybackFlush
AgentSessionUsage
ChatContext
ChatContext.Types

Container for nested types declared in the ChatContext message type.

ChatContext.Types.ChatItem
ChatMessage
ChatMessage.Types

Container for nested types declared in the ChatMessage message type.

ChatMessage.Types.ChatContent
DebugMessage

Debug/trace payload carried over the remote session wire. Internal: surfaced only to the debugger/recorder, not to user code.

EotModelUsage
FunctionCall
FunctionCallOutput
GetRunningAgentJobsRequest
GetRunningAgentJobsResponse
InterruptionModelUsage
LLMModelUsage
LivekitAgentDevReflection

Holder for reflection information generated from agent/livekit_agent_dev.proto

LivekitAgentSessionReflection

Holder for reflection information generated from agent/livekit_agent_session.proto

MetricsReport
ModelUsage
RunningAgentJobInfo
STTModelUsage
ServerInfo

ServerInfo is sent by the agent to the CLI when the dev-reload channel opens,

SessionRequest
SessionRequest.Types

Container for nested types declared in the SessionRequest message type.

SessionRequest.Types.FinalizeSimulation
SessionRequest.Types.GetAgentInfo
SessionRequest.Types.GetChatHistory
SessionRequest.Types.GetFrameworkInfo
SessionRequest.Types.GetRTCStats
SessionRequest.Types.GetSessionState
SessionRequest.Types.GetSessionUsage
SessionRequest.Types.Ping
SessionRequest.Types.RunInput
SessionRequest.Types.UpdateIO
SessionRequest.Types.UpdateIO.Types

Container for nested types declared in the UpdateIO message type.

SessionRequest.Types.UpdateIO.Types.Input
SessionRequest.Types.UpdateIO.Types.Output
SessionResponse
SessionResponse.Types

Container for nested types declared in the SessionResponse message type.

SessionResponse.Types.FinalizeSimulationResponse
SessionResponse.Types.FinalizeSimulationResponse.Types

Container for nested types declared in the FinalizeSimulationResponse message type.

SessionResponse.Types.FinalizeSimulationResponse.Types.SimulationVerdict
SessionResponse.Types.GetAgentInfoResponse
SessionResponse.Types.GetChatHistoryResponse
SessionResponse.Types.GetFrameworkInfoResponse
SessionResponse.Types.GetRTCStatsResponse
SessionResponse.Types.GetSessionStateResponse
SessionResponse.Types.GetSessionUsageResponse
SessionResponse.Types.Pong
SessionResponse.Types.RunInputResponse
SessionResponse.Types.UpdateIOResponse
TTSModelUsage
TimedString

Enums

AgentDevMessage.MessageOneofCase

Enum of possible cases for the "message" oneof.

AgentSessionEvent.EventOneofCase

Enum of possible cases for the "event" oneof.

AgentSessionEvent.Types.ToolExecutionUpdated.UpdateOneofCase

Enum of possible cases for the "update" oneof.

AgentSessionMessage.MessageOneofCase

Enum of possible cases for the "message" oneof.

AgentState
AmdCategory
ChatContext.Types.ChatItem.ItemOneofCase

Enum of possible cases for the "item" oneof.

ChatMessage.Types.ChatContent.PayloadOneofCase

Enum of possible cases for the "payload" oneof.

ChatRole
ModelUsage.UsageOneofCase

Enum of possible cases for the "usage" oneof.

SessionRequest.RequestOneofCase

Enum of possible cases for the "request" oneof.

SessionResponse.ResponseOneofCase

Enum of possible cases for the "response" oneof.

ToolCallStatus
ToolReplyStatus
UserState