memory-systems

Persist agent state across sessions using vector memories and a temporal knowledge graph.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/goodnight000/KittyCourt --skill memory-systems-goodnight000
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: memory-systems
Source: https://github.com/goodnight000/KittyCourt/tree/main/.codex/skills/Agent-Skills-for-Context-Engineering-main/skills/memory-systems
Command: npx skills add https://github.com/goodnight000/KittyCourt --skill memory-systems-goodnight000

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This skill helps agents persist state across sessions by combining transient context with structured memory layers, enabling continuity and reliable reasoning over past interactions.

Core Features & Use Cases

  • Layered memory architecture: from working memory to long-term memory and temporal knowledge graphs.
  • Entity tracking & temporal reasoning: maintain entity identity and reason about changes over time.
  • Memory integration & context injection: connect vector stores with graphs to support retrieval, consolidation, and contextual data for AI tasks.

Quick Start

Install Python 3.10+ and numpy, run a simple demo that stores a memory for an entity and then retrieves memories for that entity.

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 state across sessions for cross-session recall?

Agent memory persistence across sessions is achieved by combining transient context with structured memory layers, specifically a vector store and a temporal knowledge graph. This architecture enables continuity and reliable reasoning over past interactions.

What is a temporal knowledge graph and how does it help with entity tracking?

A temporal knowledge graph maintains entity identity and reasons about changes over time within a structured memory layer. It supports time-aware reasoning and entity tracking by connecting vector stores with graph data for contextual retrieval.

How do I build a layered memory architecture for an AI agent?

Build a layered memory architecture by stacking working memory, long-term memory, and temporal knowledge graphs. This skill provides retrieval, consolidation, and context-injection utilities to connect vector stores with graphs for AI tasks.

Do I need numpy to implement agent memory and retrieval utilities?

Yes, numpy is a required dependency for implementing this agent memory system. You also need Python 3.10 or higher to run the scripts and utilize the vector-based memory and temporal knowledge graph retrieval utilities.

What is the best way to add context injection to an agent using a vector store?

The best way to add context injection is to combine a vector store with a temporal knowledge graph and use dedicated retrieval and consolidation utilities. This connects structured memory layers to supply contextual data for AI tasks.

When should I not use a temporal knowledge graph for agent memory?

Avoid using a temporal knowledge graph for agent memory if your application does not require cross-session recall, entity tracking, or time-aware reasoning. For purely stateless or transient interactions, this combined memory stack is unnecessary.