memory-systems

Design layered memory architectures with knowledge graphs for agent state persistence.

4|Updated Dec 23, 2025
One-click install
npx skills add https://github.com/ken-cavanagh-glean/fieldkit --skill memory-systems-ken-cavanagh-glean
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: memory-systems
Source: https://github.com/ken-cavanagh-glean/fieldkit/tree/main/plugins/context-engineering/skills/context-engineering/memory-systems
Command: npx skills add https://github.com/ken-cavanagh-glean/fieldkit --skill memory-systems-ken-cavanagh-glean

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

Design and implement memory architectures for agent systems. Use when building agents that need to persist state across sessions, maintain entity consistency, or reason over structured knowledge.

Core Features & Use Cases

  • Layered memory architectures (working memory, short-term memory, long-term memory, and knowledge graphs with temporal validity) to balance latency, persistence, and reasoning capabilities.
  • Knowledge graphs and temporal graphs to preserve relationships and time-bound facts for accurate historical queries.
  • Integration with context loading, memory retrieval, and consolidation workflows to maintain coherence across interactions and enable retrieval-augmented reasoning.

Quick Start

Start a memory session, store a sample fact for an entity, and retrieve memories to verify results.

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 multiple sessions?

Persist agent state across sessions using layered memory architectures that separate working memory, short-term memory, long-term memory, and knowledge graphs with temporal validity. This approach maintains entity consistency and enables retrieval-augmented reasoning when agents resume tasks.

What's the best way to maintain entity consistency in multi-session agent systems?

Maintain entity consistency by integrating knowledge graphs and temporal graphs that preserve relationships and time-bound facts. Track history across interactions through context loading, memory retrieval, and consolidation workflows to ensure accurate historical queries.

How do knowledge graphs with temporal validity improve agent reasoning?

Knowledge graphs with temporal validity enable agents to reason over structured facts bound to specific time periods, preserving historical accuracy and supporting complex temporal reasoning. This is essential for agents that must track entity changes and relationships across multiple sessions.

Can I use memory systems to consolidate agent interactions over time?

Yes. Memory consolidation workflows integrate context loading and retrieval mechanisms to maintain coherence across agent interactions. Layered memory architectures balance latency and reasoning capabilities while preserving structured knowledge for long-term reference.

When should I implement a layered memory architecture for agents?

Implement layered memory architectures when building agents that need to persist state across sessions, maintain entity consistency, or reason over structured knowledge with historical context. This design balances fast access through working memory with persistent reasoning through knowledge graphs.

What are the limitations of temporal reasoning in agent memory systems?

Temporal graphs require careful fact validation to prevent stale or conflicting information. Scale and query complexity grow with history length; consolidation workflows manage this by archiving or summarizing older data while maintaining accuracy for active reasoning.