Home / Implementation Families / Attention and Motivation / OpenPsi
OpenPsi is the classical motivation and action-selection framework — a computational realization of Dietrich Dörner's Psi theory of cognition, in which behaviour is driven by competing demands (urges) that are shaped by emotional modulators and discharged by selecting context-appropriate actions. It answers "what should the agent want, and what should it do next?", complementing ECAN, which answers "what should the agent pay attention to?". OpenPsi is the heuristic predecessor that MetaMo later re-casts in formal category theory.
Last verified: 2026-06-08
OpenPsi descends from a specific line of motivational-cognition research:
The practical evolutionary path inside Hyperon is OpenPsi (heuristic) → hyperon-openpsi (MeTTa port) → MetaMo (formal), with all three coexisting during the transition.
dynamics/ module built out through 2017. Now historical.The two MeTTa ports implement the same framework with different planners; consolidating them is an open opportunity noted on the Attention and Motivation family card.
OpenPsi and ECAN are complementary: OpenPsi decides what to do (goal and action selection) while ECAN decides what to think about (attention allocation). Historically the two were briefly coupled — an OpenPsi default action-selector could bias attention by writing Short-Term Importance (STI) — but that path, like the other narrow ECAN coupling hooks, was deliberately decoupled by 2019 and has no MeTTa equivalent today. OpenPsi is best understood as an ECAN-coupling enabler rather than a default attention consumer; the full reconstructed coupling timeline lives on ECAN Full → Development and Historical Context. MetaMo is the formal successor — it keeps OpenPsi's demands-and-modulators intuition but replaces the hand-tuned dynamics with a category-theoretic appraisal/decision cycle.
Outside the research line above, Hanson Robotics' Sophia stack consumed Classic OpenPsi as a behaviour-loop authority for dialogue and motor schemas (via ros-behavior-scripting and loving-ai-ghost), with a psi-step loop and psi-rule registrations mapping perceptions to behaviours. This was a runtime/application branch rather than a faithful reimplementation — demands were satisfied by hardcoded truth values rather than OpenPsi's quantitative satisfaction economy, and the production Loving AI Ghost runtime explicitly disabled attention weighting in 2018. It has no current Hyperon MeTTa equivalent.