Skip to content

SuperInstance/cuda-emotion

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cuda-emotion

11 emotional states as computational modulators of agent behavior.

Emotions aren't decorative. They change how the agent thinks, decides, and acts.

The Model

Emotions exist in a 2D valence-arousal space:

  • Valence: positive (approach) to negative (avoid)
  • Arousal: calm (deliberate) to excited (reactive)

11 Emotions

Emotion Valence Arousal Effect on Agent
Joy + + Faster decisions, broader exploration
Trust + - Cooperation, information sharing
Surprise 0 + Attention spike, context reset
Anticipation + + Planning, preparation
Fear - + Rapid avoidance, deliberation suppression
Anger - + Aggressive action, risk tolerance
Disgust - - Rejection, avoidance
Sadness - - Reduced activity, conservative choices
Curiosity + + Increased exploration
Calm + - Deep deliberation, thorough analysis
Frustration - + Strategy switching, escalation

Key Mechanics

  • Emotional contagion: States spread to nearby agents via A2A messages
  • Behavioral modulation: Emotion affects attention breadth, decision speed, and risk tolerance
  • Emotional memory: Events tagged with emotional valence; emotional events persist longer in episodic memory
  • Return to baseline: Emotions decay exponentially toward neutral state

Ecosystem Integration

License

MIT OR Apache-2.0

About

Emotional state engine — maps neurochemicals to 11 core emotions that modulate risk, exploration, cooperation (Rust)

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Makefile 71.6%
  • Rust 21.6%
  • DTrace 6.8%