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.
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
| File | Contains | Use For |
|---|---|---|
SKILL.md | Entry point: scope, routing table, and workflow. | Start here. |
docs/voice-agents-openai-api-workflow-guide.md | A 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.text | A 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.text | A 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
- Open the most relevant file under
docs/for the exact documented workflow and wording. - Open
schemas/files for exact structured contracts. - Open
examples/files for concrete requests, commands, snippets, and manifests. - 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
