← 返回
数据分析 中文

MindCore

Biomimetic emotional mind engine for AI Agents. Provides human-like emotional responses through a 5-layer neural conduction pipeline (L0 Stochastic Noise → L...
{"answer":"面向AI智能体的仿生情感心智引擎。通过5层神经传导流水线(L0随机噪声 → L...)提供类人情感响应。"}
fatcatmaofei
数据分析 clawhub v1.0.0 1 版本 99894.3 Key: 无需
★ 0
Stars
📥 945
下载
💾 21
安装
1
版本
#latest

概述

MindCore — Biomimetic Subconscious Engine

> Give your AI agent autonomous thoughts, emotions, and spontaneous impulses.

What It Does

MindCore is a standalone background daemon that simulates a **subconscious

mind**. It rolls dice every second, modeling the random emergence of thoughts

like "I want milk tea", "I'm bored", or "I suddenly want to chat".

When a thought's probability accumulates past the firing threshold, the engine

outputs a JSON signal telling your AI Agent: "I have something to say."

Architecture

Layer 0: Noise Generators (3000 nodes)
    ├── Pink Noise (1/f, long-range correlation)
    ├── Ornstein-Uhlenbeck (physiological baseline)
    ├── Hawkes Process (emotional chain reaction)
    └── Markov Chain (attention drift)
         ↓
Layer 1: Sensor Layer (150 sensors)
    ├── Body State (hunger/fatigue/bio-rhythms)
    ├── Environment (time/weather/noise)
    └── Social Context (interaction/neglect)
         ↓
Layer 2: Impulse Emergence (150 impulse nodes)
    ├── Synapse Matrix (sensor → impulse mapping)
    ├── Sigmoid Probability + Mood Modulation
    └── Dice Roll → Random Firing
         ↓
Layer 3: Personality Gate (Softmax Sampling)
    ├── Learnable Personality Weights
    └── Short-Term Memory Topic Boost
         ↓
Layer 4: Output Template → JSON signal

Quick Start

# Install dependencies
pip install -r requirements.txt

# Start the engine
python main.py

Requires Python 3.8+. On first run, automatically downloads all-MiniLM-L6-v2

local NLP model (~80MB) for synapse matrix generation.

Key Features

  • 150 Daily Impulses across 9 categories (food, social, entertainment, etc.)
  • Stochastic, Not Scheduled — Pink Noise + Hawkes Process + Sigmoid probability
  • Circadian Rhythms — real clock-driven hunger/thirst/sleep cycles
  • Short-Term Memory — 5-slot FIFO buffer with 2-hour exponential decay
  • Mood Baseline — continuous valence modulation of impulse probability
  • Tunable Frequency — single BURST_BASE_OFFSET parameter controls activity

Integration

MindCore outputs standard JSON and is designed for OpenClaw

but compatible with any AI Agent framework that supports external signal injection.

See references/INTEGRATION.md for detailed integration guide.

File Structure

  • main.py — Entry point and engine loop
  • engine/ — Core 5-layer pipeline implementation
  • engine_supervisor.py — Process supervisor for daemon mode
  • data/ — Runtime data (sensor state, synapse matrix, memory)
  • js_bridge/ — JavaScript bridge for OpenClaw integration

License

AGPL-3.0 (commercial licensing available — contact zmliu0208@gmail.com)

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-03-29 18:08 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

data-analysis

Data Analysis

ivangdavila
{"answer":"数据分析与可视化。查询数据库、生成报告、自动化电子表格,将原始数据转化为清晰可行的见解。适用于:(1) 您……"}
★ 198 📥 65,120
data-analysis

A股量化 AkShare

mbpz
A股量化数据分析工具,基于AkShare库获取A股行情、财务数据、板块信息等。用于回答关于A股股票查询、行情数据、财务分析、选股等问题。
★ 165 📥 60,018
security-compliance

OpenClaw Guardian

fatcatmaofei
用于OpenClaw的安全层插件,通过两层正则黑名单规则和基于LLM的意图验证拦截危险工具调用(exec、write、edit)。
★ 0 📥 1,186