AwsTranscribe
Microsoft.Extensions.AI speech-to-text adapter built on the official AWS Transcribe Streaming and batch .NET SDKs.
Official AWS clients
Uses AWSSDK.TranscribeStreaming and AWSSDK.TranscribeService with the standard AWS credential chain and regional endpoints.
True bidirectional streaming
Implements both Microsoft.Extensions.AI STT methods over the AWS HTTP/2 event-stream API without temporary S3 uploads.
Provider details preserved
Alternatives, item timings, confidence, speaker, stability, language, channel, and raw AWS results remain accessible.
Batch API included
Use the exposed official service client for S3-backed batch, medical, call analytics, vocabulary, and language-model operations.
Installation
1 | |
Usage
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | |
Streaming accepts the encodings supported by AWS Transcribe Streaming: raw little-endian signed 16-bit PCM, FLAC, or Ogg Opus. The media encoding and sample rate must describe the bytes in the supplied stream; a WAV container is not stripped automatically.
For S3-backed jobs, call client.BatchClient.StartTranscriptionJobAsync(...).
Advanced streaming options can be applied without losing the MEAI abstraction:
1 2 3 4 5 6 | |
Generate
Transcribe a raw PCM, FLAC, or Ogg Opus file with AWS Transcribe Streaming and Microsoft.Extensions.AI.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 | |
Support
Bugs
Open an issue in tryAGI/AwsTranscribe.
Ideas and questions
Use GitHub Discussions for design questions and usage help.
Community
Join the tryAGI Discord for broader discussion across SDKs.
Acknowledgments
This adapter depends on the official AWS SDK for .NET packages and Amazon Transcribe is subject to AWS service terms and pricing.

This project is supported by JetBrains through the Open Source Support Program.