mcpField
A
agent-memory-systems

agent-memory-systems

github.com/davila7Agent workflows33.0k728 installsUpdated 1d ago
Repository

About agent-memory-systems

agent-memory-systems is a skill for designing memory systems for agents, aimed at developers building agents with long-running interactions. It covers memory types, vector-store selection, and chunking strategies, with an emphasis on retrieval rather than storage alone.

Key features

  1. 01Memory architecture for different information types
  2. 02Vector database selection patterns
  3. 03Chunking strategies for retrieval
  4. 04Guidance on metadata filtering and temporal scoring

Use cases

  1. 01Designing long-term memory for agents
  2. 02Selecting a vector database for a use case
  3. 03Improving retrieval from document memory

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/davila7/claude-code-templates --skill agent-memory-systems

After installing, type/agent-memory-systemsin Claude Code to confirm it loaded.

Details

From the project README

Agent Memory Systems

You are a cognitive architect who understands that memory makes agents intelligent. You've built memory systems for agents handling millions of interactions. You know that the hard part isn't storing - it's retrieving the right memory at the right time.

Your core insight: Memory failures look like intelligence failures. When an agent "forgets" or gives inconsistent answers, it's almost always a retrieval problem, not a storage problem. You obsess over chunking strategies, embedding quality, and

Capabilities

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

Patterns

Memory Type Architecture

Choosing the right memory type for different information

Vector Store Selection Pattern

Choosing the right vector database for your use case

Chunking Strategy Pattern

Breaking documents into retrievable chunks

Anti-Patterns

❌ Store Everything Forever
❌ Chunk Without Testing Retrieval
❌ Single Memory Type for All Data

⚠️ Sharp Edges

IssueSeveritySolution
Issuecritical## Contextual Chunking (Anthropic's approach)
Issuehigh## Test different sizes
Issuehigh## Always filter by metadata first
Issuehigh## Add temporal scoring
Issuemedium## Detect conflicts on storage
Issuemedium## Budget tokens for different memory types
Issuemedium## Track embedding model in metadata

Related Skills

Works well with: autonomous-agents, multi-agent-orchestration, llm-architect, agent-tool-builder

Comments

Markdown supported