home / skills / git-fg / thecattoolkit / architecting-memory
This skill guides designing persistent memory architectures for AI agents, advancing from Vector RAG to GraphRAG to Temporal Knowledge Graphs.
npx playbooks add skill git-fg/thecattoolkit --skill architecting-memoryReview the files below or copy the command above to add this skill to your agents.
---
name: architecting-memory
description: "Implements progression from Vector RAG → GraphRAG → Temporal Knowledge Graphs. Use when designing persistent memory architectures for AI agent systems."
user-invocable: true
allowed-tools: [Read, Write, Bash, Grep, Glob]
---
# Memory Systems for AI Agents
Implements progression from Vector RAG → GraphRAG → Temporal Knowledge Graphs.
## Architecture Selection
Start here to choose the right approach.
- **Decision Matrix**: [references/decision-matrix.md](references/decision-matrix.md)
- **Detailed Design Patterns**: [references/patterns.md](references/patterns.md)
## The Core Progression
### Stage 1: Vector RAG (Semantic)
### Stage 1: Vector RAG (Semantic)
- **Guide**: [references/vector-rag.md](references/vector-rag.md)
### Stage 2: GraphRAG (Relational)
### Stage 2: GraphRAG (Relational)
- **Guide**: [references/graph-rag.md](references/graph-rag.md)
### Stage 3: Temporal KG (Time-Series)
### Stage 3: Temporal KG (Time-Series)
- **Guide**: [references/temporal-kg.md](references/temporal-kg.md)
## Specialized Approaches
### CrewAI Memory Model
### CrewAI Memory Model
- **Guide**: [references/crewai-approach.md](references/crewai-approach.md)
### Technical Implementation
- **Tech Stack Options**: [references/tech-stack.md](references/tech-stack.md)
- **Common Architectures**: [references/architectures.md](references/architectures.md)
This skill implements a clear progression for designing persistent memory architectures for AI agents: from Vector RAG (semantic) to GraphRAG (relational) to Temporal Knowledge Graphs (time-aware). It provides actionable guidance to choose the right memory substrate, map use cases to architecture patterns, and plan a migration path as system needs grow. The focus is practical: trade-offs, integration points, and recommended tech stacks for each stage.
The skill inspects application requirements (query complexity, relation density, temporal reasoning needs) and recommends the minimal viable memory layer. It describes how to structure embeddings, construct and query graphs, and add temporal indexing to capture event sequences. It also outlines interoperability concerns: connectors between vector stores, graph databases, and temporal stores, and patterns for consistency and retrieval.
When should I move from Vector RAG to GraphRAG?
Move when queries require multi-hop reasoning, explicit relations, or when provenance and entity linking improve accuracy beyond pure semantic similarity.
Is a temporal knowledge graph necessary for small-scale agents?
Not always. Use temporal KGs when sequence, causality, or time-windowed queries are core to functionality. Otherwise, timestamped records layered on graphs may suffice.