Skip to content

fix(simulate): bare lk agent simulate runs a text simulation again - #1043

Closed
u9g wants to merge 1 commit into
mainfrom
jason/simulate-default-text
Closed

u9g wants to merge 1 commit into
mainfrom
jason/simulate-default-text

Conversation

@u9g

@u9g u9g commented Oct 15, 2026

Copy link
Copy Markdown
Contributor

Problem

Since #968 (v2.18.8 onward), running lk agent simulate without a subcommand only prints help. But that's exactly what every getting-started surface tells users to run:

  • Cloud dashboard, Simulations empty state: lk agent simulate -n 5
  • Launch blog post "Testing voice agents with agent simulations": lk agent simulate -n 10
  • livekit.io/products/agent-simulations: "run lk agent simulate from your agent's directory"
  • Dashboard "Add to CI" workflow: lk agent simulate --scenarios scenarios.yaml ...

So a new user's first attempt ends at a help screen instead of a simulation. This happens at the funnel's largest drop-off: since Sep 6, ~9.4k projects opened the Simulations page and ~0.9k ran a simulation.

Fix

Restore the pre-#968 behavior: with no subcommand, simulate runs simulate text. Subcommands (text, audio, list, view, export, cancel) are unchanged.

Verification

  • go test ./cmd/lk/ passes.
  • In a fresh agent-starter-python checkout against a staging project, lk agent simulate -n 2 -y starts the agent, generates 2 scenarios, runs them and prints the summary and dashboard link (before this change it printed help).

#968 made bare `lk agent simulate` print help, but the dashboard's empty
state (`lk agent simulate -n 5`), the launch blog post
(`lk agent simulate -n 10`), the product page and the dashboard's
generated CI workflow all tell users to run it without a subcommand. Every
one of those first runs ends at a help screen instead of a simulation.

Restore the pre-#968 behavior: with no subcommand, `simulate` runs
`simulate text`.
@u9g

u9g commented Oct 15, 2026

Copy link
Copy Markdown
Contributor Author

Closing: we're keeping the explicit text/audio entry point and updating the docs and marketing surfaces to use lk agent simulate text instead.

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.

1 participant