Agentic AI Atlasby a5c.ai
OverviewWikiGraphFor AgentsEdgesSearchWorkspace
/
GitHubDocsDiscord
i.2Wiki
Agentic AI Atlas · Supermemory Deep Research
docs/supermemory-researcha5c.ai
Search the atlas/
Wiki · section map

Trail and section pages

I.In this sectionpp. 1 - 1
Supermemory Integration PlanSupermemory Layer Analysis
I.
Wiki article

docs/supermemory-research

Reading · 5 min

Supermemory Deep Research guide

Supermemory is a cloud memory engine and context layer for AI agents, ranking 1

Page nodewiki/docs/supermemory-research/README.mdSection pages · 2Documents · 0

Pages in this section

Start with the section hub, then move sideways into adjacent pages when you need more detail.

Supermemory Integration Plan

Page

Concrete next steps for integrating Supermemory as a memory backend for the

wiki/docs/supermemory-research/integration-plan.md

Supermemory Layer Analysis

Page

Deep analysis of Supermemory through the agentic layer lens, mapping its capabilities

wiki/docs/supermemory-research/layer-analysis.md

Supermemory Deep Research

Executive Summary

Supermemory is a cloud memory engine and context layer for AI agents, ranking #1 on all three major AI memory benchmarks (LongMemEval, LoCoMo, ConvoMem). It provides automatic memory extraction, a knowledge graph with relationship tracking, user profile synthesis, hybrid search (RAG + semantic memory), and multi-modal content processing. Its most distinctive feature is SMFS (Semantic Memory File System), which exposes memory containers as mountable directories where grep becomes semantic search and cat profile.md returns a live-synthesized digest.

Supermemory addresses critical gaps in our current genty memory stack: we have no semantic search, no contradiction resolution, no knowledge graph relationships, no multi-modal extraction, and no user profile synthesis. Our memory pipeline (memoryExtraction.ts + memoryConsolidation.ts) uses Jaccard word-set similarity for deduplication and filter-based retrieval -- effective for small memory stores but fundamentally limited compared to Supermemory's approach.

**Recommendation**: Integrate Supermemory as the memory backend for genty agent runs via SMFS (filesystem mount for local, virtual bash tool for serverless). This provides semantic memory transparently without requiring agents to learn new tools.

Architecture Comparison

Our Memory Stack

Code
                    genty memory architecture
                    -------------------------

  Session Messages
        |
        v
  extractMemoriesFromSession()     -- LLM extracts MemoryEntry objects
        |                             (category, confidence, tags)
        v
  persistMemories()                -- Append to long-term-memory.json
        |                             (max 500 entries, dedup by ID)
        v
  consolidateMemories()            -- Jaccard similarity dedup (0.4 threshold)
        |                             Rank by confidence + recency
        v                             Prune to 200 entries
  queryMemories()                  -- Filter by category / tags / limit
        |
        v
  crossRunState.ts                 -- Key-value JSON store for orchestration state

**Strengths**: Fully local, instant latency, offline-capable, simple model.

**Weaknesses**: No semantic search, no contradiction handling, no relationship tracking, no multi-modal support, filter-only retrieval, manual extraction, static deduplication heuristic.

Supermemory Architecture

Code
                    supermemory architecture
                    -----------------------

  Content (text/files/URLs/images/video)
        |
        v
  POST /v3/documents               -- Ingest with containerTag + metadata
        |
        v
  Processing Pipeline              -- Queued -> Extracting -> Chunking
        |                             -> Embedding -> Indexing -> Done
        v
  Knowledge Graph                  -- Update (supersedes)
        |                             Extend (enriches)
        |                             Derive (infers)
        v
  Three Retrieval Paths:
    1. Memory API                  -- Evolved user facts, temporal awareness
    2. User Profiles               -- Static + dynamic digest (~50ms)
    3. RAG Search                  -- Semantic + metadata filtering
        |
        v
  SMFS Interface                   -- Mount as directory
        |                             grep = semantic search
        |                             cat profile.md = live digest
        v
  MCP Server                      -- addMemory, search, getProjects, whoAmI

