with livekit agent python, how are you meant to cr...
# ask-ai
c
with livekit agent python, how are you meant to create and deploy multiple agents?
t
Thanks for reaching out, Guillaume. I'm an AI assistant and I'm here to help. Give me a moment while I research this topic.
I'd love to help you get started with creating and deploying multiple agents using the LiveKit Python SDK! You can define different agent types right within your codebase, like
LeadEditorAgent
and
SpecialistEditorAgent
, and then deploy them using the LiveKit CLI. A great example of this approach can be found in the
multi-agent-python
repository. When you're ready to launch an agent worker, you might use an entry point such as
cli.run_app(WorkerOptions(entrypoint_fnc=entrypoint, prewarm_fnc=prewarm))
. Also, the
python-agents-examples
repository is a helpful resource—it shows how you can run multiple agents from the same codebase by invoking different scripts with the
console
argument, giving you plenty of flexibility in how you deploy them. Regarding scaling and performance for high-concurrency scenarios, LiveKit Cloud handles much of this for you. While there aren’t detailed docs on advanced load balancing or infrastructure-level management, the platform is designed to support your growth smoothly. Sources: README.md | Docs::Agents | requirements.txt