Use lk agent for console, dev, and start - #65
Merged
Merged
Conversation
Match the Python starter: the README now documents `lk agent console`, `lk agent dev`, and `lk agent start` for local runs, the `dev` script and the taskfile hint run through the CLI, and the CLI install instructions moved into Dev Setup so they come before the first command that needs them. The `start` script stays a direct `node src/main.ts start`, because the Dockerfile runs `pnpm start` and the container image doesn't include `lk`. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01U7yszNU7t5aCHJsKLmU4hv
bcherry
commented
Sep 18, 2026
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01U7yszNU7t5aCHJsKLmU4hv
u9g
reviewed
Sep 23, 2026
Review feedback: drop guidance a coding agent can work out on its own (project layout, where to run commands, the dev/start scripts), show the direct `node src/main.ts start` for production since that's what the Dockerfile runs, and use long flag names in human-facing commands. Also a copy pass against the docs style guide: sentence-case headings, no "we", no hyphens standing in for dashes, bulleted rather than numbered non-sequential lists, and less filler throughout. Collapses the CLI install block into a three-line list and links the update instructions. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01U7yszNU7t5aCHJsKLmU4hv
The README feature list now says what each piece does for you and links the docs for how: Fish Audio as an expressive, cost-effective default, expressive mode, and adaptive interruption handling, which the starter enables but the list never mentioned. "Using coding agents" points at the bundled AGENTS.md and livekit-agents skill, and the testing section adds Agent Console and `lk agent logs` for debugging. AGENTS.md gains a section on the bundled skill (with a fallback path for tools that do not load skills on their own) and a debugging checklist. Links to the moved testing, observability, and workflows pages now point at their current paths. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01U7yszNU7t5aCHJsKLmU4hv
Search returns short excerpts, so reading a result means fetching the full page. Show both commands in the README, and tell coding agents in AGENTS.md to fetch the page before acting on a search result. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01U7yszNU7t5aCHJsKLmU4hv
`lk agent debugger` shipped in CLI 2.18.8: it runs the agent in text mode and lets a coding agent or script drive one turn at a time, printing the tool calls and handoffs behind each reply. README lists it under "Run the agent" and raises the CLI floor to 2.18.8. AGENTS.md adapts the snippet from the coding agents guide so the agent tries every change with the debugger, and the debugging checklist now starts from reproducing the problem there. Agent Console stays the answer for speech issues the text-only debugger cannot show. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01U7yszNU7t5aCHJsKLmU4hv
- Say the starter, not the SDK, is designed to run in LiveKit Cloud. - Drop the lk docs intro, the command list, and the MCP transport details; running lk docs shows the help. - Widen docs feedback to any LiveKit problem, keeping the to-do-list timing that has worked well. - Stop advertising the unit testing framework. Scenarios are the tests, and the debugger is the loop for checking each change; the README testing section points there too. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01U7yszNU7t5aCHJsKLmU4hv
The skills PR replaces the single livekit-agents skill with seven focused ones, so the fallback path to its SKILL.md would no longer exist. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01U7yszNU7t5aCHJsKLmU4hv
u9g
approved these changes
Sep 25, 2026
Keeps the rewritten Testing paragraph and carries over #67's `lk agent simulate text` fix. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01U7yszNU7t5aCHJsKLmU4hv
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Points the starter's local run instructions at the LiveKit CLI, and trims the README and AGENTS.md:
lk agent debugger.lk agent console,lk agent dev, andlk agent debugger, then the directnode src/main.ts startfor production. That's what the Dockerfile runs viapnpm start.lk docs searchfollowed bylk docs get-page, since search only returns excerpts, and points to the bundledAGENTS.mdand LiveKit Agents skill.lk agent logs.git cloneit was missing, and uses--write --destinationrather than short flags.package.json— thedevscript runslk agent dev.startis unchanged.taskfile.yaml— the post-init hint printslk agent dev.lk docscommand list, and the MCP transport details.lk agent debuggerthe loop for checking each change, instead of the unit testing framework. The debugging checklist starts from reproducing the problem in the debugger, and points to Agent Console for speech issues the text-only debugger can't show.Why
lk agent consoleandlk agent devare the documented way to run an agent locally, and the Python starter already moved to them (livekit-examples/agent-starter-python#103). The CLI install instructions were buried in "Using coding agents", below the first commands that need them.lk agent debuggergives a coding agent a cheap way to check its own changes, so the starter should tell it to.Notes for reviewers
src/agent.test.tsis still in the repo; only the docs stopped pointing to it.docs.livekit.iolink in both files returns 200 without a redirect.prettier --checkis clean.🤖 Generated with Claude Code
https://claude.ai/code/session_01U7yszNU7t5aCHJsKLmU4hv