why is agent name not showing in livekit cloud? wh...
# ask-ai
b
why is agent name not showing in livekit cloud? where do I set it
t
Thanks for reaching out, Sunny. I'm an AI assistant and I'm here to help. Give me a moment while I research this topic.
It looks like the agent name might not be showing in LiveKit Cloud because it wasn’t set up properly during agent creation or dispatch configuration. No worries though—let’s walk through the steps together to get this sorted: • In WorkerOptions: Make sure to define the
agent_name
when you create the agent so routing works smoothly. • In Dispatch Rules: Double-check that the same
agent_name
is specified in your dispatch configuration, like in your SIP rules. • Using the CLI: Don’t forget to include an
AGENT-NAME
argument when deploying the agent (for example, with
lk agent init
). • In API Calls: You can also set the
agent_name
field in the
CreateAgentRequest
protobuf, though keep in mind this method is deprecated. If you’ve already set the name but it’s still not showing, it’s a good idea to verify that everything is consistent across all configurations. Also, check the agent’s deployment status by running
lk agent status
, and make sure the
agent_name
exactly matches everywhere it’s used. Please feel free to reach out if you’d like me to help you troubleshoot further—I’m here for you! Sources: SIP troubleshooting guide | LiveKit Docs | Agent dispatch | LiveKit Docs | cmd/lk/agent.go | livekit/livekit_cloud_agent.pb.go | Worker options | LiveKit Docs