From 53b2f81a6edb7fcceb049ba502c98c9f9c924562 Mon Sep 17 00:00:00 2001 From: Omar El-Said Date: Wed, 16 Sep 2026 19:55:54 +0100 Subject: [PATCH] Use `lk agent dev` instead of the deprecated Python dev command Running `uv run python src/agent.py dev` now prints: dev mode is deprecated and will be removed in a future release; use lk agent dev instead Point the starter's development instructions at the LiveKit CLI so new users don't start from a deprecated command: - README.md: the "Run the agent" dev snippet - taskfile.yaml: the help output for the web console flow - taskfile.yaml: the `dev` task itself The console and production commands are unchanged, since only `dev` mode is deprecated. Co-Authored-By: Claude Opus 5 --- README.md | 2 +- taskfile.yaml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index eb0f4fd..58266b7 100644 --- a/README.md +++ b/README.md @@ -105,7 +105,7 @@ uv run python src/agent.py console To run the agent for use with a frontend or telephony, use the `dev` command: ```console -uv run python src/agent.py dev +lk agent dev ``` In production, use the `start` command: diff --git a/taskfile.yaml b/taskfile.yaml index 70d6b4d..49120fc 100644 --- a/taskfile.yaml +++ b/taskfile.yaml @@ -64,7 +64,7 @@ tasks: - echo '' - echo '{{ indent .INDENT "cd" }} {{ .REL_PATH }}' - task: help_install_hint_if_needed - - echo '{{ indent .INDENT "uv run" }} {{ .PYTHON_MAIN }} dev' + - echo '{{ indent .INDENT "lk agent dev" }}' - echo '' - echo 'Then visit:' - echo '' @@ -90,4 +90,4 @@ tasks: dev: interactive: true cmds: - - "uv run src/agent.py dev" + - "lk agent dev"