Assembly ai streaming

From ratacat/claude-skills · View interactive version

Assembly ai streaming is an AI agent skill from the GitHub repository ratacat/claude-skills. This skill should be used when working with AssemblyAI’s Speech-to-Text and LLM Gateway APIs, especially for streaming/live transcription, meeting notetakers, and voice agents that need low-latency transcripts and audio analysis.

How to use this skill

Skill file

AssemblyAI Streaming & Live Transcription Skill

Overview

Use this skill to build and maintain code that talks to AssemblyAI’s:

The emphasis is on streaming/live transcription, meeting notetakers, and voice agents, while still covering async workflows and post-processing.

This skill assumes a Claude Code environment with access to Python (preferred) and Bash.


When to Use

Use this skill when:

Do not use this skill when:


AssemblyAI Mental Model

1. Products to care about

  1. Pre-recorded Speech-to-Text (Async)
  1. Streaming Speech-to-Text
  1. LLM Gateway

2. Key model knobs (Async)

3. Key model knobs (Streaming)

Connection URL:

Important query parameters:

rompt: JSON-encoded list of terms, e.g. ["AssemblyAI", "Slam-1", "Keanu Reeves"]`.

Headers:

Messages:

4. Regions and data residency

Always keep base URLs consistent per project; don’t mix US/EU endpoints for the same data.


Security & API Keys


High-Level Workflow Patterns

Decision tree

  1. Is the audio live?
  1. Is latency critical (<1s) for responses?
  1. Do transcripts leave the backend?
  1. Need LLM-based processing (Q&A, structured summaries)?

How Claude Should Work with This Skill

General principles


Recipe 1 – Minimal Streaming from Microphone (Python SDK)

Goal: Stream mic audio to AssemblyAI and print transcripts in real time.

Use this when the environment has Python and assemblyai + pyaudio installed, and the user wants a quick streaming demo.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.