Skip to content

Websocket streaming audio in realtime from client #536

Open
@revmag

Description

@revmag

Please read this first

  • Have you read the docs?Agents SDK docs
  • Have you searched for related issues? Others may have had similar requests

Describe the feature

What is the feature you're requesting? How would it work? Please provide examples and details if possible.

Currently, the OpenAI Agents SDK provides excellent support for terminal-based streaming voice applications, but lacks an official way to implement real-time audio streaming between web clients and a server.

I'd like to request a WebSocket adapter that enables browser-based clients to:

  1. Stream audio to the server in real-time
  2. Receive TTS audio responses in real-time
  3. Maintain the same low-latency experience as the terminal examples

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions