AI Slop Code RIsk Monitor

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.

8.1 Moderate pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for supermemoryai/supermemory, a TypeScript project with 31,184 GitHub stars. SynthScan examined 78,625 lines of code across 493 source files, recording 437 pattern matches distributed across 17 syntactic categories. The legacy adjusted pattern signal is 8.1 (Moderate pattern signal); it is not an authorship estimate.

Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.

8.1
Adjusted Signal
8.1
Raw Pattern Score
100%
Time Factor
2026-10-10
Last Push
31.2K
Stars
TypeScript
Language
78.6K
Lines of Code
493
Files
437
Pattern Hits
2026-10-12
Scan Date
0.07
HC Hit Rate

Risk Review · v3

Use each vector to guide manual verification of the underlying findings.

Cognitive Ownership Risk 17.2/100 · LOW

Can maintainers explain intent, assumptions, and trade-offs? 240 finding(s).

Hallucinated Dependency & Supply Chain Risk 15.5/100 · LOW

Are imports declared and package/API names verified? 135 finding(s).

Agent Over-Engineering Ratio 14.1/100 · LOW

Are wrappers, guards, and repeated structures necessary? 224 finding(s).

PR Review Velocity Impact 32.2/100 · MEDIUM

Which changes need focused human review? 437 finding(s).

What These Metrics Mean

Adjusted Signal
Legacy pattern score normalized per 1,000 scanned lines and multiplied by the repository-level time factor. It is not an estimate of AI authorship.
Raw Pattern Score
Sum of severity- and context-weighted pattern findings before applying the time factor.
Time Factor
A coarse multiplier based on repository last-push metadata. It does not identify when individual code was written.
Pattern Hits
Count of configured pattern findings. Review each location and surrounding code before acting.
HC Hit Rate
High- and critical-severity findings per scanned file. Severity is a configured detector weight, not proof of a vulnerability or authorship.
Lines / Files
Scan coverage denominators used by the legacy normalized score.

Pattern-Signal History

This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.

Severity Breakdown

Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.

CRITICAL 0HIGH 33MEDIUM 5LOW 399

Directory Score Breakdown

This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.

Pattern Findings

The scanner identified 437 distinct pattern matches across 17 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. 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 configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.

Hyper-Verbose Identifiers162 hits · 168 pts
SeverityFileLineSnippetContext
LOWpackages/ui/components/chart.tsx308function getPayloadConfigFromPayload(CODE
LOWpackages/tools/test/claude-memory-real-example.ts16export async function handleClaudeMemoryToolCall(CODE
LOWpackages/tools/src/tools-shared.ts305export function deduplicateMemoriesForMode(CODE
LOWpackages/tools/src/mastra/processor.ts357export function createSupermemoryProcessor(CODE
LOWpackages/tools/src/mastra/processor.ts389export function createSupermemoryOutputProcessor(CODE
LOWpackages/tools/src/mastra/processor.ts426export function createSupermemoryProcessors(CODE
LOWpackages/tools/src/shared/memory-context.ts11function escapeMemoryContextDelimiters(memories: string): string {CODE
LOWpackages/tools/src/openai/tools.ts212export function createSearchMemoriesFunction(CODE
LOWpackages/tools/src/openai/tools.ts294export function createDocumentListFunction(CODE
LOWpackages/tools/src/openai/tools.ts324export function createDocumentDeleteFunction(CODE
LOWpackages/tools/src/openai/tools.ts348export function createDocumentAddFunction(CODE
LOWpackages/tools/src/openai/tools.ts383export function createMemoryForgetFunction(CODE
LOW⚡packages/livekit-sdk-python/tests/test_memory.py308 def test_participant_attribute_beats_identity_and_sanitizes(self):CODE
LOW⚡packages/livekit-sdk-python/tests/test_memory.py323 def test_explicit_tag_beats_participant(self):CODE
LOW⚡packages/livekit-sdk-python/tests/test_memory.py331 def test_capture_groups_new_turns_and_skips_injection(self):CODE
LOW⚡packages/livekit-sdk-python/tests/test_memory.py564 def test_unscoped_tools_do_not_call_the_api(self):CODE
LOW⚡packages/livekit-sdk-python/tests/test_memory.py571 def test_blank_memory_falls_through_to_chunk(self):CODE
LOW⚡packages/livekit-sdk-python/tests/test_memory.py576 def test_memory_text_cannot_break_the_wrapper(self):CODE
LOW⚡packages/livekit-sdk-python/tests/test_memory.py582 def test_identifier_is_stable_and_bounded(self):CODE
LOWpackages/livekit-sdk-python/tests/test_memory.py116 def test_empty_profile_does_not_inject(self):CODE
LOWpackages/livekit-sdk-python/tests/test_memory.py127 def test_null_profile_is_empty(self):CODE
LOWpackages/livekit-sdk-python/tests/test_memory.py136 def test_recall_inserts_before_user_timestamp_and_replaces_previous(self):CODE
LOWpackages/livekit-sdk-python/tests/test_memory.py162 def test_query_mode_skips_profile_sections(self):CODE
LOWpackages/livekit-sdk-python/tests/test_memory.py178 def test_enrich_injects_when_the_user_message_is_already_present(self):CODE
LOWpackages/livekit-sdk-python/tests/test_memory.py193 def test_enrich_replaces_preloaded_profile_each_turn(self):CODE
LOWpackages/livekit-sdk-python/tests/test_memory.py209 def test_one_recall_per_user_message(self):CODE
LOWpackages/livekit-sdk-python/tests/test_memory.py228 def test_same_words_in_a_later_turn_recall_again(self):CODE
LOWpackages/livekit-sdk-python/tests/test_memory.py240 def test_failed_recall_never_shows_another_callers_memory(self):CODE
LOWpackages/livekit-sdk-python/tests/test_memory.py264 def test_slow_recall_falls_back_to_the_callers_call_start_profile(self):CODE
LOWpackages/livekit-sdk-python/tests/test_memory.py278 def test_new_user_message_recalls_again(self):CODE
LOWpackages/livekit-sdk-python/tests/test_memory.py291 def test_timeout_and_errors_do_not_fail_the_turn(self):CODE
LOWpackages/livekit-sdk-python/tests/test_memory.py366 def test_close_flushes_a_trailing_user_turn(self):CODE
LOWpackages/livekit-sdk-python/tests/test_memory.py383 def test_capture_never_does_not_store(self):CODE
LOWpackages/livekit-sdk-python/tests/test_memory.py403 def test_store_failure_is_retried_on_close(self):CODE
LOWpackages/livekit-sdk-python/tests/test_memory.py430 def test_tools_search_remember_forget(self):CODE
LOWpackages/livekit-sdk-python/tests/test_memory.py451 def test_remember_falls_back_when_instant_is_not_available(self):CODE
LOWpackages/livekit-sdk-python/tests/test_memory.py470 def test_capture_falls_back_once_when_instant_is_not_available(self):CODE
LOWpackages/livekit-sdk-python/tests/test_memory.py503 def test_rebind_keeps_captured_turns_in_the_callers_scope(self):CODE
LOWpackages/livekit-sdk-python/tests/test_memory.py526 def test_hung_store_times_out_and_keeps_the_turns(self):CODE
LOWpackages/livekit-sdk-python/tests/test_memory.py550 def test_large_calls_are_stored_in_bounded_chunks(self):CODE
LOWpackages/agent-framework-python/tests/test_utils.py28 def test_deduplication_priority(self) -> None:CODE
LOWpackages/agent-framework-python/tests/test_utils.py52 def test_empty_strings_filtered(self) -> None:CODE
LOWpackages/agent-framework-python/tests/test_utils.py64 def test_normalized_fact_variants(self) -> None:CODE
LOW⚡…ckages/agent-framework-python/tests/test_middleware.py98 def test_uses_connection_client(self) -> None:CODE
LOW⚡…ckages/agent-framework-python/tests/test_middleware.py103 def test_conversation_id_from_connection(self) -> None:CODE
LOW⚡…ckages/agent-framework-python/tests/test_middleware.py109 def test_auto_generated_conversation_id(self) -> None:CODE
LOW⚡…ckages/agent-framework-python/tests/test_middleware.py115 def test_entity_context_from_connection(self) -> None:CODE
LOW⚡…ckages/agent-framework-python/tests/test_middleware.py122 def test_replaces_prior_sdk_context(self) -> None:CODE
LOW…ckages/agent-framework-python/tests/test_middleware.py147 async def test_query_mode_keeps_search_fact_also_present_in_profile(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…ages/agent-framework-python/tests/test_v5_transport.py136async def test_provider_and_middleware_retrieval_modes(memory_api, mode):CODE
LOW…ages/agent-framework-python/tests/test_v5_transport.py187async def test_tool_formats_and_append_mapping(memory_api):CODE
LOW…ages/agent-framework-python/tests/test_v5_transport.py241async def test_failure_policy_with_sdk_errors(memory_api, failure):CODE
LOW…ages/agent-framework-python/tests/test_v5_transport.py290async def test_empty_and_missing_query_do_not_inject_stale_memories(memory_api):CODE
102 more matches not shown…
Magic Placeholder Names28 hits · 165 pts
SeverityFileLineSnippetContext
HIGHpackages/tools/test/claude-memory-examples.ts245 -H "Authorization: Bearer YOUR_API_KEY" \\CODE
HIGH⚡packages/tools/test/claude-memory-examples.ts261 -H "Authorization: Bearer YOUR_API_KEY"CODE
HIGH⚡packages/tools/test/claude-memory-examples.ts265 -H "Authorization: Bearer YOUR_API_KEY" \\CODE
HIGH⚡packages/tools/test/claude-memory-examples.ts271 -H "Authorization: Bearer YOUR_API_KEY" \\CODE
HIGHpackages/tools/test/claude-memory-examples.ts286 -H "Authorization: Bearer YOUR_API_KEY" \\CODE
HIGHpackages/agent-framework-python/README.md252 api_key="your-api-key",CODE
HIGHpackages/docs-test/tests/integrations/ai-sdk.ts90 const tools = supermemoryTools("YOUR_API_KEY")CODE
HIGH⚡packages/openai-sdk-python/README.md304search_tool = create_search_memories_tool("your-api-key")CODE
HIGH⚡packages/openai-sdk-python/README.md305add_tool = create_add_memory_tool("your-api-key")CODE
HIGH⚡packages/openai-sdk-python/README.md306profile_tool = create_get_profile_tool("your-api-key")CODE
HIGH⚡packages/openai-sdk-python/README.md307list_tool = create_document_list_tool("your-api-key")CODE
HIGH⚡packages/openai-sdk-python/README.md308delete_tool = create_document_delete_tool("your-api-key")CODE
HIGH⚡packages/openai-sdk-python/README.md309document_add_tool = create_document_add_tool("your-api-key")CODE
HIGH⚡packages/openai-sdk-python/README.md310forget_tool = create_memory_forget_tool("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
Unused Imports99 hits · 84 pts
SeverityFileLineSnippetContext
LOWpackages/livekit-sdk-python/tests/test_memory.py1CODE
LOW…s/livekit-sdk-python/src/supermemory_livekit/memory.py3CODE
LOW…es/livekit-sdk-python/src/supermemory_livekit/tools.py6CODE
LOW…livekit-sdk-python/src/supermemory_livekit/__init__.py6CODE
LOW…livekit-sdk-python/src/supermemory_livekit/__init__.py6CODE
LOW…livekit-sdk-python/src/supermemory_livekit/__init__.py7CODE
LOW…livekit-sdk-python/src/supermemory_livekit/__init__.py7CODE
LOW…ork-python/src/supermemory_agent_framework/__init__.py3CODE
LOW…ork-python/src/supermemory_agent_framework/__init__.py6CODE
LOW…ork-python/src/supermemory_agent_framework/__init__.py9CODE
LOW…ork-python/src/supermemory_agent_framework/__init__.py9CODE
LOW…ork-python/src/supermemory_agent_framework/__init__.py9CODE
LOW…ork-python/src/supermemory_agent_framework/__init__.py9CODE
LOW…ork-python/src/supermemory_agent_framework/__init__.py9CODE
LOW…ork-python/src/supermemory_agent_framework/__init__.py9CODE
LOW…ork-python/src/supermemory_agent_framework/__init__.py17CODE
LOW…ork-python/src/supermemory_agent_framework/__init__.py17CODE
LOW…ork-python/src/supermemory_agent_framework/__init__.py21CODE
LOW…ork-python/src/supermemory_agent_framework/__init__.py21CODE
LOW…ork-python/src/supermemory_agent_framework/__init__.py21CODE
LOW…ork-python/src/supermemory_agent_framework/__init__.py21CODE
LOW…ork-python/src/supermemory_agent_framework/__init__.py27CODE
LOW…ork-python/src/supermemory_agent_framework/__init__.py27CODE
LOW…ork-python/src/supermemory_agent_framework/__init__.py27CODE
LOW…ork-python/src/supermemory_agent_framework/__init__.py27CODE
LOW…ork-python/src/supermemory_agent_framework/__init__.py27CODE
LOWpackages/pipecat-sdk-python/tests/test_empty_profile.py1CODE
LOW…pipecat-sdk-python/src/supermemory_pipecat/__init__.py30CODE
LOW…pipecat-sdk-python/src/supermemory_pipecat/__init__.py30CODE
LOW…pipecat-sdk-python/src/supermemory_pipecat/__init__.py30CODE
LOW…pipecat-sdk-python/src/supermemory_pipecat/__init__.py30CODE
LOW…pipecat-sdk-python/src/supermemory_pipecat/__init__.py30CODE
LOW…pipecat-sdk-python/src/supermemory_pipecat/__init__.py30CODE
LOW…pipecat-sdk-python/src/supermemory_pipecat/__init__.py38CODE
LOW…pipecat-sdk-python/src/supermemory_pipecat/__init__.py39CODE
LOW…pipecat-sdk-python/src/supermemory_pipecat/__init__.py39CODE
LOW…pipecat-sdk-python/src/supermemory_pipecat/__init__.py39CODE
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__.py38CODE
LOW…rtesia-sdk-python/src/supermemory_cartesia/__init__.py38CODE
LOW…rtesia-sdk-python/src/supermemory_cartesia/__init__.py38CODE
LOW…rtesia-sdk-python/src/supermemory_cartesia/__init__.py38CODE
LOW…rtesia-sdk-python/src/supermemory_cartesia/__init__.py38CODE
LOW…rtesia-sdk-python/src/supermemory_cartesia/__init__.py38CODE
LOW…rtesia-sdk-python/src/supermemory_cartesia/__init__.py46CODE
LOW…rtesia-sdk-python/src/supermemory_cartesia/__init__.py46CODE
LOW…rtesia-sdk-python/src/supermemory_cartesia/__init__.py46CODE
LOW…rtesia-sdk-python/src/supermemory_cartesia/__init__.py46CODE
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…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
LOW…s/openai-sdk-python/src/supermemory_openai/__init__.py3CODE
39 more matches not shown…
Excessive Try-Catch Wrapping55 hits · 56 pts
SeverityFileLineSnippetContext
LOW…s/livekit-sdk-python/src/supermemory_livekit/memory.py188 except Exception:CODE
LOW…s/livekit-sdk-python/src/supermemory_livekit/memory.py200 except Exception:CODE
LOW…s/livekit-sdk-python/src/supermemory_livekit/memory.py238 except Exception:CODE
LOW…s/livekit-sdk-python/src/supermemory_livekit/memory.py246 except Exception:CODE
LOW…s/livekit-sdk-python/src/supermemory_livekit/memory.py266 except Exception:CODE
LOW…s/livekit-sdk-python/src/supermemory_livekit/memory.py289 except Exception:CODE
LOW…s/livekit-sdk-python/src/supermemory_livekit/memory.py309 except Exception:CODE
LOW…s/livekit-sdk-python/src/supermemory_livekit/memory.py331 except Exception:CODE
LOW…s/livekit-sdk-python/src/supermemory_livekit/memory.py491 except Exception as exc:CODE
LOW…s/livekit-sdk-python/src/supermemory_livekit/memory.py522 except Exception:CODE
LOW…es/livekit-sdk-python/src/supermemory_livekit/utils.py113 except Exception:CODE
LOW…mework-python/src/supermemory_agent_framework/tools.py139 except Exception as error:CODE
LOW…mework-python/src/supermemory_agent_framework/tools.py162 except Exception as error:CODE
LOW…mework-python/src/supermemory_agent_framework/tools.py195 except Exception as error:CODE
LOW…on/src/supermemory_agent_framework/context_provider.py126 except Exception as e:CODE
LOW…on/src/supermemory_agent_framework/context_provider.py189 except Exception as e:CODE
LOW…k-python/src/supermemory_agent_framework/middleware.py208 except Exception as error:CODE
LOW…k-python/src/supermemory_agent_framework/middleware.py327 except Exception as e:CODE
LOW…/pipecat-sdk-python/src/supermemory_pipecat/service.py201 except Exception as e:CODE
LOW…/pipecat-sdk-python/src/supermemory_pipecat/service.py252 except Exception as e:CODE
LOW…/pipecat-sdk-python/src/supermemory_pipecat/service.py275 except Exception as e:CODE
LOW…/pipecat-sdk-python/src/supermemory_pipecat/service.py304 except Exception as e:CODE
LOW…/pipecat-sdk-python/src/supermemory_pipecat/service.py493 except Exception as e:CODE
LOW…es/pipecat-sdk-python/src/supermemory_pipecat/utils.py69 except Exception:CODE
LOW…/cartesia-sdk-python/src/supermemory_cartesia/utils.py49 except Exception:CODE
LOW…/cartesia-sdk-python/src/supermemory_cartesia/agent.py147 except Exception as e:CODE
LOW…/cartesia-sdk-python/src/supermemory_cartesia/agent.py202 except Exception as e:CODE
LOW…/cartesia-sdk-python/src/supermemory_cartesia/agent.py239 except Exception as e:CODE
LOW…/cartesia-sdk-python/src/supermemory_cartesia/agent.py403 except Exception as e:CODE
LOW…/cartesia-sdk-python/src/supermemory_cartesia/agent.py515 except Exception as e:CODE
LOWpackages/openai-sdk-python/README.md424except Exception as e:CODE
LOWpackages/openai-sdk-python/test_integration.py68 except Exception as e:CODE
LOW⚡packages/openai-sdk-python/test_integration.py118 except Exception as e:CODE
LOW⚡packages/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.py484 except Exception as error:CODE
LOW…ages/openai-sdk-python/src/supermemory_openai/tools.py507 except Exception as error:CODE
LOW…ages/openai-sdk-python/src/supermemory_openai/tools.py543 except Exception as error:CODE
LOW…ages/openai-sdk-python/src/supermemory_openai/tools.py575 except Exception as error:CODE
LOW…ages/openai-sdk-python/src/supermemory_openai/tools.py606 except Exception as error:CODE
LOW…ages/openai-sdk-python/src/supermemory_openai/tools.py643 except Exception as error:CODE
LOW…ages/openai-sdk-python/src/supermemory_openai/tools.py683 except Exception as error:CODE
LOW…openai-sdk-python/src/supermemory_openai/middleware.py397 except Exception as error:CODE
LOW…openai-sdk-python/src/supermemory_openai/middleware.py434 except Exception as e:CODE
LOW…openai-sdk-python/src/supermemory_openai/middleware.py634 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
LOWapps/sdk-playground/python/server.py457 except Exception as error:CODE
LOWapps/sdk-playground/python/server.py478 except Exception:CODE
LOWapps/sdk-playground/python/server.py682 except Exception as error:CODE
LOWapps/sdk-playground/python/server.py711 except Exception as error:CODE
LOWapps/sdk-playground/python/server.py730 except Exception as error:CODE
LOWapps/sdk-playground/python/server.py863 except Exception as error:CODE
Structural Annotation Overuse21 hits · 38 pts
SeverityFileLineSnippetContext
LOWpackages/tools/test/claude-memory-real-example.ts79 // Step 1: Make initial request to ClaudeCOMMENT
LOWpackages/tools/test/claude-memory-real-example.ts116 // Step 2: Handle any tool callsCOMMENT
LOWpackages/tools/test/claude-memory-real-example.ts146 // Step 3: Send tool results back to Claude if there were anyCOMMENT
LOWpackages/tools/test/with-supermemory/unit.test.ts184 // Step 1: New turn (user message last)COMMENT
LOWpackages/tools/test/with-supermemory/unit.test.ts196 // 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
LOW⚡apps/docs/snippets/agent-prompt.jsx23## Step 1: CredentialsCOMMENT
LOW⚡apps/docs/snippets/agent-prompt.jsx31## Step 2: Install the docs MCP server, then brief the userCOMMENT
LOW⚡apps/docs/snippets/agent-prompt.jsx39## Step 3: Scan this repo for integration pointsCOMMENT
LOWapps/docs/snippets/agent-prompt.jsx52## Step 4: Propose, then get approval before touching codeCOMMENT
LOWapps/docs/snippets/agent-prompt.jsx69## Step 5: Suggest uses tailored to this projectCOMMENT
LOW⚡apps/docs/migration/mem0-migration-script.py74 # Step 1: Create export jobCOMMENT
LOW⚡apps/docs/migration/mem0-migration-script.py83 # Step 2: Wait for export to completeCOMMENT
LOW⚡apps/docs/migration/mem0-migration-script.py87 # Step 3: Retrieve the exported data using the correct methodCOMMENT
LOW⚡apps/docs/migration/mem0-migration-script.py91 # Step 4: Save backupCOMMENT
LOWapps/docs/migration/mem0-migration-script.py286 # Step 1: Export from Mem0COMMENT
LOW⚡apps/docs/migration/mem0-migration-script.py301 # Step 2: Import to SupermemoryCOMMENT
LOW⚡apps/docs/migration/mem0-migration-script.py307 # Step 3: Verify migrationCOMMENT
Verbosity Indicators17 hits · 32 pts
SeverityFileLineSnippetContext
LOWpackages/tools/test/claude-memory-real-example.ts79 // Step 1: Make initial request to ClaudeCOMMENT
LOWpackages/tools/test/claude-memory-real-example.ts116 // Step 2: Handle any tool callsCOMMENT
LOWpackages/tools/test/claude-memory-real-example.ts146 // Step 3: Send tool results back to Claude if there were anyCOMMENT
LOWpackages/tools/test/with-supermemory/unit.test.ts184 // Step 1: New turn (user message last)COMMENT
LOWpackages/tools/test/with-supermemory/unit.test.ts196 // Step 2: Continuation (assistant/tool after user)COMMENT
LOW⚡apps/docs/snippets/agent-prompt.jsx23## Step 1: CredentialsCOMMENT
LOW⚡apps/docs/snippets/agent-prompt.jsx31## Step 2: Install the docs MCP server, then brief the userCOMMENT
LOW⚡apps/docs/snippets/agent-prompt.jsx39## Step 3: Scan this repo for integration pointsCOMMENT
LOWapps/docs/snippets/agent-prompt.jsx52## Step 4: Propose, then get approval before touching codeCOMMENT
LOWapps/docs/snippets/agent-prompt.jsx69## Step 5: Suggest uses tailored to this projectCOMMENT
LOW⚡apps/docs/migration/mem0-migration-script.py74 # Step 1: Create export jobCOMMENT
LOW⚡apps/docs/migration/mem0-migration-script.py83 # Step 2: Wait for export to completeCOMMENT
LOW⚡apps/docs/migration/mem0-migration-script.py87 # Step 3: Retrieve the exported data using the correct methodCOMMENT
LOW⚡apps/docs/migration/mem0-migration-script.py91 # Step 4: Save backupCOMMENT
LOWapps/docs/migration/mem0-migration-script.py286 # Step 1: Export from Mem0COMMENT
LOW⚡apps/docs/migration/mem0-migration-script.py301 # Step 2: Import to SupermemoryCOMMENT
LOW⚡apps/docs/migration/mem0-migration-script.py307 # Step 3: Verify migrationCOMMENT
Deep Nesting23 hits · 22 pts
SeverityFileLineSnippetContext
LOW…on/src/supermemory_agent_framework/context_provider.py234CODE
LOW…on/src/supermemory_agent_framework/context_provider.py275CODE
LOW…k-python/src/supermemory_agent_framework/middleware.py41CODE
LOW…k-python/src/supermemory_agent_framework/middleware.py76CODE
LOW…k-python/src/supermemory_agent_framework/middleware.py376CODE
LOW…k-python/src/supermemory_agent_framework/middleware.py432CODE
LOW…k-python/src/supermemory_agent_framework/middleware.py482CODE
LOW…k-python/src/supermemory_agent_framework/middleware.py262CODE
LOW…/pipecat-sdk-python/src/supermemory_pipecat/service.py435CODE
LOW…es/pipecat-sdk-python/src/supermemory_pipecat/utils.py36CODE
LOW…/cartesia-sdk-python/src/supermemory_cartesia/utils.py16CODE
LOW…/cartesia-sdk-python/src/supermemory_cartesia/agent.py206CODE
LOW…/cartesia-sdk-python/src/supermemory_cartesia/agent.py276CODE
LOW…/cartesia-sdk-python/src/supermemory_cartesia/agent.py300CODE
LOW…/cartesia-sdk-python/src/supermemory_cartesia/agent.py470CODE
LOWpackages/openai-sdk-python/tests/test_middleware.py752CODE
LOWpackages/openai-sdk-python/tests/test_middleware.py790CODE
LOW…ages/openai-sdk-python/src/supermemory_openai/utils.py129CODE
LOW…ages/openai-sdk-python/src/supermemory_openai/utils.py174CODE
LOW…openai-sdk-python/src/supermemory_openai/middleware.py486CODE
LOW…openai-sdk-python/src/supermemory_openai/middleware.py583CODE
LOWapps/sdk-playground/python/server.py225CODE
LOWapps/sdk-playground/python/server.py757CODE
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
Fake / Example Data7 hits · 10 pts
SeverityFileLineSnippetContext
LOW⚡packages/livekit-sdk-python/tests/test_memory.py318 plugin.bind(participant=SimpleNamespace(identity="user@example.com", attributes={}))CODE
LOW⚡packages/livekit-sdk-python/tests/test_memory.py319 self.assertNotEqual(plugin.container_tag, "user@example.com")CODE
LOW⚡packages/livekit-sdk-python/tests/test_memory.py320 self.assertEqual(plugin.container_tag, to_identifier("user@example.com"))CODE
LOW⚡packages/livekit-sdk-python/tests/test_memory.py583 first = to_identifier("user@example.com")CODE
LOW⚡packages/livekit-sdk-python/tests/test_memory.py584 self.assertEqual(first, to_identifier("user@example.com"))CODE
LOW⚡packages/openai-sdk-python/test_integration.py128 openai_client = OpenAI(api_key="fake-key")CODE
LOWapps/raycast-extension/package.json51 "placeholder": "Enter your Supermemory API Key"CODE
Empty Error Handlers2 hits · 10 pts
SeverityFileLineSnippetContext
HIGH…k-python/src/supermemory_agent_framework/middleware.py599except (AttributeError, TypeError):CODE
HIGH…k-python/src/supermemory_agent_framework/middleware.py581except (AttributeError, TypeError):CODE
Docstring Block Structure2 hits · 10 pts
SeverityFileLineSnippetContext
HIGH…/pipecat-sdk-python/src/supermemory_pipecat/service.py212Retrieve relevant memories from Supermemory. Args: query: The search query for memory retrieval. STRING
HIGH…openai-sdk-python/src/supermemory_openai/middleware.py793 Wraps an OpenAI client with SuperMemory middleware to automatically inject relevant memories into the system prSTRING
Over-Commented Block7 hits · 7 pts
SeverityFileLineSnippetContext
LOWpackages/openai-sdk-python/tests/test_tools.py401 # SupermemoryInfiniteChatConfigWithProviderName classes are implementedCOMMENT
LOWpackages/openai-sdk-python/tests/test_tools.py421 # "project_id": "test-openai-integration",COMMENT
LOWpackages/openai-sdk-python/tests/test_tools.py441 # ],COMMENT
LOWskills/supermemory/references/sdk-guide.md141const response = await client.profile({COMMENT
LOWskills/supermemory/references/sdk-guide.md221// {COMMENT
LOWapps/docs/README.md1# supermemory DocsCOMMENT
LOWapps/docs/style.css561 background: rgba(255, 255, 255, 0.06) !important;COMMENT
Modern Structural Boilerplate5 hits · 5 pts
SeverityFileLineSnippetContext
LOW…livekit-sdk-python/src/supermemory_livekit/__init__.py23__all__ = [CODE
LOW…ork-python/src/supermemory_agent_framework/__init__.py35__all__ = [CODE
LOW…pipecat-sdk-python/src/supermemory_pipecat/__init__.py51__all__ = [CODE
LOW…rtesia-sdk-python/src/supermemory_cartesia/__init__.py61__all__ = [CODE
LOW…s/openai-sdk-python/src/supermemory_openai/__init__.py59__all__ = [CODE
Cross-Language Confusion (JS/TS)1 hit · 5 pts
SeverityFileLineSnippetContext
HIGHapps/docs/snippets/hero-samples.jsx34print([m.memory for m in profile.static])CODE
Example Usage Blocks2 hits · 3 pts
SeverityFileLineSnippetContext
LOWpackages/tools/test/claude-memory-examples.ts232// 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