Openai Realtime Python
Description
Real-time voice agent powered by Agora and OpenAI
Installation
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open the source below and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
README
Realtime Agent
This project demonstrates how to deliver ultra-low latency access to OpenAI with exceptional audio quality using Agora's SD-RTN and OpenAI's Realtime API. By integrating Agora's SDK with OpenAI's Realtime API, it ensures seamless performance and minimal delay across the globe.
Prerequisites
Before running the demo, ensure you have the following installed and configured:
Python 3.11 or above
Agora account:
- Login to Agora
- Create a New Project, using
Secured mode: APP ID + Tokento obtain an App ID and App Certificate.
OpenAI account:
- Login to OpenAI
- Go to Dashboard and obtain your API key.
Additional Packages:
- On macOS:
brew install ffmpeg portaudio - On Ubuntu (verified on versions 22.04 & 24.04):
sudo apt install portaudio19-dev python3-dev build-essential sudo apt install ffmpeg
- On macOS:
Network Architecture
Organization of this Repo
realtimeAgent/realtimecontains the Python implementation for interacting with the Realtime API.realtimeAgent/agent.pyincludes a demo agent that leverages therealtimemodule and the agora-realtime-ai-api package to build a simple application.realtimeAgent/main.pyprovides a web server that allows clients to start and stop AI-driven agents.
Run the Demo
Setup and run the backend
- Create a
.envfile for the backend. Copy.env.exampleto.envin the root of the repo and fill in the required values:
Related Skills
Claude Code Terminal Title
Gives each Claude Code terminal window a dynamic title describing the work being done
Productivity N8n Skills
Enables AI assistants to directly understand and operate n8n workflows
Productivity Composio Make
Trigger and manage Make (Integromat) scenarios
Productivity Getting Help
career-ops is an open source project maintained in limited time. Here's how to get help efficiently.
Productivity Worktree Status Check
Verify the current worktree environment and show task details.
Productivity Time Command
Display the current date and time in Pakistan Standard Time (PKT, UTC+5).
Productivity