Skip to content

feat(cli): deprecate console and dev modes in favor of lk agent - #6656

Merged
u9g merged 3 commits into
mainfrom
chore/deprecate-console-mode
Jul 31, 2026
Merged

u9g merged 3 commits into
mainfrom
chore/deprecate-console-mode

Conversation

@u9g

@u9g u9g commented Jul 31, 2026 •

Copy link
Copy Markdown
Contributor

Console and dev modes are being removed from the Python framework. This adds the deprecation notices first, pointing users at lk agent console / lk agent dev and the CLI setup docs.

Surfaces, all in the legacy rich CLI:

  • Console startup notice, using the existing tagged-print pattern (same mechanism as the Recording notice), so it shows in both audio and text mode:
    Agents   Starting console mode 🚀
 Deprecated  console mode is deprecated and will be removed in a future release.
             Use lk agent console instead: https://docs.livekit.io/reference/developer-tools/livekit-cli/#setup
  • dev logs a deprecation warning at startup (alongside the existing auto-reload warning).
  • console --help and dev --help both read Deprecated: use lk agent <cmd> instead.

run_app already emits a generic DeprecationWarning for the whole legacy Python CLI, so no second command-specific warnings.warn here — this fills the gap in per-command migration guidance.

The TCP console in cli.py is untouched; that is the path lk agent console drives, not the one being deprecated.

Point users at the LiveKit CLI before console mode is removed from the
Python framework.
@u9g
u9g requested a review from a team as a code owner July 31, 2026 19:33

@devin-ai-integration devin-ai-integration Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no bugs or issues to report.

Open in Devin Review

@u9g u9g changed the title feat(cli): deprecate console mode in favor of lk agent console feat(cli): deprecate console and dev modes in favor of lk agent Jul 31, 2026
@u9g
u9g merged commit eeb7798 into main Jul 31, 2026
22 checks passed
@u9g
u9g deleted the chore/deprecate-console-mode branch July 31, 2026 19:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants