Repository Analysis

getzep/zep

Zep | Examples, Integrations, & More

33.7 Strong AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of getzep/zep, a Python project with 4,873 GitHub stars. SynthScan v2.0 examined 153,839 lines of code across 772 source files, recording 3064 pattern matches distributed across 20 syntactic categories. The overall adjusted score of 33.7 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).

33.7
Adjusted Score
33.7
Raw Score
100%
Time Factor
2026-08-28
Last Push
4.9K
Stars
Python
Language
153.8K
Lines of Code
772
Files
3.1K
Pattern Hits
2026-08-29
Scan Date
0.36
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 273MEDIUM 450LOW 2337

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 3064 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.

Hyper-Verbose Identifiers1443 hits · 1500 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.py673def calculate_aggregate_statistics(CODE
LOWzep-eval-harness/zep_evaluate.py856def _get_next_eval_run_number() -> int:CODE
LOWzep-eval-harness/zep_evaluate.py309async 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
LOWingestion/tests/test_batch_submitter.py42 def test_item_payload_mapping(self, mock_zep):CODE
LOWingestion/tests/test_batch_submitter.py52 def test_stream_order_preserved(self, mock_zep):CODE
LOWingestion/tests/test_batch_submitter.py57 def test_empty_stream_no_api_calls(self, mock_zep):CODE
LOWingestion/tests/test_batch_submitter.py64 def test_default_max_items_per_batch_is_ten_thousand(self, mock_zep):CODE
LOWingestion/tests/test_batch_submitter.py68 def test_rollover_at_max_items_per_batch(self, mock_zep):CODE
LOWingestion/tests/test_batch_submitter.py82 def test_missing_created_batch_id_fails_before_add(self, mock_zep, batch_id):CODE
LOWingestion/tests/test_batch_submitter.py92 def test_blank_initial_batch_id_is_rejected(self, mock_zep, batch_id):CODE
LOWingestion/tests/test_batch_submitter.py100 def test_rate_limited_add_is_retried(self, mock_zep):CODE
LOWingestion/tests/test_batch_submitter.py107 def test_server_error_add_is_not_retried(self, mock_zep):CODE
LOWingestion/tests/test_batch_submitter.py114 def test_server_error_records_error_and_continues(self, mock_zep):CODE
LOWingestion/tests/test_batch_submitter.py133 def test_add_error_reports_the_server_message_and_adds_nothing(self, mock_zep):CODE
LOWingestion/tests/test_batch_submitter.py143 def test_transient_process_failure_retried(self, mock_zep):CODE
LOWingestion/tests/test_batch_submitter.py153 def test_exhausted_process_retries_record_error_without_raising(self, mock_zep):CODE
LOWingestion/tests/test_batch_submitter.py252 def test_batch_metadata_passed_to_create(self, mock_zep):CODE
LOWingestion/tests/test_batch_submitter.py256 def test_first_batch_failure_still_raises(self, mock_zep):CODE
LOWingestion/tests/test_batch_submitter.py265 def test_rollover_failure_stops_the_run_without_losing_batch_ids(self, mock_zep, status_code):CODE
LOWingestion/tests/test_batch_submitter.py169 def test_transport_error_on_add_still_processes_and_returns_batch_id(self, mock_zep):CODE
LOWingestion/tests/test_batch_submitter.py189 def test_connect_error_on_add_is_retried(self, mock_zep):CODE
LOWingestion/tests/test_batch_submitter.py196 def test_transport_error_on_process_is_retried(self, mock_zep):CODE
LOWingestion/tests/test_batch_submitter.py207 def test_exhausted_process_transport_retries_record_error_without_raising(self, mock_zep):CODE
LOWingestion/tests/test_batch_submitter.py216 def test_transport_error_on_rollover_stops_and_keeps_batch_ids(self, mock_zep):CODE
LOWingestion/tests/test_batch_submitter.py235 def test_transient_error_on_rollover_create_is_retried(self, mock_zep):CODE
LOWingestion/tests/test_batch_submitter.py287 def test_rollover_without_batch_id_carries_partial_result(self, mock_zep):CODE
LOWingestion/tests/test_dispatch.py26 def test_uses_batch_when_available(self, mock_zep):CODE
LOWingestion/tests/test_dispatch.py32 def test_falls_back_to_sequential_when_endpoint_not_found(self, mock_zep, caplog):CODE
LOWingestion/tests/test_dispatch.py46 def test_no_episodes_lost_on_fallback(self, mock_zep):CODE
LOWingestion/tests/test_dispatch.py55 def test_refused_probe_propagates_without_fallback(self, mock_zep, status_code):CODE
LOWingestion/tests/test_dispatch.py67 def test_server_error_on_create_propagates(self, mock_zep):CODE
LOWingestion/tests/test_dispatch.py72 def test_probe_does_not_retry_ambiguous_server_error(self, mock_zep):CODE
LOWingestion/tests/test_dispatch.py83 def test_persistent_transient_probe_error_raises_without_fallback(self, mock_zep):CODE
LOWingestion/tests/test_dispatch.py93 def test_probe_transport_error_surfaces_without_fallback(self, mock_zep):CODE
LOWingestion/tests/test_dispatch.py102 def test_empty_stream_no_probe(self, mock_zep):CODE
LOWingestion/tests/test_dispatch.py108 def test_probe_without_usable_batch_id_does_not_open_second_batch(self, mock_zep, batch_id):CODE
LOWingestion/tests/test_dispatch.py119 def test_batch_raises_batch_unavailable_when_endpoint_not_found(self, mock_zep):CODE
LOWingestion/tests/test_dispatch.py125 def test_batch_surfaces_refusal_instead_of_batch_unavailable(self, mock_zep, status_code):CODE
LOWingestion/tests/test_dispatch.py134 def test_sequential_never_touches_batch(self, mock_zep):CODE
LOWingestion/tests/test_result.py101 def test_from_batch_ids_auto_timeout_is_unlimited(self, mock_zep):CODE
LOWingestion/tests/test_result.py105 def test_wait_timeout_raises_but_result_usable(self, mock_zep):CODE
LOWingestion/tests/test_result.py114 def test_non_finite_wait_timing_refused_before_polling(self, mock_zep, field, value):CODE
LOWingestion/tests/test_result.py174 def test_status_processing_until_all_processed(self, mock_zep):CODE
LOWingestion/tests/test_result.py183 def test_status_succeeded_when_all_processed(self, mock_zep):CODE
LOWingestion/tests/test_result.py192 def test_refresh_skips_already_processed_uuids(self, mock_zep):CODE
LOWingestion/tests/test_result.py359 def test_failed_items_returns_add_errors(self, mock_zep):CODE
LOWingestion/tests/test_result.py366 def test_empty_run_is_succeeded(self, mock_zep):CODE
LOWingestion/tests/test_result.py370 def test_submitted_work_without_handles_is_untracked(self, mock_zep):CODE
1383 more matches not shown…
Decorative Section Separators342 hits · 1136 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.py68# ============================================================================COMMENT
MEDIUMzep-eval-harness/zep_evaluate.py70# ============================================================================COMMENT
MEDIUMzep-eval-harness/zep_evaluate.py174# ============================================================================COMMENT
MEDIUMzep-eval-harness/zep_evaluate.py176# ============================================================================COMMENT
MEDIUMzep-eval-harness/zep_evaluate.py180# ============================================================================COMMENT
MEDIUMzep-eval-harness/zep_evaluate.py182# ============================================================================COMMENT
MEDIUMzep-eval-harness/zep_evaluate.py218# ============================================================================COMMENT
MEDIUMzep-eval-harness/zep_evaluate.py220# ============================================================================COMMENT
MEDIUMzep-eval-harness/zep_evaluate.py38# ============================================================================COMMENT
MEDIUMzep-eval-harness/zep_evaluate.py40# ============================================================================COMMENT
MEDIUMzep-eval-harness/zep_evaluate.py1056# ============================================================================COMMENT
MEDIUMzep-eval-harness/zep_evaluate.py1058# ============================================================================COMMENT
MEDIUMzep-eval-harness/zep_evaluate.py304# ============================================================================STRING
MEDIUMzep-eval-harness/zep_evaluate.py306# ============================================================================STRING
MEDIUMzep-eval-harness/zep_evaluate.py414# ============================================================================STRING
MEDIUMzep-eval-harness/zep_evaluate.py416# ============================================================================STRING
MEDIUMzep-eval-harness/zep_evaluate.py527# ============================================================================STRING
MEDIUMzep-eval-harness/zep_evaluate.py529# ============================================================================STRING
MEDIUMzep-eval-harness/zep_evaluate.py636# ============================================================================STRING
MEDIUMzep-eval-harness/zep_evaluate.py638# ============================================================================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
282 more matches not shown…
Cross-File Repetition214 hits · 1070 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/strands/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/strands/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/strands/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/strands/python/src/zep_strands/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
154 more matches not shown…
Excessive Try-Catch Wrapping315 hits · 348 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.py1102 print("Error: Missing ZEP_API_KEY environment variable")STRING
MEDIUMzep-eval-harness/zep_evaluate.py1106 print("Error: Missing GOOGLE_API_KEY environment variable")STRING
LOWzep-eval-harness/zep_evaluate.py1158 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…harness/config/evaluation_config/retrieval_strategy.py55 except Exception as e:CODE
LOWingestion/scripts/release_smoke_prod.py92 except Exception as exc: # noqa: BLE001 — smoke script reports all failuresCODE
LOWingestion/scripts/release_smoke_prod.py370 except Exception: # noqa: BLE001CODE
LOWingestion/src/zep_ingest/transforms/contextualizer.py83 except Exception as error: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.py105 except Exception as exc:CODE
LOWintegrations/langgraph/python/tests/test_integration.py136 except Exception as exc:CODE
255 more matches not shown…
Unused Imports299 hits · 268 pts
SeverityFileLineSnippetContext
LOWzep-eval-harness/zep_ingest_documents.py31CODE
LOWzep-eval-harness/zep_chunk_documents.py34CODE
LOWzep-eval-harness/zep_evaluate.py7CODE
LOW…harness/config/evaluation_config/retrieval_strategy.py15CODE
LOWingestion/scripts/release_smoke_prod.py11CODE
LOWingestion/src/zep_ingest/protocols.py22CODE
LOWingestion/src/zep_ingest/__init__.py32CODE
LOWingestion/src/zep_ingest/__init__.py32CODE
LOWingestion/src/zep_ingest/__init__.py32CODE
LOWingestion/src/zep_ingest/__init__.py32CODE
LOWingestion/src/zep_ingest/__init__.py32CODE
LOWingestion/src/zep_ingest/__init__.py32CODE
LOWingestion/src/zep_ingest/__init__.py32CODE
LOWingestion/src/zep_ingest/__init__.py32CODE
LOWingestion/src/zep_ingest/__init__.py42CODE
LOWingestion/src/zep_ingest/__init__.py43CODE
LOWingestion/src/zep_ingest/__init__.py44CODE
LOWingestion/src/zep_ingest/__init__.py45CODE
LOWingestion/src/zep_ingest/__init__.py45CODE
LOWingestion/src/zep_ingest/__init__.py45CODE
LOWingestion/src/zep_ingest/__init__.py46CODE
LOWingestion/src/zep_ingest/__init__.py47CODE
LOWingestion/src/zep_ingest/__init__.py48CODE
LOWingestion/src/zep_ingest/__init__.py48CODE
LOWingestion/src/zep_ingest/__init__.py49CODE
LOWingestion/src/zep_ingest/__init__.py49CODE
LOWingestion/src/zep_ingest/__init__.py49CODE
LOWingestion/src/zep_ingest/__init__.py49CODE
LOWingestion/src/zep_ingest/__init__.py49CODE
LOWingestion/src/zep_ingest/__init__.py49CODE
LOWingestion/src/zep_ingest/__init__.py49CODE
LOWingestion/src/zep_ingest/__init__.py49CODE
LOWingestion/src/zep_ingest/__init__.py59CODE
LOWingestion/src/zep_ingest/__init__.py59CODE
LOWingestion/src/zep_ingest/__init__.py59CODE
LOWingestion/src/zep_ingest/__init__.py59CODE
LOWingestion/src/zep_ingest/__init__.py60CODE
LOWingestion/src/zep_ingest/__init__.py60CODE
LOWingestion/src/zep_ingest/__init__.py60CODE
LOWingestion/src/zep_ingest/__init__.py60CODE
LOWingestion/src/zep_ingest/__init__.py60CODE
LOWingestion/src/zep_ingest/__init__.py67CODE
LOWingestion/src/zep_ingest/__init__.py67CODE
LOWingestion/src/zep_ingest/__init__.py68CODE
LOWingestion/src/zep_ingest/__init__.py68CODE
LOWingestion/src/zep_ingest/__init__.py69CODE
LOWingestion/src/zep_ingest/__init__.py69CODE
LOWingestion/src/zep_ingest/__init__.py70CODE
LOWingestion/src/zep_ingest/__init__.py71CODE
LOWingestion/src/zep_ingest/__init__.py71CODE
LOWingestion/src/zep_ingest/__init__.py72CODE
LOWingestion/src/zep_ingest/__init__.py73CODE
LOWingestion/src/zep_ingest/__init__.py73CODE
LOWingestion/src/zep_ingest/__init__.py74CODE
LOWingestion/src/zep_ingest/__init__.py74CODE
LOWingestion/src/zep_ingest/__init__.py74CODE
LOWingestion/src/zep_ingest/__init__.py74CODE
LOWingestion/src/zep_ingest/__init__.py74CODE
LOWingestion/src/zep_ingest/__init__.py74CODE
LOWingestion/src/zep_ingest/__init__.py74CODE
239 more matches not shown…
Docstring Block Structure39 hits · 195 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
HIGH…rations/strands/python/src/zep_strands/memory_store.py434Search the Zep graph for entries matching ``query``. Args: query: The search query text. STRING
HIGH…rations/strands/python/src/zep_strands/memory_store.py487Add a single piece of content to the Zep graph via ``graph.add``. ``text`` and ``message`` payloads over Zep's STRING
HIGH…rations/strands/python/src/zep_strands/memory_store.py557Ingest a batch of conversation messages for server-side extraction. Converts Strands messages to Zep thread mesSTRING
HIGHintegrations/strands/python/src/zep_strands/search.py204Build a Strands tool that searches a Zep knowledge graph. Register the returned tool with an agent, or return it frSTRING
HIGH…rations/strands/python/src/zep_strands/provisioning.py78Idempotently ensure the Zep user exists. Calls ``client.user.add(...)`` directly (create-then-catch-conflict). If STRING
HIGH…rations/strands/python/src/zep_strands/provisioning.py135Idempotently 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 Comments57 hits · 150 pts
SeverityFileLineSnippetContext
MEDIUMingestion/examples/email_example.py29 # Create the graph and set its ontology up front: ingestion writes only intoCOMMENT
MEDIUMingestion/examples/documents_example.py51 # Create the graph and set its ontology up front: ingestion writes only intoCOMMENT
MEDIUMingestion/examples/slack_export_example.py47 # Create the graph and set its ontology up front: ingestion writes only intoCOMMENT
MEDIUMingestion/examples/json_records_example.py34 # Create the graph and set its ontology up front: ingestion writes only intoCOMMENT
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.py69# Step 1: Load Run Manifest and Test CasesCOMMENT
LOWzep-eval-harness/zep_evaluate.py175# Step 2: Graph Search / Context RetrievalCOMMENT
LOWzep-eval-harness/zep_evaluate.py181# Step 3: Generate AI ResponseCOMMENT
LOWzep-eval-harness/zep_evaluate.py219# Step 4: Grade AI ResponseCOMMENT
LOWzep-eval-harness/zep_evaluate.py415# Step 5: Process Single Query (Pipeline)STRING
LOWzep-eval-harness/zep_evaluate.py475 # Step 4: Grade Response (SECONDARY METRIC) - must wait for AI answerSTRING
LOWzep-eval-harness/zep_evaluate.py528# Step 6: Run Complete Evaluation PipelineSTRING
LOWzep-eval-harness/zep_evaluate.py637# Step 6: Save and Analyze ResultsSTRING
LOWzep-eval-harness/zep_evaluate.py446 # Step 1: Retrieve context (strategy defined in retrieval_strategy.py)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.py69# Step 1: Load Run Manifest and Test CasesCOMMENT
LOWzep-eval-harness/zep_evaluate.py175# Step 2: Graph Search / Context RetrievalCOMMENT
LOWzep-eval-harness/zep_evaluate.py181# Step 3: Generate AI ResponseCOMMENT
LOWzep-eval-harness/zep_evaluate.py219# Step 4: Grade AI ResponseCOMMENT
LOWzep-eval-harness/zep_evaluate.py415# Step 5: Process Single Query (Pipeline)STRING
LOWzep-eval-harness/zep_evaluate.py475 # Step 4: Grade Response (SECONDARY METRIC) - must wait for AI answerSTRING
LOWzep-eval-harness/zep_evaluate.py528# Step 6: Run Complete Evaluation PipelineSTRING
LOWzep-eval-harness/zep_evaluate.py637# Step 6: Save and Analyze ResultsSTRING
LOWzep-eval-harness/zep_evaluate.py446 # Step 1: Retrieve context (strategy defined in retrieval_strategy.py)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
Deep Nesting68 hits · 62 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_ingest_users.py223CODE
LOWzep-eval-harness/zep_ingest_users.py306CODE
LOWzep-eval-harness/zep_ingest_users.py365CODE
LOWzep-eval-harness/zep_ingest_users.py671CODE
LOWingestion/src/zep_ingest/triples.py162CODE
LOWingestion/src/zep_ingest/triples.py69CODE
LOWingestion/src/zep_ingest/result.py261CODE
LOWingestion/src/zep_ingest/threads.py213CODE
LOWingestion/src/zep_ingest/threads.py312CODE
LOWingestion/src/zep_ingest/threads.py377CODE
LOWingestion/src/zep_ingest/submitters/sequential.py44CODE
LOWingestion/src/zep_ingest/transforms/_splitting.py98CODE
LOWingestion/src/zep_ingest/loaders/transcript.py117CODE
LOWingestion/src/zep_ingest/loaders/email.py39CODE
LOWingestion/src/zep_ingest/loaders/json_records.py52CODE
LOWingestion/src/zep_ingest/loaders/json_records.py144CODE
LOWingestion/src/zep_ingest/loaders/slack.py399CODE
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/strands/python/src/zep_strands/search.py122CODE
LOWintegrations/strands/python/src/zep_strands/search.py188CODE
LOWintegrations/strands/python/src/zep_strands/search.py312CODE
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
8 more matches not shown…
Modern Structural Boilerplate56 hits · 58 pts
SeverityFileLineSnippetContext
LOWingestion/src/zep_ingest/__init__.py92__all__ = [CODE
LOWingestion/src/zep_ingest/submitters/__init__.py27__all__ = ["BatchSubmitter", "Method", "SequentialSubmitter", "submit_episodes"]CODE
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
LOWintegrations/strands/python/src/zep_strands/_text.py23logger = logging.getLogger(__name__)CODE
LOW…rations/strands/python/src/zep_strands/memory_store.py101logger = logging.getLogger(__name__)CODE
LOW…rations/strands/python/src/zep_strands/memory_store.py666__all__ = [CODE
LOWintegrations/strands/python/src/zep_strands/__init__.py64__all__ = [CODE
LOWintegrations/strands/python/src/zep_strands/search.py28logger = logging.getLogger(__name__)CODE
LOW…rations/strands/python/src/zep_strands/provisioning.py26logger = 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
Over-Commented Block52 hits · 52 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/strands/python/src/zep_strands/search.py41MAX_SEARCH_LIMIT = 50COMMENT
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
Magic Placeholder Names13 hits · 50 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
HIGHintegrations/strands/python/README.md23zep = AsyncZep(api_key="your-api-key")CODE
HIGHintegrations/strands/python/src/zep_strands/__init__.py19 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
Cross-Language Confusion7 hits · 41 pts
SeverityFileLineSnippetContext
HIGHzep-eval-harness/zep_evaluate.py265- If the response is missing ANY critical information from the golden answer, return falseCODE
HIGHzep-eval-harness/zep_evaluate.py266- If the response adds conversational filler but contains all essential info, return trueCODE
HIGHzep-eval-harness/zep_evaluate.py267- If the response abstains from answering or says it doesn't know, return falseCODE
HIGHingestion/tests/test_json_records_loader.py368 # the API records a non-finite metadata value as null, silently changingCOMMENT
HIGHingestion/src/zep_ingest/_validation.py157 "boolean, null) or arrays of scalars; empty arrays, null array "CODE
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
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.py484 # 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
AI Structural Patterns24 hits · 22 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
LOWingestion/src/zep_ingest/pipeline.py226CODE
LOWingestion/src/zep_ingest/pipeline.py263CODE
LOWingestion/src/zep_ingest/pipeline.py334CODE
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
LOW…rations/strands/python/src/zep_strands/memory_store.py284CODE
LOWintegrations/strands/python/src/zep_strands/search.py188CODE
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