Memory and context engine + app that is extremely fast, scalable, and can be run fully locally. The Memory API for the AI era.
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).
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.
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.
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.
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.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | packages/ui/components/chart.tsx | 308 | function getPayloadConfigFromPayload( | CODE |
| LOW | packages/tools/test/claude-memory-real-example.ts | 16 | export async function handleClaudeMemoryToolCall( | CODE |
| LOW | packages/tools/src/mastra/processor.ts | 351 | export function createSupermemoryProcessor( | CODE |
| LOW | packages/tools/src/mastra/processor.ts | 383 | export function createSupermemoryOutputProcessor( | CODE |
| LOW | packages/tools/src/mastra/processor.ts | 420 | export function createSupermemoryProcessors( | CODE |
| LOW | packages/tools/src/openai/tools.ts | 235 | export function createSearchMemoriesFunction( | CODE |
| LOW | packages/tools/src/openai/tools.ts | 350 | export function createDocumentListFunction( | CODE |
| LOW | packages/tools/src/openai/tools.ts | 391 | export function createDocumentDeleteFunction( | CODE |
| LOW | packages/tools/src/openai/tools.ts | 421 | export function createDocumentAddFunction( | CODE |
| LOW | packages/tools/src/openai/tools.ts | 463 | export function createMemoryForgetFunction( | CODE |
| LOW | packages/agent-framework-python/tests/test_utils.py | 29 | def test_deduplication_priority(self) -> None: | CODE |
| LOW | packages/agent-framework-python/tests/test_utils.py | 47 | def test_empty_strings_filtered(self) -> None: | CODE |
| LOW⚡ | …ckages/agent-framework-python/tests/test_middleware.py | 93 | def test_uses_connection_client(self) -> None: | CODE |
| LOW⚡ | …ckages/agent-framework-python/tests/test_middleware.py | 98 | def test_conversation_id_from_connection(self) -> None: | CODE |
| LOW⚡ | …ckages/agent-framework-python/tests/test_middleware.py | 104 | def test_auto_generated_conversation_id(self) -> None: | CODE |
| LOW⚡ | …ckages/agent-framework-python/tests/test_middleware.py | 110 | def test_entity_context_from_connection(self) -> None: | CODE |
| LOW⚡ | …ckages/agent-framework-python/tests/test_connection.py | 18 | def test_accepts_api_key_param(self) -> None: | CODE |
| LOW⚡ | …ckages/agent-framework-python/tests/test_connection.py | 27 | def test_default_container_tag(self) -> None: | CODE |
| LOW⚡ | …ckages/agent-framework-python/tests/test_connection.py | 31 | def test_custom_container_tag(self) -> None: | CODE |
| LOW⚡ | …ckages/agent-framework-python/tests/test_connection.py | 35 | def test_auto_generates_conversation_id(self) -> None: | CODE |
| LOW⚡ | …ckages/agent-framework-python/tests/test_connection.py | 41 | def test_custom_conversation_id(self) -> None: | CODE |
| LOW | …ckages/agent-framework-python/tests/test_connection.py | 53 | def test_entity_context_default_none(self) -> None: | CODE |
| LOW | …ckages/agent-framework-python/tests/test_connection.py | 57 | def test_shared_client_instance(self) -> None: | CODE |
| LOW | …/agent-framework-python/tests/test_context_provider.py | 21 | def test_uses_connection_client(self) -> None: | CODE |
| LOW⚡ | …/agent-framework-python/tests/test_context_provider.py | 43 | def test_store_conversations_default(self) -> None: | CODE |
| LOW⚡ | …/agent-framework-python/tests/test_context_provider.py | 48 | def test_conversation_id_from_connection(self) -> None: | CODE |
| LOW⚡ | …/agent-framework-python/tests/test_context_provider.py | 54 | def test_entity_context_from_connection(self) -> None: | CODE |
| LOW⚡ | packages/agent-framework-python/tests/test_tools.py | 15 | def test_create_tools_instance(self) -> None: | CODE |
| LOW⚡ | packages/agent-framework-python/tests/test_tools.py | 20 | def test_create_tools_with_custom_tag(self) -> None: | CODE |
| LOW⚡ | packages/agent-framework-python/tests/test_tools.py | 25 | def test_get_tools_returns_list(self) -> None: | CODE |
| LOW | packages/agent-framework-python/tests/test_tools.py | 41 | def test_uses_connection_client(self) -> None: | CODE |
| LOW | packages/agent-framework-python/tests/test_tools.py | 46 | def test_shares_custom_id_with_connection(self) -> None: | CODE |
| LOW | …on/src/supermemory_agent_framework/context_provider.py | 240 | def _extract_query_from_context(self, context: Any) -> str: | CODE |
| LOW | …on/src/supermemory_agent_framework/context_provider.py | 281 | def _extract_conversation_from_context(self, context: Any) -> str: | CODE |
| LOW | …mework-python/src/supermemory_agent_framework/utils.py | 136 | def convert_profile_to_markdown(data: dict[str, Any]) -> str: | CODE |
| LOW | …k-python/src/supermemory_agent_framework/middleware.py | 72 | def _get_conversation_content(messages: Any) -> str: | CODE |
| LOW | …k-python/src/supermemory_agent_framework/middleware.py | 359 | async def wait_for_background_tasks( | CODE |
| LOW | packages/memory-graph/src/canvas/renderer.ts | 29 | function nodeMatchesDocumentHighlights( | CODE |
| LOW | packages/memory-graph/src/canvas/renderer.ts | 130 | function applyRelationLevelOfDetail( | CODE |
| LOW | packages/memory-graph/src/hooks/use-graph-data.ts | 114 | export function computeClusterAssignments( | CODE |
| LOW | packages/memory-graph/src/hooks/use-graph-data.ts | 205 | function getDocumentClusterAssignment( | CODE |
| LOW | packages/pipecat-sdk-python/tests/test_empty_profile.py | 109 | async def test_retrieve_memories_handles_null_profile(self) -> None: | CODE |
| LOW | …/pipecat-sdk-python/src/supermemory_pipecat/service.py | 187 | def _enhance_context_with_memories( | CODE |
| LOW | packages/docs-test/tests/python/user_profiles.py | 26 | def test_profile_with_memories(): | CODE |
| LOW | packages/docs-test/tests/integrations/openai-sdk.py | 8 | def test_openai_with_supermemory(): | CODE |
| LOW | …ckages/cartesia-sdk-python/tests/test_empty_profile.py | 54 | async def test_retrieve_memories_handles_null_profile(self) -> None: | CODE |
| LOW | …/cartesia-sdk-python/src/supermemory_cartesia/agent.py | 294 | def _extract_conversation_from_history(self, history: list) -> List[Dict[str, str]]: | CODE |
| LOW | …/cartesia-sdk-python/src/supermemory_cartesia/agent.py | 343 | async def _enrich_event_with_memories(self, event: Any) -> tuple[Any, Optional[str]]: | CODE |
| LOW | packages/openai-sdk-python/tests/test_middleware.py | 79 | def mock_supermemory_response(): | CODE |
| LOW | packages/openai-sdk-python/tests/test_middleware.py | 103 | def test_with_supermemory_basic(self, mock_openai_client): | CODE |
| LOW | packages/openai-sdk-python/tests/test_middleware.py | 118 | def test_with_supermemory_with_options(self, mock_openai_client): | CODE |
| LOW | packages/openai-sdk-python/tests/test_middleware.py | 136 | def test_missing_api_key_raises_error(self, mock_openai_client): | CODE |
| LOW | packages/openai-sdk-python/tests/test_middleware.py | 148 | def test_wrapper_delegates_attributes(self, mock_openai_client): | CODE |
| LOW | packages/openai-sdk-python/tests/test_middleware.py | 167 | async def test_memory_injection_profile_mode( | CODE |
| LOW | packages/openai-sdk-python/tests/test_middleware.py | 208 | async def test_memory_injection_query_mode( | CODE |
| LOW | packages/openai-sdk-python/tests/test_middleware.py | 241 | async def test_memory_injection_full_mode( | CODE |
| LOW | packages/openai-sdk-python/tests/test_middleware.py | 279 | async def test_existing_system_prompt_enhancement( | CODE |
| LOW | packages/openai-sdk-python/tests/test_middleware.py | 322 | async def test_empty_memories_do_not_modify_messages( | CODE |
| LOW | packages/openai-sdk-python/tests/test_middleware.py | 384 | async def test_add_memory_always_mode( | CODE |
| LOW | packages/openai-sdk-python/tests/test_middleware.py | 418 | async def test_add_memory_never_mode( | CODE |
| 93 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | packages/tools/test/claude-memory-examples.ts | 249 | -H "Authorization: Bearer YOUR_API_KEY" \\ | CODE |
| HIGH | packages/tools/test/claude-memory-examples.ts | 265 | -H "Authorization: Bearer YOUR_API_KEY" \\ | CODE |
| HIGH | packages/tools/test/claude-memory-examples.ts | 276 | -H "Authorization: Bearer YOUR_API_KEY" \\ | CODE |
| HIGH | packages/tools/test/claude-memory-examples.ts | 287 | -H "Authorization: Bearer YOUR_API_KEY" \\ | CODE |
| HIGH | packages/tools/test/claude-memory-examples.ts | 301 | -H "Authorization: Bearer YOUR_API_KEY" | CODE |
| HIGH | packages/agent-framework-python/README.md | 236 | api_key="your-api-key", | CODE |
| HIGH | packages/agent-framework-python/README.md | 260 | api_key="your-api-key", # Or set SUPERMEMORY_API_KEY env var | CODE |
| HIGH | packages/agent-framework-python/README.md | 282 | api_key="your-api-key", # Or set SUPERMEMORY_API_KEY env var | CODE |
| HIGH | packages/docs-test/tests/integrations/ai-sdk.ts | 90 | const tools = supermemoryTools("YOUR_API_KEY") | CODE |
| HIGH⚡ | packages/openai-sdk-python/README.md | 272 | search_tool = create_search_memories_tool("your-api-key") | CODE |
| HIGH⚡ | packages/openai-sdk-python/README.md | 273 | add_tool = create_add_memory_tool("your-api-key") | CODE |
| HIGH⚡ | packages/openai-sdk-python/README.md | 274 | fetch_tool = create_fetch_memory_tool("your-api-key") | CODE |
| HIGH | packages/ai-sdk/README.md | 187 | const tools = supermemoryTools('your-api-key', { | CODE |
| HIGH | packages/ai-sdk/README.md | 236 | const searchTool = searchMemoriesTool('your-api-key', { | CODE |
| HIGH | skills/supermemory/references/api-reference.md | 16 | Authorization: Bearer YOUR_API_KEY | CODE |
| HIGH | skills/supermemory/references/api-reference.md | 34 | Authorization: Bearer YOUR_API_KEY | CODE |
| HIGH | skills/supermemory/references/api-reference.md | 52 | -H "Authorization: Bearer YOUR_API_KEY" \ | CODE |
| HIGH | skills/supermemory/references/api-reference.md | 114 | Authorization: Bearer YOUR_API_KEY | CODE |
| HIGH | skills/supermemory/references/api-reference.md | 165 | -H "Authorization: Bearer YOUR_API_KEY" \ | CODE |
| HIGH | skills/supermemory/references/api-reference.md | 237 | Authorization: Bearer YOUR_API_KEY | CODE |
| HIGH | skills/supermemory/references/api-reference.md | 255 | -H "Authorization: Bearer YOUR_API_KEY" \ | CODE |
| HIGH | skills/supermemory/references/api-reference.md | 392 | -H "Authorization: Bearer YOUR_API_KEY" \ | CODE |
| HIGH | skills/supermemory/references/api-reference.md | 474 | -H "Authorization: Bearer YOUR_API_KEY" \ | CODE |
| HIGH | skills/supermemory/references/api-reference.md | 481 | -H "Authorization: Bearer YOUR_API_KEY" | CODE |
| HIGH | skills/supermemory/references/api-reference.md | 504 | -H "Authorization: Bearer YOUR_API_KEY" \ | CODE |
| HIGH | skills/supermemory/references/api-reference.md | 520 | -H "Authorization: Bearer YOUR_API_KEY" \ | CODE |
| HIGH | skills/supermemory/references/api-reference.md | 537 | -H "Authorization: Bearer YOUR_API_KEY" \ | CODE |
| HIGH | skills/supermemory/references/api-reference.md | 564 | -H "Authorization: Bearer YOUR_API_KEY" \ | CODE |
| HIGH | apps/web/components/connect-ai-modal.tsx | 669 | manualApiKey || "your-api-key-here", | CODE |
| HIGH | apps/web/components/mcp-modal/mcp-detail-view.tsx | 521 | const snippet = buildMcpUrlRemoteJson("your-api-key-here") | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | packages/agent-framework-python/tests/test_utils.py | 5 | CODE | |
| LOW | …ckages/agent-framework-python/tests/test_middleware.py | 3 | CODE | |
| LOW | …/agent-framework-python/tests/test_context_provider.py | 3 | CODE | |
| LOW | packages/agent-framework-python/tests/test_tools.py | 3 | CODE | |
| LOW | …on/src/supermemory_agent_framework/context_provider.py | 10 | CODE | |
| LOW | …ork-python/src/supermemory_agent_framework/__init__.py | 3 | CODE | |
| LOW | …ork-python/src/supermemory_agent_framework/__init__.py | 7 | CODE | |
| LOW | …ork-python/src/supermemory_agent_framework/__init__.py | 7 | CODE | |
| LOW | …ork-python/src/supermemory_agent_framework/__init__.py | 7 | CODE | |
| LOW | …ork-python/src/supermemory_agent_framework/__init__.py | 7 | CODE | |
| LOW | …ork-python/src/supermemory_agent_framework/__init__.py | 14 | CODE | |
| LOW | …ork-python/src/supermemory_agent_framework/__init__.py | 14 | CODE | |
| LOW | …ork-python/src/supermemory_agent_framework/__init__.py | 19 | CODE | |
| LOW | …ork-python/src/supermemory_agent_framework/__init__.py | 23 | CODE | |
| LOW | …ork-python/src/supermemory_agent_framework/__init__.py | 23 | CODE | |
| LOW | …ork-python/src/supermemory_agent_framework/__init__.py | 23 | CODE | |
| LOW | …ork-python/src/supermemory_agent_framework/__init__.py | 23 | CODE | |
| LOW | …ork-python/src/supermemory_agent_framework/__init__.py | 23 | CODE | |
| LOW | …ork-python/src/supermemory_agent_framework/__init__.py | 31 | CODE | |
| LOW | …ork-python/src/supermemory_agent_framework/__init__.py | 31 | CODE | |
| LOW | …ork-python/src/supermemory_agent_framework/__init__.py | 31 | CODE | |
| LOW | …ork-python/src/supermemory_agent_framework/__init__.py | 31 | CODE | |
| LOW | …ork-python/src/supermemory_agent_framework/__init__.py | 31 | CODE | |
| LOW | …ork-python/src/supermemory_agent_framework/__init__.py | 31 | CODE | |
| LOW | packages/pipecat-sdk-python/tests/test_empty_profile.py | 1 | CODE | |
| LOW | …pipecat-sdk-python/src/supermemory_pipecat/__init__.py | 28 | CODE | |
| LOW | …pipecat-sdk-python/src/supermemory_pipecat/__init__.py | 28 | CODE | |
| LOW | …pipecat-sdk-python/src/supermemory_pipecat/__init__.py | 28 | CODE | |
| LOW | …pipecat-sdk-python/src/supermemory_pipecat/__init__.py | 28 | CODE | |
| LOW | …pipecat-sdk-python/src/supermemory_pipecat/__init__.py | 28 | CODE | |
| LOW | …pipecat-sdk-python/src/supermemory_pipecat/__init__.py | 28 | CODE | |
| LOW | …pipecat-sdk-python/src/supermemory_pipecat/__init__.py | 36 | CODE | |
| LOW | …pipecat-sdk-python/src/supermemory_pipecat/__init__.py | 37 | CODE | |
| LOW | …pipecat-sdk-python/src/supermemory_pipecat/__init__.py | 37 | CODE | |
| LOW | …pipecat-sdk-python/src/supermemory_pipecat/__init__.py | 37 | CODE | |
| LOW | packages/docs-test/tests/python/sdk.py | 1 | CODE | |
| LOW | packages/docs-test/tests/python/user_profiles.py | 1 | CODE | |
| LOW | packages/docs-test/tests/python/search.py | 1 | CODE | |
| LOW | packages/docs-test/tests/python/quickstart.py | 1 | CODE | |
| LOW | …ckages/cartesia-sdk-python/tests/test_empty_profile.py | 1 | CODE | |
| LOW | …rtesia-sdk-python/src/supermemory_cartesia/__init__.py | 34 | CODE | |
| LOW | …rtesia-sdk-python/src/supermemory_cartesia/__init__.py | 34 | CODE | |
| LOW | …rtesia-sdk-python/src/supermemory_cartesia/__init__.py | 34 | CODE | |
| LOW | …rtesia-sdk-python/src/supermemory_cartesia/__init__.py | 34 | CODE | |
| LOW | …rtesia-sdk-python/src/supermemory_cartesia/__init__.py | 34 | CODE | |
| LOW | …rtesia-sdk-python/src/supermemory_cartesia/__init__.py | 34 | CODE | |
| LOW | …rtesia-sdk-python/src/supermemory_cartesia/__init__.py | 42 | CODE | |
| LOW | …rtesia-sdk-python/src/supermemory_cartesia/__init__.py | 42 | CODE | |
| LOW | …rtesia-sdk-python/src/supermemory_cartesia/__init__.py | 42 | CODE | |
| LOW | …rtesia-sdk-python/src/supermemory_cartesia/__init__.py | 42 | CODE | |
| LOW | packages/openai-sdk-python/tests/test_middleware.py | 6 | CODE | |
| LOW | packages/openai-sdk-python/tests/test_middleware.py | 7 | CODE | |
| LOW | packages/openai-sdk-python/tests/test_middleware.py | 7 | CODE | |
| LOW | …ages/openai-sdk-python/src/supermemory_openai/tools.py | 19 | CODE | |
| LOW | …ages/openai-sdk-python/src/supermemory_openai/tools.py | 19 | CODE | |
| LOW | …ages/openai-sdk-python/src/supermemory_openai/tools.py | 19 | CODE | |
| LOW | …s/openai-sdk-python/src/supermemory_openai/__init__.py | 3 | CODE | |
| LOW | …s/openai-sdk-python/src/supermemory_openai/__init__.py | 3 | CODE | |
| LOW | …s/openai-sdk-python/src/supermemory_openai/__init__.py | 3 | CODE | |
| LOW | …s/openai-sdk-python/src/supermemory_openai/__init__.py | 3 | CODE | |
| 25 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …mework-python/src/supermemory_agent_framework/tools.py | 90 | except Exception as error: | CODE |
| LOW | …mework-python/src/supermemory_agent_framework/tools.py | 113 | except Exception as error: | CODE |
| LOW | …mework-python/src/supermemory_agent_framework/tools.py | 141 | except Exception as error: | CODE |
| LOW | …on/src/supermemory_agent_framework/context_provider.py | 121 | except Exception as e: | CODE |
| LOW | …on/src/supermemory_agent_framework/context_provider.py | 190 | except Exception as e: | CODE |
| LOW | …k-python/src/supermemory_agent_framework/middleware.py | 215 | except Exception as error: | CODE |
| LOW | …k-python/src/supermemory_agent_framework/middleware.py | 336 | except Exception as e: | CODE |
| LOW | …k-python/src/supermemory_agent_framework/middleware.py | 419 | except Exception: | CODE |
| LOW | …/pipecat-sdk-python/src/supermemory_pipecat/service.py | 115 | except Exception as e: | CODE |
| LOW | …/pipecat-sdk-python/src/supermemory_pipecat/service.py | 164 | except Exception as e: | CODE |
| LOW | …/pipecat-sdk-python/src/supermemory_pipecat/service.py | 184 | except Exception as e: | CODE |
| LOW | …/pipecat-sdk-python/src/supermemory_pipecat/service.py | 322 | except Exception as e: | CODE |
| LOW | …es/pipecat-sdk-python/src/supermemory_pipecat/utils.py | 48 | except Exception: | CODE |
| LOW | …/cartesia-sdk-python/src/supermemory_cartesia/utils.py | 48 | except Exception: | CODE |
| LOW | …/cartesia-sdk-python/src/supermemory_cartesia/agent.py | 141 | except Exception as e: | CODE |
| LOW | …/cartesia-sdk-python/src/supermemory_cartesia/agent.py | 196 | except Exception as e: | CODE |
| LOW | …/cartesia-sdk-python/src/supermemory_cartesia/agent.py | 233 | except Exception as e: | CODE |
| LOW | …/cartesia-sdk-python/src/supermemory_cartesia/agent.py | 376 | except Exception as e: | CODE |
| LOW | …/cartesia-sdk-python/src/supermemory_cartesia/agent.py | 443 | except Exception as e: | CODE |
| LOW | packages/openai-sdk-python/README.md | 381 | except Exception as e: | CODE |
| LOW | packages/openai-sdk-python/test_integration.py | 68 | except Exception as e: | CODE |
| LOW⚡ | packages/openai-sdk-python/test_integration.py | 118 | except Exception as e: | CODE |
| LOW⚡ | packages/openai-sdk-python/test_integration.py | 137 | except Exception as e: | CODE |
| LOW | packages/openai-sdk-python/test_integration.py | 171 | except Exception as e: | CODE |
| LOW | …ages/openai-sdk-python/src/supermemory_openai/tools.py | 208 | except Exception as error: | CODE |
| LOW | …ages/openai-sdk-python/src/supermemory_openai/tools.py | 240 | except Exception as error: | CODE |
| LOW | …openai-sdk-python/src/supermemory_openai/middleware.py | 256 | except Exception as error: | CODE |
| LOW | …openai-sdk-python/src/supermemory_openai/middleware.py | 291 | except Exception as e: | CODE |
| LOW | …openai-sdk-python/src/supermemory_openai/middleware.py | 472 | except Exception as e: | CODE |
| LOW | apps/docs/migration/mem0-migration-script.py | 110 | except Exception as e: | CODE |
| LOW | apps/docs/migration/mem0-migration-script.py | 221 | except Exception as e: | CODE |
| LOW | apps/docs/migration/mem0-migration-script.py | 259 | except Exception as e: | CODE |
| LOW | apps/docs/migration/mem0-migration-script.py | 330 | except Exception as e: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | packages/tools/test/claude-memory-real-example.ts | 81 | // Step 1: Make initial request to Claude | COMMENT |
| LOW | packages/tools/test/claude-memory-real-example.ts | 118 | // Step 2: Handle any tool calls | COMMENT |
| LOW | packages/tools/test/claude-memory-real-example.ts | 149 | // Step 3: Send tool results back to Claude if there were any | COMMENT |
| LOW | packages/tools/test/with-supermemory/unit.test.ts | 195 | // Step 1: New turn (user message last) | COMMENT |
| LOW | packages/tools/test/with-supermemory/unit.test.ts | 207 | // Step 2: Continuation (assistant/tool after user) | COMMENT |
| LOW | skills/supermemory/references/quickstart.md | 5 | ## Step 1: Get Your API Key | COMMENT |
| LOW | skills/supermemory/references/quickstart.md | 12 | ## Step 2: Install the SDK | COMMENT |
| LOW | skills/supermemory/references/quickstart.md | 36 | ## Step 3: Set Environment Variable | COMMENT |
| LOW | skills/supermemory/references/quickstart.md | 49 | ## Step 4: Basic Usage | COMMENT |
| LOW⚡ | apps/docs/migration/mem0-migration-script.py | 74 | # Step 1: Create export job | COMMENT |
| LOW⚡ | apps/docs/migration/mem0-migration-script.py | 83 | # Step 2: Wait for export to complete | COMMENT |
| LOW⚡ | apps/docs/migration/mem0-migration-script.py | 87 | # Step 3: Retrieve the exported data using the correct method | COMMENT |
| LOW⚡ | apps/docs/migration/mem0-migration-script.py | 91 | # Step 4: Save backup | COMMENT |
| LOW | apps/docs/migration/mem0-migration-script.py | 286 | # Step 1: Export from Mem0 | COMMENT |
| LOW⚡ | apps/docs/migration/mem0-migration-script.py | 301 | # Step 2: Import to Supermemory | COMMENT |
| LOW⚡ | apps/docs/migration/mem0-migration-script.py | 307 | # Step 3: Verify migration | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | apps/web/components/digests-view.tsx | 68 | // ─── Left list row ──────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | apps/web/components/digests-view.tsx | 146 | // ─── Right pane: a single digest, faithful to the email layout ───────────────── | COMMENT |
| MEDIUM | apps/web/components/digests-view.tsx | 375 | // ─── Master-detail ───────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | apps/web/components/timeline-view.tsx | 17 | // ─── Time period helpers ───────────────────────────────────────────────────── | COMMENT |
| MEDIUM | apps/web/components/timeline-view.tsx | 38 | // ─── Document type helpers ──────────────────────────────────────────────────── | COMMENT |
| MEDIUM | apps/web/components/timeline-view.tsx | 138 | // ─── Grouped data structures ───────────────────────────────────────────────── | COMMENT |
| MEDIUM | apps/web/components/timeline-view.tsx | 190 | // ─── Individual timeline card ───────────────────────────────────────────────── | COMMENT |
| MEDIUM | apps/web/components/timeline-view.tsx | 302 | // ─── Collapsed group card ───────────────────────────────────────────────────── | COMMENT |
| MEDIUM | apps/web/components/timeline-view.tsx | 485 | // ─── Main TimelineView ──────────────────────────────────────────────────────── | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | packages/tools/test/claude-memory-real-example.ts | 81 | // Step 1: Make initial request to Claude | COMMENT |
| LOW | packages/tools/test/claude-memory-real-example.ts | 118 | // Step 2: Handle any tool calls | COMMENT |
| LOW | packages/tools/test/claude-memory-real-example.ts | 149 | // Step 3: Send tool results back to Claude if there were any | COMMENT |
| LOW | packages/tools/test/with-supermemory/unit.test.ts | 195 | // Step 1: New turn (user message last) | COMMENT |
| LOW | packages/tools/test/with-supermemory/unit.test.ts | 207 | // Step 2: Continuation (assistant/tool after user) | COMMENT |
| LOW⚡ | apps/docs/migration/mem0-migration-script.py | 74 | # Step 1: Create export job | COMMENT |
| LOW⚡ | apps/docs/migration/mem0-migration-script.py | 83 | # Step 2: Wait for export to complete | COMMENT |
| LOW⚡ | apps/docs/migration/mem0-migration-script.py | 87 | # Step 3: Retrieve the exported data using the correct method | COMMENT |
| LOW⚡ | apps/docs/migration/mem0-migration-script.py | 91 | # Step 4: Save backup | COMMENT |
| LOW | apps/docs/migration/mem0-migration-script.py | 286 | # Step 1: Export from Mem0 | COMMENT |
| LOW⚡ | apps/docs/migration/mem0-migration-script.py | 301 | # Step 2: Import to Supermemory | COMMENT |
| LOW⚡ | apps/docs/migration/mem0-migration-script.py | 307 | # Step 3: Verify migration | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …on/src/supermemory_agent_framework/context_provider.py | 240 | CODE | |
| LOW | …on/src/supermemory_agent_framework/context_provider.py | 281 | CODE | |
| LOW | …k-python/src/supermemory_agent_framework/middleware.py | 37 | CODE | |
| LOW | …k-python/src/supermemory_agent_framework/middleware.py | 72 | CODE | |
| LOW | …k-python/src/supermemory_agent_framework/middleware.py | 389 | CODE | |
| LOW | …k-python/src/supermemory_agent_framework/middleware.py | 269 | CODE | |
| LOW | …/pipecat-sdk-python/src/supermemory_pipecat/service.py | 273 | CODE | |
| LOW | …es/pipecat-sdk-python/src/supermemory_pipecat/utils.py | 15 | CODE | |
| LOW | …es/pipecat-sdk-python/src/supermemory_pipecat/utils.py | 90 | CODE | |
| LOW | …/cartesia-sdk-python/src/supermemory_cartesia/utils.py | 15 | CODE | |
| LOW | …/cartesia-sdk-python/src/supermemory_cartesia/utils.py | 90 | CODE | |
| LOW | …/cartesia-sdk-python/src/supermemory_cartesia/agent.py | 200 | CODE | |
| LOW | …/cartesia-sdk-python/src/supermemory_cartesia/agent.py | 270 | CODE | |
| LOW | …/cartesia-sdk-python/src/supermemory_cartesia/agent.py | 294 | CODE | |
| LOW | …/cartesia-sdk-python/src/supermemory_cartesia/agent.py | 380 | CODE | |
| LOW | packages/openai-sdk-python/tests/test_middleware.py | 735 | CODE | |
| LOW | packages/openai-sdk-python/tests/test_middleware.py | 773 | CODE | |
| LOW | …ages/openai-sdk-python/src/supermemory_openai/utils.py | 80 | CODE | |
| LOW | …ages/openai-sdk-python/src/supermemory_openai/utils.py | 125 | CODE | |
| LOW | …openai-sdk-python/src/supermemory_openai/middleware.py | 330 | CODE | |
| LOW | …openai-sdk-python/src/supermemory_openai/middleware.py | 422 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | skills/supermemory/SKILL.md | 32 | ### 3. RAG - Advanced Semantic Search | COMMENT |
| MEDIUM | skills/supermemory/references/architecture.md | 395 | ### vs. Traditional RAG | COMMENT |
| MEDIUM | skills/supermemory/references/api-reference.md | 533 | ### Search with Filters (Hybrid Mode for RAG) | COMMENT |
| MEDIUM | apps/docs/install.md | 100 | // Option 1: Agent tools (recommended for agentic flows) | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | packages/openai-sdk-python/tests/test_tools.py | 281 | # self, | COMMENT |
| LOW | packages/openai-sdk-python/tests/test_tools.py | 301 | COMMENT | |
| LOW | packages/openai-sdk-python/tests/test_tools.py | 321 | COMMENT | |
| LOW | skills/supermemory/references/sdk-guide.md | 141 | // dynamic: string[] // Array of dynamic memories (recent context) | COMMENT |
| LOW | skills/supermemory/references/sdk-guide.md | 161 | threshold=float # Optional: relevance threshold (0-1, default 0.5) | COMMENT |
| LOW | skills/supermemory/references/sdk-guide.md | 221 | // results: Array<{ | COMMENT |
| LOW | apps/web/middleware.ts | 81 | } | COMMENT |
| LOW | apps/web/README.md | 1 | # supermemory Consumer | COMMENT |
| LOW | apps/browser-extension/README.md | 1 | ## supermemory Browser Extension | COMMENT |
| LOW | apps/docs/README.md | 1 | # supermemory Docs | COMMENT |
| LOW | apps/memory-graph-playground/next-env.d.ts | 1 | /// <reference types="next" /> | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | …/pipecat-sdk-python/src/supermemory_pipecat/service.py | 123 | Retrieve relevant memories from Supermemory. Args: query: The search query for memory retrieval. | STRING |
| HIGH | …openai-sdk-python/src/supermemory_openai/middleware.py | 626 | Wraps an OpenAI client with SuperMemory middleware to automatically inject relevant memories into the system pr | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | packages/openai-sdk-python/test_integration.py | 128 | openai_client = OpenAI(api_key="fake-key") | CODE |
| LOW | apps/web/app/(app)/brain-home/page.tsx | 233 | name: "Jane Doe", | CODE |
| LOW | apps/web/app/(app)/brain-home/page.tsx | 257 | { who: "Jane Doe", what: "updated the Acme MSA draft", when: "1h" }, | CODE |
| LOW | apps/web/components/brain-home/data.ts | 168 | name: "Jane Doe", | CODE |
| LOW | apps/web/components/brain-home/data.ts | 192 | { who: "Jane Doe", what: "updated the Acme MSA draft", when: "1h" }, | CODE |
| LOW | apps/web/components/brain-home/data.ts | 399 | name: "Jane Doe", | CODE |
| LOW | apps/raycast-extension/package.json | 51 | "placeholder": "Enter your Supermemory API Key" | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …ork-python/src/supermemory_agent_framework/__init__.py | 40 | __all__ = [ | CODE |
| LOW | …pipecat-sdk-python/src/supermemory_pipecat/__init__.py | 45 | __all__ = [ | CODE |
| LOW | …rtesia-sdk-python/src/supermemory_cartesia/__init__.py | 51 | __all__ = [ | CODE |
| LOW | …s/openai-sdk-python/src/supermemory_openai/__init__.py | 44 | __all__ = [ | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | packages/tools/test/claude-memory-examples.ts | 235 | // Example usage: | COMMENT |
| LOW | packages/tools/src/claude-memory-simple-example.ts | 60 | // Example usage | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | packages/openai-sdk-python/test_integration.py | 150 | # Create a fake OpenAI client for testing | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | apps/docs/migration/mem0-migration-script.py | 136 | # Check if content exists | COMMENT |