返回 Skill 列表
extension
分类: 内容与媒体无需 API Key

agent-memory-systems

记忆是智能代理的基石。没有它,每次互动都得从零开始。这项技能涵盖了代理记忆的架构:短期(上下文窗口)、长期(向量存储)以及组织它们的认知架构。关键见解:记忆不仅仅是存储——它是检索。即使存储了一百万个事实,如果你找不到正确的那一个,这些事实也没有意义。分块、嵌入和检索策略决定了你的代理是否记得或忘记。这个领域是零碎的

person作者: jakexiaohubgithub

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

| Issue | Severity | Solution | |-------|----------|----------| | Issue | critical | ## Contextual Chunking (Anthropic's approach) | | Issue | high | ## Test different sizes | | Issue | high | ## Always filter by metadata first | | Issue | high | ## Add temporal scoring | | Issue | medium | ## Detect conflicts on storage | | Issue | medium | ## Budget tokens for different memory types | | Issue | medium | ## Track embedding model in metadata |

Related Skills

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