Repository Analysis

supermemoryai/supermemory

Memory and context engine + app that is extremely fast, scalable, and can be run fully locally. The Memory API for the AI era.

4.2 Likely human-written View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of supermemoryai/supermemory, a TypeScript project with 28,372 GitHub stars. SynthScan v2.0 examined 137,174 lines of code across 630 source files, recording 391 pattern matches distributed across 16 syntactic categories. The overall adjusted score of 4.2 places this repository in the Likely human-written band.

The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).

4.2
Adjusted Score
4.2
Raw Score
100%
Time Factor
2026-07-14
Last Push
28.4K
Stars
TypeScript
Language
137.2K
Lines of Code
630
Files
391
Pattern Hits
2026-07-14
Scan Date
0.05
HC Hit Rate

What These Metrics Mean

Adjusted Score
Primary synthetic code indicator. Raw score normalised per 1,000 lines of code and multiplied by the temporal discount factor. This is the definitive comparative metric — use it to rank repositories by AI authorship density.
Raw Score
The unmodified sum of all severity-weighted, context-multiplied pattern match scores before temporal discounting. Reflects the absolute signal strength independent of when the repository was last active.
Time Factor
The temporal discount multiplier (0–100%) applied to the raw score. Repositories last updated before ChatGPT's launch (Nov 2022) receive a 5% factor. Full signal is only assigned to repositories active in the post-adoption era (Jan 2024+).
Pattern Hits
Total count of individual pattern matches across all files and categories. A high hit count with a low score may indicate a very large codebase with isolated AI snippets; a low count with a high score indicates dense, concentrated AI signatures.
HC Hit Rate
High+Critical pattern hits per file, averaged across the repository. This orthogonal signal catches repositories where a few files are densely packed with high-severity AI tells — a strong indicator even when the normalised score appears moderate due to codebase size.
Lines of Code / Files
Total lines and files analysed. The scanner examines 94 file extensions. These denominators are used to normalise the score, enabling fair comparison between repositories of vastly different sizes.

Score History

This chart maps the temporal evolution of the adjusted synthetic code score across successive scan runs. An upward trajectory indicates ongoing incorporation of AI-generated code or expanding LLM-assisted scaffolding; a stable or declining trajectory may reflect active human refactoring, code removal, or the adoption of stricter authorship policies. The dashed secondary line (right axis) independently tracks total raw pattern hit count, which can diverge from the normalised score when codebase size changes significantly between scans.

Severity Breakdown

Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.

CRITICAL 0HIGH 32MEDIUM 14LOW 345

Directory Score Breakdown

This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.

Pattern Findings

The scanner identified 391 distinct pattern matches across 16 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.

Reading the findings table: The Severity column indicates the diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.

