Repository Analysis

ag-ui-protocol/ag-ui

AG-UI: the Agent-User Interaction Protocol. Bring Agents into Frontend Applications.

8.9 Low AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of ag-ui-protocol/ag-ui, a TypeScript project with 14,726 GitHub stars. SynthScan v2.0 examined 607,124 lines of code across 2457 source files, recording 3889 pattern matches distributed across 23 syntactic categories. The overall adjusted score of 8.9 places this repository in the Low 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).

8.9
Adjusted Score
8.9
Raw Score
100%
Time Factor
2026-07-14
Last Push
14.7K
Stars
TypeScript
Language
607.1K
Lines of Code
2.5K
Files
3.9K
Pattern Hits
2026-07-14
Scan Date
0.03
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 3HIGH 81MEDIUM 571LOW 3234

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 3889 distinct pattern matches across 23 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 Identifiers1890 hits · 1772 pts
SeverityFileLineSnippetContext
LOWsdks/python/tests/test_interrupts.py8 def test_required_fields_only(self):CODE
LOWsdks/python/tests/test_interrupts.py28 def test_alias_camel_case_on_serialization(self):CODE
LOWsdks/python/tests/test_interrupts.py34 def test_parse_from_camel_case(self):CODE
LOWsdks/python/tests/test_interrupts.py42 def test_rejects_missing_reason(self):CODE
LOWsdks/python/tests/test_interrupts.py48 def test_resolved_with_payload(self):CODE
LOWsdks/python/tests/test_interrupts.py53 def test_cancelled_without_payload(self):CODE
LOWsdks/python/tests/test_interrupts.py58 def test_rejects_unknown_status(self):CODE
LOWsdks/python/tests/test_interrupts.py62 def test_rejects_missing_interrupt_id(self):CODE
LOWsdks/python/tests/test_interrupts.py66 def test_alias_camel_case_on_serialization(self):CODE
LOWsdks/python/tests/test_interrupts.py72 def test_parse_from_camel_case(self):CODE
LOWsdks/python/tests/test_capabilities.py32 def test_empty_agent_capabilities_serializes_to_empty_object(self):CODE
LOWsdks/python/tests/test_capabilities.py38 def test_agent_capabilities_top_level_keys_match_typescript(self):CODE
LOWsdks/python/tests/test_capabilities.py68 def test_identity_capabilities_camel_case_keys(self):CODE
LOWsdks/python/tests/test_capabilities.py83 def test_transport_capabilities_camel_case_keys(self):CODE
LOWsdks/python/tests/test_capabilities.py97 def test_tools_capabilities_camel_case_keys(self):CODE
LOWsdks/python/tests/test_capabilities.py108 def test_output_capabilities_camel_case_keys(self):CODE
LOWsdks/python/tests/test_capabilities.py117 def test_state_capabilities_camel_case_keys(self):CODE
LOWsdks/python/tests/test_capabilities.py127 def test_multi_agent_capabilities_camel_case_keys(self):CODE
LOWsdks/python/tests/test_capabilities.py138 def test_execution_capabilities_camel_case_keys(self):CODE
LOWsdks/python/tests/test_capabilities.py151 def test_human_in_the_loop_top_level_alias(self):CODE
LOWsdks/python/tests/test_capabilities.py159 def test_multimodal_nested_shape(self):CODE
LOWsdks/python/tests/test_capabilities.py176 def test_round_trip_from_camel_case_payload(self):CODE
LOWsdks/python/tests/test_capabilities.py204 def test_sub_agent_info_required_name(self):CODE
LOWsdks/python/tests/test_text_roles.py21 def test_text_message_start_with_all_roles(self) -> None:CODE
LOWsdks/python/tests/test_text_roles.py34 def test_text_message_chunk_with_all_roles(self) -> None:CODE
LOWsdks/python/tests/test_text_roles.py49 def test_text_message_chunk_without_role(self) -> None:CODE
LOWsdks/python/tests/test_text_roles.py61 def test_multiple_messages_different_roles(self) -> None:CODE
LOWsdks/python/tests/test_text_roles.py90 def test_text_message_serialization(self) -> None:CODE
LOWsdks/python/tests/test_text_roles.py110 def test_invalid_role_rejected(self) -> None:CODE
LOWsdks/python/tests/test_text_roles.py134 def test_text_message_start_name_preserved_with_roles(self) -> None:CODE
LOWsdks/python/tests/test_text_roles.py146 def test_text_message_start_default_role(self) -> None:CODE
LOWsdks/python/tests/test_encoder.py12 def test_encoder_initialization(self):CODE
LOWsdks/python/tests/test_encoder.py73 def test_encode_with_different_event_types(self):CODE
LOWsdks/python/tests/test_encoder.py104 def test_null_value_exclusion(self):CODE
LOWsdks/python/tests/test_encoder.py148 def test_round_trip_serialization(self):CODE
LOWsdks/python/tests/test_capabilities_interrupts.py11 def test_approve_with_edits_flag(self):CODE
LOWsdks/python/tests/test_capabilities_interrupts.py21 def test_parse_from_camel_case(self):CODE
LOWsdks/python/tests/test_run_finished_event.py14 def test_legacy_event_with_no_outcome(self):CODE
LOWsdks/python/tests/test_run_finished_event.py19 def test_legacy_event_with_result_only(self):CODE
LOWsdks/python/tests/test_run_finished_event.py24 def test_explicit_success_outcome(self):CODE
LOWsdks/python/tests/test_run_finished_event.py35 def test_explicit_interrupt_outcome(self):CODE
LOWsdks/python/tests/test_run_finished_event.py47 def test_outcome_via_dict_discriminator(self):CODE
LOWsdks/python/tests/test_run_finished_event.py62 def test_interrupt_outcome_rejects_empty_interrupts(self):CODE
LOWsdks/python/tests/test_run_finished_event.py66 def test_interrupt_outcome_via_dict_rejects_empty(self):CODE
LOWsdks/python/tests/test_run_finished_event.py77 def test_camel_case_serialization(self):CODE
LOWsdks/python/tests/test_run_finished_event.py90 def test_legacy_event_serialization_omits_outcome(self):CODE
LOWsdks/python/tests/test_events.py70 def test_text_message_content(self):CODE
LOWsdks/python/tests/test_events.py370 def test_event_union_deserialization(self):CODE
LOWsdks/python/tests/test_events.py429 def test_empty_delta_accepted(self):CODE
LOWsdks/python/tests/test_events.py437 def test_serialization_round_trip(self):CODE
LOWsdks/python/tests/test_events.py509 def test_raw_event_with_null_source(self):CODE
LOWsdks/python/tests/test_events.py529 def test_complex_nested_event_structures(self):CODE
LOWsdks/python/tests/test_events.py580 def test_text_message_start_with_name(self):CODE
LOWsdks/python/tests/test_events.py593 def test_text_message_start_without_name(self):CODE
LOWsdks/python/tests/test_events.py600 def test_text_message_chunk_with_name(self):CODE
LOWsdks/python/tests/test_events.py612 def test_text_message_chunk_without_name(self):CODE
LOWsdks/python/tests/test_events.py620 def test_event_with_unicode_and_special_chars(self):CODE
LOWsdks/python/tests/test_events.py642 def test_all_event_subclasses_in_event_union(self):CODE
LOWsdks/python/tests/test_events.py666 def test_reasoning_message_start_event_role_is_reasoning(self):CODE
LOWsdks/python/tests/test_events.py699 def test_reasoning_message_start_event_rejects_assistant_role(self):CODE
1830 more matches not shown…
Decorative Section Separators345 hits · 1197 pts
SeverityFileLineSnippetContext
MEDIUMsdks/python/a2ui_toolkit/ag_ui_a2ui_toolkit/__init__.py295# ---------------------------------------------------------------------------COMMENT
MEDIUMsdks/python/a2ui_toolkit/ag_ui_a2ui_toolkit/__init__.py297# ---------------------------------------------------------------------------COMMENT
MEDIUMsdks/python/a2ui_toolkit/ag_ui_a2ui_toolkit/__init__.py453# ---------------------------------------------------------------------------COMMENT
MEDIUMsdks/python/a2ui_toolkit/ag_ui_a2ui_toolkit/__init__.py455# ---------------------------------------------------------------------------COMMENT
MEDIUMsdks/python/a2ui_toolkit/ag_ui_a2ui_toolkit/__init__.py464# ---------------------------------------------------------------------------COMMENT
MEDIUMsdks/python/a2ui_toolkit/ag_ui_a2ui_toolkit/__init__.py472# ---------------------------------------------------------------------------COMMENT
MEDIUMsdks/python/a2ui_toolkit/ag_ui_a2ui_toolkit/__init__.py824# ---------------------------------------------------------------------------COMMENT
MEDIUMsdks/python/a2ui_toolkit/ag_ui_a2ui_toolkit/__init__.py830# ---------------------------------------------------------------------------COMMENT
MEDIUMsdks/python/a2ui_toolkit/ag_ui_a2ui_toolkit/__init__.py96# ---------------------------------------------------------------------------COMMENT
MEDIUMsdks/python/a2ui_toolkit/ag_ui_a2ui_toolkit/__init__.py98# ---------------------------------------------------------------------------COMMENT
MEDIUMsdks/python/a2ui_toolkit/ag_ui_a2ui_toolkit/__init__.py126# ---------------------------------------------------------------------------COMMENT
MEDIUMsdks/python/a2ui_toolkit/ag_ui_a2ui_toolkit/__init__.py128# ---------------------------------------------------------------------------COMMENT
MEDIUMsdks/python/a2ui_toolkit/ag_ui_a2ui_toolkit/__init__.py168# ---------------------------------------------------------------------------COMMENT
MEDIUMsdks/python/a2ui_toolkit/ag_ui_a2ui_toolkit/__init__.py170# ---------------------------------------------------------------------------COMMENT
MEDIUMsdks/python/a2ui_toolkit/ag_ui_a2ui_toolkit/__init__.py678# ---------------------------------------------------------------------------COMMENT
MEDIUMsdks/python/a2ui_toolkit/ag_ui_a2ui_toolkit/__init__.py680# ---------------------------------------------------------------------------COMMENT
MEDIUMsdks/python/a2ui_toolkit/ag_ui_a2ui_toolkit/__init__.py719# ---------------------------------------------------------------------------COMMENT
MEDIUMsdks/python/a2ui_toolkit/ag_ui_a2ui_toolkit/__init__.py722# ---------------------------------------------------------------------------COMMENT
MEDIUMsdks/python/a2ui_toolkit/ag_ui_a2ui_toolkit/__init__.py756# ---------------------------------------------------------------------------COMMENT
MEDIUMsdks/python/a2ui_toolkit/ag_ui_a2ui_toolkit/__init__.py768# ---------------------------------------------------------------------------COMMENT
MEDIUM…eware/__tests__/middleware-chained-integration.test.ts44// ── Reusable helpers ─────────────────────────────────────────────────────────COMMENT
MEDIUM…eware/__tests__/middleware-chained-integration.test.ts114// ── Agents ───────────────────────────────────────────────────────────────────COMMENT
MEDIUM…eware/__tests__/middleware-chained-integration.test.ts420// ── Tests ────────────────────────────────────────────────────────────────────COMMENT
MEDIUM…eware/__tests__/middleware-chained-integration.test.ts423 // ─── Basic chaining ────────────────────────────────────────────────────────COMMENT
MEDIUM…eware/__tests__/middleware-chained-integration.test.ts463 // ─── Full text events (no chunk transformation) ────────────────────────────COMMENT
MEDIUM…eware/__tests__/middleware-chained-integration.test.ts482 // ─── Tool call chunk transformation ────────────────────────────────────────COMMENT
MEDIUM…eware/__tests__/middleware-chained-integration.test.ts515 // ─── Full tool call events (no chunk transformation) ───────────────────────COMMENT
MEDIUM…eware/__tests__/middleware-chained-integration.test.ts545 // ─── State propagation ─────────────────────────────────────────────────────COMMENT
MEDIUM…eware/__tests__/middleware-chained-integration.test.ts589 // ─── MESSAGES_SNAPSHOT ─────────────────────────────────────────────────────COMMENT
MEDIUM…eware/__tests__/middleware-chained-integration.test.ts610 // ─── Multiple sequential messages ──────────────────────────────────────────COMMENT
MEDIUM…eware/__tests__/middleware-chained-integration.test.ts630 // ─── Mixed text + tool call events ─────────────────────────────────────────COMMENT
MEDIUM…eware/__tests__/middleware-chained-integration.test.ts663 // ─── Mixed middleware types ────────────────────────────────────────────────COMMENT
MEDIUM…eware/__tests__/middleware-chained-integration.test.ts720 // ─── Initial messages / pre-existing state ─────────────────────────────────COMMENT
MEDIUM…eware/__tests__/middleware-chained-integration.test.ts765 // ─── Event-with-state tracking across all event types ──────────────────────COMMENT
MEDIUM…dotnet/tests/AGUI.Client.UnitTests/ProtocolRuleTest.cs22 // ────────────────────────────────────────────────COMMENT
MEDIUM…dotnet/tests/AGUI.Client.UnitTests/ProtocolRuleTest.cs24 // ────────────────────────────────────────────────COMMENT
MEDIUM…dotnet/tests/AGUI.Client.UnitTests/ProtocolRuleTest.cs101 // ────────────────────────────────────────────────COMMENT
MEDIUM…dotnet/tests/AGUI.Client.UnitTests/ProtocolRuleTest.cs103 // ────────────────────────────────────────────────COMMENT
MEDIUM…dotnet/tests/AGUI.Client.UnitTests/ProtocolRuleTest.cs256 // ────────────────────────────────────────────────COMMENT
MEDIUM…dotnet/tests/AGUI.Client.UnitTests/ProtocolRuleTest.cs258 // ────────────────────────────────────────────────COMMENT
MEDIUM…dotnet/tests/AGUI.Client.UnitTests/ProtocolRuleTest.cs394 // ────────────────────────────────────────────────COMMENT
MEDIUM…dotnet/tests/AGUI.Client.UnitTests/ProtocolRuleTest.cs396 // ────────────────────────────────────────────────COMMENT
MEDIUM…dotnet/tests/AGUI.Client.UnitTests/ProtocolRuleTest.cs458 // ────────────────────────────────────────────────COMMENT
MEDIUM…dotnet/tests/AGUI.Client.UnitTests/ProtocolRuleTest.cs460 // ────────────────────────────────────────────────COMMENT
MEDIUM…dotnet/tests/AGUI.Client.UnitTests/ProtocolRuleTest.cs549 // ────────────────────────────────────────────────COMMENT
MEDIUM…dotnet/tests/AGUI.Client.UnitTests/ProtocolRuleTest.cs551 // ────────────────────────────────────────────────COMMENT
MEDIUM…dotnet/tests/AGUI.Client.UnitTests/ProtocolRuleTest.cs672 // ────────────────────────────────────────────────COMMENT
MEDIUM…dotnet/tests/AGUI.Client.UnitTests/ProtocolRuleTest.cs674 // ────────────────────────────────────────────────COMMENT
MEDIUM…dotnet/tests/AGUI.Client.UnitTests/ProtocolRuleTest.cs799 // ────────────────────────────────────────────────COMMENT
MEDIUM…dotnet/tests/AGUI.Client.UnitTests/ProtocolRuleTest.cs801 // ────────────────────────────────────────────────COMMENT
MEDIUM…dotnet/tests/AGUI.Client.UnitTests/ProtocolRuleTest.cs932 // ────────────────────────────────────────────────COMMENT
MEDIUM…dotnet/tests/AGUI.Client.UnitTests/ProtocolRuleTest.cs934 // ────────────────────────────────────────────────COMMENT
MEDIUM…dotnet/tests/AGUI.Client.UnitTests/ProtocolRuleTest.cs962 // ────────────────────────────────────────────────COMMENT
MEDIUM…dotnet/tests/AGUI.Client.UnitTests/ProtocolRuleTest.cs964 // ────────────────────────────────────────────────COMMENT
MEDIUM…dotnet/tests/AGUI.Client.UnitTests/ProtocolRuleTest.cs986 // ────────────────────────────────────────────────COMMENT
MEDIUM…dotnet/tests/AGUI.Client.UnitTests/ProtocolRuleTest.cs988 // ────────────────────────────────────────────────COMMENT
MEDIUM…dotnet/tests/AGUI.Client.UnitTests/ProtocolRuleTest.cs1135 // ────────────────────────────────────────────────COMMENT
MEDIUM…dotnet/tests/AGUI.Client.UnitTests/ProtocolRuleTest.cs1137 // ────────────────────────────────────────────────COMMENT
MEDIUMsdks/community/c++/tests/test_sse_server.cpp105// ── Test Suite 1: HTTP Client Integration Tests ───────────────────────────────COMMENT
MEDIUMsdks/community/c++/tests/test_sse_server.cpp182// ── Test Suite 2: HttpAgent Integration Tests ─────────────────────────────────COMMENT
285 more matches not shown…
Unused Imports505 hits · 422 pts
SeverityFileLineSnippetContext
LOWsdks/python/tests/test_text_roles.py5CODE
LOWsdks/python/tests/test_events.py8CODE
LOWsdks/python/a2ui_toolkit/tests/test_toolkit.py7CODE
LOWsdks/python/a2ui_toolkit/tests/test_recovery.py7CODE
LOWsdks/python/a2ui_toolkit/tests/test_validate.py7CODE
LOWsdks/python/a2ui_toolkit/ag_ui_a2ui_toolkit/recovery.py10CODE
LOWsdks/python/a2ui_toolkit/ag_ui_a2ui_toolkit/__init__.py11CODE
LOWsdks/python/a2ui_toolkit/ag_ui_a2ui_toolkit/__init__.py62CODE
LOWsdks/python/a2ui_toolkit/ag_ui_a2ui_toolkit/__init__.py62CODE
LOWsdks/python/a2ui_toolkit/ag_ui_a2ui_toolkit/__init__.py62CODE
LOWsdks/python/a2ui_toolkit/ag_ui_a2ui_toolkit/__init__.py67CODE
LOWsdks/python/a2ui_toolkit/ag_ui_a2ui_toolkit/__init__.py67CODE
LOWsdks/python/a2ui_toolkit/ag_ui_a2ui_toolkit/__init__.py67CODE
LOWsdks/python/a2ui_toolkit/ag_ui_a2ui_toolkit/__init__.py67CODE
LOWsdks/python/a2ui_toolkit/ag_ui_a2ui_toolkit/__init__.py67CODE
LOWsdks/python/a2ui_toolkit/ag_ui_a2ui_toolkit/validate.py10CODE
LOWsdks/python/ag_ui/core/events.py10CODE
LOWsdks/python/ag_ui/core/__init__.py5CODE
LOWsdks/python/ag_ui/core/__init__.py5CODE
LOWsdks/python/ag_ui/core/__init__.py5CODE
LOWsdks/python/ag_ui/core/__init__.py5CODE
LOWsdks/python/ag_ui/core/__init__.py5CODE
LOWsdks/python/ag_ui/core/__init__.py5CODE
LOWsdks/python/ag_ui/core/__init__.py5CODE
LOWsdks/python/ag_ui/core/__init__.py5CODE
LOWsdks/python/ag_ui/core/__init__.py5CODE
LOWsdks/python/ag_ui/core/__init__.py5CODE
LOWsdks/python/ag_ui/core/__init__.py5CODE
LOWsdks/python/ag_ui/core/__init__.py5CODE
LOWsdks/python/ag_ui/core/__init__.py5CODE
LOWsdks/python/ag_ui/core/__init__.py5CODE
LOWsdks/python/ag_ui/core/__init__.py5CODE
LOWsdks/python/ag_ui/core/__init__.py5CODE
LOWsdks/python/ag_ui/core/__init__.py5CODE
LOWsdks/python/ag_ui/core/__init__.py5CODE
LOWsdks/python/ag_ui/core/__init__.py5CODE
LOWsdks/python/ag_ui/core/__init__.py5CODE
LOWsdks/python/ag_ui/core/__init__.py5CODE
LOWsdks/python/ag_ui/core/__init__.py5CODE
LOWsdks/python/ag_ui/core/__init__.py5CODE
LOWsdks/python/ag_ui/core/__init__.py5CODE
LOWsdks/python/ag_ui/core/__init__.py5CODE
LOWsdks/python/ag_ui/core/__init__.py5CODE
LOWsdks/python/ag_ui/core/__init__.py5CODE
LOWsdks/python/ag_ui/core/__init__.py5CODE
LOWsdks/python/ag_ui/core/__init__.py5CODE
LOWsdks/python/ag_ui/core/__init__.py5CODE
LOWsdks/python/ag_ui/core/__init__.py5CODE
LOWsdks/python/ag_ui/core/__init__.py5CODE
LOWsdks/python/ag_ui/core/__init__.py5CODE
LOWsdks/python/ag_ui/core/__init__.py5CODE
LOWsdks/python/ag_ui/core/__init__.py5CODE
LOWsdks/python/ag_ui/core/__init__.py5CODE
LOWsdks/python/ag_ui/core/__init__.py5CODE
LOWsdks/python/ag_ui/core/__init__.py5CODE
LOWsdks/python/ag_ui/core/__init__.py5CODE
LOWsdks/python/ag_ui/core/__init__.py5CODE
LOWsdks/python/ag_ui/core/__init__.py5CODE
LOWsdks/python/ag_ui/core/__init__.py49CODE
LOWsdks/python/ag_ui/core/__init__.py49CODE
445 more matches not shown…
Self-Referential Comments129 hits · 389 pts
SeverityFileLineSnippetContext
MEDIUMsdks/python/tests/test_encoder.py23 # Create a test eventCOMMENT
MEDIUMsdks/python/tests/test_encoder.py44 # Create a test event with specific dataCOMMENT
MEDIUMsdks/python/tests/test_encoder.py106 # Create an event with some fields set to NoneCOMMENT
MEDIUMsdks/python/tests/test_encoder.py150 # Create a complex event with multiple fieldsCOMMENT
MEDIUMsdks/python/tests/test_types.py107 # Create a tool call with nested function call in camelCaseCOMMENT
MEDIUMsdks/community/ruby/lib/ag-ui-protocol.rb3# This file is a alias for the ag_ui_protocolCOMMENT
MEDIUM…thon/examples/server/routers/backend_tool_rendering.py127# Create the router with weather toolsCOMMENT
MEDIUM…ython/examples/server/routers/agentic_generative_ui.py47 # Create a copy to track changes for JSON patchesCOMMENT
MEDIUM…egrations/langgraph/python/ag_ui_langgraph/endpoint.py17 # Create an event encoder to properly format SSE eventsCOMMENT
MEDIUM…ions/langgraph/python/tests/test_message_conversion.py117 # Create a message-like object with an unsupported roleCOMMENT
MEDIUM…python/examples/agents/multimodal_messages/__init__.py17# Create a multimodal user messageSTRING
MEDIUM…ph/python/examples/agents/multimodal_messages/agent.py72# Define a new graphCOMMENT
MEDIUM…/python/examples/agents/agentic_generative_ui/agent.py79 # Define the modelSTRING
MEDIUM…/python/examples/agents/agentic_generative_ui/agent.py163# Define the graphSTRING
MEDIUM…raph/python/examples/agents/human_in_the_loop/agent.py84 # Define the modelSTRING
MEDIUM…raph/python/examples/agents/human_in_the_loop/agent.py232# Define the graphSTRING
MEDIUM…langgraph/python/examples/agents/shared_state/agent.py148 # Create a safer serialization of the recipeCOMMENT
MEDIUM…langgraph/python/examples/agents/shared_state/agent.py171 # Define the modelSTRING
MEDIUM…langgraph/python/examples/agents/shared_state/agent.py229 # Create a new recipeSTRING
MEDIUM…langgraph/python/examples/agents/shared_state/agent.py267# Define the graphSTRING
MEDIUM…thon/examples/agents/predictive_state_updates/agent.py63 # Define the modelSTRING
MEDIUM…thon/examples/agents/predictive_state_updates/agent.py152# Define the graphSTRING
MEDIUM…ns/langgraph/python/examples/agents/subgraphs/agent.py248 # Define the modelSTRING
MEDIUM…ython/examples/agents/agentic_chat_multimodal/agent.py61# Define a new graphCOMMENT
MEDIUM…python/examples/agents/agentic_chat_reasoning/agent.py85# Define a new graphCOMMENT
MEDIUM…crosoft-agent-framework/python/examples/agents/dojo.py66# Create a shared chat client for all agentsCOMMENT
MEDIUM…thon/examples/example_server/backend_tool_rendering.py30 # Create an event encoder to properly format SSE eventsCOMMENT
MEDIUM…eatures/python/examples/example_server/agentic_chat.py34 # Create an event encoder to properly format SSE eventsCOMMENT
MEDIUM…es/python/examples/example_server/human_in_the_loop.py29 # Create an event encoder to properly format SSE eventsCOMMENT
MEDIUM…ython/examples/example_server/agentic_generative_ui.py25 # Create an event encoder to properly format SSE eventsCOMMENT
MEDIUM…ython/examples/example_server/agentic_generative_ui.py79 # Create a copy to track changes for JSON patchesCOMMENT
MEDIUM…eatures/python/examples/example_server/shared_state.py21 # Create an event encoder to properly format SSE eventsCOMMENT
MEDIUM…eatures/python/examples/example_server/shared_state.py55 # Define the recipe stateCOMMENT
MEDIUM…on/examples/example_server/predictive_state_updates.py30 # Create an event encoder to properly format SSE eventsCOMMENT
MEDIUM…on/examples/example_server/tool_based_generative_ui.py23 # Create an event encoder to properly format SSE eventsCOMMENT
MEDIUMintegrations/crew-ai/python/ag_ui_crewai/endpoint.py1473 # Create an event encoder to properly format SSE eventsCOMMENT
MEDIUMintegrations/crew-ai/python/ag_ui_crewai/enterprise.py69# This class is used to produce custom events when running a crewai flow on CrewAI Enterprise.COMMENT
MEDIUM…ver-starter/python/examples/example_server/__init__.py29 # Create an event encoder to properly format SSE eventsCOMMENT
MEDIUM…ions/aws-strands/python/tests/test_reasoning_events.py41 # Create a mock base agent to extract config fromCOMMENT
MEDIUM…rations/aws-strands/python/examples/server/__init__.py40# Create main appCOMMENT
MEDIUM…aws-strands/python/examples/server/api/shared_state.py146# Create the AG-UI Strands agent wrapperCOMMENT
MEDIUM…aws-strands/python/examples/server/api/shared_state.py154# Create the FastAPI appCOMMENT
MEDIUM…grations/agent-spec/python/ag_ui_agentspec/endpoint.py28 # Create an event encoder to properly format SSE eventsCOMMENT
MEDIUM…egrations/watsonx/python/src/ag_ui_watsonx/endpoint.py24 # Create an event encoder to properly format SSE eventsCOMMENT
MEDIUM…eware/python/tests/test_duplicate_function_response.py77 # Create the sessionCOMMENT
MEDIUM…ations/adk-middleware/python/tests/test_concurrency.py16 # Create a real ADK agentCOMMENT
MEDIUM…are/python/tests/test_lro_tool_response_persistence.py119 # Define a simple client-side toolCOMMENT
MEDIUM…are/python/tests/test_lro_tool_response_persistence.py191 # Define the client-side toolCOMMENT
MEDIUM…ns/adk-middleware/python/tests/test_execution_state.py63 # Create a real asyncio task for testingCOMMENT
MEDIUM…s/adk-middleware/python/tests/test_session_creation.py32 # Create a test input that should trigger session creationCOMMENT
MEDIUM…dk-middleware/python/tests/test_tool_error_handling.py353 # Create a mock event queue that failsCOMMENT
MEDIUM…dk-middleware/python/tests/test_tool_error_handling.py91 # Create an execution with a pending toolCOMMENT
MEDIUM…dk-middleware/python/tests/test_tool_error_handling.py140 # Create an execution without the expected tool callCOMMENT
MEDIUM…dk-middleware/python/tests/test_tool_error_handling.py327 # Create a sample tool for the toolsetCOMMENT
MEDIUM…dk-middleware/python/tests/test_tool_error_handling.py375 # Create a mock event queue that failsCOMMENT
MEDIUM…dk-middleware/python/tests/test_tool_error_handling.py398 # Create a real asyncio task for proper cancellation testingCOMMENT
MEDIUM…/adk-middleware/python/tests/test_user_id_extractor.py14 # Create a test ADK agentCOMMENT
MEDIUM…/adk-middleware/python/tests/test_user_id_extractor.py49 # Create a test ADK agentCOMMENT
MEDIUM…/adk-middleware/python/tests/test_user_id_extractor.py92 # Create a test ADK agentCOMMENT
MEDIUM…/adk-middleware/python/tests/test_user_id_extractor.py121 # Create a test ADK agentCOMMENT
69 more matches not shown…
Cross-File Repetition69 hits · 345 pts
SeverityFileLineSnippetContext
HIGHsdks/python/ag_ui/core/events.py0this module contains the agent capability types for the agent user interaction protocol python sdk.STRING
HIGHsdks/python/ag_ui/core/types.py0this module contains the agent capability types for the agent user interaction protocol python sdk.STRING
HIGHsdks/python/ag_ui/core/capabilities.py0this module contains the agent capability types for the agent user interaction protocol python sdk.STRING
HIGH…IClientServer/AGUIDojoServer/ChatClientAgentFactory.cs0when planning use tools only, without any other messages. important: - use the `create_plan` tool to set the initial staSTRING
HIGH…tnet/examples/AGUIDojoServer/ChatClientAgentFactory.cs0when planning use tools only, without any other messages. important: - use the `create_plan` tool to set the initial staSTRING
HIGH…nity/rust/crates/ag-ui-client/scripts/generative_ui.py0when planning use tools only, without any other messages. important: - use the `create_plan` tool to set the initial staSTRING
HIGH…re/python/examples/server/api/agentic_generative_ui.py0when planning use tools only, without any other messages. important: - use the `create_plan` tool to set the initial staSTRING
HIGH…unity/rust/crates/ag-ui-client/scripts/shared_state.py0you are a helpful assistant for creating recipes. important: - create a complete recipe using the existing ingredients -STRING
HIGH…pydantic-ai/python/examples/server/api/shared_state.py0you are a helpful assistant for creating recipes. important: - create a complete recipe using the existing ingredients -STRING
HIGH…rations/ag2/python/examples/server/api/shared_state.py0you are a helpful assistant for creating recipes. important: - create a complete recipe using the existing ingredients -STRING
HIGH…nity/rust/crates/ag-ui-client/scripts/generative_ui.py0a class representing a json patch operation (rfc 6902).STRING
HIGH…ai/python/examples/server/api/agentic_generative_ui.py0a class representing a json patch operation (rfc 6902).STRING
HIGH…re/python/examples/server/api/agentic_generative_ui.py0a class representing a json patch operation (rfc 6902).STRING
HIGH…id/python/examples/server/api/agentic_generative_ui.py0a class representing a json patch operation (rfc 6902).STRING
HIGH…nity/rust/crates/ag-ui-client/scripts/generative_ui.py0create a plan with multiple steps. args: steps: list of step descriptions to create the plan. returns: statesnapshotevenSTRING
HIGH…ai/python/examples/server/api/agentic_generative_ui.py0create a plan with multiple steps. args: steps: list of step descriptions to create the plan. returns: statesnapshotevenSTRING
HIGH…g2/python/examples/server/api/agentic_generative_ui.py0create a plan with multiple steps. args: steps: list of step descriptions to create the plan. returns: statesnapshotevenSTRING
HIGH…nity/rust/crates/ag-ui-client/scripts/generative_ui.py0update the plan with new steps or changes. args: index: the index of the step to update. description: the new descriptioSTRING
HIGH…ai/python/examples/server/api/agentic_generative_ui.py0update the plan with new steps or changes. args: index: the index of the step to update. description: the new descriptioSTRING
HIGH…g2/python/examples/server/api/agentic_generative_ui.py0update the plan with new steps or changes. args: index: the index of the step to update. description: the new descriptioSTRING
HIGH…thon/examples/server/routers/backend_tool_rendering.py0map weather code to human-readable condition. args: code: wmo weather code. returns: human-readable weather condition stSTRING
HIGH…i/python/examples/server/api/backend_tool_rendering.py0map weather code to human-readable condition. args: code: wmo weather code. returns: human-readable weather condition stSTRING
HIGH…e/python/examples/server/api/backend_tool_rendering.py0map weather code to human-readable condition. args: code: wmo weather code. returns: human-readable weather condition stSTRING
HIGH…o/python/examples/server/api/backend_tool_rendering.py0map weather code to human-readable condition. args: code: wmo weather code. returns: human-readable weather condition stSTRING
HIGH…thon/examples/server/routers/backend_tool_rendering.py0return deterministic canned weather data for tests. used when ``ag_ui_mock_weather`` is set so e2e runs don't depend on STRING
HIGH…i/python/examples/server/api/backend_tool_rendering.py0return deterministic canned weather data for tests. used when ``ag_ui_mock_weather`` is set so e2e runs don't depend on STRING
HIGH…2/python/examples/server/api/backend_tool_rendering.py0return deterministic canned weather data for tests. used when ``ag_ui_mock_weather`` is set so e2e runs don't depend on STRING
HIGH…e/python/examples/server/api/backend_tool_rendering.py0return deterministic canned weather data for tests. used when ``ag_ui_mock_weather`` is set so e2e runs don't depend on STRING
HIGH…o/python/examples/server/api/backend_tool_rendering.py0return deterministic canned weather data for tests. used when ``ag_ui_mock_weather`` is set so e2e runs don't depend on STRING
HIGH…thon/examples/server/routers/backend_tool_rendering.py0get current weather for a location. args: location: city name. returns: a json string with weather information includingSTRING
HIGH…i/python/examples/server/api/backend_tool_rendering.py0get current weather for a location. args: location: city name. returns: a json string with weather information includingSTRING
HIGH…e/python/examples/server/api/backend_tool_rendering.py0get current weather for a location. args: location: city name. returns: a json string with weather information includingSTRING
HIGH…o/python/examples/server/api/backend_tool_rendering.py0get current weather for a location. args: location: city name. returns: a json string with weather information includingSTRING
HIGH…thon/examples/server/routers/backend_tool_rendering.py0your primary function is to help users get weather details for specific locations. when responding: - always ask for a lSTRING
HIGH…i/python/examples/server/api/backend_tool_rendering.py0your primary function is to help users get weather details for specific locations. when responding: - always ask for a lSTRING
HIGH…e/python/examples/server/api/backend_tool_rendering.py0your primary function is to help users get weather details for specific locations. when responding: - always ask for a lSTRING
HIGH…2/python/examples/server/api/backend_tool_rendering.py0your primary function is to help users get weather details for specific locations. when responding: - always ask for a lSTRING
HIGH…o/python/examples/server/api/backend_tool_rendering.py0your primary function is to help users get weather details for specific locations. when responding: - always ask for a lSTRING
HIGH…ython/examples/server/routers/agentic_generative_ui.py0you are a helpful assistant assisting with any task. when asked to do something, you must call the function `generate_taSTRING
HIGH…/python/examples/agents/agentic_generative_ui/agent.py0you are a helpful assistant assisting with any task. when asked to do something, you must call the function `generate_taSTRING
HIGH…/python/ag_ui_crewai/examples/agentic_generative_ui.py0you are a helpful assistant assisting with any task. when asked to do something, you must call the function `generate_taSTRING
HIGH…python/examples/agents/backend_tool_rendering/agent.py0a simple agentic chat flow using langgraph instead of crewai.STRING
HIGH…langgraph/python/examples/agents/agentic_chat/agent.py0a simple agentic chat flow using langgraph instead of crewai.STRING
HIGH…python/examples/agents/agentic_chat_reasoning/agent.py0a simple agentic chat flow using langgraph instead of crewai.STRING
HIGH…raph/python/examples/agents/a2ui_fixed_schema/agent.py0search for hotels and display the results as rich cards with star ratings. args: hotels: a list of hotel objects. each hSTRING
HIGH…trands/python/examples/server/api/a2ui_fixed_schema.py0search for hotels and display the results as rich cards with star ratings. args: hotels: a list of hotel objects. each hSTRING
HIGH…leware/python/examples/server/api/a2ui_fixed_schema.py0search for hotels and display the results as rich cards with star ratings. args: hotels: a list of hotel objects. each hSTRING
HIGH…raph/python/examples/agents/a2ui_fixed_schema/agent.py0you are a helpful travel assistant that can search for flights and hotels. when the user asks about flights, use the seaSTRING
HIGH…leware/python/examples/server/api/a2ui_fixed_schema.py0you are a helpful travel assistant that can search for flights and hotels. when the user asks about flights, use the seaSTRING
HIGH…trands/python/examples/server/api/a2ui_fixed_schema.py0you are a helpful travel assistant that can search for flights and hotels. when the user asks about flights, use the seaSTRING
HIGH…ph/python/examples/agents/a2ui_dynamic_schema/agent.py0you are a helpful assistant that creates rich visual ui on the fly. when the user asks for visual content (hotel/productSTRING
HIGH…ands/python/examples/server/api/a2ui_dynamic_schema.py0you are a helpful assistant that creates rich visual ui on the fly. when the user asks for visual content (hotel/productSTRING
HIGH…ws-strands/python/examples/server/api/a2ui_recovery.py0you are a helpful assistant that creates rich visual ui on the fly. when the user asks for visual content (hotel/productSTRING
HIGH…are/python/tests/test_lro_tool_response_persistence.py0ensure llmock is running when no real api key is set.STRING
HIGH…dk-middleware/python/tests/test_resumability_config.py0ensure llmock is running when no real api key is set.STRING
HIGH…re/python/tests/test_adk_130_invocation_id_override.py0ensure llmock is running when no real api key is set.STRING
HIGH…dk-middleware/python/tests/test_lro_sse_persistence.py0ensure llmock is running when no real api key is set.STRING
HIGH…k-middleware/python/tests/test_from_app_integration.py0ensure llmock is running when no real api key is set.STRING
HIGH…s/adk-middleware/python/tests/test_lro_sse_id_remap.py0ensure llmock is running when no real api key is set.STRING
HIGH…e/python/tests/test_thought_to_thinking_integration.py0ensure llmock is running when no real api key is set.STRING
9 more matches not shown…
Over-Commented Block329 hits · 310 pts
SeverityFileLineSnippetContext
LOWsdks/typescript/packages/a2ui-toolkit/src/index.ts641COMMENT
LOWsdks/typescript/packages/client/src/apply/default.ts601 // `reasoning` messages are only sometimes client-only. Most backendsCOMMENT
LOWsdks/typescript/packages/client/src/agent/subscriber.ts221 deepFreeze(value);COMMENT
LOW…ages/client/src/agent/__tests__/legacy-bridged.test.ts381COMMENT
LOW…ient/src/agent/__tests__/subscriber.clone-cost.test.ts141 state: st,COMMENT
LOWsdks/dotnet/build.sh1#!/usr/bin/env bashCOMMENT
LOWsdks/dotnet/test.sh1#!/usr/bin/env bashCOMMENT
LOWsdks/dotnet/eng/install-dotnet.sh1#!/usr/bin/env bashCOMMENT
LOW…sts/CrossLanguage.Vitest/tests/protobuf-parity.test.ts1import { describe, it, expect } from "vitest";COMMENT
LOW…Samples/GettingStarted/Step12_ParallelToolCallsTest.cs21/// calls (get_weather + get_current_time) in one assistant turn. FunctionInvokingChatClientCOMMENT
LOW…ts/Samples/GettingStarted/Step01_GettingStartedTest.cs141 //COMMENT
LOWsdks/dotnet/samples/AGUI.Samples.Shared/AGUIResults.cs21 /// Creates a streaming <see cref="IResult"/> that negotiates the AG-UI event streamCOMMENT
LOW…IClientServer/AGUIDojoServer/ChatClientAgentFactory.cs21COMMENT
LOW…ts/Step06_RawEvents.Server/UsageRawEventsChatClient.cs1using System.Runtime.CompilerServices;COMMENT
LOW…otnet/src/AGUI.Formatting/IAGUIEventStreamFormatter.cs21 /// Gets the media type advertised in the request <c>Accept</c> header (client side) and writtenCOMMENT
LOW…otnet/src/AGUI.Formatting/IAGUIEventStreamFormatter.cs41 /// <returns>An asynchronous sequence of decoded events.</returns>COMMENT
LOWsdks/dotnet/src/AGUI.Protobuf/AGUIProtobuf.cs21 /// <summary>COMMENT
LOW…et/src/AGUI.Server/ChatResponseUpdateAGUIExtensions.cs21 "type": "object",COMMENT
LOWsdks/dotnet/src/AGUI.Server/RunAgentInputExtensions.cs21 /// containing a <see cref="ChatMessage"/> list, a <see cref="ChatOptions"/> with theCOMMENT
LOWsdks/dotnet/src/AGUI.Server/AGUIStreamOptions.cs21 private List<Func<AIContent, AGUIInterrupt?>>? _interruptMappers;COMMENT
LOWsdks/dotnet/src/AGUI.Server/AGUIStreamOptions.cs41 _interruptMappers ??= [];COMMENT
LOWsdks/dotnet/src/AGUI.Server/AGUIStreamOptions.cs81 return this;COMMENT
LOWsdks/dotnet/src/AGUI.Server/ChatRequestContext.cs1using System.Collections.Generic;COMMENT
LOWsdks/dotnet/src/AGUI.Server/ChatRequestContext.cs41 IsContinuation = isContinuation;COMMENT
LOW…ks/dotnet/src/AGUI.Server/AGUIServerInstrumentation.cs1using System.Diagnostics;COMMENT
LOWsdks/dotnet/src/AGUI.Server/AGUIConstants.cs1namespace AGUI.Server;COMMENT
LOW…tnet/src/AGUI.Abstractions/Messages/AGUIUserContent.cs1using System;COMMENT
LOW…tnet/src/AGUI.Abstractions/Messages/AGUIUserContent.cs21/// uniform regardless of which case is stored.COMMENT
LOW…tnet/src/AGUI.Abstractions/Messages/AGUIUserContent.cs41 /// <see cref="IList{T}"/> of <see cref="AGUIInputContent"/>.COMMENT
LOW…otnet/src/AGUI.Abstractions/Internal/UnionAttribute.cs1// Polyfill of the C# 15 union marker attribute for target frameworks whose BCL doesCOMMENT
LOW…ks/dotnet/src/AGUI.Client/AGUIClientInstrumentation.cs1using System.Diagnostics;COMMENT
LOWsdks/dotnet/src/AGUI.Client/AGUIChatClientOptions.cs21 /// Initializes a new instance of the <see cref="AGUIChatClientOptions"/> class that talks to anCOMMENT
LOWsdks/dotnet/src/AGUI.Client/AGUIChatClientOptions.cs41 /// Gets the transport used to send AG-UI protocol requests.COMMENT
LOWsdks/community/c++/tests/test_sse_server.cpp21#include <vector>COMMENT
LOWsdks/community/c++/src/core/subscriber.h1#pragma onceCOMMENT
LOWsdks/community/c++/src/agent/http_agent.h1#pragma onceCOMMENT
LOWsdks/community/go/pkg/core/events/events.go41 // EventTypeThinkingEnd indicates the end of a thinking phase.COMMENT
LOWsdks/community/go/pkg/core/events/events.go401 case EventTypeMessagesSnapshot:COMMENT
LOWsdks/community/go/pkg/client/sse/client_test.go61// wantErr boolCOMMENT
LOWsdks/community/go/pkg/client/sse/client_test.go81// flusher.Flush()COMMENT
LOWsdks/community/go/pkg/client/sse/client_test.go101// t.Errorf("expected 3 frames, got %d", len(frames))COMMENT
LOWsdks/community/go/pkg/client/sse/client_test.go121// {COMMENT
LOWsdks/community/go/pkg/client/sse/client_test.go141// wantFrames: 1,COMMENT
LOWsdks/community/go/pkg/client/sse/client_test.go161// },COMMENT
LOWsdks/community/go/pkg/client/sse/client_test.go181// if auth != "Bearer test-key-123" {COMMENT
LOWsdks/community/go/pkg/client/sse/client_test.go201// payload: RunAgentInput{Stream: true},COMMENT
LOWsdks/community/go/pkg/client/sse/client_test.go221// _, _ = fmt.Fprintf(w, "data: {\"authorized\":true}\n\n")COMMENT
LOWsdks/community/go/pkg/client/sse/client_test.go241// logger := logrus.New()COMMENT
LOWsdks/community/go/pkg/client/sse/client_test.go261// }COMMENT
LOWsdks/community/go/pkg/client/sse/client_test.go281// }COMMENT
LOWsdks/community/go/pkg/client/sse/client_test.go301// w.Header().Set("Content-Type", "text/event-stream")COMMENT
LOWsdks/community/go/pkg/client/sse/client_test.go321// })COMMENT
LOWsdks/community/go/pkg/client/sse/client_test.go341// }COMMENT
LOW…s/community/dart/test/integration/dojo_smoke_test.dart341 // agentic_generative_uiCOMMENT
LOW…s/community/dart/test/integration/dojo_smoke_test.dart521 // CUSTOM(name=PredictState, value=[...])COMMENT
LOW…s/community/dart/test/integration/dojo_smoke_test.dart581 // human_in_the_loopCOMMENT
LOW…munity/dart/test/integration/dojo_resilience_test.dart1/// Live integration test exercising error, cancellation, and validation pathsCOMMENT
LOW…munity/dart/test/integration/dojo_resilience_test.dart121COMMENT
LOW…munity/dart/test/integration/dojo_resilience_test.dart141 // omitted rather than contorted.COMMENT
LOW…munity/dart/test/integration/dojo_resilience_test.dart241 await client2.close();COMMENT
269 more matches not shown…
Excessive Try-Catch Wrapping175 hits · 176 pts
SeverityFileLineSnippetContext
MEDIUMsdks/community/dart/example/lib/main.dart62 print('Error: $e');CODE
MEDIUMsdks/community/dart/example/lib/main.dart103 print('Error: $e');CODE
LOWintegrations/langgraph/python/ag_ui_langgraph/utils.py731 except Exception:CODE
LOWintegrations/langgraph/python/ag_ui_langgraph/utils.py740 except Exception:CODE
LOWintegrations/langgraph/python/ag_ui_langgraph/utils.py748 except Exception:CODE
LOWintegrations/langgraph/python/ag_ui_langgraph/utils.py756 except Exception:CODE
LOWintegrations/langgraph/python/ag_ui_langgraph/utils.py666 except Exception:CODE
LOW…ns/langgraph/python/tests/test_deprecation_warnings.py55 except Exception:CODE
LOW…langgraph/python/examples/agents/shared_state/agent.py153 except Exception as e: # pylint: disable=broad-exception-caughtCODE
LOWintegrations/crew-ai/python/tests/conftest.py23except Exception: # pragma: no cover - import-time failure is a real bugCODE
LOWintegrations/crew-ai/python/tests/conftest.py71 except Exception: # pragma: no cover - defensiveCODE
LOWintegrations/crew-ai/python/tests/conftest.py84 except Exception: # pragma: no cover - defensiveCODE
LOW…rations/crew-ai/python/tests/test_task_cancellation.py1065 except Exception: # noqa: BLE001CODE
LOW…rations/crew-ai/python/tests/test_task_cancellation.py1875 except Exception:CODE
LOWintegrations/crew-ai/python/ag_ui_crewai/endpoint.py346 except Exception: # noqa: BLE001 - defensiveCODE
LOWintegrations/crew-ai/python/ag_ui_crewai/endpoint.py426 except Exception: # noqa: BLE001 - defensiveCODE
LOWintegrations/crew-ai/python/ag_ui_crewai/endpoint.py475 except Exception as grace_exc: # pylint: disable=broad-exception-caughtCODE
LOWintegrations/crew-ai/python/ag_ui_crewai/endpoint.py541 except Exception as recov_exc: # pylint: disable=broad-exception-caughtCODE
LOWintegrations/crew-ai/python/ag_ui_crewai/endpoint.py1270 except Exception: # noqa: BLE001CODE
LOWintegrations/crew-ai/python/ag_ui_crewai/endpoint.py1402 except Exception as e: # pylint: disable=broad-exception-caughtCODE
LOW…s/crew-ai/python/ag_ui_crewai/examples/shared_state.py215 except Exception as e:STRING
MEDIUM…s/crew-ai/python/ag_ui_crewai/examples/shared_state.py217 print(f"Error updating recipe state: {e}") # Log the error server-sideSTRING
LOW…aws-strands/python/examples/server/api/shared_state.py113 except Exception:CODE
LOW…tions/aws-strands/python/src/ag_ui_strands/endpoint.py27 except Exception as e:CODE
LOW…grations/aws-strands/python/src/ag_ui_strands/utils.py57 except Exception as exc:CODE
LOW…grations/aws-strands/python/src/ag_ui_strands/utils.py76 except Exception as e:CODE
LOW…grations/aws-strands/python/src/ag_ui_strands/utils.py157 except Exception:CODE
LOW…grations/aws-strands/python/src/ag_ui_strands/agent.py372 except Exception as e:CODE
LOW…grations/aws-strands/python/src/ag_ui_strands/agent.py466 except Exception as e:CODE
LOW…grations/aws-strands/python/src/ag_ui_strands/agent.py544 except Exception as e: # noqa: BLE001 — never crash the turn hereCODE
LOW…grations/aws-strands/python/src/ag_ui_strands/agent.py835 except Exception as e:CODE
LOW…grations/aws-strands/python/src/ag_ui_strands/agent.py893 except Exception as e:CODE
LOW…grations/aws-strands/python/src/ag_ui_strands/agent.py1126 except Exception:CODE
LOW…grations/aws-strands/python/src/ag_ui_strands/agent.py1219 except Exception as e:CODE
LOW…grations/aws-strands/python/src/ag_ui_strands/agent.py1232 except Exception as e:CODE
LOW…grations/aws-strands/python/src/ag_ui_strands/agent.py1541 except Exception as e:CODE
LOW…grations/aws-strands/python/src/ag_ui_strands/agent.py1604 except Exception as e:CODE
LOW…grations/aws-strands/python/src/ag_ui_strands/agent.py1626 except Exception as e:CODE
LOW…grations/aws-strands/python/src/ag_ui_strands/agent.py1693 except Exception as e:CODE
LOW…grations/aws-strands/python/src/ag_ui_strands/agent.py1774 except Exception as e:CODE
LOW…grations/aws-strands/python/src/ag_ui_strands/agent.py1824 except Exception as e:CODE
LOW…c/python/ag_ui_agentspec/agentspec_tracing_exporter.py71 except Exception: # pylint: disable=broad-exception-caughtCODE
LOW…grations/agent-spec/python/ag_ui_agentspec/endpoint.py40 except Exception as e: # pylint: disable=broad-exception-caughtCODE
LOW…grations/agent-spec/python/ag_ui_agentspec/endpoint.py65 except Exception as e: # pylint: disable=broad-exception-caughtCODE
MEDIUM…grations/agent-spec/python/ag_ui_agentspec/endpoint.py36def run_and_close():CODE
LOW…ec/python/ag_ui_agentspec/runtimes/langgraph_runner.py22 except Exception as e:CODE
LOW…spec/python/ag_ui_agentspec/runtimes/wayflow_runner.py68 except Exception as e:CODE
LOW…spec/python/ag_ui_agentspec/runtimes/wayflow_runner.py81 except Exception as e:CODE
LOWintegrations/watsonx/python/src/ag_ui_watsonx/agent.py326 except Exception as e:CODE
LOW…ns/claude-agent-sdk/python/ag_ui_claude_sdk/adapter.py417 except Exception as e:CODE
LOW…ns/claude-agent-sdk/python/ag_ui_claude_sdk/adapter.py566 except Exception as e:CODE
MEDIUM…ns/claude-agent-sdk/python/ag_ui_claude_sdk/adapter.py562def in input_data.tools:CODE
LOW…ns/claude-agent-sdk/python/ag_ui_claude_sdk/session.py135 except Exception as exc:CODE
LOW…ns/claude-agent-sdk/python/ag_ui_claude_sdk/session.py144 except Exception as exc:CODE
LOW…ns/claude-agent-sdk/python/ag_ui_claude_sdk/session.py162 except Exception as exc:CODE
LOW…ns/claude-agent-sdk/python/ag_ui_claude_sdk/session.py187 except Exception as exc:CODE
MEDIUM…gent-sdk/python/tests/test_serialize_and_robustness.py1043def consume():CODE
LOW…gent-sdk/python/tests/test_serialize_and_robustness.py972 except Exception:CODE
LOW…gent-sdk/python/tests/test_serialize_and_robustness.py1047 except Exception as e: # noqa: BLE001 — capture the terminal errorCODE
MEDIUMintegrations/claude-agent-sdk/python/examples/server.py50 print("Error: ANTHROPIC_API_KEY required")CODE
115 more matches not shown…
Modern AI Meta-Vocabulary49 hits · 145 pts
SeverityFileLineSnippetContext
MEDIUMREADME.md61## Where does AGUI fit in the agentic protocol stack?COMMENT
MEDIUMsdks/python/a2ui_toolkit/ag_ui_a2ui_toolkit/__init__.py825# High-level orchestrationCOMMENT
MEDIUMsdks/dotnet/docs/cross-language-testing.md256// tests/agentic-chat.test.tsCOMMENT
MEDIUMsdks/dotnet/docs/cross-language-testing.md268 await startLLMock(); // Port 5555, loads agentic-chat.json fixturesCODE
MEDIUMsdks/community/go/example/client/internal/agent/chat.go17 return "http://localhost:8000/agentic"CODE
MEDIUMsdks/community/dart/lib/src/client/client.dart99 /// Run the agentic chat agent.COMMENT
MEDIUMsdks/community/dart/lib/src/client/client.dart119 /// Run the agentic generative UI agent.COMMENT
MEDIUM…community/ruby/lib/ag_ui_protocol/core/capabilities.rb309 # Enable these when your agent can orchestrate or hand off work to other agents.COMMENT
MEDIUM…community/ruby/lib/ag_ui_protocol/core/capabilities.rb323 # @param supported [Boolean, nil] Set `true` if the agent participates in any form of multi-agent coordination.COMMENT
MEDIUM…community/ruby/lib/ag_ui_protocol/core/capabilities.rb358 # chain-of-thought, extended thinking).COMMENT
MEDIUM…community/ruby/lib/ag_ui_protocol/core/capabilities.rb674 # @param reasoning [ReasoningCapabilities, nil] Reasoning and thinking support (chain-of-thought, encrypted thinCOMMENT
MEDIUMsdks/community/ruby/lib/ag_ui_protocol/core/types.rb959 # Represents a reasoning message from an agent with chain-of-thought content.COMMENT
MEDIUMmiddlewares/mcp-middleware/src/index.ts539 // The error is returned as the tool result so the agentic loop canCOMMENT
MEDIUMmiddlewares/middleware-starter/package.json5 "//": "private: this is a create-ag-ui-app scaffold template, intentionally excluded from the npm release pipeline (noCODE
MEDIUMintegrations/langgraph/python/ag_ui_langgraph/utils.py334 # hand the model back its own chain-of-thought), buffer each reasoning message andCOMMENT
MEDIUM…ions/langgraph/python/tests/test_message_conversion.py143 # chain-of-thought on a stateless round-trip.COMMENT
MEDIUM…ions/langgraph/python/tests/test_message_conversion.py490 # The summary text (the human-readable chain-of-thought) must survive too,COMMENT
MEDIUM…rations/mastra/typescript/examples/src/mastra/index.ts36 // File-backed (not ":memory:"): suspend/resume persists the agentic-loopCOMMENT
MEDIUM…ll-features/python/examples/example_server/__init__.py18# Register the agentic chat endpointCOMMENT
MEDIUM…ll-features/python/examples/example_server/__init__.py27# Register the agentic generative UI endpointCOMMENT
MEDIUM…ns/server-starter-all-features/typescript/package.json5 "//": "private: this is a create-ag-ui-app scaffold template, intentionally excluded from the npm release pipeline (noCODE
MEDIUMintegrations/server-starter/typescript/package.json5 "//": "private: this is a create-ag-ui-app scaffold template, intentionally excluded from the npm release pipeline (noCODE
MEDIUMintegrations/aws-strands/python/tests/test_a2ui_tool.py1371 # Exactly one forced render turn — no agentic continuation in the sub-agent.COMMENT
MEDIUM…grations/aws-strands/python/src/ag_ui_strands/agent.py1018 # Handle multi-agent node start (maps to STEP_STARTED)COMMENT
MEDIUM…grations/aws-strands/python/src/ag_ui_strands/agent.py1027 # Handle multi-agent node stop (maps to STEP_FINISHED)COMMENT
MEDIUM…grations/aws-strands/python/src/ag_ui_strands/agent.py1036 # Handle multi-agent handoff (emit as CUSTOM event)COMMENT
MEDIUM…ws-strands/typescript/examples/server/model-factory.ts55 // `/agentic-chat-reasoning` demo.COMMENT
MEDIUMintegrations/aws-strands/typescript/src/agent.ts105 // `additionalRequestFields.thinking`, `temperature`, guardrails) isCOMMENT
MEDIUMintegrations/aws-strands/typescript/src/agent.ts108 // silently breaks reasoning, guardrails, and per-model tuning.COMMENT
MEDIUM…/aws-strands/typescript/src/__tests__/a2ui-e2e.test.ts163 // Exactly one forced render turn — no agentic continuation in the sub-agent.COMMENT
MEDIUM…ypescript/src/__tests__/agent-config-forwarded.test.ts181 // `additionalRequestFields.thinking`, `temperature`, and guardrails. ThatCOMMENT
MEDIUM…ypescript/src/__tests__/agent-config-forwarded.test.ts182 // broke /agentic-chat-reasoning end-to-end (zero REASONING_* events).COMMENT
MEDIUMintegrations/adk-middleware/python/CHANGELOG.md271 - **Regression test for #1732 (#1753 / [PR #1756](https://github.com/ag-ui-protocol/ag-ui/pull/1756))**: the existing CODE
MEDIUM…ions/adk-middleware/python/examples/server/__init__.py101 print(f" • Agentic Generative UI: http://localhost:{port}/adk-agentic-generative-ui")CODE
MEDIUMintegrations/community/genkit/go/README.md86 Endpoint: "http://localhost:8000/agentic",CODE
MEDIUM…nkit/go/examples/internal/agents/agentic_chat/agent.go24// NewAgenticChatAgent creates a new agentic chat agentCOMMENT
MEDIUM.github/workflows/canary.yml150 # this same orchestration — owns a UNIQUE canary ref. This prevents twoCOMMENT
MEDIUMapps/dojo/scripts/generate-content-json.ts408 // to hyphenated filenames (agentic-chat.ts).COMMENT
MEDIUMapps/dojo/e2e/aimock-setup.ts214 // with agentic-gen-ui fixtures, and first-match-wins. By loading HITL first,COMMENT
MEDIUMapps/dojo/e2e/aimock-setup.ts346 // Strands agentic gen UI: the Strands agent registers plan_task_steps,COMMENT
MEDIUMapps/dojo/e2e/aimock-setup.ts414 // CrewAI agentic gen UI: the CrewAI flow registers `generate_task_steps`COMMENT
MEDIUMapps/dojo/e2e/aimock-setup.ts487 // CrewAI agentic gen UI: after simulate_task completes, the flow re-entersCOMMENT
MEDIUMapps/dojo/e2e/aimock-setup.ts696 // Pydantic AI agentic gen UI: the agent registers create_plan,COMMENT
MEDIUMapps/dojo/e2e/aimock-setup.ts757 // Langroid agentic gen UI: Langroid embeds tool definitions in the systemCOMMENT
MEDIUMapps/dojo/e2e/aimock-setup.ts845 // LlamaIndex agentic gen UI: the agent registers run_task (a backend tool),COMMENT
MEDIUMapps/dojo/src/agents.ts552 // v1 page reuses the agentic-chat endpoint (menu advertises theCOMMENT
MEDIUMapps/dojo/src/agents.ts585 // v1_agentic_chat reuses the agentic-chat endpoint — the dojo page rendersCOMMENT
MEDIUMapps/dojo/src/mastra/index.ts29 // Mastra persists the agentic-loop workflow snapshot on suspend and loads itCOMMENT
MEDIUMapps/dojo/src/mastra/agents/background-agents.ts8// Background Task manager dispatches it out of the agentic loop; its lifecycleCOMMENT
Structural Annotation Overuse66 hits · 119 pts
SeverityFileLineSnippetContext
LOWCONTRIBUTING.md64### Step 1: Add Your Integration FolderCOMMENT
LOWCONTRIBUTING.md88### Step 2: Register Your Integration in the DojoCOMMENT
LOWCONTRIBUTING.md96### Step 3: Configure the Agent MappingCOMMENT
LOWCONTRIBUTING.md100### Step 4: Set Up Environment VariablesCOMMENT
LOWCONTRIBUTING.md109### Step 5: Add Dojo ScriptsCOMMENT
LOWCONTRIBUTING.md129### Step 6: Add End-to-End TestsCOMMENT
LOWCONTRIBUTING.md146### Step 7: Add CI ConfigurationCOMMENT
LOWsdks/typescript/packages/client/src/apply/default.ts623 // Step 3: Append messages from the snapshot that we don't have yet.COMMENT
LOWsdks/community/c++/src/core/subscriber.cpp62 // Step 1: Invoke generic onEvent callback firstCOMMENT
LOWsdks/community/c++/src/core/subscriber.cpp66 // Step 2: Check stopPropagation flagCOMMENT
LOWsdks/community/c++/src/core/subscriber.cpp71 // Step 3: Execute default event handlingCOMMENT
LOWsdks/community/c++/src/core/subscriber.cpp147 // Step 4: Invoke type-specific subscriber callbacksCOMMENT
LOWsdks/community/dart/example/README.md76### Step 1: Start the Python ServerCOMMENT
LOWsdks/community/dart/example/README.md99### Step 2: Run the Dart ExampleCOMMENT
LOWsdks/community/kotlin/publish.sh106# Step 1: Clean previous builds and staging directoryCOMMENT
LOWsdks/community/kotlin/publish.sh119# Step 2: Run testsCOMMENT
LOWsdks/community/kotlin/publish.sh129# Step 3: Build and publish to stagingCOMMENT
LOWsdks/community/kotlin/publish.sh139# Step 4: Deploy to Maven Central (or dry-run)COMMENT
LOWintegrations/adk-middleware/python/TOOLS.md139 # Step 1: Initial run - starts execution with toolsCOMMENT
LOWintegrations/adk-middleware/python/TOOLS.md153 # Step 2: Handle tool resultsCOMMENT
LOWintegrations/adk-middleware/python/TOOLS.md172 # Step 3: Submit tool results and resume executionCOMMENT
LOW…are/python/tests/test_lro_tool_response_persistence.py204 # Step 1: Send initial message to trigger tool callCOMMENT
LOW…are/python/tests/test_lro_tool_response_persistence.py231 # Step 2: Submit tool resultCOMMENT
LOW…are/python/tests/test_lro_tool_response_persistence.py268 # Step 3: Verify session has exactly ONE function_responseCOMMENT
LOW…are/python/tests/test_lro_tool_response_persistence.py321 # Step 1: Trigger tool callCOMMENT
LOW…are/python/tests/test_lro_tool_response_persistence.py340 # Step 2: Submit tool result with specific run_idCOMMENT
LOW…are/python/tests/test_lro_tool_response_persistence.py448 # Step 1: Trigger tool callCOMMENT
LOW…are/python/tests/test_lro_tool_response_persistence.py467 # Step 2: Submit tool result WITH trailing user messageCOMMENT
LOW…are/python/tests/test_lro_tool_response_persistence.py601 # Step 1: Initial request - should trigger tool call and pauseCOMMENT
LOW…are/python/tests/test_lro_tool_response_persistence.py627 # Step 2: Submit tool result (resuming HITL)COMMENT
LOW…dk-middleware/python/tests/test_resumability_config.py390 # Step 1: Initial request - should trigger tool callCOMMENT
LOW…dk-middleware/python/tests/test_resumability_config.py413 # Step 2: Submit tool result (simulating user approval)COMMENT
LOW…adk-middleware/python/tests/test_tool_tracking_hitl.py415 # Step 2: Simulate middleware restart by clearing all in-memory stateCOMMENT
LOW…adk-middleware/python/tests/test_tool_tracking_hitl.py421 # Step 3: Call _ensure_session_exists again (simulating first request after restart)COMMENT
LOW…adk-middleware/python/tests/test_tool_tracking_hitl.py430 # Step 4: Verify pending_tool_calls were clearedCOMMENT
LOW…adk-middleware/python/tests/test_tool_tracking_hitl.py390 # Step 1: Create a session and add pending_tool_calls (simulating state before restart)COMMENT
LOW…eware/python/tests/test_hitl_resumption_text_output.py202 # Step 1: Send initial request to trigger tool callCOMMENT
LOW…eware/python/tests/test_hitl_resumption_text_output.py240 # Step 2: Submit tool result (simulating user approval)COMMENT
LOW…ions/adk-middleware/python/tests/test_lro_filtering.py297 # Step 1: Emit LRO via translate_lro_function_callsCOMMENT
LOW…ions/adk-middleware/python/tests/test_lro_filtering.py237 # Step 1: Emit LRO tool call via translate_lro_function_calls (simulates LRO path)COMMENT
LOW…ions/adk-middleware/python/tests/test_lro_filtering.py259 # Step 2: Confirmed event arrives (non-partial) WITHOUT long_running_tool_idsCOMMENT
LOW…ions/adk-middleware/python/tests/test_lro_filtering.py314 # Step 2: Confirmed event with BOTH the LRO call and a new non-LRO callCOMMENT
LOW…ions/adk-middleware/python/tests/test_lro_filtering.py837 # Step 1: LRO event — translator emits START/ARGS/ENDCOMMENT
LOW…ions/adk-middleware/python/tests/test_lro_filtering.py861 # Step 2: Confirmed event (different ID) — suppressed by client_tool_namesCOMMENT
LOW…ions/adk-middleware/python/tests/test_lro_filtering.py1036 # Step 1: LRO event — translator emits START/ARGS/ENDCOMMENT
LOW…ions/adk-middleware/python/tests/test_lro_filtering.py1060 # Step 2: Confirmed event with different ID — must be suppressed so theCOMMENT
LOW…s/adk-middleware/python/examples/other/simple_agent.py25 # Step 1: Create an ADK agentCOMMENT
LOW…s/adk-middleware/python/examples/other/simple_agent.py32 # Step 2: Register the agentCOMMENT
LOW…s/adk-middleware/python/examples/other/simple_agent.py36 # Step 3: Create the middleware agentCOMMENT
LOW…s/adk-middleware/python/examples/other/simple_agent.py42 # Step 4: Create a sample inputCOMMENT
LOW…s/adk-middleware/python/examples/other/simple_agent.py61 # Step 5: Run the agent and print eventsCOMMENT
LOW…adk-middleware/python/examples/other/complete_setup.py49 # Step 1: Configure Google ADK authenticationCOMMENT
LOW…adk-middleware/python/examples/other/complete_setup.py59 # Step 2: Create shared memory serviceCOMMENT
LOW…adk-middleware/python/examples/other/complete_setup.py64 # Step 3: Create your ADK agent(s)COMMENT
LOW…adk-middleware/python/examples/other/complete_setup.py101 # Step 4: Configure ADK middlewareCOMMENT
LOW…adk-middleware/python/examples/other/complete_setup.py146 # Step 5: Create FastAPI appCOMMENT
LOW…adk-middleware/python/examples/other/complete_setup.py163 # Step 6: Add endpointsCOMMENT
LOW…adk-middleware/python/examples/other/complete_setup.py221 # Step 7: Run the serverCOMMENT
LOWapps/dojo/e2e/setup-aws.sh34# Step 1: Create S3 BucketCOMMENT
LOWapps/dojo/e2e/setup-aws.sh49# Step 2: Configure bucket for public read accessCOMMENT
6 more matches not shown…
Verbosity Indicators54 hits · 98 pts
SeverityFileLineSnippetContext
LOWsdks/typescript/packages/client/src/apply/default.ts623 // Step 3: Append messages from the snapshot that we don't have yet.COMMENT
LOWsdks/community/c++/src/core/subscriber.cpp62 // Step 1: Invoke generic onEvent callback firstCOMMENT
LOWsdks/community/c++/src/core/subscriber.cpp66 // Step 2: Check stopPropagation flagCOMMENT
LOWsdks/community/c++/src/core/subscriber.cpp71 // Step 3: Execute default event handlingCOMMENT
LOWsdks/community/c++/src/core/subscriber.cpp147 // Step 4: Invoke type-specific subscriber callbacksCOMMENT
LOWsdks/community/kotlin/publish.sh106# Step 1: Clean previous builds and staging directoryCOMMENT
LOWsdks/community/kotlin/publish.sh119# Step 2: Run testsCOMMENT
LOWsdks/community/kotlin/publish.sh129# Step 3: Build and publish to stagingCOMMENT
LOWsdks/community/kotlin/publish.sh139# Step 4: Deploy to Maven Central (or dry-run)COMMENT
LOW…are/python/tests/test_lro_tool_response_persistence.py204 # Step 1: Send initial message to trigger tool callCOMMENT
LOW…are/python/tests/test_lro_tool_response_persistence.py231 # Step 2: Submit tool resultCOMMENT
LOW…are/python/tests/test_lro_tool_response_persistence.py268 # Step 3: Verify session has exactly ONE function_responseCOMMENT
LOW…are/python/tests/test_lro_tool_response_persistence.py321 # Step 1: Trigger tool callCOMMENT
LOW…are/python/tests/test_lro_tool_response_persistence.py340 # Step 2: Submit tool result with specific run_idCOMMENT
LOW…are/python/tests/test_lro_tool_response_persistence.py448 # Step 1: Trigger tool callCOMMENT
LOW…are/python/tests/test_lro_tool_response_persistence.py467 # Step 2: Submit tool result WITH trailing user messageCOMMENT
LOW…are/python/tests/test_lro_tool_response_persistence.py601 # Step 1: Initial request - should trigger tool call and pauseCOMMENT
LOW…are/python/tests/test_lro_tool_response_persistence.py627 # Step 2: Submit tool result (resuming HITL)COMMENT
LOW…dk-middleware/python/tests/test_resumability_config.py390 # Step 1: Initial request - should trigger tool callCOMMENT
LOW…dk-middleware/python/tests/test_resumability_config.py413 # Step 2: Submit tool result (simulating user approval)COMMENT
LOW…adk-middleware/python/tests/test_tool_tracking_hitl.py415 # Step 2: Simulate middleware restart by clearing all in-memory stateCOMMENT
LOW…adk-middleware/python/tests/test_tool_tracking_hitl.py421 # Step 3: Call _ensure_session_exists again (simulating first request after restart)COMMENT
LOW…adk-middleware/python/tests/test_tool_tracking_hitl.py430 # Step 4: Verify pending_tool_calls were clearedCOMMENT
LOW…adk-middleware/python/tests/test_tool_tracking_hitl.py390 # Step 1: Create a session and add pending_tool_calls (simulating state before restart)COMMENT
LOW…eware/python/tests/test_hitl_resumption_text_output.py202 # Step 1: Send initial request to trigger tool callCOMMENT
LOW…eware/python/tests/test_hitl_resumption_text_output.py240 # Step 2: Submit tool result (simulating user approval)COMMENT
LOW…ions/adk-middleware/python/tests/test_lro_filtering.py297 # Step 1: Emit LRO via translate_lro_function_callsCOMMENT
LOW…ions/adk-middleware/python/tests/test_lro_filtering.py237 # Step 1: Emit LRO tool call via translate_lro_function_calls (simulates LRO path)COMMENT
LOW…ions/adk-middleware/python/tests/test_lro_filtering.py259 # Step 2: Confirmed event arrives (non-partial) WITHOUT long_running_tool_idsCOMMENT
LOW…ions/adk-middleware/python/tests/test_lro_filtering.py314 # Step 2: Confirmed event with BOTH the LRO call and a new non-LRO callCOMMENT
LOW…ions/adk-middleware/python/tests/test_lro_filtering.py837 # Step 1: LRO event — translator emits START/ARGS/ENDCOMMENT
LOW…ions/adk-middleware/python/tests/test_lro_filtering.py861 # Step 2: Confirmed event (different ID) — suppressed by client_tool_namesCOMMENT
LOW…ions/adk-middleware/python/tests/test_lro_filtering.py1036 # Step 1: LRO event — translator emits START/ARGS/ENDCOMMENT
LOW…ions/adk-middleware/python/tests/test_lro_filtering.py1060 # Step 2: Confirmed event with different ID — must be suppressed so theCOMMENT
LOW…s/adk-middleware/python/examples/other/simple_agent.py25 # Step 1: Create an ADK agentCOMMENT
LOW…s/adk-middleware/python/examples/other/simple_agent.py32 # Step 2: Register the agentCOMMENT
LOW…s/adk-middleware/python/examples/other/simple_agent.py36 # Step 3: Create the middleware agentCOMMENT
LOW…s/adk-middleware/python/examples/other/simple_agent.py42 # Step 4: Create a sample inputCOMMENT
LOW…s/adk-middleware/python/examples/other/simple_agent.py61 # Step 5: Run the agent and print eventsCOMMENT
LOW…adk-middleware/python/examples/other/complete_setup.py49 # Step 1: Configure Google ADK authenticationCOMMENT
LOW…adk-middleware/python/examples/other/complete_setup.py59 # Step 2: Create shared memory serviceCOMMENT
LOW…adk-middleware/python/examples/other/complete_setup.py64 # Step 3: Create your ADK agent(s)COMMENT
LOW…adk-middleware/python/examples/other/complete_setup.py101 # Step 4: Configure ADK middlewareCOMMENT
LOW…adk-middleware/python/examples/other/complete_setup.py146 # Step 5: Create FastAPI appCOMMENT
LOW…adk-middleware/python/examples/other/complete_setup.py163 # Step 6: Add endpointsCOMMENT
LOW…adk-middleware/python/examples/other/complete_setup.py221 # Step 7: Run the serverCOMMENT
LOWapps/dojo/e2e/setup-aws.sh34# Step 1: Create S3 BucketCOMMENT
LOWapps/dojo/e2e/setup-aws.sh49# Step 2: Configure bucket for public read accessCOMMENT
LOWapps/dojo/e2e/setup-aws.sh72# Step 3: Set up lifecycle policy for automatic cleanup (30 days)COMMENT
LOWapps/dojo/e2e/setup-aws.sh91# Step 4: Create IAM policy for S3 upload permissionsCOMMENT
LOWapps/dojo/e2e/setup-aws.sh121# Step 5: Create IAM userCOMMENT
LOWapps/dojo/e2e/setup-aws.sh127# Step 6: Attach policy to userCOMMENT
LOWapps/dojo/e2e/setup-aws.sh133# Step 7: Create access keysCOMMENT
LOWapps/dojo/e2e/setup-aws.sh141# Step 8: Test the setupCOMMENT
Deep Nesting99 hits · 78 pts
SeverityFileLineSnippetContext
LOWsdks/python/tests/test_events.py437CODE
LOWsdks/python/a2ui_toolkit/ag_ui_a2ui_toolkit/__init__.py323CODE
LOWsdks/python/a2ui_toolkit/ag_ui_a2ui_toolkit/validate.py64CODE
LOWsdks/python/a2ui_toolkit/ag_ui_a2ui_toolkit/validate.py151CODE
LOWsdks/python/a2ui_toolkit/ag_ui_a2ui_toolkit/validate.py203CODE
LOWsdks/python/a2ui_toolkit/ag_ui_a2ui_toolkit/validate.py218CODE
LOWintegrations/langgraph/python/ag_ui_langgraph/utils.py71CODE
LOWintegrations/langgraph/python/ag_ui_langgraph/utils.py190CODE
LOWintegrations/langgraph/python/ag_ui_langgraph/utils.py275CODE
LOWintegrations/langgraph/python/ag_ui_langgraph/utils.py329CODE
LOWintegrations/langgraph/python/ag_ui_langgraph/utils.py426CODE
LOWintegrations/langgraph/python/ag_ui_langgraph/utils.py594CODE
LOWintegrations/langgraph/python/ag_ui_langgraph/utils.py627CODE
LOWintegrations/langgraph/python/ag_ui_langgraph/agent.py195CODE
LOWintegrations/langgraph/python/ag_ui_langgraph/agent.py497CODE
LOWintegrations/langgraph/python/ag_ui_langgraph/agent.py756CODE
LOWintegrations/langgraph/python/ag_ui_langgraph/agent.py826CODE
LOWintegrations/langgraph/python/ag_ui_langgraph/agent.py1232CODE
LOW…s/langgraph/python/tests/test_nested_tool_end_dedup.py210CODE
LOW…raph/python/examples/agents/human_in_the_loop/agent.py73CODE
LOW…langgraph/python/examples/agents/shared_state/agent.py144CODE
LOWintegrations/crew-ai/python/tests/test_llm_timeout.py175CODE
LOWintegrations/crew-ai/python/ag_ui_crewai/sdk.py276CODE
LOWintegrations/crew-ai/python/ag_ui_crewai/crews.py105CODE
LOWintegrations/crew-ai/python/ag_ui_crewai/endpoint.py292CODE
LOWintegrations/crew-ai/python/ag_ui_crewai/endpoint.py952CODE
LOW…s-strands/python/tests/test_streaming_predict_state.py118CODE
LOW…ns/aws-strands/python/examples/server/model_factory.py12CODE
LOW…ds/python/examples/server/api/agentic_generative_ui.py107CODE
LOW…ions/aws-strands/python/src/ag_ui_strands/a2ui_tool.py238CODE
LOW…ions/aws-strands/python/src/ag_ui_strands/a2ui_tool.py445CODE
LOW…grations/aws-strands/python/src/ag_ui_strands/utils.py85CODE
LOW…grations/aws-strands/python/src/ag_ui_strands/agent.py134CODE
LOW…grations/aws-strands/python/src/ag_ui_strands/agent.py196CODE
LOW…grations/aws-strands/python/src/ag_ui_strands/agent.py354CODE
LOW…spec/python/ag_ui_agentspec/runtimes/wayflow_runner.py55CODE
LOWintegrations/watsonx/python/src/ag_ui_watsonx/agent.py116CODE
LOW…ns/claude-agent-sdk/python/ag_ui_claude_sdk/adapter.py224CODE
LOW…ns/claude-agent-sdk/python/ag_ui_claude_sdk/adapter.py477CODE
LOW…ns/claude-agent-sdk/python/ag_ui_claude_sdk/adapter.py625CODE
LOW…ns/claude-agent-sdk/python/ag_ui_claude_sdk/session.py102CODE
LOW…s/claude-agent-sdk/python/ag_ui_claude_sdk/handlers.py181CODE
LOW…ions/claude-agent-sdk/python/ag_ui_claude_sdk/utils.py92CODE
LOW…ions/claude-agent-sdk/python/ag_ui_claude_sdk/utils.py341CODE
LOW…ions/claude-agent-sdk/python/ag_ui_claude_sdk/utils.py412CODE
LOW…eware/python/tests/test_duplicate_function_response.py114CODE
LOW…are/python/tests/test_lro_tool_response_persistence.py73CODE
LOW…are/python/tests/test_lro_tool_response_persistence.py294CODE
LOW…eware/python/tests/test_credential_service_defaults.py90CODE
LOW…ations/adk-middleware/python/tests/test_text_events.py265CODE
LOW…iddleware/python/tests/test_endpoint_error_handling.py241CODE
LOW…s/adk-middleware/python/tests/test_context_handling.py75CODE
LOW…s/adk-middleware/python/tests/test_context_handling.py131CODE
LOW…s/adk-middleware/python/tests/test_context_handling.py211CODE
LOW…e/python/tests/test_thought_to_thinking_integration.py140CODE
LOW…tests/test_issue_437_skip_summarization_integration.py324CODE
LOW…leware/python/tests/test_llmagent_hitl_confirmation.py67CODE
LOW…s/adk-middleware/python/tests/test_tool_result_flow.py546CODE
LOW…s/adk-middleware/python/tests/test_tool_result_flow.py1056CODE
LOW…s/adk-middleware/python/tests/test_tool_result_flow.py1223CODE
39 more matches not shown…
Dead Code31 hits · 62 pts
SeverityFileLineSnippetContext
MEDIUM…ns/langgraph/python/tests/test_deprecation_warnings.py31CODE
MEDIUM…ions/langgraph/python/tests/test_subgraph_streaming.py274CODE
MEDIUM…tions/aws-strands/python/tests/test_session_manager.py56CODE
MEDIUM…tions/aws-strands/python/tests/test_session_manager.py90CODE
MEDIUM…tions/aws-strands/python/tests/test_session_manager.py298CODE
MEDIUMintegrations/aws-strands/python/tests/test_a2ui_tool.py1297CODE
MEDIUM…gent-sdk/python/tests/test_serialize_and_robustness.py563CODE
MEDIUM…grations/claude-agent-sdk/python/tests/test_adapter.py352CODE
MEDIUM…grations/claude-agent-sdk/python/tests/test_adapter.py430CODE
MEDIUM…grations/claude-agent-sdk/python/tests/test_adapter.py567CODE
MEDIUM…grations/claude-agent-sdk/python/tests/test_adapter.py631CODE
MEDIUM…grations/claude-agent-sdk/python/tests/test_adapter.py635CODE
MEDIUM…grations/claude-agent-sdk/python/tests/test_adapter.py687CODE
MEDIUM…grations/claude-agent-sdk/python/tests/test_adapter.py786CODE
MEDIUM…eware/python/tests/test_duplicate_function_response.py219CODE
MEDIUM…eware/python/tests/test_duplicate_function_response.py322CODE
MEDIUM…eware/python/tests/test_duplicate_function_response.py498CODE
MEDIUM…ons/adk-middleware/python/tests/test_adk_2_0_compat.py460CODE
MEDIUM…ons/adk-middleware/python/tests/test_adk_2_0_compat.py525CODE
MEDIUM…dk-middleware/python/tests/test_tool_error_handling.py124CODE
MEDIUM…dk-middleware/python/tests/test_tool_error_handling.py172CODE
MEDIUM…dk-middleware/python/tests/test_tool_error_handling.py286CODE
MEDIUM…dk-middleware/python/tests/test_tool_error_handling.py458CODE
MEDIUM…iddleware/python/tests/test_endpoint_error_handling.py113CODE
MEDIUM…s/adk-middleware/python/tests/test_tool_result_flow.py349CODE
MEDIUM…s/adk-middleware/python/tests/test_tool_result_flow.py1578CODE
MEDIUM…s/adk-middleware/python/tests/test_tool_result_flow.py1699CODE
MEDIUM…s/adk-middleware/python/tests/test_tool_result_flow.py1791CODE
MEDIUM…s/adk-middleware/python/tests/test_tool_result_flow.py1166CODE
MEDIUM…egrations/adk-middleware/python/tests/test_endpoint.py226CODE
MEDIUM…egrations/adk-middleware/python/tests/test_endpoint.py256CODE
Redundant / Tautological Comments41 hits · 62 pts
SeverityFileLineSnippetContext
LOWsdks/community/kotlin/publish.sh48# Check if running in dry-run modeCOMMENT
LOW…raph/python/examples/agents/human_in_the_loop/agent.py190 # Check if we already have a user_response in the stateSTRING
LOW…langgraph/python/examples/agents/shared_state/agent.py211 # Check if args is already a dict or needs to be parsedSTRING
LOW…on/examples/example_server/tool_based_generative_ui.py36 # Check if last message was a tool resultCOMMENT
LOW…grations/aws-strands/python/src/ag_ui_strands/agent.py1283 # Check if we've already seen this tool (by Strands' internal ID)COMMENT
LOW…grations/aws-strands/python/src/ag_ui_strands/agent.py1745 # Check if generator is already closed/exhaustedCOMMENT
LOW…ns/claude-agent-sdk/python/ag_ui_claude_sdk/adapter.py855 # Check if this is the state management toolCOMMENT
LOW…ns/claude-agent-sdk/python/ag_ui_claude_sdk/adapter.py914 # Check if this is a frontend tool -- halt streamCOMMENT
LOW…ions/claude-agent-sdk/python/ag_ui_claude_sdk/utils.py107 # Check if last message is a tool result (for re-submission handling)COMMENT
LOW…ations/adk-middleware/python/tests/test_text_events.py230 # Check if we have any text message events at allCOMMENT
LOW…adk-middleware/python/tests/test_tool_tracking_hitl.py136 # Check if tool call was trackedCOMMENT
LOW…iddleware/python/tests/test_endpoint_error_handling.py91 # Check if error handling workedCOMMENT
LOW…iddleware/python/tests/test_endpoint_error_handling.py152 # Check if error handling workedCOMMENT
LOW…iddleware/python/tests/test_endpoint_error_handling.py228 # Check if normal handling workedCOMMENT
LOW…iddleware/python/tests/test_endpoint_error_handling.py384 # Check if error handling workedCOMMENT
LOW…s/adk-middleware/python/tests/test_context_handling.py435 # Check if custom_metadata is supportedCOMMENT
LOW…tests/test_issue_437_skip_summarization_integration.py672 # Check if the response contains summarization of the FIRST resultSTRING
LOW…k-middleware/python/src/ag_ui_adk/client_proxy_tool.py316 # Check if this tool has predictive state configurationCOMMENT
LOW…tions/adk-middleware/python/src/ag_ui_adk/adk_agent.py2106 # Check if execution is staleCOMMENT
LOW…tions/adk-middleware/python/src/ag_ui_adk/adk_agent.py2116 # Check if task is doneCOMMENT
LOW…tions/adk-middleware/python/src/ag_ui_adk/adk_agent.py1203 # Check if there are pending tool calls AND tool results in unseen messagesCOMMENT
LOW…tions/adk-middleware/python/src/ag_ui_adk/adk_agent.py1340 # Check if there's an upcoming tool batch that will be skippedCOMMENT
LOW…tions/adk-middleware/python/src/ag_ui_adk/adk_agent.py1571 # Check if there were actual tool messages that were filtered outCOMMENT
LOW…tions/adk-middleware/python/src/ag_ui_adk/adk_agent.py2180 # Check if there's an existing execution for this thread+user and wait for itCOMMENT
LOW…tions/adk-middleware/python/src/ag_ui_adk/adk_agent.py2278 # Check if session has pending tool calls before cleanupCOMMENT
LOW…tions/adk-middleware/python/src/ag_ui_adk/adk_agent.py3112 # Check if we got a non-partial event (persistence complete)COMMENT
LOW…tions/adk-middleware/python/src/ag_ui_adk/adk_agent.py3144 # Check if this is a streaming chunk that needs regular processingCOMMENT
LOW…tions/adk-middleware/python/src/ag_ui_adk/adk_agent.py3173 # Check if event has function responses (e.g., backend tool results)COMMENT
LOW…tions/adk-middleware/python/src/ag_ui_adk/adk_agent.py3275 # Set flag to continue draining - checked at loop startCOMMENT
LOW…dk-middleware/python/src/ag_ui_adk/event_translator.py48 # Check if Part class has 'thought' in its model fields (Pydantic)COMMENT
LOW…dk-middleware/python/src/ag_ui_adk/event_translator.py356 # Check if this is the final response (contains complete message - skip to avoid duplication)COMMENT
LOW…dk-middleware/python/src/ag_ui_adk/event_translator.py536 # Check if this is a thought part (backwards-compatible)COMMENT
LOW…dk-middleware/python/src/ag_ui_adk/event_translator.py935 # Check if this tool call ID already existsCOMMENT
LOW…dk-middleware/python/src/ag_ui_adk/event_translator.py942 # Check if this tool has predictive state configurationCOMMENT
LOW…dk-middleware/python/src/ag_ui_adk/event_translator.py990 # Check if we should emit confirm_changes tool call after this toolCOMMENT
LOW…dk-middleware/python/src/ag_ui_adk/event_translator.py1001 # Check if any mapping has emit_confirm_tool=TrueCOMMENT
LOW…tegrations/langroid/python/src/ag_ui_langroid/agent.py199 # Check if the response itself is a ToolMessage (Langroid might return ToolMessage directly)COMMENT
LOWscripts/release/detect-ts-version-changes.sh118# Output resultsCOMMENT
LOWscripts/release/detect-py-version-changes.sh97# Output resultsCOMMENT
LOWapps/dojo/e2e/setup-aws.sh20# Check if AWS CLI is installed and configuredCOMMENT
LOWapps/dojo/e2e/setup-aws.sh26# Check if AWS credentials are configuredCOMMENT
Modern Structural Boilerplate57 hits · 58 pts
SeverityFileLineSnippetContext
LOWsdks/python/a2ui_toolkit/ag_ui_a2ui_toolkit/__init__.py18__all__ = [CODE
LOWsdks/python/ag_ui/core/__init__.py103__all__ = [CODE
LOWsdks/python/ag_ui/encoder/__init__.py7__all__ = ["EventEncoder", "AGUI_MEDIA_TYPE"]CODE
LOW…rations/llama-index/python/examples/server/__init__.py32__all__ = ["main"]CODE
LOW…grations/langgraph/python/ag_ui_langgraph/a2ui_tool.py66__all__ = [CODE
LOW…egrations/langgraph/python/ag_ui_langgraph/__init__.py30__all__ = [CODE
LOWintegrations/langgraph/python/ag_ui_langgraph/utils.py34logger = logging.getLogger(__name__)CODE
LOWintegrations/langgraph/python/ag_ui_langgraph/agent.py107logger = logging.getLogger(__name__)CODE
LOWintegrations/langgraph/python/ag_ui_langgraph/agent.py749 def set_message_in_progress(self, run_id: str, data: MessageInProgress) -> None:CODE
LOW…python/examples/agents/multimodal_messages/__init__.py51__all__ = ["graph"]CODE
LOWintegrations/crew-ai/python/ag_ui_crewai/__init__.py12__all__ = [CODE
LOWintegrations/crew-ai/python/ag_ui_crewai/endpoint.py71__all__ = [CODE
LOW…rations/pydantic-ai/python/examples/server/__init__.py59__all__ = ["main"]CODE
LOW…ons/pydantic-ai/python/examples/server/api/__init__.py13__all__ = [CODE
LOW…rations/aws-strands/python/examples/server/__init__.py90__all__ = ["main", "app"]CODE
LOW…ns/aws-strands/python/examples/server/model_factory.py9logger = logging.getLogger(__name__)CODE
LOW…ons/aws-strands/python/examples/server/api/__init__.py14__all__ = [CODE
LOW…-strands/python/src/ag_ui_strands/client_proxy_tool.py13logger = logging.getLogger(__name__)CODE
LOW…ions/aws-strands/python/src/ag_ui_strands/a2ui_tool.py61__all__ = [CODE
LOW…tions/aws-strands/python/src/ag_ui_strands/__init__.py31__all__ = [CODE
LOW…grations/aws-strands/python/src/ag_ui_strands/utils.py18logger = logging.getLogger(__name__)CODE
LOW…grations/aws-strands/python/src/ag_ui_strands/agent.py70logger = logging.getLogger(__name__)CODE
LOW…grations/agent-spec/python/ag_ui_agentspec/__init__.py9__all__ = [CODE
LOW…grations/agent-spec/python/examples/server/__init__.py21__all__ = ["main"]CODE
LOW…ions/agent-spec/python/examples/server/api/__init__.py3__all__ = ["router"]CODE
LOW…ations/agent-spec/python/examples/server/api/routes.py18logger = logging.getLogger(__name__)CODE
LOW…egrations/watsonx/python/src/ag_ui_watsonx/__init__.py7__all__ = [CODE
LOWintegrations/watsonx/python/src/ag_ui_watsonx/agent.py35logger = logging.getLogger(__name__)CODE
LOW…ns/claude-agent-sdk/python/ag_ui_claude_sdk/adapter.py65logger = logging.getLogger(__name__)CODE
LOW…ns/claude-agent-sdk/python/ag_ui_claude_sdk/session.py13logger = logging.getLogger(__name__)CODE
LOW…s/claude-agent-sdk/python/ag_ui_claude_sdk/handlers.py25logger = logging.getLogger(__name__)CODE
LOW…s/claude-agent-sdk/python/ag_ui_claude_sdk/__init__.py31__all__ = [CODE
LOW…ions/claude-agent-sdk/python/ag_ui_claude_sdk/utils.py14logger = logging.getLogger(__name__)CODE
LOW…ns/claude-agent-sdk/python/examples/agents/__init__.py14__all__ = [CODE
LOWintegrations/ag2/python/examples/server/__init__.py65__all__ = ["main"]CODE
LOW…s/adk-middleware/python/examples/other/simple_agent.py19logger = logging.getLogger(__name__)CODE
LOW…/adk-middleware/python/examples/other/context_usage.py34logger = logging.getLogger(__name__)CODE
LOW…ions/adk-middleware/python/examples/server/__init__.py114__all__ = ["main"]CODE
LOW…/adk-middleware/python/examples/server/api/__init__.py15__all__ = [CODE
LOW…middleware/python/examples/server/api/a2ui_recovery.py23logger = logging.getLogger(__name__)CODE
LOW…python/examples/server/api/predictive_state_updates.py35logger = logging.getLogger(__name__)CODE
LOW…iddleware/python/src/ag_ui_adk/client_proxy_toolset.py17logger = logging.getLogger(__name__)CODE
LOW…k-middleware/python/src/ag_ui_adk/client_proxy_tool.py25logger = logging.getLogger(__name__)CODE
LOW…tions/adk-middleware/python/src/ag_ui_adk/adk_agent.py80logger = logging.getLogger(__name__)CODE
LOW…tions/adk-middleware/python/src/ag_ui_adk/adk_agent.py2501 def _update_agent_tools_recursive(agent: Any) -> None:CODE
LOW…adk-middleware/python/src/ag_ui_adk/session_manager.py11logger = logging.getLogger(__name__)CODE
LOW…ations/adk-middleware/python/src/ag_ui_adk/__init__.py31__all__ = [CODE
LOW…adk-middleware/python/src/ag_ui_adk/execution_state.py10logger = logging.getLogger(__name__)CODE
LOW…dk-middleware/python/src/ag_ui_adk/event_translator.py32logger = logging.getLogger(__name__)CODE
LOW…ations/adk-middleware/python/src/ag_ui_adk/endpoint.py39logger = logging.getLogger(__name__)CODE
LOW…/adk-middleware/python/src/ag_ui_adk/utils/__init__.py12__all__ = [CODE
LOW…dk-middleware/python/src/ag_ui_adk/utils/converters.py22logger = logging.getLogger(__name__)CODE
LOWintegrations/agno/python/examples/server/__init__.py60__all__ = ["main"]CODE
LOW…tegrations/agno/python/examples/server/api/__init__.py15__all__ = [CODE
LOW…ns/langroid/python/examples/server/api/shared_state.py22logger = logging.getLogger(__name__)CODE
LOW…rations/langroid/python/src/ag_ui_langroid/__init__.py5__all__ = [CODE
LOW…tegrations/langroid/python/src/ag_ui_langroid/agent.py11logger = logging.getLogger(__name__)CODE
Magic Placeholder Names10 hits · 56 pts
SeverityFileLineSnippetContext
HIGHsdks/community/dart/example/README.md352- Or pass directly: `dart run -- -k "your-api-key" -m "Test"`CODE
HIGHsdks/community/kotlin/examples/chatapp-wearos/README.md28chatapp.wear.defaultAgentApiKey=sk-your-api-keyCODE
HIGHintegrations/langgraph/typescript/README.md24 langsmithApiKey: "your-api-key",CODE
HIGHintegrations/langgraph/typescript/README.md128 langsmithApiKey: "your-api-key",CODE
HIGHintegrations/watsonx/python/README.md20 api_key="YOUR_API_KEY",CODE
HIGHintegrations/watsonx/typescript/README.md61 api_key="YOUR_API_KEY",CODE
HIGHintegrations/adk-middleware/python/CONFIGURATION.md333export GOOGLE_API_KEY="your-api-key"CODE
HIGH…adk-middleware/python/examples/other/complete_setup.py51 # export GOOGLE_API_KEY="your-api-key-here"COMMENT
HIGH…ions/adk-middleware/python/examples/server/__init__.py83 print(" export GOOGLE_API_KEY='your-api-key-here'")CODE
HIGHintegrations/agno/python/examples/README.md122. Set your OpenAI API key: `export OPENAI_API_KEY="your-api-key"`CODE
Hallucination Indicators3 hits · 30 pts
SeverityFileLineSnippetContext
CRITICAL…com/agui/example/chatapp/ui/screens/chat/ChatScreen.kt135private fun com.agui.example.tools.BackgroundStyle.toComposeColor(default: Color): Color {CODE
CRITICAL…est/kotlin/com/agui/example/chatapp/IosSettingsTest.kt44 val repository = com.agui.example.chatapp.data.repository.AgentRepository.getInstance(settings)CODE
CRITICAL…h/python/tests/test_prepare_stream_interrupt_resume.py123 agent.graph.aupdate_state.await_args.kwargs.get("as_node"),CODE
AI Slop Vocabulary7 hits · 19 pts
SeverityFileLineSnippetContext
MEDIUM…dotnet/tests/AGUI.Server.UnitTests/RunTelemetryTest.cs15 // Unique per test so assertions are robust against the global ActivityListener observingCOMMENT
MEDIUMmiddlewares/mcp-middleware/src/index.ts404 // consumer sees one seamless run.COMMENT
MEDIUM…rands/python/tests/test_template_hooks_preservation.py270 # Reuse the same robust "consume until populated, then surfaceCOMMENT
LOW…ware/python/tests/test_adk_agent_memory_integration.py136 # Yield no events - just return immediatelyCOMMENT
MEDIUM…k-middleware/python/src/ag_ui_adk/client_proxy_tool.py30# This is more robust than a denylist — new JSON Schema fields thatCOMMENT
LOW…tions/adk-middleware/python/src/ag_ui_adk/adk_agent.py2945 # No tool results, just use the user messageCOMMENT
MEDIUMscripts/release/verify-release-scope-dropdowns.sh55# Uses yq when available (the CI path on ubuntu-latest), otherwise a robust awkCOMMENT
Fake / Example Data15 hits · 18 pts
SeverityFileLineSnippetContext
LOW…es/client/src/apply/__tests__/default.activity.test.ts172 { id: "activity-1", role: "user" as const, content: "placeholder" },CODE
LOW…es/client/src/apply/__tests__/default.activity.test.ts192 { id: "activity-1", role: "user" as const, content: "placeholder" },CODE
LOW…es/client/src/apply/__tests__/default.activity.test.ts207 expect(updates[0]?.messages?.[0]?.content).toBe("placeholder");CODE
LOW…/packages/client/src/transform/__tests__/proto.test.ts306 { op: "replace", path: "/users/123/name", value: "Jane Doe" },CODE
LOW…s/AGUI.Abstractions.UnitTests/AgentCapabilitiesTest.cs232 "provider": "Acme Corp",CODE
LOW…nitTests/Compatibility/StateEventsCompatibilityTest.cs84 Assert.Equal("Jane Doe", typed.Delta[2].GetProperty("value").GetString());CODE
LOW…ons.UnitTests/Compatibility/Fixtures/state-events.json66 "value": "Jane Doe"CODE
LOW…onTest/kotlin/com/agui/tests/EventSerializationTest.kt264 put("value", "John Doe")CODE
LOW…onTest/kotlin/com/agui/tests/EventSerializationTest.kt294 assertEquals("John Doe", firstPatch["value"]?.jsonPrimitive?.content)CODE
LOW…kotlin/com/agui/tests/MessageProtocolComplianceTest.kt47 name = "John Doe"CODE
LOW…kotlin/com/agui/tests/MessageProtocolComplianceTest.kt53 assertEquals("John Doe", jsonObj["name"]?.jsonPrimitive?.content)CODE
LOW…kotlin/com/agui/tests/MessageProtocolComplianceTest.kt57 assertEquals("John Doe", decoded.name)CODE
LOW…ons/adk-middleware/python/tests/test_adk_2_0_compat.py72 with pytest.raises(NotImplementedError, match="placeholder"):CODE
LOW…ons/adk-middleware/python/tests/test_adk_2_0_compat.py245 adk_agent=Agent(name="placeholder", instruction="p"),CODE
LOW…/adk-middleware/python/examples/other/context_usage.py156 Context(description="company_name", value="Acme Corp"),CODE
Docstring Block Structure2 hits · 10 pts
SeverityFileLineSnippetContext
HIGH…ds/python/examples/server/api/agentic_generative_ui.py61 Plan the concrete steps required to accomplish a task and walk each step from "pending" through "in_progress" tSTRING
HIGH…ions/claude-agent-sdk/python/ag_ui_claude_sdk/utils.py68 Strip mcp__servername__ prefix from Claude SDK tool names. Claude SDK prefixes all MCP tools: mcp__weatherSTRING
Example Usage Blocks3 hits · 4 pts
SeverityFileLineSnippetContext
LOWsdks/dotnet/build.sh10# Usage:COMMENT
LOWsdks/dotnet/test.sh13# Usage:COMMENT
LOWsdks/dotnet/eng/install-dotnet.sh13# Usage:COMMENT
Slop Phrases2 hits · 4 pts
SeverityFileLineSnippetContext
MEDIUM…/com/agui/chatapp/java/MultiAgentInstrumentedTest.java192 String description = "This is a test agent for demonstration purposes.";CODE
MEDIUMapps/dojo/e2e/aimock-setup.ts209 "Your meeting is scheduled. Let me know if you need anything else!",CODE
AI Structural Patterns5 hits · 3 pts
SeverityFileLineSnippetContext
LOW…rations/crew-ai/python/tests/test_task_cancellation.py1046CODE
LOW…k-middleware/python/src/ag_ui_adk/client_proxy_tool.py121CODE
LOW…tions/adk-middleware/python/src/ag_ui_adk/adk_agent.py165CODE
LOW…tions/adk-middleware/python/src/ag_ui_adk/adk_agent.py557CODE
LOW…adk-middleware/python/src/ag_ui_adk/session_manager.py46CODE
Overly Generic Function Names3 hits · 2 pts
SeverityFileLineSnippetContext
LOW…ython/examples/server/routers/agentic_generative_ui.py18async def run_task(CODE
LOWintegrations/crew-ai/python/ag_ui_crewai/sdk.py314 def my_function():STRING
LOW…rations/claude-agent-sdk/typescript/examples/server.ts30async function handleRequest(CODE