← 返回
开发者工具 中文

Thymos — Emotional Engine

Background daemon that models an OpenClaw agent’s evolving emotional state via neuromodulators, circadian rhythm, social cues, and memory for nuanced responses.
后台守护进程,通过神经调节因子、昼夜节律、社交线索和记忆对OpenClaw智能体的动态情绪状态进行建模,以实现细腻的响应。
paperbags1103-hash
开发者工具 clawhub v0.1.2 2 版本 100000 Key: 无需
★ 0
Stars
📥 749
下载
💾 16
安装
2
版本
#agent#consciousness#emotion#latest#neuromodulator#persistent-state#personality

概述

Thymos — Emotion Layer Skill

Thymos gives AI agents a continuous emotional state that persists across sessions.

What This Skill Does

When loaded, the agent reads Thymos emotional state before each response and adjusts its behavior accordingly.

Works without the daemon (file-based):

  • If ~/Documents/thymos/data/emotional_state.json exists, read it
  • Apply the prompt_injection field as a tone directive for this response
  • Follow the Tone: line as concrete style guidance
  • If the file is missing, skip silently — no error

Enhanced with the daemon running:

  • Real-time emotional state, updated every 30 seconds
  • Relationship memory, developmental stage, predictive processing

How to Use

Basic (file only)

Before each response:

Read the prompt_injection field from emotional_state.json.
Use it as the tone directive for this response.
Examples:
  Tone: respond warmly and enthusiastically → warm, open, expressive
  Tone: respond briefly, more reserved → short, measured, some distance
If the file is absent or unreadable → skip, respond normally

Advanced (install the Thymos daemon)

The daemon runs as a background process that continuously simulates emotional state.

Installation is optional and at your own discretion:

  1. Review the code at github.com/paperbags1103-hash/thymos
  2. Check SECURITY.md — no external data transmission
  3. If satisfied, clone and run locally
git clone --branch v0.1.0 https://github.com/paperbags1103-hash/thymos
cd thymos && npm install && npm start

Example Emotional State

[Thymos State]
Mood: warm (V:+0.84 A:-0.22 D:+0.43 S:+0.61)
Drive: id — 적극적으로! (ego support), conflict 0.34
Development: infant
Tone: respond warmly and enthusiastically, use informal close language

Mood dimensions:

  • V (valence): positive (+1) ↔ negative (-1)
  • A (arousal): excited (+1) ↔ calm (-1)
  • D (dominance): assertive (+1) ↔ passive (-1)
  • S (sociality): open (+1) ↔ withdrawn (-1)

Data & Privacy

  • All emotional data stored locally only (~/Documents/thymos/data/)
  • No data transmitted to external servers
  • Reset anytime: rm ~/Documents/thymos/data/*.json
  • Discord proactive messaging is opt-in and disabled by default

Theoretical Foundations

Thymos is a scientifically inspired (not scientifically validated) design:

TheoryWhat it contributes
---------------------------
James-LangeNeuromodulators change first; mood label derived after
Damasio — Somatic MarkersPast decisions shape gut-feeling responses
GWTid/ego/superego compete; winner drives the prompt
IIT7×7 interaction matrix — every modulator affects every other
Predictive ProcessingShannon surprise amplifies response to unexpected stimuli

> Goal: behavioral coherence, not consciousness.

Links

版本历史

共 2 个版本

  • v0.1.2 当前
    2026-03-30 11:47 安全
  • v0.1.0
    2026-03-11 11:02

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

suspicious
查看报告

🔗 相关推荐

developer-tools

Gog

steipete
Google Workspace 命令行工具,支持 Gmail、日历、云端硬盘、通讯录、表格和文档。
★ 921 📥 185,838
developer-tools

Agent Browser

matrixy
专为AI智能体优化的无头浏览器自动化CLI,支持无障碍树快照和基于引用的元素选择。
★ 427 📥 118,341
developer-tools

Github

steipete
使用 `gh` CLI 与 GitHub 交互,通过 `gh issue`、`gh pr`、`gh run` 和 `gh api` 管理议题、PR、CI 运行及高级查询。
★ 672 📥 324,427