Unified State Labels
Nefesh maps the fused stress score (0-100) to five states with default LLM behavior recommendations:
| Score | State | suggested_action | Default Recommendation |
|---|---|---|---|
| 0–19 | Calm | maintain_engagement | Full complexity permitted. Push deeper, challenge assumptions. |
| 20–39 | Relaxed | maintain_engagement | 3-5 sentences, maintain complexity. |
| 40–59 | Focused | simplify_and_focus | 2-3 sentences, actionable only. |
| 60–79 | Stressed | de-escalate_and_shorten | Max 2 sentences, direct. |
| 80–100 | Acute Stress | pause_and_ground | Max 1 sentence, single directive. |
Custom Behavior Profiles
Override the default recommendation by setting set_behavior_profile in your application logic. The state label and score remain consistent — only the recommended LLM behavior changes.
Closed-loop feedback: On the 2nd+ call in a session, the response includes adaptation_effectiveness showing whether the previous suggested_action reduced stress. Your agent can use this to self-correct in real time.