Skip to content

agent simulation: audio impairments on the create request - #1723

Open
u9g wants to merge 2 commits into
mainfrom
jason/simulate-audio-impairments
Open

agent simulation: audio impairments on the create request#1723
u9g wants to merge 2 commits into
mainfrom
jason/simulate-audio-impairments

Conversation

@u9g

@u9g u9g commented Aug 18, 2026

Copy link
Copy Markdown
Contributor

Adds background_noise, low_quality_microphone, and packet_loss to SimulationRun.Create.Request, so an audio simulation run can impair the simulated user's audio.

The CLI side is livekit/livekit-cli#943, which turns the --audio flag into an audio subcommand that sends them:

lk agent simulate audio \
  --scenarios scenarios.yaml \
  --background-noise \
  --low-quality-microphone \
  --packet-loss

Nothing consumes the fields yet: agent-service reads only req.GetMode() today, and the simulator will likely need them carried on SimulationDispatch as well.

Overlap worth flagging: the unmerged agent-simulation/scenario-environment-backchannel branch proposes a richer ScenarioGroup.Environment for the same problem space (background_noise as a string, plus audio_events, audio_degradations, backchannel). If that shape is where this is headed, I'm happy to fold these three booleans into it instead.

@changeset-bot

changeset-bot Bot commented Aug 18, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: f901923

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 2 packages
Name Type
github.com/livekit/protocol Patch
@livekit/protocol Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

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