Async Tools for Voice Agents: Keep Talking While Work Runs
Blog post from LiveKit
In the context of customer service via voice agents, the text highlights the issue of "dead air" during backend processing times and presents a solution using LiveKit's async tools. Traditional synchronous tools result in silence while waiting for backend responses, causing customers to hang up prematurely. LiveKit's async tools, introduced in livekit-agents 1.6.0, address this by allowing the agent to immediately acknowledge requests, narrate ongoing progress, and enable task cancellation. The solution involves using the ctx.update() method to provide real-time updates and ctx.with_filler() to fill gaps with audio, ensuring continuous customer engagement. The tools also support handling duplicate calls to prevent double actions, such as issuing multiple refunds. This approach turns potential liabilities in voice interactions into opportunities for enhanced communication and customer satisfaction, offering a significant improvement over traditional methods by maintaining a conversational flow even during backend delays.
| Trend | Post Mentions | Total Month Mentions | Posts | Companies | MoM |
|---|---|---|---|---|---|
| LLM | 14 | 6,942 | 1,215 | 234 | +11% |
| Voice AI | 5 | 4,452 | 343 | 54 | +41% |
| Serverless | 1 | 722 | 229 | 93 | -29% |
Use this post, company, and trend context to find content marketing opportunities, perform competitive analysis, or address product feature gaps via the Plushcap MCP server or the Plushcap API.