본문으로 건너뛰기
cccskills
무료GitHub에 공개

agent-memory-architectures

Architect persistent, searchable memory for agents — episodic, semantic, and procedural stores with retrieval, consolidation, and forgetting policies. Use when designing how an agent remembers across sessions.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

설치 방법 보기

포함된 파일(1)

  • SKILL.md4.2 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

Persistent Memory Architectures for Agents

An agent that forgets everything between sessions can't learn, personalize, or maintain long projects. This skill covers memory as a system architecture: layered stores, retrieval pipelines, consolidation jobs, and forgetting policies — protocol- and vendor-neutral.

Overview

Think of agent memory like a data platform with three layers. The hot layer is working context: fast, exact, bounded. The warm layer is searchable episodic and semantic memory: past interactions, facts, preferences, indexed for similarity and keyword retrieval. The cold layer is consolidated knowledge: distilled playbooks, long-term project state, archived with pointers back to sources. Between layers run pipelines — consolidation (compressing hot into warm/cold) and retrieval (surfacing warm/cold into hot at decision time). Forgetting is a first-class pipeline too.

When to use

  • Designing memory for an agent that works with a user or project over weeks or months.
  • Choosing between memory approaches: flat vector store vs. layered architecture vs. structured records.
  • Debugging "the agent forgot" or "the agent remembers wrong" problems.
  • Adding personalization or long-horizon project tracking to an existing agent.

Core concepts

  • Layered stores: working (session), episodic (what happened), semantic (what's true), procedural (how to do things). Different lifetimes, different retrieval, different update rules.
  • Memory records: structured entries — content, type, timestamp, source, confidence, expiry — not raw text blobs. Structure enables precise retrieval and updates.
  • Hybrid retrieval: combine semantic similarity, keyword matching, recency, and type filters. Pure vector search misses exact facts; pure keyword misses paraphrases.
  • Consolidation pipeline: scheduled jobs that turn session transcripts into durable records — extract facts, resolve entities, merge duplicates, update confidences.
  • Conflict resolution: when new information contradicts stored memory, update the record (with provenance) rather than appending a contradiction.
  • Forgetting policies: TTLs per memory type, confidence decay on disuse, explicit user deletion. Stale memory is worse than no memory.
  • Access control: memories have owners and visibility scopes. Personal facts stay private; project facts stay in the project.

Practical workflow

  1. Define the memory schema: record types, fields, and which layer each type lives in.
  2. Build the write path: session-end consolidation that extracts structured records from raw interaction.
  3. Build the read path: hybrid retrieval that injects a compact, ranked memory brief into working context.
  4. Implement conflict handling: detect contradictions, update with provenance, keep a change history.
  5. Set forgetting policies per type: session trivia expires fast; user preferences persist; project facts expire with the project.
  6. Give users inspection and deletion: a memory browser beats a black box for trust and correctness.
Memory record schema:
{id, type: episodic|semantic|procedural,
 content: "...", entities: [...],
 source: <session/transcript pointer>,
 confidence: 0-1, created: <ts>, updated: <ts>,
 expires: <ts|null>, owner: <user|project>}

Common pitfalls

  • Flat vector store for everything: one undifferentiated pile. Layer and type your memory; retrieval quality depends on it.
  • No consolidation: raw transcripts piled into the store. Distill before storing or retrieval drowns in noise.
  • Append-only updates: contradictions accumulate. Update and version records; keep provenance.
  • Retrieval without ranking: injecting the top-k by similarity alone. Blend similarity, recency, type relevance, and confidence.
  • Ignoring privacy: storing sensitive facts without scoping or deletion. Memory systems need access control and purge paths.
  • No forgetting: everything remembered forever. Design expiry from day one — it's harder to retrofit.

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

Master 1Password: vaults, Watchtower, passkeys, SSH agent, CLI, and family/team administration. Use when getting full value from 1Password personally or administering it for others.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

aicodedecode/awesome-muse-skills242026년 10월 10일 업데이트

Create 3D visuals with modeling, texturing, lighting, rendering, and optimization for web and product.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

aicodedecode/awesome-muse-skills242026년 10월 10일 업데이트

Create 3D web experiences: scene setup, models, materials, lighting, animation, scroll-driven scenes, and performance budgets. Use when adding 3D to websites beyond basic demos.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

aicodedecode/awesome-muse-skills242026년 10월 10일 업데이트

Writing abstracts that get papers read — structured content, the 5-sentence core, and journal-specific constraints.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

aicodedecode/awesome-muse-skills242026년 10월 10일 업데이트

Learn effectively from courses and academies: choosing programs, studying actively, and converting courses into skills. Use when investing time/money in structured learning.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

aicodedecode/awesome-muse-skills242026년 10월 10일 업데이트

Audit designs for accessibility with WCAG checklists covering color, type, focus, motion, and content.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

aicodedecode/awesome-muse-skills242026년 10월 10일 업데이트

aicodedecode의 스킬 모두 보기

이 스킬의 문제 신고