Real conversations don’t stay on one topic. Users interrupt themselves, change their mind, ask follow-up questions about something completely different. Focus mode controls how each actor handles those moments. You pick one of four modes per actor:Documentation Index
Fetch the complete documentation index at: https://docs.cogniagent.ai/llms.txt
Use this file to discover all available pages before exploring further.
| Mode | What it does | Best for |
|---|---|---|
| Auto | The AI decides when to switch topics. Default. | Most general-purpose actors. |
| Flexible | Hand off immediately when another actor fits better. | Quick triage agents that should never insist on staying. |
| Persistent | Hand off, but remember where this actor left off. Resume later. | Multi-step intake (e.g. order forms) that should resume after a detour. |
| Strict | Don’t hand off until the actor’s job is complete. | Critical flows where dropping out mid-process would break things. |

When does focus mode matter?
Every turn, before an actor speaks, the platform asks: “Is this still the right actor for what the user just said?” The answer is mode-dependent.Auto
The AI evaluates whether the new message is still in this actor’s scope. If clearly off-topic, it hands off. If borderline, it tends to stay. When Auto isn’t picking the right behaviour, fill in Focus Mode Guidance below the mode selector — a one-line hint like “Always finish collecting the user’s email before letting them switch topics”.Flexible
The handoff bar is low. Any signal that another actor fits better triggers an immediate route. Use this for thin triage / dispatcher agents whose job is to forward, not engage.Persistent
The actor hands off when needed, but the platform remembers where it left off. When the user returns to that topic, the original actor picks up exactly where it stopped — including any data it had already collected. Best for multi-step flows where users naturally take detours.Strict
The actor refuses to hand off until its Definition of Done is satisfied. The branch router can’t override it; the user is gently redirected if they try to change topics. Use strict for things like:- Identity verification flows (don’t let the user skip to billing without proving who they are)
- Payment collection (don’t lose the cart because the user got distracted)
- Compliance-required intake (data collection that must complete to be legal)
How focus mode interacts with routing
Each mode unlocks different actions for the routing system:| Mode | Stay | Hand off to sibling | Escalate to global | Ask user to clarify |
|---|---|---|---|---|
| Auto | ✓ | ✓ | ✓ | ✓ |
| Flexible | ✓ | ✓ | ✓ | ✓ |
| Persistent | ✓ | ✓ | ✓ (saves state) | ✓ |
| Strict | ✓ | ✓ (only after DoD met) | ✓ (only after DoD met) | ✓ |
Choosing a mode
Generic conversational actor
Generic conversational actor
Auto. This is the default and the right choice 80% of the time. If the AI’s choices ever feel off, write a one-line guidance hint before switching modes.
Dispatcher / triage actor
Dispatcher / triage actor
Flexible. A triage agent’s job is to figure out where the user belongs and forward them — staying around to chat is the wrong behaviour.
Multi-step intake (returns, order tracking, scheduling)
Multi-step intake (returns, order tracking, scheduling)
Persistent. Users will get distracted and come back. Persistent lets you resume cleanly without re-asking for collected data.
Identity, payment, compliance
Identity, payment, compliance
Strict. With a tight Definition of Done. The actor refuses to be derailed.
A worked example
In the Sales Triage flow, each actor uses Auto:- Triage — Auto. Once the user’s intent is clear, Triage’s Definition of Done fires and the routing layer hands off.
- Product Specialist — Auto. If the user pivots to pricing, Product hands off to Pricing.
- Pricing Specialist — Auto. Same in reverse.
Next
Execution modes
Initiator vs Responder — how the flow gets kicked off.
Configure an actor
Full reference for every field on an actor.
