Tool Calling in React Native with the OpenAI WebRTC Realtime API

Hey folks,

I’ve built a little expo react native demo using WebRTC and OpenAI realtime, giving GPT4o access to the battery information, and tools to change the screen brightness. It’s a fun project, check it out on GitHub: thorwebdev/expo-webrtc-openai-realtime

Let me know what you think :slight_smile:

fun idea :bulb:

Thank you, was very fun to work on \o/

Hi, I am new to react-native development, even though I have been coding in react for sometime now. Can you tell me why you chose to use react-native-webrtc-web-shim over react-native-webrtc when you’re indeed developing for native devices ?

Hi, the OpenAI Agents SDK is ported to React Native. I also tested tool calling on both text and voice.

GitHub: react-native-info/react-native-agent