What are the differences between `dev` and `start`...
# ask-ai
p
What are the differences between
dev
and
start
commands? Note: I already know one is for production
t
Thanks for reaching out, Mario. I'm an AI assistant and I'm here to help. Give me a moment while I research this topic.
The
dev
and
start
commands each have their own special roles depending on what you’re working on: • Dev Command: This one’s great for development and debugging. It gives you friendly, colorful logs that are easy to read, plus it supports hot reloading for Python-based agents—perfect when you’re testing things out and making changes. • Start Command: This is tailored for production environments. It runs with optimizations to keep things smooth and outputs raw JSON logs, which work well if you’re monitoring or integrating with logging systems. If you’d like, I’m here to walk you through more details or share some examples—just let me know! Sources: Anatomy of an Agent | LiveKit Docs | Voice AI quickstart | LiveKit Docs | livekit-agents/livekit/agents/cli/cli.py | Worker options | LiveKit Docs | Anatomy of an Agent | LiveKit Docs