What are multi-agent workflows?
Multi-agent prompts enable complex conversation flows where different parts of the conversation are handled by specialized agents with distinct prompts and behaviors. This is useful for structured interactions like IVR systems, multi-step processes, or conversations that need different expertise at different stages.This feature is still in Beta and is only available via the Create agent API.
How does multi-agent workflow work?
Multi-agent workflows use a graph-based approach where:- Each node represents a conversation state with its own prompt
- Edges define conditions for transitioning between states
- The LLM intelligently routes the conversation based on user responses
- Different nodes can have different configurations and behaviors
Example agent payload
multi-agent-payload.json
Next steps
Ready to build multi-agent workflows? Explore related features:- Start with the Agent API documentation to understand the payload structure
- Use context variables to share data across agent nodes
- Combine with custom function calls for dynamic actions
- Extract conversation data with structured extraction