Skip to content

deepgram/deepgram-sdk-architecture

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 

Repository files navigation

Deepgram SDK Architecture

This repository captures the canonical architecture shared by every Deepgram SDK generated from the deepgram-api-specs definition using Fern. It documents the layered build pipeline, runtime primitives, and extension points that keep language-specific SDKs – such as the deepgram-python-sdk – consistent while letting each platform take advantage of native capabilities.

Contents

Architecture Highlights

  • Spec-first generation keeps SDKs synchronized with the public API and aligns release cadences.
  • Layered runtime merges generated Fern clients with focused extension packages for authentication, telemetry, and transport customisation.
  • Flexible credentials accept API keys, bearer tokens, or environment-derived secrets without boilerplate.
  • Pluggable transports allow drop-in HTTP and WebSocket implementations for complex network environments.
  • Privacy-conscious telemetry emits aggregated insights while supporting first-class opt-out controls.

How to Use This Repository

  1. Start with the overview to understand the package structure and cross-language goals.
  2. Review the generation pipeline when updating specs or Fern configuration.
  3. Consult the runtime documents when adding features to individual SDKs or designing new extension layers.
  4. Mirror the documented patterns when auditing language-specific implementations (for example, the Python SDK).

Contributing

Improvements are welcome in the form of RFCs so we preserve a historical record of architectural decisions. Open a new RFC that links to relevant API spec or SDK changes.

About

This repository captures the canonical architecture shared by every Deepgram SDK

Resources

Stars

Watchers

Forks

Contributors 2

  •  
  •