Repository Analysis

getzep/zep

Zep | Examples, Integrations, & More

32.3 Strong AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of getzep/zep, a Python project with 4,750 GitHub stars. SynthScan v2.0 examined 133,199 lines of code across 652 source files, recording 2345 pattern matches distributed across 20 syntactic categories. The overall adjusted score of 32.3 places this repository in the Strong AI signal 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).

32.3
Adjusted Score
32.3
Raw Score
100%
Time Factor
2026-07-10
Last Push
4.8K
Stars
Python
Language
133.2K
Lines of Code
652
Files
2.3K
Pattern Hits
2026-07-14
Scan Date
0.39
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 4HIGH 253MEDIUM 433LOW 1655

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 2345 distinct pattern matches across 20 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.

Decorative Section Separators328 hits · 1092 pts
SeverityFileLineSnippetContext
MEDIUMzep-eval-harness/zep_ingest_documents.py67# ============================================================================COMMENT
MEDIUMzep-eval-harness/zep_ingest_documents.py69# ============================================================================COMMENT
MEDIUMzep-eval-harness/zep_ingest_documents.py78# ============================================================================COMMENT
MEDIUMzep-eval-harness/zep_ingest_documents.py80# ============================================================================COMMENT
MEDIUMzep-eval-harness/zep_ingest_documents.py299# ============================================================================COMMENT
MEDIUMzep-eval-harness/zep_ingest_documents.py301# ============================================================================COMMENT
MEDIUMzep-eval-harness/zep_ingest_documents.py258# ============================================================================COMMENT
MEDIUMzep-eval-harness/zep_ingest_documents.py260# ============================================================================COMMENT
MEDIUMzep-eval-harness/zep_ingest_documents.py383# ============================================================================COMMENT
MEDIUMzep-eval-harness/zep_ingest_documents.py385# ============================================================================COMMENT
MEDIUMzep-eval-harness/zep_ingest_documents.py457# ============================================================================COMMENT
MEDIUMzep-eval-harness/zep_ingest_documents.py459# ============================================================================COMMENT
MEDIUMzep-eval-harness/zep_ingest_documents.py513# ============================================================================STRING
MEDIUMzep-eval-harness/zep_ingest_documents.py515# ============================================================================STRING
MEDIUMzep-eval-harness/zep_chunk_documents.py40# ============================================================================COMMENT
MEDIUMzep-eval-harness/zep_chunk_documents.py42# ============================================================================COMMENT
MEDIUMzep-eval-harness/zep_chunk_documents.py74# ============================================================================COMMENT
MEDIUMzep-eval-harness/zep_chunk_documents.py76# ============================================================================COMMENT
MEDIUMzep-eval-harness/zep_chunk_documents.py187# ============================================================================COMMENT
MEDIUMzep-eval-harness/zep_chunk_documents.py189# ============================================================================COMMENT
MEDIUMzep-eval-harness/zep_chunk_documents.py250# ============================================================================COMMENT
MEDIUMzep-eval-harness/zep_chunk_documents.py252# ============================================================================COMMENT
MEDIUMzep-eval-harness/zep_chunk_documents.py422# ============================================================================COMMENT
MEDIUMzep-eval-harness/zep_chunk_documents.py424# ============================================================================COMMENT
MEDIUMzep-eval-harness/zep_evaluate.py69# ============================================================================COMMENT
MEDIUMzep-eval-harness/zep_evaluate.py71# ============================================================================COMMENT
MEDIUMzep-eval-harness/zep_evaluate.py175# ============================================================================COMMENT
MEDIUMzep-eval-harness/zep_evaluate.py177# ============================================================================COMMENT
MEDIUMzep-eval-harness/zep_evaluate.py451# ============================================================================COMMENT
MEDIUMzep-eval-harness/zep_evaluate.py453# ============================================================================COMMENT
MEDIUMzep-eval-harness/zep_evaluate.py489# ============================================================================COMMENT
MEDIUMzep-eval-harness/zep_evaluate.py491# ============================================================================COMMENT
MEDIUMzep-eval-harness/zep_evaluate.py39# ============================================================================COMMENT
MEDIUMzep-eval-harness/zep_evaluate.py41# ============================================================================COMMENT
MEDIUMzep-eval-harness/zep_evaluate.py1338# ============================================================================COMMENT
MEDIUMzep-eval-harness/zep_evaluate.py1340# ============================================================================COMMENT
MEDIUMzep-eval-harness/zep_evaluate.py575# ============================================================================STRING
MEDIUMzep-eval-harness/zep_evaluate.py577# ============================================================================STRING
MEDIUMzep-eval-harness/zep_evaluate.py685# ============================================================================STRING
MEDIUMzep-eval-harness/zep_evaluate.py687# ============================================================================STRING
MEDIUMzep-eval-harness/zep_evaluate.py796# ============================================================================STRING
MEDIUMzep-eval-harness/zep_evaluate.py798# ============================================================================STRING
MEDIUMzep-eval-harness/zep_evaluate.py911# ============================================================================STRING
MEDIUMzep-eval-harness/zep_evaluate.py913# ============================================================================STRING
MEDIUMzep-eval-harness/zep_ingest_users.py218# ============================================================================COMMENT
MEDIUMzep-eval-harness/zep_ingest_users.py220# ============================================================================COMMENT
MEDIUMzep-eval-harness/zep_ingest_users.py301# ============================================================================COMMENT
MEDIUMzep-eval-harness/zep_ingest_users.py303# ============================================================================COMMENT
MEDIUMzep-eval-harness/zep_ingest_users.py360# ============================================================================COMMENT
MEDIUMzep-eval-harness/zep_ingest_users.py362# ============================================================================COMMENT
MEDIUMzep-eval-harness/zep_ingest_users.py63# ============================================================================COMMENT
MEDIUMzep-eval-harness/zep_ingest_users.py65# ============================================================================COMMENT
MEDIUMzep-eval-harness/zep_ingest_users.py142# ============================================================================COMMENT
MEDIUMzep-eval-harness/zep_ingest_users.py144# ============================================================================COMMENT
MEDIUMzep-eval-harness/zep_ingest_users.py445# ============================================================================COMMENT
MEDIUMzep-eval-harness/zep_ingest_users.py447# ============================================================================COMMENT
MEDIUMzep-eval-harness/zep_ingest_users.py520# ============================================================================COMMENT
MEDIUMzep-eval-harness/zep_ingest_users.py522# ============================================================================COMMENT
MEDIUMzep-eval-harness/zep_ingest_users.py608# ============================================================================COMMENT
MEDIUMzep-eval-harness/zep_ingest_users.py610# ============================================================================COMMENT
268 more matches not shown…
Cross-File Repetition204 hits · 1020 pts
SeverityFileLineSnippetContext
HIGH…onfig/document_ingestion_config/custom_instructions.py0zep custom instructions — user graphs custom instructions for user conversation graphs. these describe the domain, termiSTRING
HIGH…ument_ingestion_config_snapshot/custom_instructions.py0zep custom instructions — user graphs custom instructions for user conversation graphs. these describe the domain, termiSTRING
HIGH…ss/config/user_ingestion_config/custom_instructions.py0zep custom instructions — user graphs custom instructions for user conversation graphs. these describe the domain, termiSTRING
HIGH…/user_ingestion_config_snapshot/custom_instructions.py0zep custom instructions — user graphs custom instructions for user conversation graphs. these describe the domain, termiSTRING
HIGH…grations/ms-agent-framework/python/tests/test_basic.py0create a mock asynczep client with async user/thread methods.STRING
HIGH…s-agent-framework/python/tests/test_context_builder.py0create a mock asynczep client with async user/thread methods.STRING
HIGHintegrations/adk/python/tests/test_basic.py0create a mock asynczep client with async user/thread methods.STRING
HIGH…s/ms-agent-framework/python/tests/test_provisioning.py0tests for out-of-band zep resource provisioning: ``ensure_user``, ``ensure_thread``, and the ``on_created`` hook contracSTRING
HIGH…grations/pydantic-ai/python/tests/test_provisioning.py0tests for out-of-band zep resource provisioning: ``ensure_user``, ``ensure_thread``, and the ``on_created`` hook contracSTRING
HIGHintegrations/livekit/python/tests/test_provisioning.py0tests for out-of-band zep resource provisioning: ``ensure_user``, ``ensure_thread``, and the ``on_created`` hook contracSTRING
HIGHintegrations/autogen/python/tests/test_provisioning.py0tests for out-of-band zep resource provisioning: ``ensure_user``, ``ensure_thread``, and the ``on_created`` hook contracSTRING
HIGH…s/ms-agent-framework/python/tests/test_provisioning.py0minimal stand-in for a typed zep sdk error exposing ``status_code``.STRING
HIGHintegrations/crewai/python/tests/test_provisioning.py0minimal stand-in for a typed zep sdk error exposing ``status_code``.STRING
HIGH…grations/pydantic-ai/python/tests/test_provisioning.py0minimal stand-in for a typed zep sdk error exposing ``status_code``.STRING
HIGHintegrations/ag2/python/tests/test_provisioning.py0minimal stand-in for a typed zep sdk error exposing ``status_code``.STRING
HIGHintegrations/livekit/python/tests/test_provisioning.py0minimal stand-in for a typed zep sdk error exposing ``status_code``.STRING
HIGHintegrations/autogen/python/tests/test_provisioning.py0minimal stand-in for a typed zep sdk error exposing ``status_code``.STRING
HIGH…s/ms-agent-framework/python/tests/test_provisioning.py0a typed error with a non-conflict status code is a genuine failure no matter what its message says.STRING
HIGHintegrations/crewai/python/tests/test_provisioning.py0a typed error with a non-conflict status code is a genuine failure no matter what its message says.STRING
HIGH…grations/pydantic-ai/python/tests/test_provisioning.py0a typed error with a non-conflict status code is a genuine failure no matter what its message says.STRING
HIGHintegrations/livekit/python/tests/test_provisioning.py0a typed error with a non-conflict status code is a genuine failure no matter what its message says.STRING
HIGHintegrations/autogen/python/tests/test_provisioning.py0a typed error with a non-conflict status code is a genuine failure no matter what its message says.STRING
HIGH…s/ms-agent-framework/python/tests/test_provisioning.py0true on genuine creation, false when the user already exists.STRING
HIGHintegrations/crewai/python/tests/test_provisioning.py0true on genuine creation, false when the user already exists.STRING
HIGHintegrations/ag2/python/tests/test_provisioning.py0true on genuine creation, false when the user already exists.STRING
HIGHintegrations/livekit/python/tests/test_provisioning.py0true on genuine creation, false when the user already exists.STRING
HIGHintegrations/autogen/python/tests/test_provisioning.py0true on genuine creation, false when the user already exists.STRING
HIGH…s/ms-agent-framework/python/tests/test_provisioning.py0a known non-conflict status code (e.g. 401) must raise, regardless of message text.STRING
HIGHintegrations/crewai/python/tests/test_provisioning.py0a known non-conflict status code (e.g. 401) must raise, regardless of message text.STRING
HIGH…grations/pydantic-ai/python/tests/test_provisioning.py0a known non-conflict status code (e.g. 401) must raise, regardless of message text.STRING
HIGHintegrations/livekit/python/tests/test_provisioning.py0a known non-conflict status code (e.g. 401) must raise, regardless of message text.STRING
HIGHintegrations/autogen/python/tests/test_provisioning.py0a known non-conflict status code (e.g. 401) must raise, regardless of message text.STRING
HIGH…rations/ms-agent-framework/python/tests/test_search.py0by default (no pins), scope/reranker/limit/mmr_lambda/center_node_uuid are all in the model-facing schema alongside querSTRING
HIGHintegrations/pydantic-ai/python/tests/test_search.py0by default (no pins), scope/reranker/limit/mmr_lambda/center_node_uuid are all in the model-facing schema alongside querSTRING
HIGHintegrations/autogen/python/tests/test_search.py0by default (no pins), scope/reranker/limit/mmr_lambda/center_node_uuid are all in the model-facing schema alongside querSTRING
HIGH…ns/ms-agent-framework/python/tests/test_integration.py0poll zep episodes until all are processed or timeout is reached.STRING
HIGHintegrations/langgraph/python/tests/test_integration.py0poll zep episodes until all are processed or timeout is reached.STRING
HIGH…egrations/pydantic-ai/python/tests/test_integration.py0poll zep episodes until all are processed or timeout is reached.STRING
HIGHintegrations/ag2/python/tests/test_integration.py0poll zep episodes until all are processed or timeout is reached.STRING
HIGHintegrations/livekit/python/tests/test_integration.py0poll zep episodes until all are processed or timeout is reached.STRING
HIGHintegrations/autogen/python/tests/test_integration.py0poll zep episodes until all are processed or timeout is reached.STRING
HIGHintegrations/adk/python/tests/test_integration.py0poll zep episodes until all are processed or timeout is reached.STRING
HIGH…-framework/python/src/zep_ms_agent_framework/search.py0build the model-facing json schema, excluding pinned/hidden parameters.STRING
HIGH…tions/pydantic-ai/python/src/zep_pydantic_ai/search.py0build the model-facing json schema, excluding pinned/hidden parameters.STRING
HIGHintegrations/livekit/python/src/zep_livekit/tools.py0build the model-facing json schema, excluding pinned/hidden parameters.STRING
HIGH…-framework/python/src/zep_ms_agent_framework/search.py0render zep search results as readable text for the model.STRING
HIGH…tions/pydantic-ai/python/src/zep_pydantic_ai/search.py0render zep search results as readable text for the model.STRING
HIGHintegrations/livekit/python/src/zep_livekit/tools.py0render zep search results as readable text for the model.STRING
HIGHintegrations/autogen/python/src/zep_autogen/tools.py0render zep search results as readable text for the model.STRING
HIGH…work/python/src/zep_ms_agent_framework/provisioning.py0explicit, out-of-band zep resource provisioning. ``zepusermemory``'s lazy call into these helpers (see ``zepusermemory._STRING
HIGH…pydantic-ai/python/src/zep_pydantic_ai/provisioning.py0explicit, out-of-band zep resource provisioning. ``zepusermemory``'s lazy call into these helpers (see ``zepusermemory._STRING
HIGHintegrations/ag2/python/src/zep_ag2/provisioning.py0explicit, out-of-band zep resource provisioning. ``zepusermemory``'s lazy call into these helpers (see ``zepusermemory._STRING
HIGH…rations/autogen/python/src/zep_autogen/provisioning.py0explicit, out-of-band zep resource provisioning. ``zepusermemory``'s lazy call into these helpers (see ``zepusermemory._STRING
HIGH…work/python/src/zep_ms_agent_framework/provisioning.py0detect whether ``exc`` represents a "resource already exists" conflict. handles both typed and message-based shapes retuSTRING
HIGH…ons/langgraph/python/src/zep_langgraph/provisioning.py0detect whether ``exc`` represents a "resource already exists" conflict. handles both typed and message-based shapes retuSTRING
HIGH…egrations/crewai/python/src/zep_crewai/provisioning.py0detect whether ``exc`` represents a "resource already exists" conflict. handles both typed and message-based shapes retuSTRING
HIGH…pydantic-ai/python/src/zep_pydantic_ai/provisioning.py0detect whether ``exc`` represents a "resource already exists" conflict. handles both typed and message-based shapes retuSTRING
HIGHintegrations/adk/python/src/zep_adk/provisioning.py0detect whether ``exc`` represents a "resource already exists" conflict. handles both typed and message-based shapes retuSTRING
HIGHintegrations/ag2/python/src/zep_ag2/provisioning.py0detect whether ``exc`` represents a "resource already exists" conflict. handles both typed and message-based shapes retuSTRING
HIGH…rations/livekit/python/src/zep_livekit/provisioning.py0detect whether ``exc`` represents a "resource already exists" conflict. handles both typed and message-based shapes retuSTRING
144 more matches not shown…
Hyper-Verbose Identifiers882 hits · 871 pts
SeverityFileLineSnippetContext
LOWzep-eval-harness/zep_ingest_documents.py72def checkpoint_path_for_graph(graph_id: str) -> str:CODE
LOWzep-eval-harness/zep_chunk_documents.py192def get_next_chunk_set_number() -> int:CODE
LOWzep-eval-harness/zep_evaluate.py948def calculate_aggregate_statistics(CODE
LOWzep-eval-harness/zep_evaluate.py1131def _get_next_eval_run_number() -> int:CODE
LOWzep-eval-harness/zep_evaluate.py580async def evaluate_context_completeness(STRING
LOWzep-eval-harness/zep_ingest_users.py85def load_conversations_for_user(user_id):CODE
LOWzep-eval-harness/zep_ingest_users.py778 async def ingest_user_with_checkpoint(user_def):STRING
LOW…al-harness/config/evaluation_config/response_prompt.py9def get_response_system_prompt(context: str) -> str:CODE
LOW…l-harness/config/document_ingestion_config/ontology.py169async def set_document_custom_ontology(zep_client, graph_ids=None):CODE
LOW…onfig/document_ingestion_config/custom_instructions.py67async def set_document_custom_instructions(zep_client, graph_ids=None):CODE
LOW…fig/user_ingestion_config/user_summary_instructions.py50async def set_user_summary_instructions(zep_client, user_ids=None):CODE
LOW…1T222821/evaluation_config_snapshot/response_prompt.py9def get_response_system_prompt(context: str) -> str:CODE
LOW…ingestion_config_snapshot/user_summary_instructions.py50async def set_user_summary_instructions(zep_client, user_ids=None):CODE
LOW…T222500/document_ingestion_config_snapshot/ontology.py169async def set_document_custom_ontology(zep_client, graph_ids=None):CODE
LOW…ument_ingestion_config_snapshot/custom_instructions.py67async def set_document_custom_instructions(zep_client, graph_ids=None):CODE
LOW…grations/ms-agent-framework/python/tests/test_basic.py139 def test_subclasses_context_provider(self) -> None:CODE
LOW…grations/ms-agent-framework/python/tests/test_basic.py145 def test_init_stores_identity(self) -> None:CODE
LOW…grations/ms-agent-framework/python/tests/test_basic.py161 def test_user_message_name_defaults_to_full_name(self) -> None:CODE
LOW…grations/ms-agent-framework/python/tests/test_basic.py165 def test_user_message_name_explicit_override(self) -> None:CODE
LOW…grations/ms-agent-framework/python/tests/test_basic.py169 def test_user_message_name_none_without_names(self) -> None:CODE
LOW…grations/ms-agent-framework/python/tests/test_basic.py173 def test_assistant_message_name_default(self) -> None:CODE
LOW…grations/ms-agent-framework/python/tests/test_basic.py177 def test_empty_user_id_raises(self) -> None:CODE
LOW…grations/ms-agent-framework/python/tests/test_basic.py181 def test_empty_thread_id_raises(self) -> None:CODE
LOW…grations/ms-agent-framework/python/tests/test_basic.py190 def test_latest_user_text_returns_last_user_message(self) -> None:CODE
LOW…grations/ms-agent-framework/python/tests/test_basic.py198 def test_latest_user_text_falls_back_to_any_text(self) -> None:CODE
LOW…grations/ms-agent-framework/python/tests/test_basic.py203 def test_latest_user_text_empty_returns_none(self) -> None:CODE
LOW…grations/ms-agent-framework/python/tests/test_basic.py206 def test_assistant_text_joins_assistant_messages(self) -> None:CODE
LOW…grations/ms-agent-framework/python/tests/test_basic.py213 def test_assistant_text_ignores_non_assistant(self) -> None:CODE
LOW…grations/ms-agent-framework/python/tests/test_basic.py217 def test_assistant_text_none_for_empty(self) -> None:CODE
LOW…grations/ms-agent-framework/python/tests/test_basic.py227 async def test_persists_user_message(self) -> None:CODE
LOW…grations/ms-agent-framework/python/tests/test_basic.py387 async def test_context_template_override(self) -> None:CODE
LOW…grations/ms-agent-framework/python/tests/test_basic.py438 def test_default_context_template_is_canonical(self) -> None:CODE
LOW…grations/ms-agent-framework/python/tests/test_basic.py451 async def test_persists_assistant_response(self) -> None:CODE
LOW…grations/ms-agent-framework/python/tests/test_basic.py537 async def test_before_then_after_persists_both_turns(self) -> None:CODE
LOW…grations/ms-agent-framework/python/tests/test_basic.py558 async def test_hook_called_on_new_user(self) -> None:CODE
LOW…grations/ms-agent-framework/python/tests/test_basic.py621 async def test_provider_lazy_path_swallows_provisioning_errors(self) -> None:CODE
LOW…grations/ms-agent-framework/python/tests/test_basic.py657 def test_truncate_helper_keeps_short_content(self) -> None:CODE
LOW…grations/ms-agent-framework/python/tests/test_basic.py663 def test_truncate_helper_caps_oversize_content(self) -> None:CODE
LOW…grations/ms-agent-framework/python/tests/test_basic.py736 async def test_after_run_skips_when_before_run_persist_failed(self) -> None:CODE
LOW…grations/ms-agent-framework/python/tests/test_basic.py244 async def test_lazy_creates_user_and_thread(self) -> None:CODE
LOW…grations/ms-agent-framework/python/tests/test_basic.py266 async def test_message_carries_display_name(self) -> None:CODE
LOW…grations/ms-agent-framework/python/tests/test_basic.py278 async def test_injects_context_block(self) -> None:CODE
LOW…grations/ms-agent-framework/python/tests/test_basic.py295 async def test_no_injection_when_context_empty(self) -> None:CODE
LOW…grations/ms-agent-framework/python/tests/test_basic.py306 async def test_skips_when_no_user_message(self) -> None:CODE
LOW…grations/ms-agent-framework/python/tests/test_basic.py330 async def test_zep_error_does_not_raise(self) -> None:CODE
LOW…grations/ms-agent-framework/python/tests/test_basic.py342 async def test_resource_failure_skips_persist(self) -> None:CODE
LOW…grations/ms-agent-framework/python/tests/test_basic.py354 async def test_resources_created_only_once(self) -> None:CODE
LOW…grations/ms-agent-framework/python/tests/test_basic.py367 async def test_existing_user_tolerated(self) -> None:CODE
LOW…grations/ms-agent-framework/python/tests/test_basic.py399 async def test_default_template_matches_previous_output(self) -> None:CODE
LOW…grations/ms-agent-framework/python/tests/test_basic.py423 async def test_template_rendered_via_replace_not_format(self) -> None:CODE
LOW…grations/ms-agent-framework/python/tests/test_basic.py468 async def test_custom_assistant_name(self) -> None:CODE
LOW…grations/ms-agent-framework/python/tests/test_basic.py481 async def test_skips_when_no_response(self) -> None:CODE
LOW…grations/ms-agent-framework/python/tests/test_basic.py493 async def test_skips_when_no_assistant_text(self) -> None:CODE
LOW…grations/ms-agent-framework/python/tests/test_basic.py505 async def test_skips_when_user_turn_not_persisted(self) -> None:CODE
LOW…grations/ms-agent-framework/python/tests/test_basic.py520 async def test_zep_error_does_not_raise(self) -> None:CODE
LOW…grations/ms-agent-framework/python/tests/test_basic.py570 async def test_hook_not_called_on_existing_user(self) -> None:CODE
LOW…grations/ms-agent-framework/python/tests/test_basic.py583 async def test_hook_runs_once_across_runs(self) -> None:CODE
LOW…grations/ms-agent-framework/python/tests/test_basic.py595 async def test_hook_failure_swallowed_by_provider_but_skips_this_turn(self) -> None:CODE
LOW…grations/ms-agent-framework/python/tests/test_basic.py637 async def test_provider_uses_ensure_user_and_ensure_thread(self) -> None:CODE
LOW…grations/ms-agent-framework/python/tests/test_basic.py677 def test_truncate_helper_warns_lengths_only(self, caplog: pytest.LogCaptureFixture) -> None:CODE
822 more matches not shown…
Excessive Try-Catch Wrapping306 hits · 338 pts
SeverityFileLineSnippetContext
MEDIUMzep-eval-harness/zep_ingest_documents.py286 print(f"Error setting document ontology: {e}")CODE
MEDIUMzep-eval-harness/zep_ingest_documents.py295 print(f"Error setting document custom instructions: {e}")CODE
LOWzep-eval-harness/zep_ingest_documents.py277 except Exception:CODE
LOWzep-eval-harness/zep_ingest_documents.py285 except Exception as e:CODE
LOWzep-eval-harness/zep_ingest_documents.py294 except Exception as e:CODE
MEDIUMzep-eval-harness/zep_ingest_documents.py600 print("Error: Document custom ontology module could not be loaded")STRING
MEDIUMzep-eval-harness/zep_ingest_documents.py603 print("Error: Document custom instructions module could not be loaded")STRING
MEDIUMzep-eval-harness/zep_ingest_documents.py608 print("Error: Missing ZEP_API_KEY environment variable")STRING
LOWzep-eval-harness/zep_ingest_documents.py218 except Exception as e:CODE
LOWzep-eval-harness/zep_ingest_documents.py345 except Exception:CODE
MEDIUMzep-eval-harness/zep_ingest_documents.py531 print(f"Error: Checkpoint file not found: {args.resume}")STRING
MEDIUMzep-eval-harness/zep_ingest_documents.py549 print("Error: Missing GOOGLE_API_KEY (required for inline chunking)")STRING
MEDIUMzep-eval-harness/zep_ingest_documents.py560 print("Error: No documents found in data/documents/")STRING
MEDIUMzep-eval-harness/zep_ingest_documents.py584 print(f"Error: {e}")STRING
LOWzep-eval-harness/zep_ingest_documents.py728 except Exception as e:STRING
MEDIUMzep-eval-harness/zep_chunk_documents.py471 print("Error: Missing GOOGLE_API_KEY environment variable")STRING
MEDIUMzep-eval-harness/zep_chunk_documents.py479 print("Error: No documents found in data/documents/")STRING
MEDIUMzep-eval-harness/zep_chunk_documents.py488 print(f"Error: Chunk set directory not found: {args.resume}")STRING
MEDIUMzep-eval-harness/zep_chunk_documents.py492 print(f"Error: No meta.json in {args.resume}")STRING
MEDIUMzep-eval-harness/zep_evaluate.py93def extract_run_num(path):CODE
MEDIUMzep-eval-harness/zep_evaluate.py1384 print("Error: Missing ZEP_API_KEY environment variable")STRING
MEDIUMzep-eval-harness/zep_evaluate.py1388 print("Error: Missing GOOGLE_API_KEY environment variable")STRING
LOWzep-eval-harness/zep_evaluate.py869 except Exception as e:STRING
LOWzep-eval-harness/zep_evaluate.py1440 except Exception as e:STRING
MEDIUMzep-eval-harness/zep_ingest_users.py192 print(f"Error setting ontology: {e}")CODE
MEDIUMzep-eval-harness/zep_ingest_users.py202 print(f"Error setting custom instructions: {e}")CODE
MEDIUMzep-eval-harness/zep_ingest_users.py212 print(f"Error setting user summary instructions: {e}")CODE
MEDIUMzep-eval-harness/zep_ingest_users.py295 print(f"Error processing conversation {conversation_id}: {e}")CODE
MEDIUMzep-eval-harness/zep_ingest_users.py353 print(f"Error adding telemetry batch {batch_num}: {e}")CODE
MEDIUMzep-eval-harness/zep_ingest_users.py76 print(f"Error: {users_file} not found")CODE
LOWzep-eval-harness/zep_ingest_users.py191 except Exception as e:CODE
LOWzep-eval-harness/zep_ingest_users.py201 except Exception as e:CODE
LOWzep-eval-harness/zep_ingest_users.py211 except Exception as e:CODE
LOWzep-eval-harness/zep_ingest_users.py294 except Exception as e:CODE
LOWzep-eval-harness/zep_ingest_users.py352 except Exception as e:CODE
MEDIUMzep-eval-harness/zep_ingest_users.py695 print("Error: Custom ontology module could not be loaded")STRING
MEDIUMzep-eval-harness/zep_ingest_users.py701 print("Error: Custom instructions module could not be loaded")STRING
MEDIUMzep-eval-harness/zep_ingest_users.py707 print("Error: User summary instructions module could not be loaded")STRING
MEDIUMzep-eval-harness/zep_ingest_users.py714 print("Error: Missing ZEP_API_KEY environment variable")STRING
LOWzep-eval-harness/zep_ingest_users.py406 except Exception:CODE
MEDIUMzep-eval-harness/zep_ingest_users.py679 print(f"Error: Checkpoint file not found: {args.resume}")STRING
MEDIUMzep-eval-harness/zep_ingest_users.py726 print("Error: No users found in data/users.json")STRING
LOWzep-eval-harness/zep_ingest_users.py953 except Exception as e:CODE
LOWzep-eval-harness/retry.py31 except Exception as e:CODE
MEDIUMzep-eval-harness/zep_graph_inspect.py182 print("Error: Missing ZEP_API_KEY environment variable")CODE
LOW…ns/ms-agent-framework/python/tests/test_integration.py98 except Exception as exc:CODE
LOW…ns/ms-agent-framework/python/tests/test_integration.py220 except Exception as exc:CODE
LOW…ns/ms-agent-framework/python/tests/test_integration.py295 except Exception:CODE
LOW…ns/ms-agent-framework/python/tests/test_integration.py342 except Exception:CODE
LOW…/python/src/zep_ms_agent_framework/context_provider.py417 except Exception as exc:CODE
LOW…/python/src/zep_ms_agent_framework/context_provider.py425 except Exception as exc:CODE
LOW…/python/src/zep_ms_agent_framework/context_provider.py560 except Exception:CODE
LOW…/python/src/zep_ms_agent_framework/context_provider.py692 except Exception:CODE
LOW…-framework/python/src/zep_ms_agent_framework/search.py279 except Exception as exc:CODE
LOW…work/python/src/zep_ms_agent_framework/provisioning.py120 except Exception as exc:CODE
LOW…work/python/src/zep_ms_agent_framework/provisioning.py159 except Exception as exc:CODE
LOWintegrations/langgraph/python/tests/test_integration.py106 except Exception as exc:CODE
LOWintegrations/langgraph/python/tests/test_integration.py137 except Exception as exc:CODE
LOWintegrations/langgraph/python/tests/test_integration.py251 except Exception as exc:CODE
LOWintegrations/langgraph/python/tests/test_integration.py307 except Exception:CODE
246 more matches not shown…
Unused Imports214 hits · 202 pts
SeverityFileLineSnippetContext
LOWzep-eval-harness/zep_ingest_documents.py31CODE
LOWzep-eval-harness/zep_chunk_documents.py34CODE
LOWzep-eval-harness/zep_evaluate.py7CODE
LOW…grations/ms-agent-framework/python/tests/test_basic.py8CODE
LOW…rations/ms-agent-framework/python/tests/test_search.py12CODE
LOW…ns/ms-agent-framework/python/tests/test_integration.py28CODE
LOW…s-agent-framework/python/tests/test_context_builder.py10CODE
LOW…ions/ms-agent-framework/python/examples/basic_agent.py19CODE
LOW…t-framework/python/src/zep_ms_agent_framework/_text.py19CODE
LOW…/python/src/zep_ms_agent_framework/context_provider.py29CODE
LOW…ramework/python/src/zep_ms_agent_framework/__init__.py62CODE
LOW…ramework/python/src/zep_ms_agent_framework/__init__.py62CODE
LOW…ramework/python/src/zep_ms_agent_framework/__init__.py62CODE
LOW…ramework/python/src/zep_ms_agent_framework/__init__.py62CODE
LOW…ramework/python/src/zep_ms_agent_framework/__init__.py62CODE
LOW…ramework/python/src/zep_ms_agent_framework/__init__.py69CODE
LOW…ramework/python/src/zep_ms_agent_framework/__init__.py69CODE
LOW…ramework/python/src/zep_ms_agent_framework/__init__.py69CODE
LOW…ramework/python/src/zep_ms_agent_framework/__init__.py70CODE
LOW…ramework/python/src/zep_ms_agent_framework/__init__.py70CODE
LOW…ramework/python/src/zep_ms_agent_framework/__init__.py70CODE
LOW…ramework/python/src/zep_ms_agent_framework/__init__.py70CODE
LOW…ramework/python/src/zep_ms_agent_framework/__init__.py55CODE
LOW…-framework/python/src/zep_ms_agent_framework/search.py18CODE
LOW…work/python/src/zep_ms_agent_framework/provisioning.py19CODE
LOWintegrations/langgraph/python/tests/test_integration.py23CODE
LOWintegrations/langgraph/python/examples/react_agent.py26CODE
LOWintegrations/langgraph/python/examples/store_agent.py28CODE
LOW…tegrations/langgraph/python/src/zep_langgraph/store.py36CODE
LOW…tegrations/langgraph/python/src/zep_langgraph/store.py44CODE
LOW…tegrations/langgraph/python/src/zep_langgraph/hooks.py25CODE
LOW…ions/langgraph/python/src/zep_langgraph/persistence.py29CODE
LOW…tegrations/langgraph/python/src/zep_langgraph/tools.py27CODE
LOW…rations/langgraph/python/src/zep_langgraph/__init__.py66CODE
LOW…rations/langgraph/python/src/zep_langgraph/__init__.py67CODE
LOW…rations/langgraph/python/src/zep_langgraph/__init__.py69CODE
LOW…rations/langgraph/python/src/zep_langgraph/__init__.py69CODE
LOW…rations/langgraph/python/src/zep_langgraph/__init__.py69CODE
LOW…rations/langgraph/python/src/zep_langgraph/__init__.py69CODE
LOW…rations/langgraph/python/src/zep_langgraph/__init__.py69CODE
LOW…rations/langgraph/python/src/zep_langgraph/__init__.py69CODE
LOW…rations/langgraph/python/src/zep_langgraph/__init__.py69CODE
LOW…rations/langgraph/python/src/zep_langgraph/__init__.py69CODE
LOW…rations/langgraph/python/src/zep_langgraph/__init__.py69CODE
LOW…rations/langgraph/python/src/zep_langgraph/__init__.py80CODE
LOW…rations/langgraph/python/src/zep_langgraph/__init__.py80CODE
LOW…rations/langgraph/python/src/zep_langgraph/__init__.py81CODE
LOW…rations/langgraph/python/src/zep_langgraph/__init__.py81CODE
LOW…rations/langgraph/python/src/zep_langgraph/__init__.py81CODE
LOW…rations/langgraph/python/src/zep_langgraph/__init__.py81CODE
LOW…rations/langgraph/python/src/zep_langgraph/__init__.py81CODE
LOW…rations/langgraph/python/src/zep_langgraph/__init__.py81CODE
LOW…rations/langgraph/python/src/zep_langgraph/__init__.py89CODE
LOW…rations/langgraph/python/src/zep_langgraph/__init__.py89CODE
LOW…rations/langgraph/python/src/zep_langgraph/__init__.py89CODE
LOW…rations/langgraph/python/src/zep_langgraph/__init__.py89CODE
LOW…rations/langgraph/python/src/zep_langgraph/__init__.py89CODE
LOW…rations/langgraph/python/src/zep_langgraph/__init__.py89CODE
LOW…rations/langgraph/python/src/zep_langgraph/__init__.py97CODE
LOW…rations/langgraph/python/src/zep_langgraph/__init__.py97CODE
154 more matches not shown…
Docstring Block Structure33 hits · 165 pts
SeverityFileLineSnippetContext
HIGHzep-eval-harness/retry.py14 Retry an async callable with exponential backoff and jitter. Args: fn: Async function to call STRING
HIGH…-framework/python/src/zep_ms_agent_framework/search.py127Build a Microsoft Agent Framework tool that searches a Zep knowledge graph. Register the returned tool with an agenSTRING
HIGH…work/python/src/zep_ms_agent_framework/provisioning.py79Idempotently ensure the Zep user exists. Calls ``client.user.add(...)`` directly (create-then-catch-conflict). If STRING
HIGH…work/python/src/zep_ms_agent_framework/provisioning.py136Idempotently ensure the Zep thread exists. Calls ``client.thread.create(...)`` directly (create-then-catch-conflictSTRING
HIGH…tegrations/langgraph/python/src/zep_langgraph/tools.py341Create an async graph-search tool bound to a user or standalone graph. **Pin-or-expose.** Every ``graph.search`` paSTRING
HIGH…ons/langgraph/python/src/zep_langgraph/provisioning.py88Idempotently ensure the Zep user exists. Calls ``client.user.add(...)`` directly (create-then-catch-conflict). If STRING
HIGH…ons/langgraph/python/src/zep_langgraph/provisioning.py145Idempotently ensure the Zep thread exists. Calls ``client.thread.create(...)`` directly (create-then-catch-conflictSTRING
HIGH…ons/langgraph/python/src/zep_langgraph/provisioning.py187Synchronous variant of :func:`ensure_user`. Uses a synchronous ``Zep`` client and a synchronous ``on_created`` hookSTRING
HIGH…ons/langgraph/python/src/zep_langgraph/provisioning.py233Synchronous variant of :func:`ensure_thread`. Args: client: An initialised synchronous ``Zep`` client. STRING
HIGHintegrations/crewai/python/src/zep_crewai/tools.py591 Create a search tool bound to a Zep client. See :class:`ZepSearchTool` for the full pin-or-expose parameter coSTRING
HIGHintegrations/crewai/python/src/zep_crewai/tools.py635 Create an add data tool bound to a Zep client. Args: client: Zep client instance graph_id: OptSTRING
HIGH…egrations/crewai/python/src/zep_crewai/provisioning.py89Idempotently ensure the Zep user exists. Calls ``client.user.add(...)`` directly (create-then-catch-conflict). If STRING
HIGH…egrations/crewai/python/src/zep_crewai/provisioning.py146Idempotently ensure the Zep thread exists. Calls ``client.thread.create(...)`` directly (create-then-catch-conflictSTRING
HIGH…rations/pydantic-ai/python/src/zep_pydantic_ai/deps.py347Create the Zep user and thread if they do not already exist. Uses the same create-then-catch-conflict semantics as STRING
HIGH…tions/pydantic-ai/python/src/zep_pydantic_ai/search.py131Build a Pydantic AI tool that searches a Zep knowledge graph. Register the returned tool with an agent:: fSTRING
HIGH…pydantic-ai/python/src/zep_pydantic_ai/provisioning.py79Idempotently ensure the Zep user exists. Calls ``client.user.add(...)`` directly (create-then-catch-conflict). If STRING
HIGH…pydantic-ai/python/src/zep_pydantic_ai/provisioning.py136Idempotently ensure the Zep thread exists. Calls ``client.thread.create(...)`` directly (create-then-catch-conflictSTRING
HIGHintegrations/adk/python/src/zep_adk/provisioning.py78Idempotently ensure the Zep user exists. Calls ``client.user.add(...)`` directly (create-then-catch-conflict). If STRING
HIGHintegrations/adk/python/src/zep_adk/provisioning.py135Idempotently ensure the Zep thread exists. Calls ``client.thread.create(...)`` directly (create-then-catch-conflictSTRING
HIGHintegrations/ag2/python/src/zep_ag2/memory.py314 Persist a user turn and retrieve memory context in one call. This is the manager's own per-turn seam (STRING
HIGHintegrations/ag2/python/src/zep_ag2/tools.py440 Create a tool function for searching Zep conversation memory. The returned function searches the user's knowleSTRING
HIGHintegrations/ag2/python/src/zep_ag2/tools.py600 Create a tool function for searching the Zep knowledge graph. Exactly one of user_id or graph_id must be proviSTRING
HIGHintegrations/ag2/python/src/zep_ag2/tools.py702 Create a tool function for adding data to the Zep knowledge graph. Exactly one of user_id or graph_id must be STRING
HIGHintegrations/ag2/python/src/zep_ag2/provisioning.py81Idempotently ensure the Zep user exists. Calls ``client.user.add(...)`` directly (create-then-catch-conflict). If STRING
HIGHintegrations/ag2/python/src/zep_ag2/provisioning.py138Idempotently ensure the Zep thread exists. Calls ``client.thread.create(...)`` directly (create-then-catch-conflictSTRING
HIGHintegrations/livekit/python/src/zep_livekit/tools.py138Build a LiveKit function tool that searches a Zep knowledge graph. Register the returned tool with an ``Agent``:: STRING
HIGH…rations/livekit/python/src/zep_livekit/provisioning.py72Idempotently ensure the Zep user exists. Calls ``client.user.add(...)`` directly (create-then-catch-conflict). If STRING
HIGH…rations/livekit/python/src/zep_livekit/provisioning.py129Idempotently ensure the Zep thread exists. Calls ``client.thread.create(...)`` directly (create-then-catch-conflictSTRING
HIGHintegrations/autogen/python/src/zep_autogen/tools.py215Build an AutoGen ``FunctionTool`` that searches a Zep knowledge graph. Register the returned tool with an agent:: STRING
HIGHintegrations/autogen/python/src/zep_autogen/tools.py419 Add data to Zep memory storage. Adds data to either graph memory (if graph_id provided) or user memory (if useSTRING
HIGHintegrations/autogen/python/src/zep_autogen/tools.py478 Create an add memory data tool bound to a Zep client. Args: client: AsyncZep client instance gSTRING
HIGH…rations/autogen/python/src/zep_autogen/provisioning.py79Idempotently ensure the Zep user exists. Calls ``client.user.add(...)`` directly (create-then-catch-conflict). If STRING
HIGH…rations/autogen/python/src/zep_autogen/provisioning.py136Idempotently ensure the Zep thread exists. Calls ``client.thread.create(...)`` directly (create-then-catch-conflictSTRING
Self-Referential Comments53 hits · 138 pts
SeverityFileLineSnippetContext
MEDIUMintegrations/crewai/python/tests/test_basic.py44 # Create a mock Zep clientCOMMENT
MEDIUMintegrations/crewai/python/examples/simple_example.py128 # Create a simple taskCOMMENT
MEDIUMintegrations/crewai/python/examples/crewai_graph.py54 # Create a unique graph ID for this exampleCOMMENT
MEDIUMintegrations/ag2/python/examples/ag2_tools_full.py58 # Create a group chatCOMMENT
MEDIUM…tions/livekit/python/examples/graph_voice_assistant.py75 # Create the graph-based memory agentCOMMENT
MEDIUMintegrations/livekit/python/examples/voice_assistant.py80 # Create the memory-enabled agentCOMMENT
MEDIUMintegrations/autogen/python/tests/test_basic.py33 # Create a mock AsyncZep clientCOMMENT
MEDIUMexamples/python/user_example.py49 # Create a Thread for the first userCOMMENT
MEDIUMexamples/python/context-templates-example/ui.py41 # Create a fresh AsyncZep client for this operationCOMMENT
MEDIUMexamples/python/context-templates-example/ui.py70 # Create a fresh AsyncZep client for this operationCOMMENT
MEDIUMexamples/python/context-templates-example/ui.py100 # Create a fresh AsyncZep client for this operationCOMMENT
MEDIUMexamples/python/context-templates-example/ui.py126# Initialize agent class in session stateCOMMENT
MEDIUMexamples/python/context-templates-example/ui.py132 # Create a fresh AsyncZep client for the agent to useCOMMENT
MEDIUMexamples/python/context-templates-example/ui.py146 # Create a fresh AsyncZep client for this operationCOMMENT
MEDIUMexamples/python/context-templates-example/ui.py813 # Create the new userSTRING
MEDIUMexamples/python/context-templates-example/ui.py954 # Create the thread in session stateSTRING
MEDIUMexamples/python/context-templates-example/ui.py1005 # Create a fresh agent with a new AsyncZep client to avoid event loop issuesSTRING
MEDIUMexamples/python/context-templates-example/zep_ingest.py31 # Create the user with default ontology disabledCOMMENT
MEDIUMexamples/python/agent-memory-full-example/ui.py38 # Create a fresh AsyncZep client for this operationCOMMENT
MEDIUMexamples/python/agent-memory-full-example/ui.py67 # Create a fresh AsyncZep client for this operationCOMMENT
MEDIUMexamples/python/agent-memory-full-example/ui.py97 # Create a fresh AsyncZep client for this operationCOMMENT
MEDIUMexamples/python/agent-memory-full-example/ui.py125 # Create a fresh AsyncZep client for the agent to useCOMMENT
MEDIUMexamples/python/agent-memory-full-example/ui.py139 # Create a fresh AsyncZep client for this operationCOMMENT
MEDIUMexamples/python/agent-memory-full-example/ui.py795 # Create the new userSTRING
MEDIUMexamples/python/agent-memory-full-example/ui.py936 # Create the thread in session stateSTRING
MEDIUMexamples/python/agent-memory-full-example/ui.py987 # Create a fresh agent with a new AsyncZep client to avoid event loop issuesSTRING
MEDIUMexamples/python/chat_history/memory.py36 # Create a userCOMMENT
MEDIUMexamples/python/user-summary-instructions-example/ui.py41 # Create a fresh AsyncZep client for this operationCOMMENT
MEDIUMexamples/python/user-summary-instructions-example/ui.py70 # Create a fresh AsyncZep client for this operationCOMMENT
MEDIUMexamples/python/user-summary-instructions-example/ui.py100 # Create a fresh AsyncZep client for this operationCOMMENT
MEDIUMexamples/python/user-summary-instructions-example/ui.py126# Initialize agent class in session stateCOMMENT
MEDIUMexamples/python/user-summary-instructions-example/ui.py132 # Create a fresh AsyncZep client for the agent to useCOMMENT
MEDIUMexamples/python/user-summary-instructions-example/ui.py146 # Create a fresh AsyncZep client for this operationCOMMENT
MEDIUMexamples/python/user-summary-instructions-example/ui.py813 # Create the new userSTRING
MEDIUMexamples/python/user-summary-instructions-example/ui.py954 # Create the thread in session stateSTRING
MEDIUMexamples/python/user-summary-instructions-example/ui.py1005 # Create a fresh agent with a new AsyncZep client to avoid event loop issuesSTRING
MEDIUM…python/user-summary-instructions-example/zep_ingest.py35 # Create the userCOMMENT
MEDIUM…ython/elevenlabs-zep-example/llm-proxy/proxy_server.py133 # Create the user messageCOMMENT
MEDIUMexamples/python/graph_example/tickets_example.py23 # Create a user for the playgroundCOMMENT
MEDIUMexamples/python/zep-quickstart-dashboard/ui.py41 # Create a fresh AsyncZep client for this operationCOMMENT
MEDIUMexamples/python/zep-quickstart-dashboard/ui.py70 # Create a fresh AsyncZep client for this operationCOMMENT
MEDIUMexamples/python/zep-quickstart-dashboard/ui.py100 # Create a fresh AsyncZep client for this operationCOMMENT
MEDIUMexamples/python/zep-quickstart-dashboard/ui.py126# Initialize agent class in session stateCOMMENT
MEDIUMexamples/python/zep-quickstart-dashboard/ui.py132 # Create a fresh AsyncZep client for the agent to useCOMMENT
MEDIUMexamples/python/zep-quickstart-dashboard/ui.py146 # Create a fresh AsyncZep client for this operationCOMMENT
MEDIUMexamples/python/zep-quickstart-dashboard/ui.py813 # Create the new userSTRING
MEDIUMexamples/python/zep-quickstart-dashboard/ui.py954 # Create the thread in session stateSTRING
MEDIUMexamples/python/zep-quickstart-dashboard/ui.py1005 # Create a fresh agent with a new AsyncZep client to avoid event loop issuesSTRING
MEDIUMexamples/python/zep-quickstart-dashboard/zep_ingest.py39 # Create the user with default ontology disabledCOMMENT
MEDIUM…/python/openai-agents-sdk/openai_agents_sdk_example.py239# Define a simple weather tool that doesn't require AsyncZepMemoryManagerSTRING
MEDIUM…/python/openai-agents-sdk/openai_agents_sdk_example.py300 # Create the agent with memory tools and context-enhanced system messageCOMMENT
MEDIUM…/python/openai-agents-sdk/openai_agents_sdk_example.py371 # Create a memory agent with the provided parametersCOMMENT
MEDIUM…/python/openai-agents-sdk/openai_agents_sdk_example.py465 # Create a memory agent with the provided parametersCOMMENT
Structural Annotation Overuse51 hits · 82 pts
SeverityFileLineSnippetContext
LOWzep-eval-harness/zep_evaluate.py70# Step 1: Load Run Manifest and Test CasesCOMMENT
LOWzep-eval-harness/zep_evaluate.py176# Step 2: Graph SearchCOMMENT
LOWzep-eval-harness/zep_evaluate.py452# Step 3: Generate AI ResponseCOMMENT
LOWzep-eval-harness/zep_evaluate.py490# Step 4: Grade AI ResponseCOMMENT
LOWzep-eval-harness/zep_evaluate.py686# Step 5: Process Single Query (Pipeline)STRING
LOWzep-eval-harness/zep_evaluate.py744 # Step 4: Grade Response (SECONDARY METRIC) - must wait for AI answerSTRING
LOWzep-eval-harness/zep_evaluate.py797# Step 6: Run Complete Evaluation PipelineSTRING
LOWzep-eval-harness/zep_evaluate.py912# Step 6: Save and Analyze ResultsSTRING
LOWzep-eval-harness/zep_evaluate.py717 # Step 1: Search (user graph + optionally document graph, all in parallel)STRING
LOWintegrations/adk/python/tests/test_integration.py204 # Step 1: Explicit out-of-band provisioning — ensure_user (with anCOMMENT
LOWintegrations/adk/python/tests/test_integration.py274 # Step 2: Create the agent. The turn path never creates Zep resourcesCOMMENT
LOWintegrations/adk/python/tests/test_integration.py318 # Step 3: Session 1 — seed facts on the already-provisioned threadCOMMENT
LOWintegrations/adk/python/tests/test_integration.py344 # Step 4: Verify custom ontology was set by the hookCOMMENT
LOWintegrations/adk/python/tests/test_integration.py375 # Step 5: Verify Zep user was created with correct metadataCOMMENT
LOWintegrations/adk/python/tests/test_integration.py392 # Step 6: Verify thread 1 exists with messagesCOMMENT
LOWintegrations/adk/python/tests/test_integration.py406 # Step 7: Wait for Zep to process episodes, then wait a second timeCOMMENT
LOWintegrations/adk/python/tests/test_integration.py416 # Step 8: Session 2 — cross-thread memory recallCOMMENT
LOWintegrations/adk/python/tests/test_integration.py449 # Step 9: Verify thread 2 also has messagesCOMMENT
LOWintegrations/adk/python/tests/test_integration.py489 # Step 10: Session 3 — ZepGraphSearchTool (model-initiated search)COMMENT
LOWintegrations/adk/python/tests/test_integration.py524 # Step 11: Verify thread 3 also has messagesCOMMENT
LOWintegrations/adk/python/tests/test_integration.py538 # Step 12: Session 5 — ZepGraphSearchTool with scope="auto"COMMENT
LOWintegrations/adk/python/tests/test_integration.py596 # Step 13: Tool-call message persistence — verify only finalCOMMENT
LOW…ivekit/python/examples/full-example/zep_voice_agent.py25 # Step 1: Initialize Zep clientCOMMENT
LOW…ivekit/python/examples/full-example/zep_voice_agent.py28 # Step 2: Create or get userCOMMENT
LOW…ivekit/python/examples/full-example/zep_voice_agent.py39 # Step 3: Create new thread for this sessionCOMMENT
LOW…ivekit/python/examples/full-example/zep_voice_agent.py42 # Step 4: Connect to LiveKit roomCOMMENT
LOW…ivekit/python/examples/full-example/zep_voice_agent.py45 # Step 5: Create agent session with OpenAI componentsCOMMENT
LOW…ivekit/python/examples/full-example/zep_voice_agent.py53 # Step 6: Create the memory-enabled agentCOMMENT
LOW…ivekit/python/examples/full-example/zep_voice_agent.py63 # Step 7: Start the sessionCOMMENT
LOW…/python/examples/full-example/zep_graph_voice_agent.py50 # Step 1: Initialize Zep clientCOMMENT
LOW…/python/examples/full-example/zep_graph_voice_agent.py53 # Step 2: Create or get graph (if it doesn't exist)COMMENT
LOW…/python/examples/full-example/zep_graph_voice_agent.py60 # Step 3: Set custom ontology for the graph (if needed)COMMENT
LOW…/python/examples/full-example/zep_graph_voice_agent.py69 # Step 4: Connect to LiveKit roomCOMMENT
LOW…/python/examples/full-example/zep_graph_voice_agent.py72 # Step 5: Create agent session with OpenAI componentsCOMMENT
LOW…/python/examples/full-example/zep_graph_voice_agent.py80 # Step 6: Configure search filters to use Location entity type (relevant for travel)COMMENT
LOW…/python/examples/full-example/zep_graph_voice_agent.py86 # Step 7: Create the graph memory-enabled agent with all possible argumentsCOMMENT
LOW…/python/examples/full-example/zep_graph_voice_agent.py99 # Step 8: Start the sessionCOMMENT
LOWintegrations/livekit/python/src/zep_livekit/agent.py716 # Step 2: Retrieve relevant contextCOMMENT
LOWintegrations/livekit/python/src/zep_livekit/agent.py724 # Step 3: Inject context as system messageCOMMENT
LOWintegrations/livekit/python/src/zep_livekit/agent.py700 # Step 1: Store user message in Zep graph with user identificationCOMMENT
LOW…egrations/vercel-ai/typescript/test/middleware.test.ts96 // Step 1: the triggering new user turn — last message role is 'user'.COMMENT
LOW…egrations/vercel-ai/typescript/test/middleware.test.ts104 // Step 2: continuation step — model emitted a tool call, last message is 'tool'.COMMENT
LOWexamples/python/elevenlabs-zep-example/README.md61### Step 1: Configure the LLM ProxyCOMMENT
LOWexamples/python/elevenlabs-zep-example/README.md95### Step 2: Expose the Proxy with ngrokCOMMENT
LOWexamples/python/elevenlabs-zep-example/README.md107### Step 3: Configure Your ElevenLabs AgentCOMMENT
LOWexamples/python/elevenlabs-zep-example/README.md142### Step 4: Set Up the React AppCOMMENT
LOWexamples/python/elevenlabs-zep-example/README.md170### Step 5: Test the IntegrationCOMMENT
LOW…ples/python/elevenlabs-zep-example/llm-proxy/README.md52### Step 1: Expose Your Proxy PubliclyCOMMENT
LOW…ples/python/elevenlabs-zep-example/llm-proxy/README.md67### Step 2: Get Your ElevenLabs API KeyCOMMENT
LOW…ples/python/elevenlabs-zep-example/llm-proxy/README.md74### Step 3: Create/Configure an AgentCOMMENT
LOW…ples/python/elevenlabs-zep-example/llm-proxy/README.md83### Step 4: Pass the User IDCOMMENT
Verbosity Indicators42 hits · 68 pts
SeverityFileLineSnippetContext
LOWzep-eval-harness/zep_evaluate.py70# Step 1: Load Run Manifest and Test CasesCOMMENT
LOWzep-eval-harness/zep_evaluate.py176# Step 2: Graph SearchCOMMENT
LOWzep-eval-harness/zep_evaluate.py452# Step 3: Generate AI ResponseCOMMENT
LOWzep-eval-harness/zep_evaluate.py490# Step 4: Grade AI ResponseCOMMENT
LOWzep-eval-harness/zep_evaluate.py686# Step 5: Process Single Query (Pipeline)STRING
LOWzep-eval-harness/zep_evaluate.py744 # Step 4: Grade Response (SECONDARY METRIC) - must wait for AI answerSTRING
LOWzep-eval-harness/zep_evaluate.py797# Step 6: Run Complete Evaluation PipelineSTRING
LOWzep-eval-harness/zep_evaluate.py912# Step 6: Save and Analyze ResultsSTRING
LOWzep-eval-harness/zep_evaluate.py717 # Step 1: Search (user graph + optionally document graph, all in parallel)STRING
LOWintegrations/adk/python/tests/test_integration.py204 # Step 1: Explicit out-of-band provisioning — ensure_user (with anCOMMENT
LOWintegrations/adk/python/tests/test_integration.py274 # Step 2: Create the agent. The turn path never creates Zep resourcesCOMMENT
LOWintegrations/adk/python/tests/test_integration.py318 # Step 3: Session 1 — seed facts on the already-provisioned threadCOMMENT
LOWintegrations/adk/python/tests/test_integration.py344 # Step 4: Verify custom ontology was set by the hookCOMMENT
LOWintegrations/adk/python/tests/test_integration.py375 # Step 5: Verify Zep user was created with correct metadataCOMMENT
LOWintegrations/adk/python/tests/test_integration.py392 # Step 6: Verify thread 1 exists with messagesCOMMENT
LOWintegrations/adk/python/tests/test_integration.py406 # Step 7: Wait for Zep to process episodes, then wait a second timeCOMMENT
LOWintegrations/adk/python/tests/test_integration.py416 # Step 8: Session 2 — cross-thread memory recallCOMMENT
LOWintegrations/adk/python/tests/test_integration.py449 # Step 9: Verify thread 2 also has messagesCOMMENT
LOWintegrations/adk/python/tests/test_integration.py489 # Step 10: Session 3 — ZepGraphSearchTool (model-initiated search)COMMENT
LOWintegrations/adk/python/tests/test_integration.py524 # Step 11: Verify thread 3 also has messagesCOMMENT
LOWintegrations/adk/python/tests/test_integration.py538 # Step 12: Session 5 — ZepGraphSearchTool with scope="auto"COMMENT
LOWintegrations/adk/python/tests/test_integration.py596 # Step 13: Tool-call message persistence — verify only finalCOMMENT
LOW…ivekit/python/examples/full-example/zep_voice_agent.py25 # Step 1: Initialize Zep clientCOMMENT
LOW…ivekit/python/examples/full-example/zep_voice_agent.py28 # Step 2: Create or get userCOMMENT
LOW…ivekit/python/examples/full-example/zep_voice_agent.py39 # Step 3: Create new thread for this sessionCOMMENT
LOW…ivekit/python/examples/full-example/zep_voice_agent.py42 # Step 4: Connect to LiveKit roomCOMMENT
LOW…ivekit/python/examples/full-example/zep_voice_agent.py45 # Step 5: Create agent session with OpenAI componentsCOMMENT
LOW…ivekit/python/examples/full-example/zep_voice_agent.py53 # Step 6: Create the memory-enabled agentCOMMENT
LOW…ivekit/python/examples/full-example/zep_voice_agent.py63 # Step 7: Start the sessionCOMMENT
LOW…/python/examples/full-example/zep_graph_voice_agent.py50 # Step 1: Initialize Zep clientCOMMENT
LOW…/python/examples/full-example/zep_graph_voice_agent.py53 # Step 2: Create or get graph (if it doesn't exist)COMMENT
LOW…/python/examples/full-example/zep_graph_voice_agent.py60 # Step 3: Set custom ontology for the graph (if needed)COMMENT
LOW…/python/examples/full-example/zep_graph_voice_agent.py69 # Step 4: Connect to LiveKit roomCOMMENT
LOW…/python/examples/full-example/zep_graph_voice_agent.py72 # Step 5: Create agent session with OpenAI componentsCOMMENT
LOW…/python/examples/full-example/zep_graph_voice_agent.py80 # Step 6: Configure search filters to use Location entity type (relevant for travel)COMMENT
LOW…/python/examples/full-example/zep_graph_voice_agent.py86 # Step 7: Create the graph memory-enabled agent with all possible argumentsCOMMENT
LOW…/python/examples/full-example/zep_graph_voice_agent.py99 # Step 8: Start the sessionCOMMENT
LOWintegrations/livekit/python/src/zep_livekit/agent.py716 # Step 2: Retrieve relevant contextCOMMENT
LOWintegrations/livekit/python/src/zep_livekit/agent.py724 # Step 3: Inject context as system messageCOMMENT
LOWintegrations/livekit/python/src/zep_livekit/agent.py700 # Step 1: Store user message in Zep graph with user identificationCOMMENT
LOW…egrations/vercel-ai/typescript/test/middleware.test.ts96 // Step 1: the triggering new user turn — last message role is 'user'.COMMENT
LOW…egrations/vercel-ai/typescript/test/middleware.test.ts104 // Step 2: continuation step — model emitted a tool call, last message is 'tool'.COMMENT
Over-Commented Block53 hits · 53 pts
SeverityFileLineSnippetContext
LOWlegacy/zep.yaml21 write_timeout: 30COMMENT
LOWlegacy/src/golangci.yaml101 analyze-types: trueCOMMENT
LOWlegacy/src/api/routes.go41COMMENT
LOWlegacy/src/api/apihandlers/message_handlers.go21COMMENT
LOWlegacy/src/api/apihandlers/message_handlers.go101// GetMessageHandler retrieves a specific message.COMMENT
LOWlegacy/src/api/apihandlers/message_handlers.go161 }COMMENT
LOWlegacy/src/api/apihandlers/memory_handlers_common.go21 maxMessageLength = 2500COMMENT
LOWlegacy/src/api/apihandlers/memory_handlers_common.go101 handlertools.LogAndRenderError(w, err, http.StatusInternalServerError)COMMENT
LOWlegacy/src/api/apihandlers/memory_handlers_common.go181 handlertools.HandleErrorRequestState(w, err)COMMENT
LOWlegacy/src/api/apihandlers/fact_handlers_common.go21// @Summary Returns a fact by UUIDCOMMENT
LOWlegacy/src/api/apihandlers/fact_handlers_common.go81//COMMENT
LOWlegacy/src/api/apihandlers/user_handlers.go21// @Description Add a user.COMMENT
LOWlegacy/src/api/apihandlers/user_handlers.go61 if err = handlertools.EncodeJSON(w, resp); err != nil {COMMENT
LOWlegacy/src/api/apihandlers/user_handlers.go121// UpdateUserHandler godocCOMMENT
LOWlegacy/src/api/apihandlers/user_handlers.go181// @Summary Delete a userCOMMENT
LOWlegacy/src/api/apihandlers/user_handlers.go221COMMENT
LOWlegacy/src/api/apihandlers/user_handlers.go281 }COMMENT
LOWlegacy/src/api/apihandlers/session_handlers_common.go21// @Summary Add a sessionCOMMENT
LOWlegacy/src/api/apihandlers/session_handlers_common.go81 handlertools.LogAndRenderError(w, err, http.StatusInternalServerError)COMMENT
LOWlegacy/src/api/apihandlers/session_handlers_common.go141 }COMMENT
LOWlegacy/src/api/apihandlers/session_handlers_common.go201// @Description get all sessions with optional limit and cursor for paginationCOMMENT
LOWlegacy/src/api/apihandlers/session_handlers_common.go261// @Tags sessionCOMMENT
LOWlegacy/src/api/apihandlers/session_handlers_common.go341// @Description Search sessions for the specified query.COMMENT
LOWlegacy/src/api/apihandlers/session_handlers_common.go401 }COMMENT
LOW…/python/src/zep_ms_agent_framework/context_provider.py121 thread_id: strCOMMENT
LOW…rations/pydantic-ai/python/src/zep_pydantic_ai/deps.py41logger = logging.getLogger(__name__)COMMENT
LOW…rations/pydantic-ai/python/src/zep_pydantic_ai/deps.py101 user_message: strCOMMENT
LOWintegrations/adk/go/zep.go21const messageTruncateChars = 4000COMMENT
LOWintegrations/adk/go/tool_test.go21)COMMENT
LOWintegrations/adk/go/search.go21 zep.GraphSearchScopeThreadSummaries,COMMENT
LOWintegrations/adk/go/tool.go81 Reranker *string `json:"reranker,omitempty"`COMMENT
LOWintegrations/adk/go/tool.go161// graph ID overrides the per-user scoping.COMMENT
LOWintegrations/adk/go/tool.go241func WithToolBFSOriginNodeUUIDs(uuids []string) GraphSearchToolOption {COMMENT
LOWintegrations/adk/go/zepadk.go1// Package zepadk integrates [Zep] long-term agent memory with theCOMMENT
LOWintegrations/adk/go/zepadk.go21// the user's Zep knowledge graph on demand.COMMENT
LOWintegrations/adk/go/zepadk.go61// (whether retrieved via the default single round-trip or produced by aCOMMENT
LOWintegrations/adk/go/zepadk.go81type ContextInput struct {COMMENT
LOWintegrations/adk/go/zepadk.go121// WithContextPrefix overrides the text prepended to the Zep Context BlockCOMMENT
LOWintegrations/adk/go/zepadk.go141COMMENT
LOWintegrations/adk/go/zepadk.go201 return strings.ReplaceAll(template, "{context}", contextBlock)COMMENT
LOWintegrations/adk/go/zepadk.go221// [DefaultContextTemplate]).COMMENT
LOWintegrations/adk/go/zepadk.go421//COMMENT
LOWintegrations/adk/go/zepadk.go581// round-trip. Passing a real first name, last name, and email helps ZepCOMMENT
LOWintegrations/adk/go/zepadk.go621 if _, err := api.AddUser(ctx, req); err != nil {COMMENT
LOWintegrations/adk/go/zepadk.go641// nil.COMMENT
LOWintegrations/adk/go/examples/main.go1// Command example demonstrates wiring Zep long-term memory into a Google ADKCOMMENT
LOWintegrations/adk/python/examples/basic_agent.py141 after_model_callback=create_after_model_callback(zep_client=zep_client),COMMENT
LOWintegrations/adk/python/src/zep_adk/context_tool.py101 tool_context: ToolContextCOMMENT
LOWintegrations/autogen/python/src/zep_autogen/memory.py121#: Error semantics: if the builder raises, ``ZepUserMemory.update_context``COMMENT
LOWexamples/python/context-templates-example/zep_ingest.py121 # user_id=user_id,COMMENT
LOW…mples/python/claude-prompt-caching-example/scenario.py581 },COMMENT
LOW.github/workflows/claude-code-review.yml1name: Claude Code ReviewCOMMENT
LOW.github/workflows/claude.yml41 actions: readCOMMENT
Modern Structural Boilerplate48 hits · 50 pts
SeverityFileLineSnippetContext
LOW…t-framework/python/src/zep_ms_agent_framework/_text.py23logger = logging.getLogger(__name__)CODE
LOW…/python/src/zep_ms_agent_framework/context_provider.py57logger = logging.getLogger(__name__)CODE
LOW…ramework/python/src/zep_ms_agent_framework/__init__.py77__all__ = [CODE
LOW…-framework/python/src/zep_ms_agent_framework/search.py27logger = logging.getLogger(__name__)CODE
LOW…work/python/src/zep_ms_agent_framework/provisioning.py27logger = logging.getLogger(__name__)CODE
LOW…tegrations/langgraph/python/src/zep_langgraph/store.py56logger = logging.getLogger(__name__)CODE
LOW…tegrations/langgraph/python/src/zep_langgraph/store.py477__all__ = ["ZepStore", "NamespaceTargetResolver", "Item", "SearchItem"]CODE
LOW…tegrations/langgraph/python/src/zep_langgraph/hooks.py36logger = logging.getLogger(__name__)CODE
LOW…ions/langgraph/python/src/zep_langgraph/persistence.py39logger = logging.getLogger(__name__)CODE
LOW…tegrations/langgraph/python/src/zep_langgraph/tools.py36logger = logging.getLogger(__name__)CODE
LOW…grations/langgraph/python/src/zep_langgraph/context.py39logger = logging.getLogger(__name__)CODE
LOW…ons/langgraph/python/src/zep_langgraph/provisioning.py33logger = logging.getLogger(__name__)CODE
LOW…tegrations/crewai/python/examples/test_context_mock.py10logger = logging.getLogger(__name__)CODE
LOW…egrations/crewai/python/src/zep_crewai/user_storage.py23__all__ = [CODE
LOWintegrations/crewai/python/src/zep_crewai/limits.py35logger = logging.getLogger(__name__)CODE
LOWintegrations/crewai/python/src/zep_crewai/tools.py32logger = logging.getLogger(__name__)CODE
LOW…egrations/crewai/python/src/zep_crewai/provisioning.py37logger = logging.getLogger(__name__)CODE
LOW…rations/pydantic-ai/python/src/zep_pydantic_ai/deps.py41logger = logging.getLogger(__name__)CODE
LOW…pydantic-ai/python/src/zep_pydantic_ai/capabilities.py47logger = logging.getLogger(__name__)CODE
LOW…tions/pydantic-ai/python/src/zep_pydantic_ai/search.py27logger = logging.getLogger(__name__)CODE
LOW…tic-ai/python/src/zep_pydantic_ai/history_processor.py55logger = logging.getLogger(__name__)CODE
LOW…tic-ai/python/src/zep_pydantic_ai/history_processor.py60__all__ = [CODE
LOW…pydantic-ai/python/src/zep_pydantic_ai/provisioning.py27logger = logging.getLogger(__name__)CODE
LOWintegrations/adk/python/src/zep_adk/context_tool.py118logger = logging.getLogger(__name__)CODE
LOWintegrations/adk/python/src/zep_adk/limits.py34logger = logging.getLogger(__name__)CODE
LOW…tegrations/adk/python/src/zep_adk/graph_search_tool.py34logger = logging.getLogger(__name__)CODE
LOWintegrations/adk/python/src/zep_adk/callbacks.py27logger = logging.getLogger(__name__)CODE
LOWintegrations/adk/python/src/zep_adk/memory_service.py56logger = logging.getLogger(__name__)CODE
LOWintegrations/adk/python/src/zep_adk/provisioning.py26logger = logging.getLogger(__name__)CODE
LOWintegrations/ag2/python/src/zep_ag2/memory.py43logger = logging.getLogger(__name__)CODE
LOWintegrations/ag2/python/src/zep_ag2/tools.py41logger = logging.getLogger(__name__)CODE
LOWintegrations/ag2/python/src/zep_ag2/__init__.py40__all__ = [CODE
LOWintegrations/ag2/python/src/zep_ag2/provisioning.py29logger = logging.getLogger(__name__)CODE
LOWintegrations/ag2/python/src/zep_ag2/graph_memory.py19logger = logging.getLogger(__name__)CODE
LOW…tions/livekit/python/examples/graph_voice_assistant.py33logger = logging.getLogger(__name__)CODE
LOWintegrations/livekit/python/examples/voice_assistant.py34logger = logging.getLogger(__name__)CODE
LOWintegrations/livekit/python/src/zep_livekit/limits.py36logger = logging.getLogger(__name__)CODE
LOWintegrations/livekit/python/src/zep_livekit/tools.py37logger = logging.getLogger(__name__)CODE
LOWintegrations/livekit/python/src/zep_livekit/__init__.py21__all__ = [CODE
LOWintegrations/livekit/python/src/zep_livekit/agent.py276 def _setup_session_handlers(self) -> None:CODE
LOWintegrations/livekit/python/src/zep_livekit/agent.py616 def _setup_session_handlers(self) -> None:CODE
LOWintegrations/livekit/python/src/zep_livekit/agent.py29logger = logging.getLogger(__name__)CODE
LOW…rations/livekit/python/src/zep_livekit/provisioning.py20logger = logging.getLogger(__name__)CODE
LOWintegrations/autogen/python/src/zep_autogen/memory.py49logger = logging.getLogger(__name__)CODE
LOWintegrations/autogen/python/src/zep_autogen/limits.py36logger = logging.getLogger(__name__)CODE
LOWintegrations/autogen/python/src/zep_autogen/tools.py37logger = logging.getLogger(__name__)CODE
LOW…rations/autogen/python/src/zep_autogen/provisioning.py27logger = logging.getLogger(__name__)CODE
LOW…ython/elevenlabs-zep-example/llm-proxy/proxy_server.py43logger = logging.getLogger(__name__)CODE
Deep Nesting54 hits · 48 pts
SeverityFileLineSnippetContext
LOWzep-eval-harness/zep_ingest_documents.py109CODE
LOWzep-eval-harness/zep_ingest_documents.py304CODE
LOWzep-eval-harness/zep_ingest_documents.py518CODE
LOWzep-eval-harness/zep_chunk_documents.py224CODE
LOWzep-eval-harness/zep_evaluate.py284CODE
LOWzep-eval-harness/zep_evaluate.py316CODE
LOWzep-eval-harness/zep_ingest_users.py223CODE
LOWzep-eval-harness/zep_ingest_users.py306CODE
LOWzep-eval-harness/zep_ingest_users.py365CODE
LOWzep-eval-harness/zep_ingest_users.py671CODE
LOW…-framework/python/src/zep_ms_agent_framework/search.py111CODE
LOW…-framework/python/src/zep_ms_agent_framework/search.py328CODE
LOW…-framework/python/src/zep_ms_agent_framework/search.py230CODE
LOW…tegrations/langgraph/python/src/zep_langgraph/store.py191CODE
LOW…tegrations/langgraph/python/src/zep_langgraph/store.py462CODE
LOW…ions/langgraph/python/src/zep_langgraph/persistence.py81CODE
LOW…tegrations/langgraph/python/src/zep_langgraph/tools.py150CODE
LOW…tegrations/langgraph/python/src/zep_langgraph/tools.py263CODE
LOWintegrations/crewai/python/src/zep_crewai/tools.py201CODE
LOWintegrations/crewai/python/src/zep_crewai/tools.py262CODE
LOW…rations/pydantic-ai/python/src/zep_pydantic_ai/deps.py263CODE
LOW…tions/pydantic-ai/python/src/zep_pydantic_ai/search.py111CODE
LOW…tions/pydantic-ai/python/src/zep_pydantic_ai/search.py359CODE
LOW…tions/pydantic-ai/python/src/zep_pydantic_ai/search.py247CODE
LOW…tegrations/adk/python/src/zep_adk/graph_search_tool.py122CODE
LOW…tegrations/adk/python/src/zep_adk/graph_search_tool.py300CODE
LOWintegrations/ag2/python/src/zep_ag2/memory.py399CODE
LOWintegrations/ag2/python/src/zep_ag2/tools.py215CODE
LOWintegrations/ag2/python/src/zep_ag2/tools.py392CODE
LOWintegrations/ag2/python/src/zep_ag2/graph_memory.py166CODE
LOWintegrations/livekit/python/src/zep_livekit/tools.py126CODE
LOWintegrations/livekit/python/src/zep_livekit/tools.py348CODE
LOWintegrations/livekit/python/src/zep_livekit/tools.py237CODE
LOWintegrations/livekit/python/src/zep_livekit/agent.py310CODE
LOWintegrations/livekit/python/src/zep_livekit/agent.py650CODE
LOWintegrations/autogen/python/src/zep_autogen/memory.py464CODE
LOWintegrations/autogen/python/src/zep_autogen/tools.py128CODE
LOWintegrations/autogen/python/src/zep_autogen/tools.py194CODE
LOWintegrations/autogen/python/src/zep_autogen/tools.py342CODE
LOWexamples/python/context-templates-example/ui.py136CODE
LOWexamples/python/context-templates-example/ui.py563CODE
LOWexamples/python/agent-memory-full-example/ui.py129CODE
LOWexamples/python/agent-memory-full-example/ui.py563CODE
LOWexamples/python/user-summary-instructions-example/ui.py136CODE
LOWexamples/python/user-summary-instructions-example/ui.py563CODE
LOWexamples/python/chunking-example/chunk_and_ingest.py45CODE
LOWexamples/python/chunking-example/chunk_and_ingest.py90CODE
LOW…elevenlabs-zep-example/llm-proxy/test_proxy_locally.py23CODE
LOWexamples/python/zep-quickstart-dashboard/ui.py136CODE
LOWexamples/python/zep-quickstart-dashboard/ui.py563CODE
LOWbenchmarks/locomo/ingestion.py70CODE
LOWbenchmarks/locomo/benchmark.py309CODE
LOWbenchmarks/longmemeval/analyze_dataset_sessions.py19CODE
LOWbenchmarks/longmemeval/zep_longmem_eval.py184CODE
Magic Placeholder Names11 hits · 42 pts
SeverityFileLineSnippetContext
HIGH…ramework/python/src/zep_ms_agent_framework/__init__.py25 zep = AsyncZep(api_key="your-api-key")STRING
HIGH…rations/langgraph/python/src/zep_langgraph/__init__.py42 zep = AsyncZep(api_key="your-api-key")STRING
HIGHintegrations/crewai/python/src/zep_crewai/__init__.py16 zep_client = Zep(api_key="your-api-key")STRING
HIGH…ons/pydantic-ai/python/src/zep_pydantic_ai/__init__.py39 zep = AsyncZep(api_key="your-api-key")STRING
HIGHintegrations/adk/python/src/zep_adk/__init__.py22 zep = AsyncZep(api_key="your-api-key")STRING
HIGHexamples/python/user_example.py14API_KEY = os.environ.get("ZEP_API_KEY") or "YOUR_API_KEY"CODE
HIGHexamples/python/chat_history/memory.py28API_KEY = os.environ.get("ZEP_API_KEY") or "YOUR_API_KEY"CODE
HIGHexamples/python/graph_example/entity_types.py15API_KEY = os.environ.get("ZEP_API_KEY") or "YOUR_API_KEY"CODE
HIGHexamples/python/graph_example/user_graph_example.py32API_KEY = os.environ.get("ZEP_API_KEY") or "YOUR_API_KEY"CODE
HIGHexamples/python/graph_example/tickets_example.py18API_KEY = os.environ.get("ZEP_API_KEY") or "YOUR_API_KEY"CODE
HIGHexamples/python/graph_example/graph_example.py28API_KEY = os.environ.get("ZEP_API_KEY") or "YOUR_API_KEY"CODE
Hallucination Indicators4 hits · 35 pts
SeverityFileLineSnippetContext
CRITICALintegrations/ag2/python/tests/test_basic.py206 assert mock_zep_client.graph.search.call_args.kwargs.get("scope") == "nodes"CODE
CRITICALbenchmarks/locomo/evaluation.py229 grader_response = await self.openai.beta.chat.completions.parse(CODE
CRITICALbenchmarks/locomo/evaluation.py318 result = await self.openai.beta.chat.completions.parse(STRING
CRITICALbenchmarks/longmemeval/zep_longmem_eval.py299 completion = await self.oai_client.beta.chat.completions.parse(STRING
Redundant / Tautological Comments17 hits · 26 pts
SeverityFileLineSnippetContext
LOWzep-eval-harness/zep_ingest_documents.py232 # Check if chunk set is complete (with graceful handling for missing/partial meta)COMMENT
LOWzep-eval-harness/zep_evaluate.py753 # Print result with PRIMARY metric firstSTRING
LOWexamples/python/context-templates-example/ui.py581 # Check if next message is context (new format) or assistant (historical format)COMMENT
LOWexamples/python/context-templates-example/agents.py35 # Check if the class has the required on_receive_message methodCOMMENT
LOWexamples/python/context-templates-example/zep_ingest.py22 # Check if user already existsCOMMENT
LOWexamples/python/agent-memory-full-example/ui.py581 # Check if next message is context (new format) or assistant (historical format)COMMENT
LOWexamples/python/user-summary-instructions-example/ui.py581 # Check if next message is context (new format) or assistant (historical format)COMMENT
LOW…les/python/user-summary-instructions-example/agents.py35 # Check if the class has the required on_receive_message methodCOMMENT
LOW…python/user-summary-instructions-example/zep_ingest.py22 # Check if user already existsCOMMENT
LOW…ython/elevenlabs-zep-example/llm-proxy/proxy_server.py450 # Check if this is a "no graph data" error - that's expected for new usersCOMMENT
LOWexamples/python/zep-quickstart-dashboard/ui.py581 # Check if next message is context (new format) or assistant (historical format)COMMENT
LOWexamples/python/zep-quickstart-dashboard/agents.py35 # Check if the class has the required on_receive_message methodCOMMENT
LOWexamples/python/zep-quickstart-dashboard/zep_ingest.py26 # Check if user already existsCOMMENT
LOW…/python/openai-agents-sdk/openai_agents_sdk_example.py205 # Check if zep_client is initializedSTRING
LOW…/python/openai-agents-sdk/openai_agents_sdk_example.py321 # Check if agent and memory manager are initializedCOMMENT
LOW…/python/openai-agents-sdk/openai_agents_sdk_example.py382 # Check if initialization was successfulCOMMENT
LOWbenchmarks/longmemeval/zep_longmem_eval.py559 # Check if at least one action is specifiedCOMMENT
Cross-Language Confusion5 hits · 25 pts
SeverityFileLineSnippetContext
HIGHzep-eval-harness/zep_evaluate.py536- If the response is missing ANY critical information from the golden answer, return falseCODE
HIGHzep-eval-harness/zep_evaluate.py537- If the response adds conversational filler but contains all essential info, return trueCODE
HIGHzep-eval-harness/zep_evaluate.py538- If the response abstains from answering or says it doesn't know, return falseCODE
HIGHintegrations/adk/python/tests/test_integration.py23 source /Users/jackryan/.env.zep_production && uv run python -m pytest tests/test_integration.py -v -sSTRING
HIGHintegrations/adk/python/tests/test_integration.py25 source /Users/jackryan/.env.zep_production && uv run python tests/test_integration.pySTRING
AI Structural Patterns19 hits · 18 pts
SeverityFileLineSnippetContext
LOW…l-harness/config/document_ingestion_config/ontology.py248CODE
LOW…-eval-harness/config/user_ingestion_config/ontology.py263CODE
LOW…0331T222436/user_ingestion_config_snapshot/ontology.py263CODE
LOW…T222500/document_ingestion_config_snapshot/ontology.py248CODE
LOW…/python/src/zep_ms_agent_framework/context_provider.py288CODE
LOW…-framework/python/src/zep_ms_agent_framework/search.py111CODE
LOW…tegrations/langgraph/python/src/zep_langgraph/tools.py323CODE
LOW…tegrations/langgraph/python/src/zep_langgraph/tools.py436CODE
LOW…egrations/crewai/python/src/zep_crewai/user_storage.py117CODE
LOWintegrations/crewai/python/src/zep_crewai/tools.py578CODE
LOWintegrations/crewai/python/src/zep_crewai/tools.py332CODE
LOW…tions/pydantic-ai/python/src/zep_pydantic_ai/search.py111CODE
LOWintegrations/ag2/python/src/zep_ag2/tools.py585CODE
LOWintegrations/livekit/python/src/zep_livekit/tools.py126CODE
LOWintegrations/livekit/python/src/zep_livekit/agent.py222CODE
LOWintegrations/livekit/python/src/zep_livekit/agent.py569CODE
LOWintegrations/autogen/python/src/zep_autogen/memory.py168CODE
LOWintegrations/autogen/python/src/zep_autogen/tools.py194CODE
LOW…nchmarks/longmemeval/Zep Test Harness/zep_responses.py67CODE
Fake / Example Data15 hits · 14 pts
SeverityFileLineSnippetContext
LOWintegrations/crewai/python/tests/test_basic.py97 metadata={"type": "message", "role": "user", "name": "John Doe"},CODE
LOWintegrations/crewai/python/tests/test_basic.py111 assert message.name == "John Doe"CODE
LOWintegrations/crewai/python/tests/test_basic.py132 metadata={"type": "message", "role": "user", "name": "John Doe"},CODE
LOWintegrations/crewai/python/examples/simple_example.py79 metadata={"type": "message", "role": "user", "name": "John Doe"},CODE
LOWintegrations/crewai/python/examples/simple_example.py95 metadata={"type": "message", "role": "user", "name": "John Doe"},CODE
LOWintegrations/crewai/python/examples/simple_example.py100 "John Doe's budget constraint: Total budget is around $2000 for the entire trip including flights and accommodatCODE
LOWintegrations/adk/python/tests/test_memory_service.py218 assert "Acme Corp" in response.memories[0].content.parts[0].textCODE
LOWintegrations/adk/python/tests/test_basic.py207 assert identity.user_display_name == "Jane Doe"CODE
LOWintegrations/adk/python/tests/test_basic.py1806 assert "Acme Corp" in formattedCODE
LOWintegrations/adk/typescript/test/identity.test.ts30 expect(id.displayName).toBe("Jane Doe");CODE
LOW…ns/livekit/python/examples/full-example/user_data.json3 "name": "John Doe",CODE
LOW…ivekit/python/examples/full-example/populate_memory.py14USER_FULL_NAME = "John Doe"CODE
LOWexamples/python/chat_history/memory.py49 email="user@example.com",CODE
LOWexamples/python/graph_example/entity_types.py74 Message(content="I'm planning to visit Tokyo, Japan next month for a business trip. Tokyo is in the Kanto regionCODE
LOWexamples/python/graph_example/entity_types.py76 Message(content="I'll be traveling to Tokyo on March 15th, 2024 for business meetings. After that, I'm thinking CODE
AI Slop Vocabulary3 hits · 8 pts
SeverityFileLineSnippetContext
MEDIUMmcp/zep-mcp-server/.golangci.yml8 - test # Test harness needs MCP SDK updateCODE
MEDIUMintegrations/crewai/python/examples/crewai_user.py174 # Create tasks that leverage user-specific memoryCOMMENT
MEDIUMintegrations/crewai/python/examples/crewai_graph.py171 # Create tasks that leverage the graph knowledgeCOMMENT
Slop Phrases3 hits · 6 pts
SeverityFileLineSnippetContext
MEDIUM…-full-example/pre-populate-memories/conversations.json19 {"role": "assistant", "content": "You're welcome! Let me know if you need anything else."},CODE
MEDIUM…-full-example/pre-populate-memories/conversations.json189 {"role": "assistant", "content": "Enjoy your listening! Let me know if you need anything else."}CODE
MEDIUM…-full-example/pre-populate-memories/conversations.json245 {"role": "assistant", "content": "Great financial discipline! Let me know if you need anything else."}CODE