memory-systems

Store and retrieve agent memories across sessions with layered memory systems.

Updated Jan 8, 2026
One-click install
npx skills add https://github.com/yeeehaooo/agent-kit --skill memory-systems-yeeehaooo
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: memory-systems
Source: https://github.com/yeeehaooo/agent-kit/tree/main/.agent-skills/skills/memory-systems
Command: npx skills add https://github.com/yeeehaooo/agent-kit --skill memory-systems-yeeehaooo

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

Memory systems for agents address the challenge of maintaining continuity across sessions by persisting, retrieving, and reasoning over accumulated knowledge. They enable consistent entity tracking and time-aware decisions beyond a single conversation.

Core Features & Use Cases

  • Layered memory: working memory, short-term memory, long-term memory, and temporal memory to balance latency and persistence.
  • Entity tracking and knowledge graphs to preserve relationships and reasoning across interactions.
  • Temporal validity for facts to prevent outdated information from interfering with current context.
  • Consolidation and retrieval pipelines that support just-in-time memory loading and selective context injection.
  • Use Case: An AI assistant remembers a user's preferences and past actions across sessions to tailor recommendations.

Quick Start

Initialize memory by starting a new session and storing a sample memory entry with an entity, then retrieve memories matching a query.

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?

Persist agent memory across sessions by storing and retrieving accumulated knowledge using layered memory, vector stores, and knowledge graphs. This maintains consistent entity tracking and dynamic context continuity beyond a single conversation.

What is a temporal knowledge graph for reasoning over accumulated knowledge?

A temporal knowledge graph preserves entity relationships and applies temporal validity to facts for reasoning over accumulated knowledge. It prevents outdated information from interfering with the current context during time-aware decisions.

How do I implement working, short-term, and long-term memory layers for an AI agent?

Implement working, short-term, long-term, and temporal memory layers to balance latency and persistence in AI agents. These layers support consolidation pipelines and selective context injection for dynamic context maintenance.

Does this memory consolidation approach support just-in-time memory loading?

Yes, memory consolidation supports just-in-time memory loading through retrieval pipelines that enable selective context injection. This ensures AI agents retrieve relevant memories dynamically without overloading the working memory context.

Can I track entities and preserve relationships across interactions using a vector store?

Track entities and preserve relationships across interactions by combining vector stores with knowledge graphs. This approach maintains continuity, supports temporal reasoning, and enables consistent context retrieval across sessions.

Why does outdated information interfere with my agent's current context, and how do I prevent it?

Outdated information interferes with current context when memory lacks temporal validity. Prevent it by applying temporal memory layers to assign validity periods to facts, ensuring only currently relevant knowledge is injected into the agent's context.