본문으로 건너뛰기
Skillpedia
에이전트48k · #5197

memory-systems

하는 일

이 스킬은 AI를 위한 여러 유형의 「기억」을 설계하도록 돕습니다. 이를 통해 AI가 시간이 지나고 여러 대화에 걸쳐서도 중요한 정보를 기억하게 되어, 더 똑똑하고 일관되게 만듭니다.

사용하는 경우

  • ✓AI가 서로 다른 대화에 걸쳐 무언가를 기억하기를 원할 때.
  • ✓사람이나 사물(엔티티)에 대한 세부 사항을 AI가 일관되게 기억하도록 할 때.
  • ✓과거 상호작용에서 배우는 시스템을 만들 때.

스킬 링크

https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/memory-systems/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/memory-systems/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“AI가 어제 우리가 나눈 이야기를 기억하게 하려면 어떻게 해야 하나요?”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

이 스킬은 AI가 정보를 저장하는 방식을 설계할 수 있게 합니다. 단기 기억(짧은 기억 같은) 또는 지식 그래프나 데이터베이스 같은 더 오래 가는 기억을 사용해, 필요할 때 정보에 접근할 수 있습니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

When to Use This Skill

Design short-term, long-term, and graph-based memory architectures

Use this skill when working with design short-term, long-term, and graph-based memory architectures.

Memory System Design

Memory provides the persistence layer that allows agents to maintain continuity across sessions and reason over accumulated knowledge. Simple agents rely entirely on context for memory, losing all state when sessions end. Sophisticated agents implement layered memory architectures that balance immediate context needs with long-term knowledge retention. The evolution from vector stores to knowledge graphs to temporal knowledge graphs represents increasing investment in structured memory for improved retrieval and reasoning.

When to Use

Activate this skill when:

  • Building agents that must persist across sessions
  • Needing to maintain entity consistency across conversations
  • Implementing reasoning over accumulated knowledge
  • Designing systems that learn from past interactions
  • Creating knowledge bases that grow over time
  • Building temporal-aware systems that track state changes

Core Concepts

Memory exists on a spectrum from immediate context to permanent storage. At one extreme, working memory in the context window provides zero-latency access but vanishes when sessions end. At the other extreme, permanent storage persists indefinitely but requires retrieval to enter context.

Simple vector stores lack relationship and temporal structure. Knowledge graphs preserve relationships for reasoning. Temporal knowledge graphs add validity periods for time-aware queries. Implementation choices depend on query complexity, infrastructure constraints, and accuracy requirements.

Detailed Topics

Memory Architecture Fundamentals

The Context-Memory Spectrum Memory exists on a spectrum from immediate context to permanent storage. At one extreme, working memory in the context window provides zero-latency access but vanishes when sessions end. At the other extreme, permanent storage persists indefinitely but requires retrieval to enter context. Effective architectures use multiple layers along this spectrum.

The spectrum includes working memory (context window, zero latency, volatile), short-term memory (session-persistent, searchable, volatile), long-term memory (cross-session persistent, structured, semi-permanent), and permanent memory (archival, queryable, permanent). Each layer has different latency, capacity, and persistence characteristics.

Why Simple Vector Stores Fall Short Vector RAG provides semantic retrieval by embedding queries and documents in a shared embedding space. Similarity search retrieves the most semantically similar documents. This works well for document retrieval but lacks structure for agent memory.

Vector stores lose relationship information. If an agent learns that "Customer X purchased Product Y on Date Z," a vector store can retrieve this fact if asked directly. But it cannot answer "What products did customers who purchased Product Y also buy?" because relationship structure is not preserved.

Vector stores also struggle with temporal validity. Facts change over time, but vector stores provide no mechanism to distinguish "current fact" from "outdated fact" except through explicit metadata and filtering.

The Move to Graph-Based Memory Knowledge graphs preserve relationships between entities. Instead of isolated document chunks, graphs encode that Entity A has Relationship R to Entity B. This enables queries that traverse relationships rather than just similarity.

Temporal knowledge graphs add validity periods to facts. Each fact has a "valid from" and optionally "valid until" timestamp. This enables time-travel queries that reconstruct knowledge at specific points in time.

Benchmark Performance Comparison The Deep Memory Retrieval (DMR) benchmark provides concrete performance data across memory architectures:

Memory System DMR Accuracy Retrieval Latency Notes
Zep (Temporal KG) 94.8% 2.58s Best accuracy, fast retrieval
MemGPT 93.4% Variable Good general performance
GraphRAG ~75-85% Variable 20-35% gains over baseline RAG
Vector RAG ~60-70% Fast Loses relationship structure
Recursive Summarization 35.3% Low Severe information loss

…

자주 묻는 질문

AI의 단기 기억과 장기 기억의 차이는 무엇인가요?

단기 기억은 하루의 기억과 같아서 대화가 진행되는 동안만 유지되고 그 뒤에는 사라집니다. 장기 기억은 보관소와 같아서 대화가 끝난 뒤에도 오래 정보를 저장합니다.

왜 「지식 그래프」를 쓰나요?

지식 그래프는 AI가 정보 사이의 연결을 이해하도록 돕습니다. 예를 들어 「누가 누구를 아는지」나 「무엇이 무엇과 관련되는지」를 파악해 더 복잡한 추론을 가능하게 합니다.

「메모리 아키텍처」란 무엇인가요?

AI를 위해 정보를 정리하고 저장하는 여러 방식입니다. 단기 기억과 장기 기억을 결합해 정보 접근과 일관성을 최적화합니다.

상세 정보

작성자의 원본 설명

Design short-term, long-term, and graph-based memory architectures. Use when building agents that must persist across sessions, needing to maintain entity consistency across conversations, or implementing reasoning over accumulated knowledge.

repo: sickn33/agentic-awesome-skills

인기도

GitHub 스타
48k
순위
#5197
라이선스
MIT
업데이트
2026. 10. 15.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