Agent Memory Systems Skill · Data Ai

Architecting Intelligent Agent Memory Systems

Master 3 core memory architectures: short-term, long-term, and cognitive.

Solve agent forgetting with retrieval-optimized memory systems. Start building today!

  • Cognitive Architecture
  • Vector Databases
  • Semantic Retrieval
  • Agentic Workflows
  • Memory Decay

About This Skill

Transform stateless interactions into persistent intelligence. This skill covers 3 essential memory layers—short-term, long-term, and cognitive architectures—to ensure your agents never start from zero.

Quick Start

  1. 1Define your memory hierarchy (Short-term vs Long-term)
  2. 2Select an embedding model for semantic retrieval
  3. 3Implement a CoALA-compliant storage strategy
Example Command
agent-mem init --framework langmem --mode episodic

Core Capabilities

agent-memory

Foundational memory management for intelligent agentic workflows.

long-term-memory

Persistent storage using vector stores and retrieval-optimized chunking.

short-term-memory

Efficient context window management and working memory optimization.

working-memory

Active cognitive processing and real-time information manipulation.

Usage Examples

Before

Agent forgets user identity in the next session.

After

Agent greets user as 'Alice' using long-term retrieval.

Before

Irrelevant context retrieved due to poor chunking.

After

High-precision retrieval via strategic chunking.

Before

Agent treats every interaction as a new event.

After

Agent learns from past successes and failures.

SKILL.md

---
name: agent-memory-systems
description: "Memory is the cornerstone of intelligent agents. Without it, every
  interaction starts from zero. This skill covers the architecture of agent
  memory: short-term (context window), long-term (vector stores), and the
  cognitive architectures that organize them."
risk: safe
source: vibeship-spawner-skills (Apache 2.0)
date_added: 2026-02-27
---

# Agent Memory Systems

Memory is the cornerstone of intelligent agents. Without it, every interaction
starts from zero. This skill covers the architecture of agent memory: short-term
(context window), long-term (vector stores), and the cognitive architectures
that organize them.

Key insight: Memory isn't just storage - it's retrieval. A million stored facts
mean nothing if you can't find the right one. Chunking, embedding, and retrieval
strategies determine whether your agent remembers or forgets.

The field is fragmented with inconsistent terminology. We use the CoALA cognitive
architecture framework: semantic memory (facts), episodic memory (experiences),
and procedural memory (how-to knowledge).

## Principles

- Memory quality = retrieval quality, not storage quantity
- Chunk for retrieval, not for storage
- Context isolation is the enemy of memory
- Right memory type for right information
- Decay old memories - not everything should be forever
- Test retrieval accuracy before production
- Background memory formation beats real-time

## Capabilities

- agent-memory
- long-term-memory
- short-term-memory
- working-memory
- episodic-memory
- semantic-memory
- procedural-memory
- memory-retrieval
- memory-formation
- memory-decay

## Scope

- vector-database-operations → data-engineer
- rag-pipeline-architecture → llm-architect
- embedding-model-selection → ml-engineer
- knowledge-graph-design → knowledge-engineer

## Tooling

### Memory_frameworks

- LangMem (LangChain) - When: LangGraph agents with persistent memory Note: Semantic, episodic, procedural memory types
- MemGPT /

Frequently Asked Questions

FAQ

Is this compatible with LangChain or LangGraph?
Yes, the skill specifically integrates with LangMem and LangGraph for persistent memory types.
Who is the target audience for this skill?
It is designed for LLM Architects, ML Engineers, and Data Engineers building agentic systems.
How does this differ from standard RAG?
Unlike standard RAG which focuses on retrieval, this covers the full cognitive architecture including episodic and procedural memory.
Does it support multiple programming languages?
While the concepts are language-agnostic, the implementation patterns are optimized for Python-based AI frameworks.
What are the expected results of implementation?
You can expect higher retrieval accuracy, reduced context window noise, and agents that exhibit long-term learning.

Discussion

Discussion

0 comments
U

Trigger Phrases

Use these phrases to activate this skill in your AI coding assistant:

persistent agent memorycognitive architecture for agentsvector store retrievalepisodic memory implementationagentic context management