2.6k
GitHub Stars
12
Bundled Files
2 months ago
Catalog Refreshed
4 months ago
First Indexed
Readme & install
Copy the install command, review bundled files from the catalogue, and read any extended description pulled from the listing source.
Installation
Preview and clipboard use veilstrat where the catalogue uses aiagentskills.
npx veilstrat add skill openclaw/skills --skill nima-core- _meta.json3.4 KB
- CHANGELOG.md12.8 KB
- doctor.sh10.0 KB
- INSTALL.md14.1 KB
- install.sh15.1 KB
- llms-full.txt32.7 KB
- QUICKSTART.md379 B
- README.md25.1 KB
- requirements.txt210 B
- setup.py1.2 KB
- SKILL.md14.3 KB
- upgrade.sh9.7 KB
Overview
This skill implements Neural Integrated Memory Architecture (NIMA) — a production-ready, graph-based memory system for AI agents with semantic search, lazy recall, and dynamic affect. It supports SQLite for development and LadybugDB for high-performance vector search and graph traversal. The system is designed for thread safety, security hardening, and scalable recall injection into agents.
How this skill works
NIMA captures three-layer memory on every turn (input, contemplation, output), stores nodes and edges in a local database, and computes embeddings for semantic indexing. A recall hook injects relevant memories lazily before agent start, deduplicating injected context. A dynamic affect engine processes text in real time using a Panksepp-inspired 7-affect model to modulate response style.
When to use it
- Add persistent, context-aware memory to conversational agents
- Improve retrieval relevance with vector search and graph queries
- Inject concise, deduplicated memories before agent execution
- Add emotion-aware response modulation for more natural interactions
- Migrate from a simple transcript log to structured memory graph
Best practices
- Use LadybugDB in production to enable native HNSW vector search and Cypher graph traversal
- Limit lazy recall results to the top-N to keep agent context compact and relevant
- Configure NIMA_EMBEDDER to a local provider when you must avoid external network calls
- Store agent transcripts under a dedicated NIMA_DATA_DIR to simplify backups and audits
- Set sensible API timeouts and rotate embedding keys regularly
Example use cases
- Customer support agent that recalls prior tickets and customer sentiment to personalize replies
- Research assistant that retrieves past notes and relationships via graph traversal
- Personal assistant that remembers user preferences and modulates tone based on affect state
- QA system that searches archived agent sessions across multiple versions for troubleshooting
- Hybrid local/cloud deployments that use local embeddings for privacy and Voyage/OpenAI for quality when permitted
FAQ
Set NIMA_LADYBUG=1 to use LadybugDB; leave it unset or 0 for SQLite. Install the extra vector dependencies via pip install nima-core[vector] for LadybugDB.
Will embeddings be sent externally by default?
By default the embedder is voyage. You can set NIMA_EMBEDDER=openai or NIMA_EMBEDDER=local (sentence-transformers) to change behavior. Use local to avoid external network calls.
Is the system safe to run in multi-threaded agents?
Yes. The core uses a thread-safe singleton with double-checked locking, connection pooling readiness, and API timeouts to mitigate concurrency issues.