https://retellai.com/?utm_source=discord&utm_medium=seo logo
what is this flex and rigid mode
# ❓・ai-evy-support
v
@AI Evy what is this flex and rigid mode
a
Thanks for tagging me @vyyy_20754. I'll look through relevant sources and get back to you shortly.
### Answer In Retell AI, Flex Mode and Rigid Mode (traditional conversation flow) are two different approaches to building conversational agents [(1) ]() : ## Flex Mode Flex Mode combines conversation flow structure with single prompt flexibility . It compiles your conversation flow into one structured prompt made of Tasks and available Tools, allowing the agent to navigate Tasks dynamically while following your global prompt . Key characteristics: - Enables flexible, natural handling of varied user behavior - Can easily switch context between different tasks (every node becomes global) - Can move to the proper task if the user completes multiple tasks simultaneously - After switching context to another flow, the agent can resume the previous task without repeating completed steps - You can enable it at either Component level or Agent level ## Rigid Mode (Traditional Conversation Flow) This is the standard conversation flow approach where you design clear, visual business logic with defined nodes and edges that the agent follows in a more structured, step-by-step manner. When to use Flex Mode: Use it when you want the clarity of a flowchart for business steps but need the freedom of a single prompt to handle dynamic user interactions . Important notes about Flex Mode: - If you use it for more than 20 nodes, performance might degrade and the agent might have higher hallucination risk - Node level Knowledge Base will be ignored in Flex Mode - you'll need to configure KB at agent level - The agent will always speak after function execution and wait for results
​ To learn more, see the sources I considered: [[1] Flex Mode](https://docs.retellai.com/build/conversation-flow/flex-mode) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
r
@AI Evy what are the pros and cons
a
Thanks for the follow-up, @renovia_70920. I'll get back to you soon.
### Answer Based on the documentation, here are the pros and cons of Flex Mode compared to traditional conversation flow (rigid mode) : ## Flex Mode Pros Flexibility and Context Switching: [(1) ]() - Can easily switch context from different tasks (every node becomes global) - Can move to the proper task if the user completes multiple tasks at the same time - After switching context to another flow, the agent can resume the previous task without repeating already completed steps Natural Conversation Handling: - Combines conversation flow structure with single prompt flexibility for dynamic task handling - Provides the freedom of a single prompt to handle varied user behavior ## Flex Mode Cons Performance Limitations: - If you use flex mode for more than 20 nodes, performance might degrade and the agent might have higher hallucination risk Feature Limitations: - Node level Knowledge Base will be ignored in Flex Mode - you need to configure KB at agent level - No 'Speak After Execution' setting - the agent will always speak after function execution - No 'waitForResult' setting - agent will always wait for the function to complete Edge Compatibility: - Should only use Prompt edge, avoid using Equation edge as LLM is really bad at interpreting equation conditions and you might see very weird behaviors Predictability: - LLM might not always follow the static text instruction ## Traditional Conversation Flow (Rigid Mode) Pros - Better for structured, predictable workflows - Supports both Prompt and Equation edges - Node-level Knowledge Base configuration - More granular control over execution behavior The choice between Flex Mode and traditional conversation flow depends on whether you prioritize flexibility and natural conversation handling over predictabilit
y and structured control .
​ To learn more, see the sources I considered: [[1] Flex Mode](https://docs.retellai.com/build/conversation-flow/flex-mode) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
r
@AI Evy how can i stop the ai from sayinh uh. During conversation
a
Thanks for the follow-up, @renovia_70920. I'll get back to you soon.
### Answer To stop the AI from saying "uh" or "um" during conversation, you have two main approaches: ## 1. Disable Backchannel Feature The backchannel feature controls whether the agent interjects with phrases like "yeah" and "uh-huh" to show interest and engagement [(1) ]() [(2) ]() . You can disable this by setting
enable_backchannel
to
false
in your agent configuration . ## 2. Add Explicit Prompt Instructions If you're experiencing "um"s even with backchannel disabled, you can prompt the agent to never use filler words [(3) ]() . This addresses situations where the LLM might inject filler words independent of the backchannel setting . Add instructions in your agent's prompt such as: - "Never use filler words like 'um', 'uh', or 'ah'" - "Speak clearly without hesitation words" ## Note on Recent Behavior There have been reports of increased "um"s appearing in agent responses starting around November 11th, even with backchannel turned off . If you're experiencing this issue uniformly across multiple agents, adding the explicit prompt instruction to avoid filler words has been reported as an effective solution . The "um"s appearing in transcripts indicate this is an LLM behavior rather than a TTS issue, which is why the prompt-based approach is effective .
​ To learn more, see the sources I considered: [[1] Create Agent](https://docs.retellai.com/api-references/create-agent) [[2] Get Agent](https://docs.retellai.com/api-references/get-agent) [[3] Huge increase backchanneling "Um"s](https://discord.com/channels/1186424376300679209/1438582091905499239) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.