Skip to content

[bot] Instrument Deepgram (858,198 weekly downloads) #213

Description

@braintrust-bot

Summary

github.com/deepgram/deepgram-go-sdk (v2) is Deepgram's official Go SDK, generally available (evolved from a community SDK to an official v1.0 GA release). It exposes two generative-AI execution surfaces that this repo does not instrument at all:

  • Text-to-Speech (TTS) generation — REST and WebSocket streaming synthesis using Deepgram's Aura models (e.g. aura-2-thalia-en).
  • Voice Agent API — a stateful, full-duplex conversational agent runtime (listen → think → speak loop) with mid-conversation function/tool calling and multi-agent handoff, driven over a documented WebSocket protocol.

Neither surface resembles a CRUD/admin API — both are runtime model-execution/agent-execution paths comparable in kind to the Chat/Converse/Generate surfaces already covered for OpenAI, Anthropic, Bedrock, GenAI, etc. under trace/contrib/.

Weekly downloads

Weekly downloads: 858,198 (as of 2026-08-29; https://api.npmjs.org/downloads/point/last-week/@deepgram/sdk — measured on @deepgram/sdk, the primary/flagship Deepgram client package, since Go module registries don't publish download counts)

Braintrust docs status: not_found

No Braintrust SDK in any language has native Deepgram instrumentation today.

Upstream sources

Local repo files inspected

  • go.mod — no deepgram/deepgram-go-sdk dependency
  • trace/contrib/ — no deepgram/ directory exists
  • trace/contrib/all/all.go — no Deepgram import
  • examples/internal/ — no Deepgram example subdirectory
  • README.md — integrations list (OpenAI, Anthropic, GenAI, Genkit, ADK, CloudWeGo Eino, LangChainGo, sashabaranov/go-openai) does not include Deepgram
  • trace/contrib/genai/tracegenai.go — reference pattern for HTTP-client-based wrapping, a plausible approach since the Deepgram client also accepts a custom *http.Client

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions