What happened
On a clean Windows 11 machine, lk app create --template agent-starter-python <name> prints a "Then visit:" link whose project ID has not been substituted:
Then visit:
https://cloud.livekit.io/projects/p_/agents/console/?autoStart=true&agentName=speed-to-lead
Note projects/p_/ — the project ID is missing, and the link 404s.
agentName=speed-to-lead did substitute correctly, so the templating itself works; it specifically lost the project ID.
The correct URL, as reached from the dashboard, is:
https://cloud.livekit.io/projects/p_19mwyin9l4l/agents/console/?autoStart=true&agentName=speed-to-lead
So the project ID is available — the CLI just doesn't substitute it.
This appears to be downstream of a task failure earlier in the same command. set_agent_name_if_present fails with a mixed Unix/Windows path (coreutils: open /tmp\2013691747), which I'll file separately.
Why it matters
This is the first link offered to a brand-new user to see their first agent. On Windows, it is dead.
Environment
- Windows 11
- LiveKit CLI 2.17.0 (
winget install LiveKit.LiveKitCLI)
- PowerShell
- Template:
agent-starter-python
- Project created via the LiveKit Cloud onboarding flow
Steps to reproduce
winget install LiveKit.LiveKitCLI
- Restart shell
lk cloud auth
lk app create --template agent-starter-python speed-to-lead
- Read the "Then visit:" URL in the output
Expected
The URL contains the real project ID.
What happened
On a clean Windows 11 machine,
lk app create --template agent-starter-python <name>prints a "Then visit:" link whose project ID has not been substituted:Note
projects/p_/— the project ID is missing, and the link 404s.agentName=speed-to-leaddid substitute correctly, so the templating itself works; it specifically lost the project ID.The correct URL, as reached from the dashboard, is:
So the project ID is available — the CLI just doesn't substitute it.
This appears to be downstream of a task failure earlier in the same command.
set_agent_name_if_presentfails with a mixed Unix/Windows path (coreutils: open /tmp\2013691747), which I'll file separately.Why it matters
This is the first link offered to a brand-new user to see their first agent. On Windows, it is dead.
Environment
winget install LiveKit.LiveKitCLI)agent-starter-pythonSteps to reproduce
winget install LiveKit.LiveKitCLIlk cloud authlk app create --template agent-starter-python speed-to-leadExpected
The URL contains the real project ID.