How do I built an agent with the open ai 40 realti...
# ask-ai
b
How do I built an agent with the open ai 40 realtime api and a sip trunk from telyx
t
Thanks for reaching out, Theo. I'm an AI assistant and I'm here to help. Give me a moment while I research this topic.
Hi there! Are you thinking about using LiveKit as the integration platform to connect OpenAI's Realtime API with the Telyx SIP trunk? LiveKit offers a well-documented framework that includes telephony support and agent management, which can make things smoother. If you have a different plan in mind, I’d love to hear more about it so I can assist you better! Sources: OpenAI Realtime API Quickstart | LiveKit Docs | src/agent.ts | agent.py | OpenAI and LiveKit partner to turn Advanced Voice into an API | OpenAI and LiveKit | LiveKit Docs
b
yes yes I ned to know how build an AI Voice agent with these technologies
t
I don't have the answer you're looking for. You could also try asking your question: • in one of the other Slack channels or • to https://deepwiki.com/livekit/livekit_composite which is trained on all LiveKit source code If you find the answer, please post it here to help others!
b
I tried to run this, how do I setup the required ppytohn packagesC\Users\Theo\livekit-voice-agent>python agent.py dev Traceback (most recent call last): File "C:\Users\Theo\livekit-voice-agent\agent.py", line 3, in <module> from livekit import agents ImportError: cannot import name 'agents' from 'livekit' (unknown location) C:\Users\Theo\livekit-voice-agent>