has anyone hosted livekit agents on modal labs ?
# agents
g
has anyone hosted livekit agents on modal labs ?
r
Some folks have done it but it is not super well suited for agents since they are long running stateful processes.
Have you considered LiveKit Cloud hosted agents that were released last week? https://livekit-users.slack.com/archives/C01KZ61HZRR/p1755703664834609
🙌 1
👏 1
k
Hi, I work at Modal and it's definitely possible to deploy agents on Modal. The fact that agents are stateful and long running is not a problem, it's a benefit. The combination of a framework like LiveKit and Modal gives you the best of both worlds. That said, there's some nuance to the implementation, so we've PR'd a deployment example to the agent-deployments repo. Try it out and let me know if you have any questions: https://github.com/livekit-examples/agent-deployment/pull/18
🙌 1
While the following link isn't using LiveKit or a Voice Ai use case, it does discuss the specific concern of stateful/persistent vs. serverless as applied to WebRTC + Modal: https://modal.com/docs/examples/webrtc_yolo
🙌 1