memory-systems

Design persistent agent memory architectures with entity identity and temporal validity.

1|Updated May 16, 2026
One-click install
npx skills add https://github.com/enigmaicon-eng/AI-Enterprise-OS --skill memory-systems-enigmaicon-eng
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: memory-systems
Source: https://github.com/enigmaicon-eng/AI-Enterprise-OS/tree/main/examples/agent-skills/skills/memory-systems
Command: npx skills add https://github.com/enigmaicon-eng/AI-Enterprise-OS --skill memory-systems-enigmaicon-eng

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill helps you design agent memory systems that reliably preserve knowledge across sessions, including relationships and time-sensitive facts, so your agents don’t lose context or act on stale information.

Core Features & Use Cases

  • Memory framework selection: Compare production options like Mem0, Zep/Graphiti, Letta, Cognee, LangMem, and simpler file-system approaches.
  • Persistence architecture: Build layered memory (working/short-term/long-term/entity/temporal KG) and ensure cross-session continuity.
  • Retrieval strategy design: Choose semantic, entity-graph, temporal filtering, or hybrid retrieval to match query shape and improve accuracy.
  • Consolidation and error recovery: Prevent unbounded growth via invalidation-first consolidation and add fallbacks for empty retrieval, stale facts, and conflicts.
  • Integration guidance: Connect memory to context loading just-in-time rather than bulk preloading to stay within context budgets.

Quick Start

Ask the agent to “Implement long-term entity memory with temporal validity for a multi-agent system, using a framework like Zep/Graphiti or Mem0, and design hybrid retrieval plus consolidation.”

Frequently Asked Questions about memory-systems

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

FAQPage Schema
How do I persist agent memory across sessions with temporal validity?

To persist agent memory across sessions, you design layered memory architectures combining working, long-term, entity, and temporal knowledge graphs. This ensures cross-session continuity and prevents agents from acting on stale, time-sensitive information.

What's the best way to choose between Mem0, Zep, and Letta for agent memory?

Choosing between Mem0, Zep/Graphiti, Letta, LangMem, or Cognee involves comparing their production memory framework capabilities. You evaluate them based on retrieval strategy support, entity tracking, and temporal accuracy requirements.

How do I implement hybrid retrieval strategies for agent memory systems?

Implementing hybrid retrieval strategies combines semantic, entity-graph, and temporal filtering to match query shapes. This approach improves accuracy by pulling just-in-time context rather than bulk preloading data into the agent's context window.

How do I handle fact conflicts and stale facts in agent memory?

Handling fact conflicts and stale facts in agent memory requires invalidation-first consolidation logic. This prevents unbounded memory growth and provides graceful recovery from empty retrieval results or contradictory entity tracking data.

Can I use a file-system approach instead of a knowledge graph for agent persistence?

You can use a simpler file-system approach for agent persistence instead of a full knowledge graph. This works for basic cross-session retention but requires manual handling of temporal validity, entity tracking, and consolidation logic.