should i use start or dev in prod to start the age...
# ask-ai
e
should i use start or dev in prod to start the agent using python ?
t
Thanks for reaching out, Aditya. I'm an AI assistant and I'm here to help. Give me a moment while I research this topic.
Regarding running the Python agent in production: use the
start
command. •
start
is for production — it outputs raw JSON to stdout (good for logging/monitoring) and is what
lk agent create
expects when deploying. •
dev
is for development — human-friendly colored logs and hot reload, not suited for prod. Example:
Copy code
uv run agent.py start
Would you like steps to configure logging or deploy with
lk agent create
? Sources: Agent server options | LiveKit docs | Voice AI quickstart | LiveKit docs