if i dispatch a named agent to a room via lk dispa...
# ask-ai
c
if i dispatch a named agent to a room via lk dispatch, and there does not exist a running room that expects that specific named agent to join, will that dispatch request result in my named agent joining ar oom?
t
Thanks for reaching out, Faraz. I'm an AI assistant and I'm here to help. Give me a moment while I research this topic.
Thanks — regarding dispatching a named agent via `lk dispatch`: the dispatch will cause the named agent to join the room even if there isn't an already-running room that was explicitly "expecting" that agent. Key points: • Dispatch will create the room if it doesn't exist. • The agent server with the matching
agent_name
will start a job and join the room. • This requires the agent server to be running and the agent defined with that
agent_name
. If you want, tell me the
agent_name
and
room
you plan to use and I can walk through the exact
lk dispatch
command and what to expect in logs. Sources: Agent dispatch | LiveKit docs