MemoryStackMemoryStack/Documentation

    Welcome to Memorystack

    Memorystack is a managed semantic memory layer for AI applications. Build intelligent agents that remember conversations, learn from interactions, and provide personalized experiences—all without managing infrastructure.

    What is Memorystack?

    Memorystack automatically extracts, stores, and retrieves semantic information from conversations. Instead of building complex RAG pipelines or managing vector databases, you get a production-ready memory system that scales with your application.

    Semantic Understanding

    Automatically extracts facts, preferences, and relationships from natural language

    Managed Infrastructure

    No databases to manage, no embeddings to generate—just API calls

    Production Ready

    Built for scale with multi-tenancy, security, and reliability

    Key Features

    🧠 Automatic Memory Extraction

    Send conversations and get structured memories back. Our AI automatically identifies facts, preferences, experiences, and relationships without manual tagging.

    🔍 Semantic Search

    Retrieve relevant memories using natural language queries. Our vector search finds contextually similar information, not just keyword matches.

    👥 Multi-Tenant Architecture

    Build B2B applications with complete data isolation. Each end-user's memories are securely separated while you manage everything from one account.

    🎨 Multimodal Support

    Work with text, images, documents, and audio. Extract memories from any content type and build rich, contextual AI experiences.

    🕸️ Knowledge Graph

    Visualize relationships between entities, concepts, and memories. Understand how information connects across your entire knowledge base.

    ⚡ Production Scale

    Built on enterprise-grade infrastructure with automatic scaling, high availability, and sub-second response times.

    See It In Action

    Quick Example
    import { MemoryStackClient } from '@memorystack/sdk';
    
    const client = new MemoryStackClient({ apiKey: 'your-key' });
    
    // Add a conversation
    await client.addConversation(
      "I love TypeScript and prefer dark mode",
      "Great! TypeScript is excellent for building scalable apps."
    );
    
    // Retrieve memories
    const memories = await client.getPersonalMemories(10);
    // Returns: [
    //   { type: 'preference', content: 'User loves TypeScript' },
    //   { type: 'preference', content: 'User prefers dark mode' },
    //   { type: 'fact', content: 'TypeScript is excellent for scalable apps' }
    // ]

    That's it! No vector databases, no embedding models, no infrastructure to manage. Just simple API calls.

    Getting Started

    Core Concepts

    SDKs & Libraries

    API Reference

    Use Cases & Examples

    Resources