Technical Note

Inside Reflexion’s Adaptive Prompt Routing

How Reflexion routes reflection prompts based on emotion, concern type, engagement level, and session context.

Inside Reflexion’s Adaptive Prompt Routing

Author

Reflexion Team

Project updates from the Reflexion development and research team.

Technical NotePrompt RoutingHuman-Facing AI
1

Why Prompt Routing Matters

Most reflection tools respond to user input with a fixed prompt pattern. That design is simple, but it often misses the actual state of the user’s reflection.

A short sentence such as “I feel stuck” should not receive the same response as a detailed paragraph about work pressure, isolation, family conflict, or repeated self-doubt.

Reflexion uses adaptive prompt routing to decide what kind of follow-up is useful: clarification, emotional labeling, concern exploration, cognitive reframing, or long-term pattern review.

2

What the Routing Layer Reads

The routing layer looks at several signals before selecting a reflection path. These include detected emotion, concern type, emotional intensity, text length, engagement level, and whether the current input matches patterns from earlier sessions.

For example, an input centered on anxiety and uncertainty may trigger a grounding-oriented reflection path. An input centered on resentment or invisibility may trigger a concern-mapping path focused on recognition, boundaries, or unmet expectations.

The goal is not to diagnose the user. The goal is to organize the user’s language into a clearer reflection route.

3

Example Routing Behavior

If a user writes, “I don’t know why I keep avoiding this task,” Reflexion may classify the input as avoidance-related and route the user toward a prompt that asks what the task represents emotionally.

If a user writes, “I feel like nobody sees how much I’m doing,” the system may identify recognition concern and route toward a prompt about unmet validation, effort, and perceived invisibility.

If a user writes a longer reflection with repeated emotional themes, the system may generate a summary that connects the current session to prior patterns instead of asking a generic follow-up question.

4

System Design

The routing layer connects emotion labeling, concern detection, session memory, and structured reflection templates.

Emotion labeling identifies the dominant emotional signal. Concern detection estimates what the emotion may be organized around, such as trust, recognition, control, uncertainty, rejection, or responsibility.

Session memory helps determine whether the current concern is new, repeated, intensified, or softened compared with previous reflections.

The final prompt is selected from a structured prompt tree rather than generated as a completely open-ended response.

5

Non-Clinical Safety Boundary

Adaptive routing is designed to support reflection, not clinical judgment.

The system avoids diagnostic labels and does not claim to detect mental-health conditions. It uses language-level patterns to help users name emotions, identify concerns, and reflect on possible meanings.

This boundary is important because human-facing AI systems can easily overstate authority when dealing with emotionally sensitive content.

6

Why This Matters for Human-Facing AI

Human-facing AI needs more than fluent responses. It needs structure, context awareness, and clear limits.

Reflexion’s routing design is one step toward safer emotional AI: the system adapts to user input while keeping the interaction inside a non-diagnostic reflection framework.

Share this update

← Back to News
Share: