📦 Amygdala Memory — 情绪记忆层
v1.0.0用于AI代理的情绪处理层。持久存储影响行为和响应的情绪状态。属于AI大脑系列组件。
0· 0·0 当前·0 累计
by @basillytton
运行时依赖
无特殊依赖
安装命令
点击复制官方npx clawhub@latest install amygdala-memory-alvis
镜像加速npx clawhub@latest install amygdala-memory-alvis --registry https://cn.longxiaskill.com
技能文档
Emotional processing layer for AI agents. Persistent emotional states that influence behavior and responses.
Overview
Amygdala Memory is an emotional processing component for AI agents that maintains persistent emotional states. It influences how agents respond to stimuli based on their current emotional context.
Features
- Emotional State Management: Track and update agent emotional states
- Memory Integration: Store emotional experiences and their contexts
- Response Modulation: Influence agent responses based on emotional state
Usage
import { AmygdalaMemory } from '@ai-brain/amygdala-memory';
const amygdala = new AmygdalaMemory(); amygdala.setEmotion('joy', 0.8); const emotionalState = amygdala.getCurrentState();
API
setEmotion(emotion, intensity)
Set an emotional state with specified intensity (0-1).getCurrentState()
Retrieve the current emotional state of the agent.processStimulus(stimulus)
Process incoming stimulus and update emotional state accordingly.Related
- Hippocampus Memory - Episodic memory storage
- Prefrontal Cortex - Decision making and planning