Deepgram Plugin
Speech-to-Text (STT) and Text-to-Speech (TTS) plugins for Vision Agents using the Deepgram API.
Installation
uv add "vision-agents[deepgram]"
# or directly
uv add vision-agents-plugins-deepgram
Speech-to-Text (STT)
High-quality speech recognition using Deepgram's Flux model with built-in turn detection.
from vision_agents.plugins import deepgram
stt = deepgram.STT(
model="flux-general-en", # Default model
eager_turn_detection=True, # Enable eager end-of-turn detection
)
STT Docs
- https://developers.deepgram.com/docs/flux/quickstart
- https://github.com/deepgram/deepgram-python-sdk/blob/main/examples/listen/v2/connect/async.py
Text-to-Speech (TTS)
Low-latency text-to-speech using Deepgram's Aura model via WebSocket streaming.
from vision_agents.plugins import deepgram
tts = deepgram.TTS(
model="aura-2-thalia-en", # Default voice
sample_rate=16000, # Audio sample rate
)
Available Voices
Deepgram offers various Aura voice models:
aura-2-thalia-en- Default female voiceaura-2-orion-en- Male voice- See TTS Models for all options
TTS Docs
- https://developers.deepgram.com/docs/tts-websocket
- https://developers.deepgram.com/docs/streaming-text-to-speech
Environment Variables
Set DEEPGRAM_API_KEY in your environment or pass api_key to the constructor.
Example
See the example directory for a complete working example using both STT and TTS.
Metadata
Release files for vision-agents-plugins-deepgram 0.6.9
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| vision_agents_plugins_deepgram-0.6.9.tar.gz | 7.1 kB | Without provenance | Details for vision_agents_plugins_deepgram-0.6.9.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| vision_agents_plugins_deepgram-0.6.9-py3-none-any.whl | Python 3 | none | any | Details for vision_agents_plugins_deepgram-0.6.9-py3-none-any.whl |
Total release size: 15.2 kB
Release files / vision_agents_plugins_deepgram-0.6.9.tar.gz
| Download URL | vision_agents_plugins_deepgram-0.6.9.tar.gz |
|---|---|
| Size | 7.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
aa479039adad233ecf86250d90c6004d26edd52e35e77945dd3ea560fd429102
|
|
BLAKE2b-256 checksum How to use checksums |
0bac23a930320fa4a80742f21f625cbee8721511093615e1ac30c7c4c6a11660
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.10.10 {"installer":{"name":"uv","version":"0.10.10","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Release files / vision_agents_plugins_deepgram-0.6.9-py3-none-any.whl
| Download URL | vision_agents_plugins_deepgram-0.6.9-py3-none-any.whl |
|---|---|
| Size | 8.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9b971340dfc0135f3ad6787cb5bd89ec106ad2a67fc63fad571937551a208305
|
|
BLAKE2b-256 checksum How to use checksums |
773475794bd5f2ac68d2deb36c453c40c8a81eff41245511f9692c86e7e4dec6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.10.10 {"installer":{"name":"uv","version":"0.10.10","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Security for vision-agents-plugins-deepgram 0.6.9
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.