deepgram-sdk
Decision gist · record as of 2026-08-14
Yes. The SDK is actively maintained (released 2 days ago), has low install friction, no known vulnerabilities, and a permissive MIT license. It's the official client for Deepgram's APIs and covers a complete feature set from transcription to voice agents. Install it if you need to integrate Deepgram's speech or language AI services into a Python application.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires a Deepgram API key (via DEEPGRAM_API_KEY environment variable or explicit parameter) and Python 3.10 or later.
- Low install friction with a pure-Python wheel distribution.
- Active maintenance with a release 2 days old and last commit on 2026-08-14.
License · maintenance · safety
MIT (permissive) — MIT license (permissive) means you can use, modify, and distribute this package freely in commercial and private projects with minimal restrictions.
last release 2026-08-12 (2 days) · last repo commit 2026-08-14 · 457 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 3,152,641 downloads/mo, #2,723 on PyPI
Alternatives
Verify before relying
pip install deepgram-sdk
from deepgram import DeepgramClient
client = DeepgramClient(api_key="YOUR_API_KEY")
with open("audio.wav", "rb") as audio_file:
response = client.listen.v1.media.transcribe_file(
request=audio_file.read(),
model="nova-3"
)
print(response.results.channels[0].alternatives[0].transcript)- Whether the SDK's WebSocket connections (Listen v2, Speak v1, Agent v1) work reliably in production environments at scale.
- Performance characteristics and latency for real-time streaming use cases.
- Completeness of error handling and recovery for network interruptions.
What it is and what it does
The Deepgram Python SDK is the official client library for accessing Deepgram's speech and language AI services. It wraps HTTP and WebSocket APIs for speech-to-text transcription (file and real-time), text-to-speech synthesis, text analysis (sentiment, topics, intents), and voice agent orchestration. The SDK provides both synchronous and asynchronous clients, supports two authentication methods (API key and access token), and handles connection management and event streaming internally.
You use it to add speech recognition, voice synthesis, or conversational AI capabilities to Python applications without building HTTP clients or managing WebSocket connections yourself. It depends on httpx for HTTP transport, pydantic for request/response validation, and websockets for real-time streaming. The library is actively maintained, supports Python 3.10 through 3.15, and has no known security vulnerabilities.
Use it for
- Transcribe pre-recorded audio files to text using the file transcription API with models like nova-3.
- Build real-time speech recognition applications using WebSocket connections with the Listen v2 model.
- Generate natural-sounding speech from text and save it as audio files using the text-to-speech API.
- Analyze text for sentiment, topics, and intent detection in language understanding workflows.
- Create conversational voice agents that combine speech recognition, LLM reasoning, and speech synthesis.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
The SDK is actively maintained (released 2 days ago), has low install friction, no known vulnerabilities, and a permissive MIT license. It's the official client for Deepgram's APIs and covers a complete feature set from transcription to voice agents. Install it if you need to integrate Deepgram's speech or language AI services into a Python application.
Install
deepgram-sdk on PyPI
Before you install
Low install friction with a pure-Python wheel distribution. Active maintenance with a release 2 days old and last commit on 2026-08-14. Depends on five well-established packages: httpx, pydantic, pydantic-core, typing_extensions, and websockets.
Requires a Deepgram API key (via DEEPGRAM_API_KEY environment variable or explicit parameter) and Python 3.10 or later.
License in practice
MIT license (permissive) means you can use, modify, and distribute this package freely in commercial and private projects with minimal restrictions.
Quickstart
pip install deepgram-sdk
from deepgram import DeepgramClient
client = DeepgramClient(api_key="YOUR_API_KEY")
with open("audio.wav", "rb") as audio_file:
response = client.listen.v1.media.transcribe_file(
request=audio_file.read(),
model="nova-3"
)
print(response.results.channels[0].alternatives[0].transcript)
Verify before relying
- Whether the SDK's WebSocket connections (Listen v2, Speak v1, Agent v1) work reliably in production environments at scale.
- Performance characteristics and latency for real-time streaming use cases.
- Completeness of error handling and recovery for network interruptions.
Package facts
| License | MIT permissive |
| Python support | Supports the current Python release <4.0,>=3.10 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 5 packageshttpxpydanticpydantic-coretyping_extensionswebsockets |
| Maintenance | Actively maintained 2 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 3,152,641 / month, #2,723 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Intended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseOperating System :: MacOSOperating System :: Microsoft :: WindowsOperating System :: OS IndependentOperating System :: POSIXOperating System :: POSIX :: LinuxProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Programming Language :: Python :: 3.15Topic :: Software Development :: Libraries :: Python ModulesTyping :: Typed |
Evidence: deepgram_sdk-7.7.0-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “deepgram sdk”
- deepgram-sdkOfficial Python SDK for Deepgram's speech recognition,…
- livekit-plugins-deepgramIntegrates Deepgram's voice AI services (speech-to-text and…
- livekit-plugins-rimeIntegrates Rime speech recognition into LiveKit's agent framework for…
Give your agent the search over MCP, or paste the wish link into any chat.
More Python Modules packages
Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.
Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.
Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.
PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.
Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.
Provides reusable metadata objects for use with PEP-593 `typing.Annotated` to express common constraints like bounds, collection sizes, and predicates on types.
Install it if you use or build libraries that need to express type constraints in a standardized, inspectable way—or if you want to annotate your own types with…
Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.
See also hume · jigsawstack · livekit-plugins-deepgram · assemblyai · fish-audio-sdk · azure-cognitiveservices-speech · rev-ai · gladiaio-sdk · vosk · speechmatics-voice