Fix Voice Agent Tool Call Latency With Async Function Tools

LiveKit
157,456 views July 7, 2026

A slow tool call makes your voice agent go silent and callers hang up. In this guide you will learn how LiveKit async tools keep the agent talking, stream progress while work runs, cancel a task mid call, and stop the same order from being refunded twice. Sign up for LiveKit Cloud: https://cloud.livekit.io/signup?utm_source=youtube&utm_medium=video&utm_campaign=devrel&utm_content=AQZOIr3511U We cover long running function tools for voice agents, why a normal function tool blocks the conversation, and how one line with ctx.update() turns dead air into live narration. You will also see ctx.with_filler for quiet gaps, the CANCELLABLE flag for safe cancellation, and on_duplicate for handling duplicate tool calls. Built with livekit-agents 1.6 and LiveKit Inference, so the only credentials you need are your LiveKit keys. 📚 Resources 📚 Async Tools reference: https://docs.livekit.io/agents/logic/tools/async/?utm_source=youtube&utm_medium=video&utm_campaign=devrel&utm_content=AQZOIr3511U Agent docs: https://docs.livekit.io/agents/?utm_source=youtube&utm_medium=video&utm_campaign=devrel&utm_content=AQZOIr3511U 🤝 Join the Community: https://community.livekit.io/?utm_source=youtube&utm_medium=video&utm_campaign=devrel&utm_content=AQZOIr3511U #livekit #ai #voiceai

Keyboard shortcuts

On. Switch them off if they collide with your assistive tools; ? still opens this sheet.

Go to

Press g then the letter.

  • gh Latest
  • gs Sources
  • gm Media
  • gv Videos
  • gp Podcasts
  • gc Calendar
  • gd Decoder
  • gz Dataviz
  • ga Datasets
  • gb Blog
  • gk Markets
  • gj Careers
  • gn Prompt Notebook

On this page

  • / Focus search, where there is one
  • t Back to top
  • ? This list
  • Esc Close