agent-memory

Store, search, and manage persistent AI agent memories across sessions.

Updated Feb 5, 2026
One-click install
npx skills add https://github.com/DNG-ai/agent-memory --skill agent-memory-dng-ai
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: agent-memory
Source: https://github.com/DNG-ai/agent-memory/tree/main/integrations/claude-code/skills/agent-memory
Command: npx skills add https://github.com/DNG-ai/agent-memory --skill agent-memory-dng-ai

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Long-term memory storage for AI agents enables saving, indexing, and retrieving memories across sessions to inform decisions, goals, and actions without re-deriving context.

Core Features & Use Cases

  • Persistent memories: save decisions, notes, and context for reuse in future sessions.
  • Semantic search & retrieval: quickly locate memories by meaning, not just keywords.
  • Multi-scope lifecycle: manage memories at project, group, and global levels with startup and context loading.
  • Pinning & grouping: pin critical items and organize memories for team collaboration.

Quick Start

Load the agent-memory skill and begin saving and retrieving memories from your AI agent workflow.

Frequently Asked Questions about agent-memory

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

FAQPage Schema
How do I add long-term memory to an AI agent across sessions?

Long-term memory for AI agents is added by saving decisions, notes, and context to a persistent store. This skill provides a CLI workflow to store, search, and manage memories for reuse in future sessions.

Can I search persistent AI agent memories by meaning instead of exact keywords?

Yes, semantic search and retrieval allows you to quickly locate persistent memories by meaning rather than exact keywords. This helps agents find relevant context without relying on specific phrasing.

How do I manage AI agent memory at different project and group levels?

You can manage AI agent memory across project, group, and global scopes using a multi-scope lifecycle. This supports organizing context and applying startup workflows specific to each scope level.

Do I need a specific CLI installed to use agent memory features?

Yes, the agent-memory CLI must be installed and accessible in your environment. The skill expects this CLI-based workflow to be available to save, pin, group, and query memories.

What is the best way to organize critical context for team collaboration in AI agents?

Pinning and grouping memories is the best way to organize critical items for team collaboration. This allows you to highlight essential context and categorize related memories for easier retrieval.

Why does my AI agent lose context between different chat sessions?

AI agents lose context because they lack persistent memory storage by default. Implementing long-term memory storage enables indexing and retrieving memories across sessions to inform future decisions without re-deriving context.