dna-memory

Implements a three-layer memory system with reinforcement, forgetting, and recall for AI agents.

93|22|Updated Mar 1, 2026
One-click install
npx skills add https://github.com/AIPMAndy/dna-memory --skill dna-memory
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: dna-memory
Source: https://github.com/AIPMAndy/dna-memory/tree/main
Command: npx skills add https://github.com/AIPMAndy/dna-memory --skill dna-memory

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires requests, and includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

DNA Memory enables AI agents to learn, reinforce, forget, and generalize instead of merely storing data, turning experiences into evolving capabilities.

Core Features & Use Cases

  • Three-layer memory architecture (Working, Short-term, Long-term)
  • Reinforcement and forgetting with automatic reflection and promotion
  • Recall-augmented search and daemon-based maintenance for long-running agents
  • Use cases: personal AI assistants, agent workflows, knowledge-driven products, and self-improvement loops

Quick Start

Clone this skill into your OpenClaw skills directory and start by remembering a user preference with the evolve.py remember command.

Frequently Asked Questions about dna-memory

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I implement memory management for an AI agent that learns and forgets?

AI agent memory management uses a three-layer architecture of working, short-term, and long-term memory. This enables agents to reinforce important information, forget irrelevant data, and reflect on experiences to promote memories autonomously.

What is the best way to build a self-improving AI assistant with evolving capabilities?

A self-improving AI assistant requires a memory system with reinforcement and automatic reflection. Instead of merely storing data, the system generalizes experiences into evolving capabilities using recall-augmented search and daemon-based maintenance.

How does a three-layer memory system handle recall and forgetting in Python?

A three-layer memory system in Python handles recall by using augmented search across stored experiences. Forgetting is managed through reinforcement rules and daemon maintenance, automatically promoting or discarding memories based on relevance.

Can I use SQLite and Python to build a long-running agent memory daemon?

Yes, SQLite and Python support long-running agent memory daemons. This Skill provides a self-contained backend using these technologies to maintain memory, run reflection processes, and manage forgetting for continuous agent workflows.

Does this AI memory system support recall-augmented search for knowledge-centric products?

Yes, recall-augmented search is a core feature for knowledge-centric products. It retrieves relevant memories to inform current tasks, working alongside the daemon maintenance to ensure long-running agents access accurate, reinforced knowledge.

When should I use a reinforcement and reflection memory architecture instead of simple storage?

Use a reinforcement and reflection memory architecture instead of simple storage when your agent needs to evolve. If your workflow requires learning from experiences, forgetting outdated data, and generalizing capabilities, simple storage is insufficient.