[bot] LiveKit Agents for Node.js (`@livekit/agents`) not instrumented in the JS SDK — Braintrust's own integration docs are Python-only (819,555 weekly downloads)
Les mainteneurs répondent en général sous 1 jour
Évaluation
- Difficulté
- 5/5
- Temps estimé
- Plus d'une semaine
- Accessibilité débutants
- 45/100
- Type d'issue
- Fonctionnalité
- Clarté
- Plutôt claire
- Activité
- Calme
- Stack technique
- node.js, typescript
- Domaine
- observability, tooling
Piste de recherche
Commencez par lire les layouts existants sous js/src/wrappers/, js/src/instrumentation/plugins/, js/src/auto-instrumentations/configs/ et js/src/instrumentation/config.ts, puis examinez e2e/scenarios/ pour trouver des intégrations comparables. Le travail est terminé lorsque les surfaces de LiveKit Agents répertoriées dans l’issue disposent d’une couverture d’instrumentation, d’une configuration et d’un scénario de bout en bout.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Description
Summary
LiveKit publishes @livekit/agents on npm — the official Node.js distribution of the LiveKit Agents framework (source: livekit/agents-js on GitHub) for building realtime, multimodal voice/video AI agents that pipeline STT → LLM → TTS with tool-calling, turn detection, and session tracing hooks. It is actively maintained with regular releases and its own reference docs. This JavaScript SDK repository has zero instrumentation for any @livekit/agents execution surface — no wrapper, no diagnostics channel, no plugin, no auto-instrumentation config, no e2e scenario.
What instrumentation is missing
| SDK Surface | Description |
|---|---|
AgentSession run/turn execution |
Orchestrates a realtime multimodal agent session (STT → LLM → TTS pipeline) |
LLM turns issued through agent plugins (e.g. @livekit/agents-plugin-openai, -anthropic, -google) |
Model calls made through LiveKit's own plugin abstraction rather than directly through an instrumented provider SDK |
Function/tool calls (llm.FunctionTool execution during a session) |
Tool-calling during agent execution |
| STT/TTS pipeline stages | Speech-to-text and text-to-speech legs of the realtime pipeline |
None of these are covered by any existing plugin in this repo. Even when a LiveKit agent uses an underlying provider that this repo already instruments (e.g. OpenAI), calls routed through LiveKit's own plugin layer are not guaranteed to hit the same code paths patched by the existing per-provider auto-instrumentation, and there is no session/pipeline-level span for the agent turn itself.
No coverage in any instrumentation layer:
- No wrapper function in
js/src/wrappers/ - No channel definitions or plugin in
js/src/instrumentation/plugins/ - No auto-instrumentation config in
js/src/auto-instrumentations/configs/ - No e2e test scenario under
e2e/scenarios/ - Full repo grep for
livekit(case-insensitive) returns zero matches anywhere injs/,integrations/, ore2e/
Braintrust docs status
supported for Python only. Braintrust documents a LiveKit Agents integration at https://www.braintrust.dev/docs/integrations/agent-frameworks/livekit-agents, but it is built on OpenTelemetry configuration through Braintrust's Python SDK, tracing the Python livekit-agents package. The docs do not mention @livekit/agents (the Node.js distribution) or any JavaScript/TypeScript setup. This mirrors a documented Python/JS parity gap pattern already seen in this repo's instrumentation coverage (compare to the Python-only Firebase Genkit gap that was previously filed and fixed for the JS side in this repo).
Upstream references
- npm package: https://www.npmjs.com/package/@livekit/agents
- Official Node.js Agents SDK GitHub: https://github.com/livekit/agents-js
- Agents for Node.js reference docs: https://docs.livekit.io/reference/agents-js/
- Agents framework overview: https://docs.livekit.io/agents/
Local files inspected
js/src/wrappers/— no LiveKit wrapperjs/src/instrumentation/plugins/— no LiveKit channels or plugin filejs/src/auto-instrumentations/configs/— no LiveKit config entryjs/src/instrumentation/config.ts—InstrumentationIntegrationsConfighas no LiveKit-related keye2e/scenarios/— no LiveKit test scenario- Full repo grep for
livekit(case-insensitive) — zero matches
Weekly downloads: 819,555 (as of 2026-10-14; window 2026-10-06 to 2026-10-12; source https://api.npmjs.org/downloads/point/last-week/@livekit/agents)
- Langage dominant
- TypeScript
- Étoiles
- 29
- Forks
- 16
- Merge moyen
- 1 j 15 h
- PR mergées (30 j)
- 69
Préparer son environnement
- Fournit un Dockerfile ou un fichier Docker Compose
- Aucun modèle de pull request
- Aucun guide de contribution
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de braintrustdata/braintrust-sdk-javascript
-
High TypeScript checking cost from generated Zod 3 schemasPeut-être pris @lforst l’a pris il y a 1 jour. Ouverte
Difficulté 4/5 3-5 jours Accessibilité débutants 22/100
braintrustdata/braintrust-sdk-javascript#2624 · 1 commentaire · 1 personne assignée ·
Les mainteneurs répondent en général sous 1 jour
-
[bot] Instrument Luma AI (17,324 weekly downloads)Peut-être pris @karthiksenv l’a pris il y a 1 jour. Ouvertetypescript
Difficulté 4/5 3-5 jours Accessibilité débutants 55/100
braintrustdata/braintrust-sdk-javascript#2578 ·
Les mainteneurs répondent en général sous 1 jour
-
[bot] Instrument Letta Agent SDK (87,205 weekly downloads)Peut-être pris @karthiksenv l’a pris il y a 4 jours. Ouvertetypescript
Difficulté 4/5 3-5 jours Accessibilité débutants 55/100
braintrustdata/braintrust-sdk-javascript#2577 ·
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 4/5 3-5 jours Accessibilité débutants 55/100
braintrustdata/braintrust-sdk-javascript#2527 · 1 commentaire ·
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 4/5 3-5 jours Accessibilité débutants 65/100
braintrustdata/braintrust-sdk-javascript#2526 ·
Les mainteneurs répondent en général sous 1 jour
Toutes les issues de braintrustdata/braintrust-sdk-javascript
Issues similaires
-
bug engine
Difficulté 2/5 1-3 heures Accessibilité débutants 86/100
frostney/GocciaScript#1746 ·
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 2/5 1-3 heures Accessibilité débutants 67/100
agilepathway/label-checker#739 · 4 commentaires ·
Les mainteneurs répondent en général sous 1 jour
-
Wrong key location at startupOuverte
Difficulté 1/5 Moins d'une heure Accessibilité débutants 68/100
CopilotKit/OpenBot#800 ·
Les mainteneurs répondent en général sous 1 jour
-
Endpoint links in the tag operations list are below the 24px target sizePeut-être pris @AdzerKI l’a pris aujourd’hui. Ouverte
Difficulté 2/5 1-3 heures Accessibilité débutants 78/100
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 2/5 1-3 heures Accessibilité débutants 79/100
ehmpathy/rhachet-roles-bhuild#471 ·
Les mainteneurs répondent en général sous 1 jour