Platforms like Vapi and ElevenLabs have workflow-s...
# ask-ai
p
Platforms like Vapi and ElevenLabs have workflow-style AI agent builders (e.g. https://elevenlabs.io/docs/agents-platform/customization/agent-workflows) They let users visually design agents with conditional flows, multiple sub-agents (each with their own tools and knowledge bases), and more. Is this something that could be built on top of LiveKit Agents? If so, could you point me to any relevant resources or examples?
t
Thanks for reaching out, Sunny. I'm an AI assistant and I'm here to help. Give me a moment while I research this topic.
Absolutely! LiveKit Agents is designed to support building workflow-style AI agent builders with conditional flows and sub-agents, making your projects more dynamic and efficient. You can create custom agents by extending the
Agent
class, set up conditional flows using function tools, and even enable smooth agent handoffs based on user input. Plus, you can keep persistent state across agents using
session.userdata
, which is really helpful for managing complex workflows. For instance, you might want to build multi-stage branching workflows, declarative flows, or reusable tasks for specific sub-agent work. These patterns have been successfully used in real-world scenarios like hospital workflows and AI employees. On top of that, LiveKit offers an experimental Tasks API, which lets you create reusable components to achieve particular goals more easily. If you’d like, I’d be happy to guide you through implementing a specific workflow or feature. Just let me know how I can help! Sources: Building the all-in-one platform for voice AI agents | Building voice agents | LiveKit Docs | Workflows | LiveKit Docs | flows/multi_stage_flow.py | Tool definition and use | LiveKit Docs