memory-context

Integrate vector-based memory with knowledge graphs for multi-session conversation context.

Updated Apr 8, 2026
One-click install
npx skills add https://github.com/bmsull560/Fabric_4L --skill memory-context-bmsull560
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: memory-context
Source: https://github.com/bmsull560/Fabric_4L/tree/main/.windsurf/skills/memory-context
Command: npx skills add https://github.com/bmsull560/Fabric_4L --skill memory-context-bmsull560

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

MemoryContext integrates a vector store with a knowledge graph to preserve and retrieve conversation context across sessions, enabling robust long-term memory for agents.

Core Features & Use Cases

  • Vector Store Abstraction: abstracts embeddings, storage, and retrieval for semantic memory.
  • Graph Context Retrieval: queries the knowledge graph to fetch entity neighborhoods and relationships for richer context.
  • Context Window Management: manages token budgets and prioritizes recent or salient memories for on-demand reasoning.
  • Cross-Session Memory: persists user and tenant-specific facts and preferences for continuity.

Quick Start

Instantiate SemanticMemory with your vector store and graph, then begin remembering and recalling conversations.

Frequently Asked Questions about memory-context

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I preserve conversation context across multiple sessions for AI agents?

Cross-session context is preserved by integrating a vector store with a knowledge graph to persist user-specific facts and preferences, enabling robust long-term memory for agents. This approach maintains continuity by retrieving semantic memory and entity relationships on demand.

What is the best way to retrieve entity relationships for richer conversation context?

Graph context retrieval queries the knowledge graph to fetch entity neighborhoods and relationships, providing richer context for on-demand reasoning. This method supplements semantic memory by mapping connections between stored facts and entities.

How do I manage token budgets when recalling long-term memory for agents?

Context window management handles token budgets by prioritizing recent or salient memories during retrieval. This ensures the agent receives relevant information from the vector store without exceeding the maximum token limit.

Does cross-tenant memory work within enterprise knowledge graphs?

Yes, cross-tenant memory applies within enterprise knowledge graphs to persist tenant-specific facts and preferences. The system uses a vector store abstraction with safe defaults and validation to maintain separation while preserving context.

How do I set up semantic memory with a vector store and graph?

To set up semantic memory, instantiate the memory module with your chosen vector store and graph components, then begin remembering and recalling conversations. This abstraction handles embeddings, storage, and retrieval automatically.