Expand description
The livekit.agent protobuf package: AgentSessionEvent, SessionRequest and the agent
worker/inference messages. Generated by generate_proto.sh; a new package needs its own
include! or the types exist on disk and are reachable from nowhere.
Modules§
- agent_
dev_ message - Nested message and enum types in
AgentDevMessage. - agent_
session_ event - Nested message and enum types in
AgentSessionEvent. - agent_
session_ message - Nested message and enum types in
AgentSessionMessage. - agent_
session_ state - Nested message and enum types in
AgentSessionState. - agent_
task - Nested message and enum types in
AgentTask. - agent_
thread - Nested message and enum types in
AgentThread. - chat_
context - Nested message and enum types in
ChatContext. - chat_
message - Nested message and enum types in
ChatMessage. - client_
message - Nested message and enum types in
ClientMessage. - eot_
prediction - Nested message and enum types in
EotPrediction. - inference_
request - Nested message and enum types in
InferenceRequest. - inference_
response - Nested message and enum types in
InferenceResponse. - model_
usage - Nested message and enum types in
ModelUsage. - server_
message - Nested message and enum types in
ServerMessage. - session_
request - Nested message and enum types in
SessionRequest. - session_
response - Nested message and enum types in
SessionResponse. - session_
settings - Nested message and enum types in
SessionSettings. - text_
message_ complete - Nested message and enum types in
TextMessageComplete. - text_
message_ response - Nested message and enum types in
TextMessageResponse.
Structs§
- Agent
Config Update - Agent
DevMessage - AgentDevMessage is used for IPC between the CLI and agent processes during dev-mode hot reload.
- Agent
Handoff - Agent
Session Event - Agent
Session Message - Agent
Session State - Agent
Session Usage - Agent
Task - AgentTask: background work an agent runs within a thread, such as a booking that takes minutes.
- Agent
Thread - Buffer
Start - audio buffer sentinel messages
- Buffer
Stop - Chat
Context - Chat
Message - Client
Message - Debug
Message - Debug/trace payload carried over the remote session wire. Internal: surfaced only to the debugger/recorder, not to user code.
- EotInference
Request - EotInference
Response - EotInput
Chat Context - EotModel
Usage - EotPrediction
- EotSettings
- Function
Call - Function
Call Output - GetRunning
Agent Jobs Request - GetRunning
Agent Jobs Response - Inference
Error - Inference
Request - Inference
Response - Inference
Start - Inference
Started - Inference
Stats - Inference
Stop - Inference
Stopped - Input
Audio - Interruption
Inference Request - Interruption
Inference Response - Interruption
Model Usage - Interruption
Prediction - Interruption
Settings - LlmModel
Usage - Metrics
Report - Model
Usage - Running
Agent JobInfo - Server
Info - ServerInfo is sent by the agent to the CLI when the dev-reload channel opens,
- Server
Message - Session
Close - Session
Closed - Session
Create - Session
Created - Session
Flush - Session
Request - Session
Response - Session
Settings - SttModel
Usage - Text
Message Complete - Indicates the text message session is complete.
- Text
Message Error - Text
Message Request - Request to send a text message to an agent.
- Text
Message Response - Response to a text message request, multiple responses may be sent for a single request until it is complete.
- Timed
String - TtsModel
Usage
Enums§
- Agent
State - AmdCategory
- Audio
Encoding - Chat
Role - Text
Message Error Code - Tool
Call Status - Tool
Reply Status - User
State
Constants§
- THREAD_
SCHEMA_ V1 - Version 1 of the conversation schema inside a thread’s database, one statement per
;(comments hold none). - THREAD_
SCHEMA_ VERSION - The newest conversation schema a thread’s database can hold (protocol’s
livekit/agent/thread_schema.go).