User Memory

User memory is Sage’s long-term memory layer. It stores preferences, requirements, persona, constraints, experience, learning, and skills across sessions.

Scope

  • Unit: user_id
  • Contents: preference, requirement, persona, constraint, context, project, workflow, experience, learning, skill, note, bookmark, pattern
  • Lifecycle: cross-session and persistable via local files, MCP services, or vector storage

Runtime Components

Key Behavior

  • Core APIs: remember / recall / forget
  • Supports type-based recall
  • Auto extraction, deduplication, and updates
  • Injects system-level memory into system_context

Why It Is Memory

This is the most classic form of Agent memory. The Agent can remember, recall, and forget actively, so it is a living long-term context layer rather than static reference data.


Sage documentation for the current repository layout. Source available under the MIT license.

This site uses Just the Docs, a documentation theme for Jekyll.