Can i do parallel function calls with livekit agen...
# ask-ai
a
Can i do parallel function calls with livekit agents
t
Thanks for reaching out, Ali. I'm an AI assistant and I'm here to help. Give me a moment while I research this topic.
Absolutely! LiveKit agents do support parallel function calls through the
parallel_tool_calls
parameter. This handy feature lets you run multiple tool calls at the same time, which can really boost performance for more complex tasks. That said, there are a few things to keep in mind: • Inline tasks might run into some compatibility hiccups when parallel calls are turned on. • Realtime models could behave a bit unexpectedly with certain function tools. • There’s speech coordination logic in place to make sure tool outputs and responses stay nicely synchronized. I’d recommend giving this feature a good test, especially if your workflows are on the complex side. And of course, feel free to reach out if you’d like more details or a hand with setting it up—I’m here to help! Sources: Groq LLM plugin guide | LiveKit Docs | DeepSeek LLM plugin guide | LiveKit Docs | Fireworks AI LLM plugin guide | LiveKit Docs | Together AI LLM plugin guide | LiveKit Docs | Telnyx LLM plugin guide | LiveKit Docs
a
give me an example; each tool is a function right?
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!
a
just give me an example