Agent Memory Systems Skill · Data Ai

Architecting Intelligent Agent Memory Systems

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

Solve agent forgetting with retrieval-first strategies. Start building today!

  • Cognitive Architecture
  • Vector Databases
  • RAG Pipelines
  • Agentic Workflows
  • Memory Decay

About This Skill

This skill provides a deep dive into the 3 essential layers of agent memory: short-term context, long-term vector stores, and the CoALA cognitive architecture framework.

Quick Start

  1. 1Define your memory scope (semantic, episodic, or procedural)
  2. 2Configure your vector database for long-term storage
  3. 3Implement a retrieval-first chunking strategy
Example Command
agent-mem init --type coala --storage vector

Core Capabilities

agent-memory

Foundational architecture for managing agent state and persistence.

long-term-memory

Implementation of vector stores and permanent knowledge retrieval.

short-term-memory

Optimizing the context window for immediate task execution.

working-memory

Managing active computational processes and transient data.

Usage Examples

Before

Agent forgets user name in the next session (stateless).

After

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

Before

Massive chunks lead to noisy retrieval and high token costs.

After

Strategic chunking improves retrieval accuracy and precision.

Before

Agent treats every interaction as a brand new event.

After

Agent references 'that time we discussed X' to build rapport.

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 covers LangMem and LangGraph agent persistence.
Who is the target audience for this skill?
It is designed for AI Engineers, LLM Architects, and Data Engineers building autonomous agents.
How does this differ from standard RAG?
While RAG focuses on retrieval, this skill covers the full cognitive architecture, including episodic and procedural memory types.
Does it support different language models?
Yes, the architecture is model-agnostic, focusing on the retrieval and storage layers.
What are the expected results of implementing these systems?
You can expect higher retrieval accuracy, reduced agent 'forgetting', and more coherent long-term agent behavior.

Discussion

Discussion

0 comments
U

Trigger Phrases

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

agent memory architecturepersistent agent statecognitive architecture frameworkvector store retrievalcontext window optimization