Repository navigation
feat: LiveKit audio recordings and traces - #2589
Draft
David Elner (delner) wants to merge 3 commits into
Draft
David Elner (delner) wants to merge 3 commits into
David Elner (delner) wants to merge 3 commits into
Conversation
David Elner (delner)
requested review from
Abhijeet Prasad (AbhiPrasad),
Stephen Belanger (Qard) and
Luca Forstner (lforst)
October 8, 2026 18:58
David Elner (delner)
force-pushed
the
delner/livekit-voice-recording
branch
3 times, most recently
from
October 8, 2026 21:18
24bcaac to
3341e74
Compare
David Elner (delner)
force-pushed
the
delner/livekit-voice-recording
branch
3 times, most recently
from
October 9, 2026 17:46
1cb89c5 to
66ba6ab
Compare
David Elner (delner)
force-pushed
the
delner/livekit-voice-recording
branch
from
October 9, 2026 19:01
66ba6ab to
b274d4f
Compare
David Elner (delner)
force-pushed
the
delner/livekit-voice-recording
branch
from
October 9, 2026 19:19
b274d4f to
2f184fa
Compare
This branch has not been deployed
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.
Adds automatic voice tracing for LiveKit Agents on Node, producing the conversation structure and audio references for an improved experience in Braintrust.
@braintrust/audiopackage.Setting up
Supports
@livekit/agents >=1.9.1 <1.10.0.Additional configuration
captureAudioundefinedtrueorfalse. Default disabled.captureUserAudio,captureAgentAudioundefinedtrueorfalse.captureContenttrueaudioFormat"ogg"oggorwav.recordingforwards limits to the shared audio recorder. Both formats require the extension; tracing still works without it.Environment variables
BRAINTRUST_CAPTURE_USER_AUDIO_ATTACHMENTStrue; defaults tofalse.BRAINTRUST_CAPTURE_AGENT_AUDIO_ATTACHMENTStrue; defaults tofalse.Capture flags accept
trueor1to enable,falseor0to disable. Options take precedence over environment variables.What traces look like
Design
contrib.livekit.*metadata.Performance
28.12-second replay, two trials per mode. Baseline is LiveKit without a Braintrust processor; other columns show deltas versus baseline.