agentskit.js
ToolsIntegrations

deepgram

Deepgram STT — low-latency transcription with speaker diarization. Preferred for realtime + voice-agent flows.

import { deepgram } from '@agentskit/tools'

const runtime = createRuntime({
  adapter,
  tools: [...deepgram({ apiKey: process.env.DEEPGRAM_API_KEY! })],
})

Sub-tools

NamePurpose
deepgramTranscribeBatch or streaming transcription with diarization

Bundled: deepgram(config).

Config

type DeepgramConfig = {
  apiKey: string
  model?: 'nova-3' | 'nova-2' | 'enhanced' | 'base'
  language?: string
  diarize?: boolean
  fetch?: typeof fetch
}

Example — realtime call agent

const runtime = createRuntime({
  adapter,
  tools: [
    ...deepgram({ apiKey, diarize: true }),
    ...elevenlabs({ apiKey: process.env.ELEVENLABS_API_KEY!, defaultVoiceId }),
  ],
})
✎ Edit this page on GitHub·Found a problem? Open an issue →·How to contribute →

On this page