agent-memory-systems

记忆是智能体的基石。没有记忆,每一次交互都需从零开始。本节技能涵盖智能体记忆架构:短期记忆(上下文窗口)、长期记忆(向量数据库),以及组织这些记忆的认知架构。核心洞见在于:记忆不仅是存储,更是检索。若无法准确提取信息,存储百万条事实也毫无意义。分块处理、嵌入技术与检索策略共同决定了智能体能否有效记忆而非遗忘。当前该领域仍处于碎片化发展阶段——

查看详情
name:agent-memory-systemsdescription:"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 fragm"source:vibeship-spawner-skills (Apache 2.0)

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