Prompt Buddy logoPrompt Buddy

openai · OpenAI Platform Docs

Voice agents | OpenAI API

Implementation guide for building real-time voice-based AI agents using the OpenAI API, covering architecture and integration patterns.

Import to Prompt Buddy

Derived skill

Files assembled from official documentation

Viewing SKILL.md

Voice agents | OpenAI API

Implementation guide for building real-time voice-based AI agents using the OpenAI API, covering architecture and integration patterns.

When To Use

Use when implementing real-time conversational voice interfaces or integrating low-latency speech-to-speech capabilities into an application.

Reference Files

FileContainsUse For
SKILL.mdEntry point: scope, routing table, and workflow.Start here.
docs/voice-agents-openai-api-workflow-guide.mdA guide detailing architectural choices and implementation strategies for building speech-to-speech voice agents using the OpenAI API.Questions about a guide detailing architectural choices and implementation strategies for building speech-to-speech voice agents usin...
examples/voice-agents-openai-api-openai-realtime-agent-javascript-quickstart.textA JavaScript code example demonstrating how to initialize a RealtimeAgent and connect to a RealtimeSession using an ephemeral API key.Exact payloads, commands, or snippets shown in A JavaScript code example demonstrating how to initialize a RealtimeAgent and connect to a RealtimeSession using an e...
examples/voice-agents-openai-api-openai-voice-agents-python-workflow.textA Python code example demonstrating how to implement a voice agent using the Agent and SingleAgentVoiceWorkflow classes with a function tool.Exact payloads, commands, or snippets shown in A Python code example demonstrating how to implement a voice agent using the Agent and SingleAgentVoiceWorkflow class...

What This Skill Covers

  • Voice agents turn the same agent concepts into spoken, low-latency interactions. The key design choice is deciding whether the model should work directly wit...
  • Main sections: Choose the right architecture, Recommended starting points, Build a speech-to-speech voice agent, Build a chained voice workflow, Voice agents still use the same core agent building blocks.

Workflow

  1. Open the most relevant file under docs/ for the exact documented workflow and wording.
  2. Open schemas/ files for exact structured contracts.
  3. Open examples/ files for concrete requests, commands, snippets, and manifests.
  4. Do not add behavior or configuration that is not present in the attached source files.

Canonical source: https://developers.openai.com/api/docs/guides/voice-agents