Do you guys know a way to integrate LiveKit with o...
# agents
c
Do you guys know a way to integrate LiveKit with other AI frameworks like MastraAI?
r
Many LLM have an OpenAI API compatible. If that one does (which I've not heard of before) you can use the OpenAI plugin to connect to it. If you actually meant
Mistral
you can try this plugin: https://github.com/livekit/agents/tree/main/livekit-plugins/livekit-plugins-mistralai
c
Hey @refined-appointment-81829 thanks but I meant Mastra, https://mastra.ai/. It's a framework for agent orchestration, workflows, tools, etc.
r
Seems redundant with LiveKit agents. Why would you use both?
(only took a 1sec glance so maybe I am missing something)
c
I would use LikeKit agent to handle voice but calling mastra workflows, tools, etc, Mastra offer a range number of features that I don't think LiveKit supports. https://mastra.ai/en/docs
LiveKit and Mastra target different purposes.
r
Maybe have a look at the langchain support in LiveKit. Maybe you can use that to map out a way to do it
c
ok thank you!
r
Curious what "number of features that I don't think LiveKit supports" you think LiveKit agents does not support.
c
control flows (suspend, resume, sleep, branching, parallel execution), MCPs, memory AI layer, RAG, etc, Mastra is a Typescript AI Framework, more like Langchain.
r
aren't all those feature in LiveKit Agents? Not sure which is missing
Anyway we don't have a plugin for Mastra...
c
Maybe they are and I just don't know yet.
👍🏼 1
r
You can find various examples here if you are interested: https://github.com/livekit-examples/python-agents-examples
c
thanks!