agent-cognitive-memory-architecture
Noosphere Integrated Memory Architecture — Complete cognitive stack for AI agents: persistent memory, emotional intelligence, dream consolidation, hive mind…
от rondoflow★ 37 звёзд на GitHub
Установить agent-cognitive-memory-architecture в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
NIMA Core 3.2
Noosphere Integrated Memory Architecture — A complete cognitive stack for AI agents: persistent memory, emotional intelligence, dream consolidation, hive mind, and precognitive recall.
Website: https://nima-core.ai · GitHub: https://github.com/lilubot/nima-core
Quick Start
pip install nima-core && nima-core
Your bot now has persistent memory. Zero config needed.
What's New in v3.0
Complete Cognitive Stack
NIMA evolved from a memory plugin into a full cognitive architecture:
| Module | What It Does | Version |
|---|---|---|
| Memory Capture | 3-layer capture (input/contemplation/output), 4-phase noise filtering | v2.0 |
| Semantic Recall | Vector + text hybrid search, ecology scoring, token-budgeted injection | v2.0 |
| Dynamic Affect | Panksepp 7-affect emotional state (SEEKING, RAGE, FEAR, LUST, CARE, PANIC, PLAY) | v2.1 |
| VADER Analyzer | Contextual sentiment — caps boost, negation, idioms, degree modifiers | v2.2 |
| Memory Pruner | LLM distillation of old conversations → semantic gists, 30-day suppression limbo | v2.3 |
| Dream Consolidation | Nightly synthesis — extracts insights and patterns from episodic memory | v2.4 |
| Hive Mind | Multi-agent memory sharing via shared DB + optional Redis pub/sub | v2.5 |
| Precognition | Temporal pattern mining → predictive memory pre-loading | v2.5 |
| Lucid Moments | Spontaneous surfacing of emotionally-resonant memories | v2.5 |
| Darwinian Memory | Clusters similar memories, ghosts duplicates via cosine + LLM verification | v3.0 |
| Installer | One-command setup — LadybugDB, hooks, directories, embedder config | v3.0 |
v3.0 Highlights
- All cognitive modules unified under a single package
- Installer (
install.sh) for zero-friction setup - All OpenClaw hooks bundled and ready to drop in
- README rewritten, all versions aligned to
3.0.4
Architecture
OPENCLAW HOOKS
├── nima-memory/ Capture hook (3-layer, 4-phase noise filter)
│ ├── index.js Hook entry point
│ ├── ladybug_store.py LadybugDB storage backend
│ ├── embeddings.py Multi-provider embedding (Voyage/OpenAI/Ollama/local)
│ ├── backfill.py Historical transcript import
│ └── health_check.py DB integrity checks
├── nima-recall-live/ Recall hook (before_agent_start)
│ ├── lazy_recall.py Current recall engine
│ └── ladybug_recall.py LadybugDB-native recall
├── nima-affect/ Affect hook (message_received)
│ ├── vader-affect.js VADER sentiment analyzer
│ └── emotion-lexicon.js Emotion keyword lexicon
└── shared/ Resilient wrappers, error handling
PYTHON CORE (nima_core/)
├── cognition/
│ ├── dynamic_affect.py Panksepp 7-affect system
│ ├── emotion_detection.py Text emotion extraction
│ ├── affect_correlation.py Cross-affect analysis
│ ├── affect_history.py Temporal affect tracking
│ ├── affect_interactions.py Affect coupling dynamics
│ ├── archetypes.py Personality baselines (Guardian, Explorer, etc.)
│ ├── personality_profiles.py JSON personality configs
│ └── response_modulator_v2.py Affect → response modulation
├── dream_consolidation.py Nightly memory synthesis engine
├── memory_pruner.py Episodic distillation + suppression
├── hive_mind.py Multi-agent memory sharing
├── precognition.py Temporal pattern mining
├── lucid_moments.py Spontaneous memory surfacing
├── connection_pool.py SQLite pool (WAL, thread-safe)
├── logging_config.py Singleton logger
└── metrics.py Thread-safe counters/timings
Privacy & Permissions
- ✅ All data stored locally in
~/.nima/ - ✅ Default: local embeddings = zero external calls
- ✅ No NIMA-owned servers, no proprietary tracking, no analytics sent to external services
- ⚠️ Opt-in networking: HiveMind (Redis pub/sub), Precognition (LLM endpoints), LadybugDB migrations — see Optional Features below
- 🔒 Embedding API calls only when explicitly enabling (VOYAGE_API_KEY, OPENAI_API_KEY, etc.)
Optional Features with Network Access
| Feature | Env Var | Network Calls To | Default |
|---|---|---|---|
| Cloud embeddings | NIMA_EMBEDDER=voyage |
voyage.ai | Off |
| Cloud embeddings | NIMA_EMBEDDER=openai |
openai.com | Off |
| Memory pruner | ANTHROPIC_API_KEY set |
anthropic.com | Off |
| Ollama embeddings | NIMA_EMBEDDER=ollama |
localhost:11434 | Off |
| HiveMind | HIVE_ENABLED=true |
Redis pub/sub | Off |
| Precognition | Using external LLM | Configured endpoint | Off |
Security
What Gets Installed
| Component | Location | Purpose |
|---|---|---|
Python core (nima_core/) |
~/.nima/ |
Memory, affect, cognition |
| OpenClaw hooks | ~/.openclaw/extensions/nima-*/ |
Capture, recall, affect |
| SQLite da |
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- manifest.json
FAQ
Что делает скилл agent-cognitive-memory-architecture?
Noosphere Integrated Memory Architecture — Complete cognitive stack for AI agents: persistent memory, emotional intelligence, dream consolidation, hive mind, precognitive recall, and lucid moments. 4 embedding providers, LadybugDB graph backend, zero-config install. nima-core.ai
Как установить скилл agent-cognitive-memory-architecture?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл agent-cognitive-memory-architecture запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
doc-coauthoring
AnthropicGuide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision…
academy-guide
AnthropicStop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials…
internal-comms
AnthropicA set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill…
skill-development
AnthropicThis skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill…