Hi! I've been really impressed by LiveKit recently...
# agents
e
Hi! I've been really impressed by LiveKit recently and would love to use it in a client project for outbound calling. The only concern we have is that the company has an existing text-based customer service agents solution for incoming messages built on the OpenAI Agents SDK and are floating the idea of combining it with the outbound voice agent solution under one roof. Might it be possible to use the LiveKit suite for all telephony related components, but instead of using LiveKit Agents within it, have LiveKit use the OpenAI Agents SDK instead?
r
Up to you the directly you want to go. But a port from OpenAI SDK should be fairly straight forward. Once done you gain the benefit to easily switch between LLM, STT, and TTL providers and or have fallback for one one provider fails.
e
Great to hear! Just to confirm, if you include LLM that means it would support the realtime (S2S) models too right?
Also @refined-appointment-81829 will this be straight forward in Python? The OpenAI Agents SDK supports building a custom RealtimeTransportLayer for the speech-to-speech API in JS/TS, but for Python there exists no such interface
r
LiveKit agents can use Realtime (speech to speech) or pipline models.
I am not sure I follow your second questions. But I think the answer is you would use the React component on the webapp side. Agents run in their own process outside the webapp container.
e
Hi apologies @refined-appointment-81829, I think my question might have phrased unclearly. The question was more directed about “shoehorning” the OpenAI Agents SDK inside of the LiveKit ecosystem as a replacement for LiveKit Agents, rather than porting the customer’s existing customer service solution to LiveKit Agents. Like “bring your own agent”. Our goal is to use LiveKit for SIP/RTC telephony & media, but run our own agent framework for logic using Python. Can OpenAI Agents connect to a LiveKit room or does it need to be LiveKit agents?
r
I guess you would use the LiveKit python SDK to wrap your code. That will get you access the room, tracks, etc.
Or I guess you could use Go or Rust SDK too if that is better for some reason.