voice: add RemoteSession.get_framework_info() client wrapper#6464
Merged
Conversation
The agent now publishes lk.simulator.ack (valued with the simulation job id) on its own participant when JobContext.connect() resolves a SimulationContext, so the simulation harness can verify the scenario actually reached the agent before driving any turns. Also adds a public SimulationContext.job_id accessor and a RemoteSession.get_framework_info client wrapper.
u9g
force-pushed
the
simulation-dispatch-fail-loud
branch
from
July 17, 2026 13:52
a468e14 to
ca8d1cb
Compare
…rapper The harness will version-gate agents via get_framework_info instead of preflighting on an ack attribute.
theomonnom
approved these changes
Jul 17, 2026
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.
Change
Adds a client-side
RemoteSession.get_framework_info()wrapper for the existing server-sideget_framework_infohandler (which already returns the agent's SDK name and version).The simulation harness uses this to check the agent's SDK version before driving a run; today it hand-builds the protobuf request because the pinned SDK release has no public wrapper (see livekit/agents-private#202).
An earlier revision of this PR also published an
lk.simulator.ackparticipant attribute so the harness could verify scenario-dispatch delivery end to end; that was dropped in favor of a simulator-side version check.