**Strengths**: Semantic search, knowledge graph, contradiction resolution, temporal decay, multi-modal, user profiles, benchmark-proven accuracy.

**Weaknesses**: Requires network, cloud dependency, latency overhead (~50ms minimum), cost per query.

Feature Parity Matrix

FeatureGenty (Current)SupermemoryStatus
Memory extractionLLM-extracted MemoryEntryAutomatic from any contentPartial
Memory storageLocal JSON fileCloud knowledge graphDifferent
Semantic searchNoneCore featureGap
Keyword/filter retrievalCategory + tagsMetadata filteringParity
Contradiction resolutionNoneAutomatic via Update relationsGap
Temporal decayManual prune by countBrain-inspired decay curvesGap
Knowledge relationshipsNoneUpdate / Extend / DeriveGap
Multi-modal extractionNonePDF, image (OCR), video, codeGap
User profile synthesisNoneStatic + dynamic digestGap
Cross-run stateKey-value JSON storeContainer persistenceParity
DeduplicationJaccard similarity (0.4)Knowledge graph dedupPartial
Offline operationFullNone (cloud-only)Our advantage
Retrieval latency~0ms (local JSON)~50ms (cloud API)Our advantage
Max memory entries200-500BillionsGap
MCP integrationClient (consumer)Server (provider)Complementary
Filesystem interfaceNoneSMFS (NFS/FUSE mount)Gap
ConnectorsNone7 (GitHub, Gmail, Drive, etc.)Gap
Framework integrationsInternal only15+ (LangChain, CrewAI, etc.)Gap
BenchmarkingNoneMemoryBench frameworkGap
CostFree (local compute)API pricingOur advantage

Integration Strategy

Preferred: SMFS as Transparent Memory Backend

The recommended integration path is SMFS, which provides semantic memory through standard filesystem operations. This requires no changes to agent prompts or tool definitions -- agents already know how to ls, cat, grep, and echo >.

**For local runs** (development, CI): Mount SMFS at run start.

bash
smfs mount "babysitter-${userId}-${projectId}" \
  --memory-paths "/decisions/,/findings/,/patterns/,/architecture/"

**For serverless runs** (Kradle, Lambda): Use the virtual bash tool.

typescript
import { createBash } from "@supermemory/bash";
const { bash } = await createBash({
  apiKey: process.env.SUPERMEMORY_API_KEY,
  containerTag: `run-${userId}-${projectId}`,
});

Complementary: REST API for Orchestrator

The orchestrator (genty-platform) uses the REST API for structured operations:

  • **Run start**: client.profile() to inject cross-run context into system prompt
  • **Run end**: client.add() to persist run outcomes as memories
  • **Search**: client.search.memories() for targeted retrieval with metadata filters

Not Replaced: crossRunState.ts

The cross-run state store handles structured orchestration state (checkpoints, phases, counters). This is a state machine concern, not a memory concern. Supermemory does not replace it.

Not Replaced: Local-Only Mode

For air-gapped or offline deployments, the existing memoryExtraction.ts + memoryConsolidation.ts pipeline remains available as the local-only memory backend. The integration should be additive, not a replacement.

Related Files

  • Raw documentation: docs/supermemory-research/raw/
  • Layer analysis: docs/supermemory-research/layer-analysis.md
  • Integration plan: docs/supermemory-research/integration-plan.md
  • Atlas graph nodes: packages/atlas/graph/agent-stack/supermemory/

Trail

Wiki
Babysitter Docs

Supermemory Deep Research

In this section

Supermemory Integration Plan
Supermemory Layer Analysis

Page record

Open node ledger

wiki/docs/supermemory-research/README.md

Documents

No documented graph nodes on this page.