📦 Amygdala Memory — 情感记忆层
v2.0.0AI 代理的情感处理层。持久化情感状态,影响代理的行为和响应。作为 AI Brain 系列的核心组件,为代理提供情感记忆能力。
0· 0·0 当前·0 累计
by @basillytton
运行时依赖
无特殊依赖
安装命令
点击复制官方npx clawhub@latest install alvis-amygdala-memory-v2
镜像加速npx clawhub@latest install alvis-amygdala-memory-v2 --registry https://cn.longxiaskill.com镜像同步中
技能文档
Emotional processing layer for AI agents. Persistent emotional states that influence behavior and responses. Part of the AI Brain series.
Overview
Amygdala Memory is an emotional processing layer that provides AI agents with persistent emotional states. This component is part of the AI Brain series, enabling agents to maintain and react based on emotional context.
Features
- Persistent Emotional States: Store and retrieve emotional memories
- Emotional Processing: Process stimuli and generate appropriate emotional responses
- Behavioral Influence: Affect agent behavior based on emotional context
- Memory Integration: Work seamlessly with other brain components
Usage
from alvis_amygdala import AmygdalaMemory# Initialize the emotional memory layer amygdala = AmygdalaMemory()
# Store an emotional experience amygdala.remember(emotion="joy", intensity=0.8, context="user_compliment")
# Retrieve emotional state current_emotion = amygdala.get_current_state()
Configuration
| Parameter | Type | Default | Description |
|---|---|---|---|
storage_type | string | "memory" | Storage backend |
max_emotions | int | 1000 | Maximum emotional memories |
decay_rate | float | 0.05 | Emotional intensity decay |
Architecture
┌─────────────────┐
│ Stimulus │
│ Input │
└────────┬────────┘
│
▼
┌─────────────────┐
│ Emotional │
│ Processing │
└────────┬────────┘
│
▼
┌─────────────────┐
│ Memory │
│ Storage │
└────────┬────────┘
│
▼
┌─────────────────┐
│ Behavioral │
│ Influence │
└─────────────────┘
Integration
Amygdala Memory integrates with other AI Brain components:
- Hippocampus: For contextual memory binding
- Prefrontal Cortex: For decision-making integration
- Sensory Cortex: For stimulus processing
License
MIT License - See LICENSE file for details