Skip to content

simulate: allow pointing simulation to running agent via --agent-name#892

Open
Bobronium wants to merge 3 commits into
mainfrom
arseny/simulate-agent-name
Open

simulate: allow pointing simulation to running agent via --agent-name#892
Bobronium wants to merge 3 commits into
mainfrom
arseny/simulate-agent-name

Conversation

@Bobronium

Copy link
Copy Markdown
Member

Add --agent-name argument to lk agent simulate:

Run against an already-running agent instead of spawning one locally. Pass the registered NAME or "" to target the project's default agent (the one that auto-joins every room). Requires --scenarios.

@Bobronium Bobronium marked this pull request as ready for review June 29, 2026 21:19

@theomonnom theomonnom left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

lgtm, is the CI failure related to this PR?

Comment thread cmd/lk/simulate.go
Comment on lines +274 to +276
// --agent-name (even empty) means: run against an already-running agent,
// don't spawn one. An empty name targets the project's default agent — the
// one that auto-joins every room (registered with no agent_name).

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Suggested change
// --agent-name (even empty) means: run against an already-running agent,
// don't spawn one. An empty name targets the project's default agent — the
// one that auto-joins every room (registered with no agent_name).
// --agent-name (even empty) means: run against an already-running agent,
// don't spawn one. https://docs.livekit.io/agents/server/agent-dispatch/#automatic

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