Hyper-Verbose Identifiers153 hits · 160 pts
SeverityFileLineSnippetContext
LOWpackages/ui/components/chart.tsx308function getPayloadConfigFromPayload(CODE
LOWpackages/tools/test/claude-memory-real-example.ts16export async function handleClaudeMemoryToolCall(CODE
LOWpackages/tools/src/mastra/processor.ts351export function createSupermemoryProcessor(CODE
LOWpackages/tools/src/mastra/processor.ts383export function createSupermemoryOutputProcessor(CODE
LOWpackages/tools/src/mastra/processor.ts420export function createSupermemoryProcessors(CODE
LOWpackages/tools/src/openai/tools.ts235export function createSearchMemoriesFunction(CODE
LOWpackages/tools/src/openai/tools.ts350export function createDocumentListFunction(CODE
LOWpackages/tools/src/openai/tools.ts391export function createDocumentDeleteFunction(CODE
LOWpackages/tools/src/openai/tools.ts421export function createDocumentAddFunction(CODE
LOWpackages/tools/src/openai/tools.ts463export function createMemoryForgetFunction(CODE
LOWpackages/agent-framework-python/tests/test_utils.py29 def test_deduplication_priority(self) -> None:CODE
LOWpackages/agent-framework-python/tests/test_utils.py47 def test_empty_strings_filtered(self) -> None:CODE
LOW…ckages/agent-framework-python/tests/test_middleware.py93 def test_uses_connection_client(self) -> None:CODE
LOW…ckages/agent-framework-python/tests/test_middleware.py98 def test_conversation_id_from_connection(self) -> None:CODE
LOW…ckages/agent-framework-python/tests/test_middleware.py104 def test_auto_generated_conversation_id(self) -> None:CODE
LOW…ckages/agent-framework-python/tests/test_middleware.py110 def test_entity_context_from_connection(self) -> None:CODE
LOW…ckages/agent-framework-python/tests/test_connection.py18 def test_accepts_api_key_param(self) -> None:CODE
LOW…ckages/agent-framework-python/tests/test_connection.py27 def test_default_container_tag(self) -> None:CODE
LOW…ckages/agent-framework-python/tests/test_connection.py31 def test_custom_container_tag(self) -> None:CODE
LOW…ckages/agent-framework-python/tests/test_connection.py35 def test_auto_generates_conversation_id(self) -> None:CODE
LOW…ckages/agent-framework-python/tests/test_connection.py41 def test_custom_conversation_id(self) -> None:CODE
LOW…ckages/agent-framework-python/tests/test_connection.py53 def test_entity_context_default_none(self) -> None:CODE
LOW…ckages/agent-framework-python/tests/test_connection.py57 def test_shared_client_instance(self) -> None:CODE
LOW…/agent-framework-python/tests/test_context_provider.py21 def test_uses_connection_client(self) -> None:CODE
LOW…/agent-framework-python/tests/test_context_provider.py43 def test_store_conversations_default(self) -> None:CODE
LOW…/agent-framework-python/tests/test_context_provider.py48 def test_conversation_id_from_connection(self) -> None:CODE
LOW…/agent-framework-python/tests/test_context_provider.py54 def test_entity_context_from_connection(self) -> None:CODE
LOWpackages/agent-framework-python/tests/test_tools.py15 def test_create_tools_instance(self) -> None:CODE
LOWpackages/agent-framework-python/tests/test_tools.py20 def test_create_tools_with_custom_tag(self) -> None:CODE
LOWpackages/agent-framework-python/tests/test_tools.py25 def test_get_tools_returns_list(self) -> None:CODE
LOWpackages/agent-framework-python/tests/test_tools.py41 def test_uses_connection_client(self) -> None:CODE
LOWpackages/agent-framework-python/tests/test_tools.py46 def test_shares_custom_id_with_connection(self) -> None:CODE
LOW…on/src/supermemory_agent_framework/context_provider.py240 def _extract_query_from_context(self, context: Any) -> str:CODE
LOW…on/src/supermemory_agent_framework/context_provider.py281 def _extract_conversation_from_context(self, context: Any) -> str:CODE
LOW…mework-python/src/supermemory_agent_framework/utils.py136def convert_profile_to_markdown(data: dict[str, Any]) -> str:CODE
LOW…k-python/src/supermemory_agent_framework/middleware.py72def _get_conversation_content(messages: Any) -> str:CODE
LOW…k-python/src/supermemory_agent_framework/middleware.py359 async def wait_for_background_tasks(CODE
LOWpackages/memory-graph/src/canvas/renderer.ts29function nodeMatchesDocumentHighlights(CODE
LOWpackages/memory-graph/src/canvas/renderer.ts130function applyRelationLevelOfDetail(CODE
LOWpackages/memory-graph/src/hooks/use-graph-data.ts114export function computeClusterAssignments(CODE
LOWpackages/memory-graph/src/hooks/use-graph-data.ts205function getDocumentClusterAssignment(CODE
LOWpackages/pipecat-sdk-python/tests/test_empty_profile.py109 async def test_retrieve_memories_handles_null_profile(self) -> None:CODE
LOW…/pipecat-sdk-python/src/supermemory_pipecat/service.py187 def _enhance_context_with_memories(CODE
LOWpackages/docs-test/tests/python/user_profiles.py26def test_profile_with_memories():CODE
LOWpackages/docs-test/tests/integrations/openai-sdk.py8def test_openai_with_supermemory():CODE
LOW…ckages/cartesia-sdk-python/tests/test_empty_profile.py54 async def test_retrieve_memories_handles_null_profile(self) -> None:CODE
LOW…/cartesia-sdk-python/src/supermemory_cartesia/agent.py294 def _extract_conversation_from_history(self, history: list) -> List[Dict[str, str]]:CODE
LOW…/cartesia-sdk-python/src/supermemory_cartesia/agent.py343 async def _enrich_event_with_memories(self, event: Any) -> tuple[Any, Optional[str]]:CODE
LOWpackages/openai-sdk-python/tests/test_middleware.py79def mock_supermemory_response():CODE
LOWpackages/openai-sdk-python/tests/test_middleware.py103 def test_with_supermemory_basic(self, mock_openai_client):CODE
LOWpackages/openai-sdk-python/tests/test_middleware.py118 def test_with_supermemory_with_options(self, mock_openai_client):CODE
LOWpackages/openai-sdk-python/tests/test_middleware.py136 def test_missing_api_key_raises_error(self, mock_openai_client):CODE
LOWpackages/openai-sdk-python/tests/test_middleware.py148 def test_wrapper_delegates_attributes(self, mock_openai_client):CODE
LOWpackages/openai-sdk-python/tests/test_middleware.py167 async def test_memory_injection_profile_mode(CODE
LOWpackages/openai-sdk-python/tests/test_middleware.py208 async def test_memory_injection_query_mode(CODE
LOWpackages/openai-sdk-python/tests/test_middleware.py241 async def test_memory_injection_full_mode(CODE
LOWpackages/openai-sdk-python/tests/test_middleware.py279 async def test_existing_system_prompt_enhancement(CODE
LOWpackages/openai-sdk-python/tests/test_middleware.py322 async def test_empty_memories_do_not_modify_messages(CODE
LOWpackages/openai-sdk-python/tests/test_middleware.py384 async def test_add_memory_always_mode(CODE
LOWpackages/openai-sdk-python/tests/test_middleware.py418 async def test_add_memory_never_mode(CODE
93 more matches not shown…
Magic Placeholder Names30 hits · 158 pts
SeverityFileLineSnippetContext
HIGHpackages/tools/test/claude-memory-examples.ts249 -H "Authorization: Bearer YOUR_API_KEY" \\CODE
HIGHpackages/tools/test/claude-memory-examples.ts265 -H "Authorization: Bearer YOUR_API_KEY" \\CODE
HIGHpackages/tools/test/claude-memory-examples.ts276 -H "Authorization: Bearer YOUR_API_KEY" \\CODE
HIGHpackages/tools/test/claude-memory-examples.ts287 -H "Authorization: Bearer YOUR_API_KEY" \\CODE
HIGHpackages/tools/test/claude-memory-examples.ts301 -H "Authorization: Bearer YOUR_API_KEY"CODE
HIGHpackages/agent-framework-python/README.md236 api_key="your-api-key",CODE
HIGHpackages/agent-framework-python/README.md260 api_key="your-api-key", # Or set SUPERMEMORY_API_KEY env varCODE
HIGHpackages/agent-framework-python/README.md282 api_key="your-api-key", # Or set SUPERMEMORY_API_KEY env varCODE
HIGHpackages/docs-test/tests/integrations/ai-sdk.ts90 const tools = supermemoryTools("YOUR_API_KEY")CODE
HIGHpackages/openai-sdk-python/README.md272search_tool = create_search_memories_tool("your-api-key")CODE
HIGHpackages/openai-sdk-python/README.md273add_tool = create_add_memory_tool("your-api-key")CODE
HIGHpackages/openai-sdk-python/README.md274fetch_tool = create_fetch_memory_tool("your-api-key")CODE
HIGHpackages/ai-sdk/README.md187const tools = supermemoryTools('your-api-key', {CODE
HIGHpackages/ai-sdk/README.md236const searchTool = searchMemoriesTool('your-api-key', {CODE
HIGHskills/supermemory/references/api-reference.md16Authorization: Bearer YOUR_API_KEYCODE
HIGHskills/supermemory/references/api-reference.md34Authorization: Bearer YOUR_API_KEYCODE
HIGHskills/supermemory/references/api-reference.md52 -H "Authorization: Bearer YOUR_API_KEY" \CODE
HIGHskills/supermemory/references/api-reference.md114Authorization: Bearer YOUR_API_KEYCODE
HIGHskills/supermemory/references/api-reference.md165 -H "Authorization: Bearer YOUR_API_KEY" \CODE
HIGHskills/supermemory/references/api-reference.md237Authorization: Bearer YOUR_API_KEYCODE
HIGHskills/supermemory/references/api-reference.md255 -H "Authorization: Bearer YOUR_API_KEY" \CODE
HIGHskills/supermemory/references/api-reference.md392 -H "Authorization: Bearer YOUR_API_KEY" \CODE
HIGHskills/supermemory/references/api-reference.md474 -H "Authorization: Bearer YOUR_API_KEY" \CODE
HIGHskills/supermemory/references/api-reference.md481 -H "Authorization: Bearer YOUR_API_KEY"CODE
HIGHskills/supermemory/references/api-reference.md504 -H "Authorization: Bearer YOUR_API_KEY" \CODE
HIGHskills/supermemory/references/api-reference.md520 -H "Authorization: Bearer YOUR_API_KEY" \CODE
HIGHskills/supermemory/references/api-reference.md537 -H "Authorization: Bearer YOUR_API_KEY" \CODE
HIGHskills/supermemory/references/api-reference.md564 -H "Authorization: Bearer YOUR_API_KEY" \CODE
HIGHapps/web/components/connect-ai-modal.tsx669 manualApiKey || "your-api-key-here",CODE
HIGHapps/web/components/mcp-modal/mcp-detail-view.tsx521 const snippet = buildMcpUrlRemoteJson("your-api-key-here")CODE
Unused Imports85 hits · 78 pts
SeverityFileLineSnippetContext
LOWpackages/agent-framework-python/tests/test_utils.py5CODE
LOW…ckages/agent-framework-python/tests/test_middleware.py3CODE
LOW…/agent-framework-python/tests/test_context_provider.py3CODE
LOWpackages/agent-framework-python/tests/test_tools.py3CODE
LOW…on/src/supermemory_agent_framework/context_provider.py10CODE
LOW…ork-python/src/supermemory_agent_framework/__init__.py3CODE
LOW…ork-python/src/supermemory_agent_framework/__init__.py7CODE
LOW…ork-python/src/supermemory_agent_framework/__init__.py7CODE
LOW…ork-python/src/supermemory_agent_framework/__init__.py7CODE
LOW…ork-python/src/supermemory_agent_framework/__init__.py7CODE
LOW…ork-python/src/supermemory_agent_framework/__init__.py14CODE
LOW…ork-python/src/supermemory_agent_framework/__init__.py14CODE
LOW…ork-python/src/supermemory_agent_framework/__init__.py19CODE
LOW…ork-python/src/supermemory_agent_framework/__init__.py23CODE
LOW…ork-python/src/supermemory_agent_framework/__init__.py23CODE
LOW…ork-python/src/supermemory_agent_framework/__init__.py23CODE
LOW…ork-python/src/supermemory_agent_framework/__init__.py23CODE
LOW…ork-python/src/supermemory_agent_framework/__init__.py23CODE
LOW…ork-python/src/supermemory_agent_framework/__init__.py31CODE
LOW…ork-python/src/supermemory_agent_framework/__init__.py31CODE
LOW…ork-python/src/supermemory_agent_framework/__init__.py31CODE
LOW…ork-python/src/supermemory_agent_framework/__init__.py31CODE
LOW…ork-python/src/supermemory_agent_framework/__init__.py31CODE
LOW…ork-python/src/supermemory_agent_framework/__init__.py31CODE
LOWpackages/pipecat-sdk-python/tests/test_empty_profile.py1CODE
LOW…pipecat-sdk-python/src/supermemory_pipecat/__init__.py28CODE
LOW…pipecat-sdk-python/src/supermemory_pipecat/__init__.py28CODE
LOW…pipecat-sdk-python/src/supermemory_pipecat/__init__.py28CODE
LOW…pipecat-sdk-python/src/supermemory_pipecat/__init__.py28CODE
LOW…pipecat-sdk-python/src/supermemory_pipecat/__init__.py28CODE
LOW…pipecat-sdk-python/src/supermemory_pipecat/__init__.py28CODE
LOW…pipecat-sdk-python/src/supermemory_pipecat/__init__.py36CODE
LOW…pipecat-sdk-python/src/supermemory_pipecat/__init__.py37CODE
LOW…pipecat-sdk-python/src/supermemory_pipecat/__init__.py37CODE
LOW…pipecat-sdk-python/src/supermemory_pipecat/__init__.py37CODE
LOWpackages/docs-test/tests/python/sdk.py1CODE
LOWpackages/docs-test/tests/python/user_profiles.py1CODE
LOWpackages/docs-test/tests/python/search.py1CODE
LOWpackages/docs-test/tests/python/quickstart.py1CODE
LOW…ckages/cartesia-sdk-python/tests/test_empty_profile.py1CODE
LOW…rtesia-sdk-python/src/supermemory_cartesia/__init__.py34CODE
LOW…rtesia-sdk-python/src/supermemory_cartesia/__init__.py34CODE
LOW…rtesia-sdk-python/src/supermemory_cartesia/__init__.py34CODE
LOW…rtesia-sdk-python/src/supermemory_cartesia/__init__.py34CODE
LOW…rtesia-sdk-python/src/supermemory_cartesia/__init__.py34CODE
LOW…rtesia-sdk-python/src/supermemory_cartesia/__init__.py34CODE
LOW…rtesia-sdk-python/src/supermemory_cartesia/__init__.py42CODE
LOW…rtesia-sdk-python/src/supermemory_cartesia/__init__.py42CODE
LOW…rtesia-sdk-python/src/supermemory_cartesia/__init__.py42CODE
LOW…rtesia-sdk-python/src/supermemory_cartesia/__init__.py42CODE
LOWpackages/openai-sdk-python/tests/test_middleware.py6CODE
LOWpackages/openai-sdk-python/tests/test_middleware.py7CODE
LOWpackages/openai-sdk-python/tests/test_middleware.py7CODE
LOW…ages/openai-sdk-python/src/supermemory_openai/tools.py19CODE
LOW…ages/openai-sdk-python/src/supermemory_openai/tools.py19CODE
LOW…ages/openai-sdk-python/src/supermemory_openai/tools.py19CODE
LOW…s/openai-sdk-python/src/supermemory_openai/__init__.py3CODE
LOW…s/openai-sdk-python/src/supermemory_openai/__init__.py3CODE
LOW…s/openai-sdk-python/src/supermemory_openai/__init__.py3CODE
LOW…s/openai-sdk-python/src/supermemory_openai/__init__.py3CODE
25 more matches not shown…
Excessive Try-Catch Wrapping33 hits · 34 pts
SeverityFileLineSnippetContext
LOW…mework-python/src/supermemory_agent_framework/tools.py90 except Exception as error:CODE
LOW…mework-python/src/supermemory_agent_framework/tools.py113 except Exception as error:CODE
LOW…mework-python/src/supermemory_agent_framework/tools.py141 except Exception as error:CODE
LOW…on/src/supermemory_agent_framework/context_provider.py121 except Exception as e:CODE
LOW…on/src/supermemory_agent_framework/context_provider.py190 except Exception as e:CODE
LOW…k-python/src/supermemory_agent_framework/middleware.py215 except Exception as error:CODE
LOW…k-python/src/supermemory_agent_framework/middleware.py336 except Exception as e:CODE
LOW…k-python/src/supermemory_agent_framework/middleware.py419 except Exception:CODE
LOW…/pipecat-sdk-python/src/supermemory_pipecat/service.py115 except Exception as e:CODE
LOW…/pipecat-sdk-python/src/supermemory_pipecat/service.py164 except Exception as e:CODE
LOW…/pipecat-sdk-python/src/supermemory_pipecat/service.py184 except Exception as e:CODE
LOW…/pipecat-sdk-python/src/supermemory_pipecat/service.py322 except Exception as e:CODE
LOW…es/pipecat-sdk-python/src/supermemory_pipecat/utils.py48 except Exception:CODE
LOW…/cartesia-sdk-python/src/supermemory_cartesia/utils.py48 except Exception:CODE
LOW…/cartesia-sdk-python/src/supermemory_cartesia/agent.py141 except Exception as e:CODE
LOW…/cartesia-sdk-python/src/supermemory_cartesia/agent.py196 except Exception as e:CODE
LOW…/cartesia-sdk-python/src/supermemory_cartesia/agent.py233 except Exception as e:CODE
LOW…/cartesia-sdk-python/src/supermemory_cartesia/agent.py376 except Exception as e:CODE
LOW…/cartesia-sdk-python/src/supermemory_cartesia/agent.py443 except Exception as e:CODE
LOWpackages/openai-sdk-python/README.md381except Exception as e:CODE
LOWpackages/openai-sdk-python/test_integration.py68 except Exception as e:CODE
LOWpackages/openai-sdk-python/test_integration.py118 except Exception as e:CODE
LOWpackages/openai-sdk-python/test_integration.py137 except Exception as e:CODE
LOWpackages/openai-sdk-python/test_integration.py171 except Exception as e:CODE
LOW…ages/openai-sdk-python/src/supermemory_openai/tools.py208 except Exception as error:CODE
LOW…ages/openai-sdk-python/src/supermemory_openai/tools.py240 except Exception as error:CODE
LOW…openai-sdk-python/src/supermemory_openai/middleware.py256 except Exception as error:CODE
LOW…openai-sdk-python/src/supermemory_openai/middleware.py291 except Exception as e:CODE
LOW…openai-sdk-python/src/supermemory_openai/middleware.py472 except Exception as e:CODE
LOWapps/docs/migration/mem0-migration-script.py110 except Exception as e:CODE
LOWapps/docs/migration/mem0-migration-script.py221 except Exception as e:CODE
LOWapps/docs/migration/mem0-migration-script.py259 except Exception as e:CODE
LOWapps/docs/migration/mem0-migration-script.py330 except Exception as e:CODE
Structural Annotation Overuse16 hits · 28 pts
SeverityFileLineSnippetContext
LOWpackages/tools/test/claude-memory-real-example.ts81 // Step 1: Make initial request to ClaudeCOMMENT
LOWpackages/tools/test/claude-memory-real-example.ts118 // Step 2: Handle any tool callsCOMMENT
LOWpackages/tools/test/claude-memory-real-example.ts149 // Step 3: Send tool results back to Claude if there were anyCOMMENT
LOWpackages/tools/test/with-supermemory/unit.test.ts195 // Step 1: New turn (user message last)COMMENT
LOWpackages/tools/test/with-supermemory/unit.test.ts207 // Step 2: Continuation (assistant/tool after user)COMMENT
LOWskills/supermemory/references/quickstart.md5## Step 1: Get Your API KeyCOMMENT
LOWskills/supermemory/references/quickstart.md12## Step 2: Install the SDKCOMMENT
LOWskills/supermemory/references/quickstart.md36## Step 3: Set Environment VariableCOMMENT
LOWskills/supermemory/references/quickstart.md49## Step 4: Basic UsageCOMMENT
LOWapps/docs/migration/mem0-migration-script.py74 # Step 1: Create export jobCOMMENT
LOWapps/docs/migration/mem0-migration-script.py83 # Step 2: Wait for export to completeCOMMENT
LOWapps/docs/migration/mem0-migration-script.py87 # Step 3: Retrieve the exported data using the correct methodCOMMENT
LOWapps/docs/migration/mem0-migration-script.py91 # Step 4: Save backupCOMMENT
LOWapps/docs/migration/mem0-migration-script.py286 # Step 1: Export from Mem0COMMENT
LOWapps/docs/migration/mem0-migration-script.py301 # Step 2: Import to SupermemoryCOMMENT
LOWapps/docs/migration/mem0-migration-script.py307 # Step 3: Verify migrationCOMMENT
Decorative Section Separators9 hits · 27 pts
SeverityFileLineSnippetContext
MEDIUMapps/web/components/digests-view.tsx68// ─── Left list row ────────────────────────────────────────────────────────────COMMENT
MEDIUMapps/web/components/digests-view.tsx146// ─── Right pane: a single digest, faithful to the email layout ─────────────────COMMENT
MEDIUMapps/web/components/digests-view.tsx375// ─── Master-detail ─────────────────────────────────────────────────────────────COMMENT
MEDIUMapps/web/components/timeline-view.tsx17// ─── Time period helpers ─────────────────────────────────────────────────────COMMENT
MEDIUMapps/web/components/timeline-view.tsx38// ─── Document type helpers ────────────────────────────────────────────────────COMMENT
MEDIUMapps/web/components/timeline-view.tsx138// ─── Grouped data structures ─────────────────────────────────────────────────COMMENT
MEDIUMapps/web/components/timeline-view.tsx190// ─── Individual timeline card ─────────────────────────────────────────────────COMMENT
MEDIUMapps/web/components/timeline-view.tsx302// ─── Collapsed group card ─────────────────────────────────────────────────────COMMENT
MEDIUMapps/web/components/timeline-view.tsx485// ─── Main TimelineView ────────────────────────────────────────────────────────COMMENT
Verbosity Indicators12 hits · 22 pts
SeverityFileLineSnippetContext
LOWpackages/tools/test/claude-memory-real-example.ts81 // Step 1: Make initial request to ClaudeCOMMENT
LOWpackages/tools/test/claude-memory-real-example.ts118 // Step 2: Handle any tool callsCOMMENT
LOWpackages/tools/test/claude-memory-real-example.ts149 // Step 3: Send tool results back to Claude if there were anyCOMMENT
LOWpackages/tools/test/with-supermemory/unit.test.ts195 // Step 1: New turn (user message last)COMMENT
LOWpackages/tools/test/with-supermemory/unit.test.ts207 // Step 2: Continuation (assistant/tool after user)COMMENT
LOWapps/docs/migration/mem0-migration-script.py74 # Step 1: Create export jobCOMMENT
LOWapps/docs/migration/mem0-migration-script.py83 # Step 2: Wait for export to completeCOMMENT
LOWapps/docs/migration/mem0-migration-script.py87 # Step 3: Retrieve the exported data using the correct methodCOMMENT
LOWapps/docs/migration/mem0-migration-script.py91 # Step 4: Save backupCOMMENT
LOWapps/docs/migration/mem0-migration-script.py286 # Step 1: Export from Mem0COMMENT
LOWapps/docs/migration/mem0-migration-script.py301 # Step 2: Import to SupermemoryCOMMENT
LOWapps/docs/migration/mem0-migration-script.py307 # Step 3: Verify migrationCOMMENT
Deep Nesting21 hits · 20 pts
SeverityFileLineSnippetContext
LOW…on/src/supermemory_agent_framework/context_provider.py240CODE
LOW…on/src/supermemory_agent_framework/context_provider.py281CODE
LOW…k-python/src/supermemory_agent_framework/middleware.py37CODE
LOW…k-python/src/supermemory_agent_framework/middleware.py72CODE
LOW…k-python/src/supermemory_agent_framework/middleware.py389CODE
LOW…k-python/src/supermemory_agent_framework/middleware.py269CODE
LOW…/pipecat-sdk-python/src/supermemory_pipecat/service.py273CODE
LOW…es/pipecat-sdk-python/src/supermemory_pipecat/utils.py15CODE
LOW…es/pipecat-sdk-python/src/supermemory_pipecat/utils.py90CODE
LOW…/cartesia-sdk-python/src/supermemory_cartesia/utils.py15CODE
LOW…/cartesia-sdk-python/src/supermemory_cartesia/utils.py90CODE
LOW…/cartesia-sdk-python/src/supermemory_cartesia/agent.py200CODE
LOW…/cartesia-sdk-python/src/supermemory_cartesia/agent.py270CODE
LOW…/cartesia-sdk-python/src/supermemory_cartesia/agent.py294CODE
LOW…/cartesia-sdk-python/src/supermemory_cartesia/agent.py380CODE
LOWpackages/openai-sdk-python/tests/test_middleware.py735CODE
LOWpackages/openai-sdk-python/tests/test_middleware.py773CODE
LOW…ages/openai-sdk-python/src/supermemory_openai/utils.py80CODE
LOW…ages/openai-sdk-python/src/supermemory_openai/utils.py125CODE
LOW…openai-sdk-python/src/supermemory_openai/middleware.py330CODE
LOW…openai-sdk-python/src/supermemory_openai/middleware.py422CODE
Modern AI Meta-Vocabulary4 hits · 12 pts
SeverityFileLineSnippetContext
MEDIUMskills/supermemory/SKILL.md32### 3. RAG - Advanced Semantic SearchCOMMENT
MEDIUMskills/supermemory/references/architecture.md395### vs. Traditional RAGCOMMENT
MEDIUMskills/supermemory/references/api-reference.md533### Search with Filters (Hybrid Mode for RAG)COMMENT
MEDIUMapps/docs/install.md100// Option 1: Agent tools (recommended for agentic flows)COMMENT
Over-Commented Block11 hits · 11 pts
SeverityFileLineSnippetContext
LOWpackages/openai-sdk-python/tests/test_tools.py281 # self,COMMENT
LOWpackages/openai-sdk-python/tests/test_tools.py301COMMENT
LOWpackages/openai-sdk-python/tests/test_tools.py321COMMENT
LOWskills/supermemory/references/sdk-guide.md141// dynamic: string[] // Array of dynamic memories (recent context)COMMENT
LOWskills/supermemory/references/sdk-guide.md161 threshold=float # Optional: relevance threshold (0-1, default 0.5)COMMENT
LOWskills/supermemory/references/sdk-guide.md221// results: Array<{COMMENT
LOWapps/web/middleware.ts81 }COMMENT
LOWapps/web/README.md1# supermemory ConsumerCOMMENT
LOWapps/browser-extension/README.md1## supermemory Browser ExtensionCOMMENT
LOWapps/docs/README.md1# supermemory DocsCOMMENT
LOWapps/memory-graph-playground/next-env.d.ts1/// <reference types="next" />COMMENT
Docstring Block Structure2 hits · 10 pts
SeverityFileLineSnippetContext
HIGH…/pipecat-sdk-python/src/supermemory_pipecat/service.py123Retrieve relevant memories from Supermemory. Args: query: The search query for memory retrieval. STRING
HIGH…openai-sdk-python/src/supermemory_openai/middleware.py626 Wraps an OpenAI client with SuperMemory middleware to automatically inject relevant memories into the system prSTRING
Fake / Example Data7 hits · 8 pts
SeverityFileLineSnippetContext
LOWpackages/openai-sdk-python/test_integration.py128 openai_client = OpenAI(api_key="fake-key")CODE
LOWapps/web/app/(app)/brain-home/page.tsx233 name: "Jane Doe",CODE
LOWapps/web/app/(app)/brain-home/page.tsx257 { who: "Jane Doe", what: "updated the Acme MSA draft", when: "1h" },CODE
LOWapps/web/components/brain-home/data.ts168 name: "Jane Doe",CODE
LOWapps/web/components/brain-home/data.ts192 { who: "Jane Doe", what: "updated the Acme MSA draft", when: "1h" },CODE
LOWapps/web/components/brain-home/data.ts399 name: "Jane Doe",CODE
LOWapps/raycast-extension/package.json51 "placeholder": "Enter your Supermemory API Key"CODE
Modern Structural Boilerplate4 hits · 4 pts
SeverityFileLineSnippetContext
LOW…ork-python/src/supermemory_agent_framework/__init__.py40__all__ = [CODE
LOW…pipecat-sdk-python/src/supermemory_pipecat/__init__.py45__all__ = [CODE
LOW…rtesia-sdk-python/src/supermemory_cartesia/__init__.py51__all__ = [CODE
LOW…s/openai-sdk-python/src/supermemory_openai/__init__.py44__all__ = [CODE
Example Usage Blocks2 hits · 3 pts
SeverityFileLineSnippetContext
LOWpackages/tools/test/claude-memory-examples.ts235// Example usage:COMMENT
LOWpackages/tools/src/claude-memory-simple-example.ts60// Example usageCOMMENT
Self-Referential Comments1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUMpackages/openai-sdk-python/test_integration.py150 # Create a fake OpenAI client for testingCOMMENT
Redundant / Tautological Comments1 hit · 2 pts
SeverityFileLineSnippetContext
LOWapps/docs/migration/mem0-migration-script.py136 # Check if content existsCOMMENT