How to set up agentProtocol version number for my ...
# ask-ai
a
How to set up agentProtocol version number for my livekit cloud project?
t
Thanks for reaching out, Fei. I'm an AI assistant and I'm here to help. Give me a moment while I research this topic.
Thanks for reaching out! I’d love to help you with the agent protocol version number for your LiveKit Cloud project. Just so you know, the system takes care of managing the version number automatically, so it can’t be set manually. When you create or deploy an agent, the LiveKit backend assigns the version number and includes it in the API responses. Here are a few helpful tips to guide you: • You can use the
ListAgentVersions
API to see all available versions for an agent. • When deploying new versions, just use the
DeployAgentRequest
, and the version number will be assigned automatically. • If you ever need to roll back to a previous version, the
RollbackAgentRequest
lets you do that by specifying the version number. If you’d like, feel free to share more about your agent SDK (like Python or JavaScript) and how you’re deploying, so I can offer more tailored support. I’m here to help you every step of the way! Sources: SIP Integration & Telephony | livekit/livekit_composite | DeepWiki | Getting Help & Troubleshooting | livekit/livekit_composite | DeepWiki | livekit/livekit_cloud_agent.twirp.go
a
We are deploying our agent service server to register works and listen to cloud for agent dispatch. And our agent is built with nodejs agent package 1.0.10. How can we make sure that when we got registered worker response, we get the matching agentProtocol: [120948.777] INFO (465907): registered worker version: "0.1.0" id: "AW_bNAEa8CWVPtB" server_info: { "edition": "Cloud", "version": "1.9.1", "protocol": 16, "region": "US West B", "nodeId": "NC_OPHOENIX1B_meSKpN9T5svT", "debugInfo": "", "agentProtocol": 0 }
t
I don't have the answer you're looking for. You could also try asking your question: • in one of the other Slack channels or • to https://deepwiki.com/livekit/livekit_composite which is trained on all LiveKit source code If you find the answer, please post it here to help others!
a
how live cloud server_info is created?