Repository Analysis

ag-ui-protocol/ag-ui

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

11.3 Low AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of ag-ui-protocol/ag-ui, a Python project with 15,602 GitHub stars. SynthScan v2.0 examined 826,832 lines of code across 3012 source files, recording 7061 pattern matches distributed across 24 syntactic categories. The overall adjusted score of 11.3 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).

11.3
Adjusted Score
11.3
Raw Score
100%
Time Factor
2026-08-28
Last Push
15.6K
Stars
Python
Language
826.8K
Lines of Code
3.0K
Files
7.1K
Pattern Hits
2026-08-29
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 6HIGH 91MEDIUM 1072LOW 5892

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 7061 distinct pattern matches across 24 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 Identifiers3947 hits · 3380 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_interrupts.py102 def test_json_round_trip_of_every_value_shape(self):CODE
LOWsdks/python/tests/test_interrupts.py107 def test_empty_object_round_trips_distinct_from_absent(self):CODE
LOWsdks/python/tests/test_interrupts.py112 def test_explicit_null_reads_back_as_absent(self):CODE
LOWsdks/python/tests/test_interrupts.py118 def test_plain_model_dump_json_round_trips(self):CODE
LOWsdks/python/tests/test_interrupts.py124 def test_absent_metadata_serializes_without_the_key(self):CODE
LOWsdks/python/tests/test_interrupts.py129 def test_exclude_none_preserves_null_values_under_keys(self):CODE
LOWsdks/python/tests/test_interrupts.py140 def test_carried_on_cancelled_entries_too(self):CODE
LOWsdks/python/tests/test_interrupts.py144 def test_reaches_the_agent_through_run_agent_input(self):CODE
LOWsdks/python/tests/test_null_omission.py172 def test_every_wire_type_omits_fields_without_a_value(self):CODE
LOWsdks/python/tests/test_null_omission.py190 def test_encoded_event_stream_contains_no_omittable_nulls(self):CODE
LOWsdks/python/tests/test_null_omission.py219 def _reverted_tool_call_start(self) -> Type[ToolCallStartEvent]:CODE
LOWsdks/python/tests/test_null_omission.py222 def _serialize_without_omission(CODE
LOWsdks/python/tests/test_null_omission.py230 def test_reverting_the_setting_reintroduces_the_null(self):CODE
LOWsdks/python/tests/test_null_omission.py241 def test_reverting_the_setting_reintroduces_the_null_in_the_encoder(self):CODE
LOWsdks/python/tests/test_null_omission.py246 def test_omission_holds_for_the_unmodified_class(self):CODE
LOWsdks/python/tests/test_null_omission.py254 def test_null_inside_a_metadata_dict_survives(self):CODE
LOWsdks/python/tests/test_null_omission.py261 def test_null_extra_field_survives(self):CODE
LOWsdks/python/tests/test_null_omission.py267 def test_required_field_holding_null_survives(self):CODE
LOWsdks/python/tests/test_null_omission.py273 def test_run_agent_input_with_no_state_omits_the_key(self):CODE
LOWsdks/python/tests/test_null_omission.py294 def test_run_agent_input_accepts_absent_state(self):CODE
LOWsdks/python/tests/test_null_omission.py317 def test_fixture_covers_this_sdk(self):CODE
LOWsdks/python/tests/test_null_omission.py320 def test_every_case_reserializes_to_its_expected_json(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_metadata.py44 def test_accepts_every_value_shape(self):CODE
LOWsdks/python/tests/test_metadata.py59 def test_accepts_empty_object(self):CODE
LOWsdks/python/tests/test_metadata.py63 def test_explicit_null_reads_back_as_absent(self):CODE
3887 more matches not shown…
Decorative Section Separators814 hits · 2894 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.ts122// ── Agents ───────────────────────────────────────────────────────────────────COMMENT
MEDIUM…eware/__tests__/middleware-chained-integration.test.ts428// ── Tests ────────────────────────────────────────────────────────────────────COMMENT
MEDIUM…eware/__tests__/middleware-chained-integration.test.ts431 // ─── Basic chaining ────────────────────────────────────────────────────────COMMENT
MEDIUM…eware/__tests__/middleware-chained-integration.test.ts471 // ─── Full text events (no chunk transformation) ────────────────────────────COMMENT
MEDIUM…eware/__tests__/middleware-chained-integration.test.ts490 // ─── Tool call chunk transformation ────────────────────────────────────────COMMENT
MEDIUM…eware/__tests__/middleware-chained-integration.test.ts523 // ─── Full tool call events (no chunk transformation) ───────────────────────COMMENT
MEDIUM…eware/__tests__/middleware-chained-integration.test.ts553 // ─── State propagation ─────────────────────────────────────────────────────COMMENT
MEDIUM…eware/__tests__/middleware-chained-integration.test.ts597 // ─── MESSAGES_SNAPSHOT ─────────────────────────────────────────────────────COMMENT
MEDIUM…eware/__tests__/middleware-chained-integration.test.ts618 // ─── Multiple sequential messages ──────────────────────────────────────────COMMENT
MEDIUM…eware/__tests__/middleware-chained-integration.test.ts638 // ─── Mixed text + tool call events ─────────────────────────────────────────COMMENT
MEDIUM…eware/__tests__/middleware-chained-integration.test.ts671 // ─── Mixed middleware types ────────────────────────────────────────────────COMMENT
MEDIUM…eware/__tests__/middleware-chained-integration.test.ts728 // ─── Initial messages / pre-existing state ─────────────────────────────────COMMENT
MEDIUM…eware/__tests__/middleware-chained-integration.test.ts773 // ─── 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.cs107 // ────────────────────────────────────────────────COMMENT
MEDIUM…dotnet/tests/AGUI.Client.UnitTests/ProtocolRuleTest.cs109 // ────────────────────────────────────────────────COMMENT
MEDIUM…dotnet/tests/AGUI.Client.UnitTests/ProtocolRuleTest.cs262 // ────────────────────────────────────────────────COMMENT
MEDIUM…dotnet/tests/AGUI.Client.UnitTests/ProtocolRuleTest.cs264 // ────────────────────────────────────────────────COMMENT
MEDIUM…dotnet/tests/AGUI.Client.UnitTests/ProtocolRuleTest.cs400 // ────────────────────────────────────────────────COMMENT
MEDIUM…dotnet/tests/AGUI.Client.UnitTests/ProtocolRuleTest.cs402 // ────────────────────────────────────────────────COMMENT
MEDIUM…dotnet/tests/AGUI.Client.UnitTests/ProtocolRuleTest.cs464 // ────────────────────────────────────────────────COMMENT
MEDIUM…dotnet/tests/AGUI.Client.UnitTests/ProtocolRuleTest.cs466 // ────────────────────────────────────────────────COMMENT
MEDIUM…dotnet/tests/AGUI.Client.UnitTests/ProtocolRuleTest.cs555 // ────────────────────────────────────────────────COMMENT
MEDIUM…dotnet/tests/AGUI.Client.UnitTests/ProtocolRuleTest.cs557 // ────────────────────────────────────────────────COMMENT
MEDIUM…dotnet/tests/AGUI.Client.UnitTests/ProtocolRuleTest.cs678 // ────────────────────────────────────────────────COMMENT
MEDIUM…dotnet/tests/AGUI.Client.UnitTests/ProtocolRuleTest.cs680 // ────────────────────────────────────────────────COMMENT
MEDIUM…dotnet/tests/AGUI.Client.UnitTests/ProtocolRuleTest.cs801 // ────────────────────────────────────────────────COMMENT
MEDIUM…dotnet/tests/AGUI.Client.UnitTests/ProtocolRuleTest.cs803 // ────────────────────────────────────────────────COMMENT
MEDIUM…dotnet/tests/AGUI.Client.UnitTests/ProtocolRuleTest.cs934 // ────────────────────────────────────────────────COMMENT
MEDIUM…dotnet/tests/AGUI.Client.UnitTests/ProtocolRuleTest.cs936 // ────────────────────────────────────────────────COMMENT
MEDIUM…dotnet/tests/AGUI.Client.UnitTests/ProtocolRuleTest.cs964 // ────────────────────────────────────────────────COMMENT
MEDIUM…dotnet/tests/AGUI.Client.UnitTests/ProtocolRuleTest.cs966 // ────────────────────────────────────────────────COMMENT
MEDIUM…dotnet/tests/AGUI.Client.UnitTests/ProtocolRuleTest.cs988 // ────────────────────────────────────────────────COMMENT
MEDIUM…dotnet/tests/AGUI.Client.UnitTests/ProtocolRuleTest.cs990 // ────────────────────────────────────────────────COMMENT
MEDIUM…dotnet/tests/AGUI.Client.UnitTests/ProtocolRuleTest.cs1137 // ────────────────────────────────────────────────COMMENT
MEDIUM…dotnet/tests/AGUI.Client.UnitTests/ProtocolRuleTest.cs1139 // ────────────────────────────────────────────────COMMENT
MEDIUM…dotnet/tests/AGUI.Client.UnitTests/ProtocolRuleTest.cs2580 // ────────────────────────────────────────────────COMMENT
MEDIUM…dotnet/tests/AGUI.Client.UnitTests/ProtocolRuleTest.cs2582 // ────────────────────────────────────────────────COMMENT
754 more matches not shown…
Over-Commented Block647 hits · 572 pts
SeverityFileLineSnippetContext
LOWsdks/typescript/packages/a2ui-toolkit/src/index.ts641 "'create' to render a new surface; 'update' to modify a surface previously rendered in this conversation. Defaults tCOMMENT
LOWsdks/typescript/packages/core/src/events.ts421export const SubagentFinishedSuspendedOutcomeSchema = zCOMMENT
LOWsdks/typescript/packages/client/src/apply/default.ts381 input,COMMENT
LOWsdks/typescript/packages/client/src/apply/default.ts761 // preserving client-only messages the backend leaves out of theCOMMENT
LOWsdks/typescript/packages/client/src/verify/verify.ts21 // Reasoning messages are opened by REASONING_START / REASONING_MESSAGE_START andCOMMENT
LOWsdks/typescript/packages/client/src/verify/verify.ts41 message: new Map<string, Owner>(),COMMENT
LOWsdks/typescript/packages/client/src/verify/verify.ts121 // `authoritative` distinguishes the two sources. A snapshot restates theCOMMENT
LOWsdks/typescript/packages/client/src/verify/verify.ts621 );COMMENT
LOWsdks/typescript/packages/client/src/verify/verify.ts641 // Activity messages are opened by ACTIVITY_SNAPSHOT and continued byCOMMENT
LOWsdks/typescript/packages/client/src/verify/verify.ts721 // `owners.reasoning` is retained for the rest of the run, so a laterCOMMENT
LOWsdks/typescript/packages/client/src/agent/subscriber.ts241 }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/typescript/packages/client/src/chunks/transform.ts241 return [...closeAllLanes(), event];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…s/dotnet/tests/AGUI.A2UI.UnitTests/A2UIEnvelopeTest.cs1using System.Text.Json.Nodes;COMMENT
LOW…et/tests/AGUI.A2UI.UnitTests/A2UIPromptBuildingTest.cs1using System.Text.Json.Nodes;COMMENT
LOW…/tests/AGUI.A2UI.UnitTests/A2UIFindPriorSurfaceTest.cs1using System.Text.Json.Nodes;COMMENT
LOW…/tests/AGUI.Abstractions.UnitTests/NullOmissionTest.cs21/// <c>[JsonIgnore(WhenWritingNull)]</c> attribute repeated on every nullable property. AnCOMMENT
LOW…/tests/AGUI.Abstractions.UnitTests/NullOmissionTest.cs161 public void NoPerPropertyNullIgnoreAttributesOutsideTheAllowlist()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
LOW…I.Protobuf.UnitTests/BinaryMetadataNullOmissionTest.cs1using System.Collections.Generic;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.cs21{COMMENT
LOW…ts/Step06_RawEvents.Server/UsageRawEventsChatClient.cs1using System.Runtime.CompilerServices;COMMENT
LOW…ts/Step06_RawEvents.Server/UsageRawEventsChatClient.cs21/// </para>COMMENT
LOWsdks/dotnet/src/AGUI.A2UI/A2UIChatClient.cs1using System.Runtime.CompilerServices;COMMENT
LOWsdks/dotnet/src/AGUI.A2UI/A2UIChatClient.cs21/// LangGraph / Strands / Mastra adapters. The generation loop runs at the chat-clientCOMMENT
LOWsdks/dotnet/src/AGUI.A2UI/A2UIChatClient.cs41 // The cap on planner rounds (model turn -> generation -> result fed back) per run,COMMENT
LOW…otnet/src/AGUI.A2UI/A2UIChatClientBuilderExtensions.cs1using Microsoft.Extensions.AI;COMMENT
LOWsdks/dotnet/src/AGUI.A2UI/A2UIChatClientOptions.cs1using AGUI.Server;COMMENT
LOWsdks/dotnet/src/AGUI.A2UI/A2UIChatClientOptions.cs21 /// </summary>COMMENT
LOWsdks/dotnet/src/AGUI.A2UI/A2UIChatClientOptions.cs41 /// </summary>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/ProtoValueConverter.cs81 /// <summary>COMMENT
LOWsdks/dotnet/src/AGUI.Protobuf/AGUIProtobuf.cs21 /// <summary>COMMENT
LOW…dotnet/src/AGUI.Server/AGUIToolCallArgumentFragment.cs1namespace AGUI.Server;COMMENT
LOW…et/src/AGUI.Server/ChatResponseUpdateAGUIExtensions.cs21 "properties": {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 Func<ChatResponseUpdate, IEnumerable<AGUIToolCallArgumentFragment>?>? _toolCallArgumentExtractor;COMMENT
LOWsdks/dotnet/src/AGUI.Server/AGUIStreamOptions.cs41 return this;COMMENT
LOWsdks/dotnet/src/AGUI.Server/AGUIStreamOptions.cs61 _interruptMappers ??= [];COMMENT
LOWsdks/dotnet/src/AGUI.Server/AGUIStreamOptions.cs101 return this;COMMENT
LOWsdks/dotnet/src/AGUI.Server/AGUIStreamOptions.cs141 /// <summary>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
LOWsdks/dotnet/src/AGUI.Abstractions/AGUIMetadata.cs1namespace AGUI.Abstractions;COMMENT
LOW…tnet/src/AGUI.Abstractions/InterruptResponseContent.cs1using System.Text.Json;COMMENT
LOW…otnet/src/AGUI.Abstractions/InterruptRequestContent.cs1using System.Text.Json;COMMENT
LOWsdks/dotnet/src/AGUI.Abstractions/AGUIJsonUtilities.cs21 /// when composing your own <see cref="JsonSerializerOptions"/>. The context'sCOMMENT
LOWsdks/dotnet/src/AGUI.Abstractions/Tools/AGUITool.cs21 [JsonPropertyName("description")]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
587 more matches not shown…
Unused Imports634 hits · 522 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__.py5CODE
LOWsdks/python/ag_ui/core/__init__.py5CODE
574 more matches not shown…
Self-Referential Comments128 hits · 386 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.py133 # 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.py72# 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.py3434 # Create an event encoder to properly format SSE eventsCOMMENT
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__.py55# Create main appCOMMENT
MEDIUM…aws-strands/python/examples/server/api/shared_state.py147# Create the AG-UI Strands agent wrapperCOMMENT
MEDIUM…aws-strands/python/examples/server/api/shared_state.py155# 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
MEDIUM…ns/adk-middleware/python/tests/test_session_cleanup.py15 # Create a test agentCOMMENT
68 more matches not shown…
Cross-File Repetition74 hits · 370 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…entServer/AGUIDojoServer/A2UI/A2UICompositionGuides.cs0you are a helpful assistant that creates rich visual ui on the fly. when the user asks for visual content (hotel/productSTRING
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…entServer/AGUIDojoServer/A2UI/A2UICompositionGuides.cs0## available pre-made components you have 4 components. use row as the root with structural children to repeat a card peSTRING
HIGH…ph/python/examples/agents/a2ui_dynamic_schema/agent.py0## available pre-made components you have 4 components. use row as the root with structural children to repeat a card peSTRING
HIGH…ware/python/examples/server/api/a2ui_dynamic_schema.py0## available pre-made components you have 4 components. use row as the root with structural children to repeat a card peSTRING
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…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…rew-ai/python/examples/agents/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…GUI.ClaudeManagedAgents.Tests/ManagedAgentsTurnTest.cs0{"type":"session.status_idle","id":"idle_1","stop_reason":{"type":"end_turn"}}STRING
HIGH…UI.ClaudeManagedAgents.Tests/ManagedAgentsAgentTest.cs0{"type":"session.status_idle","id":"idle_1","stop_reason":{"type":"end_turn"}}STRING
HIGH…ClaudeManagedAgents.Tests/ManagedAgentsEndpointTest.cs0{"type":"session.status_idle","id":"idle_1","stop_reason":{"type":"end_turn"}}STRING
HIGH…deManagedAgents.Tests/ManagedAgentsDynamicToolsTest.cs0{"type":"session.status_idle","id":"idle_1","stop_reason":{"type":"end_turn"}}STRING
HIGH…UI.ClaudeManagedAgents.Tests/ManagedAgentsAgentTest.cs0{"type":"agent_toolset_20260401","configs":[],"default_config":{}}STRING
HIGH…I.ClaudeManagedAgents.Tests/FakeManagedAgentsClient.cs0{"type":"agent_toolset_20260401","configs":[],"default_config":{}}STRING
HIGH…deManagedAgents.Tests/ManagedAgentsDynamicToolsTest.cs0{"type":"agent_toolset_20260401","configs":[],"default_config":{}}STRING
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
14 more matches not shown…
Excessive Try-Catch Wrapping260 hits · 243 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.py2115 except Exception:CODE
LOWintegrations/langgraph/python/ag_ui_langgraph/utils.py2123 except Exception:CODE
LOWintegrations/langgraph/python/ag_ui_langgraph/utils.py2130 except Exception:CODE
LOWintegrations/langgraph/python/ag_ui_langgraph/utils.py2137 except Exception:CODE
LOWintegrations/langgraph/python/ag_ui_langgraph/utils.py2045 except Exception:CODE
LOWintegrations/langgraph/python/ag_ui_langgraph/agent.py2136 except Exception as exc:CODE
LOW…ns/langgraph/python/tests/test_deprecation_warnings.py55 except Exception:CODE
LOWintegrations/langgraph/python/tests/test_multimodal.py4054 except Exception:CODE
LOWintegrations/langgraph/python/tests/test_multimodal.py4060 except Exception:CODE
LOWintegrations/langgraph/python/tests/test_multimodal.py4176 except Exception as exc: # noqa: BLE001CODE
LOW…graph/python/tests/test_parallel_subagent_streaming.py424 except Exception:CODE
LOW…langgraph/python/examples/agents/shared_state/agent.py153 except Exception as e: # pylint: disable=broad-exception-caughtCODE
MEDIUM…ations/claude-managed-agents/python/examples/server.py110 print("Error: set ANTHROPIC_API_KEY (or ANTHROPIC_AUTH_TOKEN)")CODE
LOW…aged-agents/python/ag_ui_claude_managed_agents/turn.py241 except Exception as exc: # noqa: BLE001 - best-effort interrupt, including its own boundCODE
LOW…aged-agents/python/ag_ui_claude_managed_agents/turn.py314 except Exception: # noqa: BLE001 - best-effort; the done callback reports itCODE
LOW…aged-agents/python/ag_ui_claude_managed_agents/turn.py330 except Exception as exc: # noqa: BLE001 - reported as a terminal run errorCODE
LOW…aged-agents/python/ag_ui_claude_managed_agents/turn.py373 except Exception as err: # noqa: BLE001 - the tool's failure is reported to the agentCODE
LOW…aged-agents/python/ag_ui_claude_managed_agents/turn.py610 except Exception as exc: # noqa: BLE001 - reported as a terminal run errorCODE
LOW…aged-agents/python/ag_ui_claude_managed_agents/turn.py699 except Exception as exc: # noqa: BLE001 - retry only the parked raceCODE
LOW…ged-agents/python/ag_ui_claude_managed_agents/_util.py114 except Exception: # noqa: BLE001 - a broken hook is not the run's problemCODE
LOW…ged-agents/python/ag_ui_claude_managed_agents/_util.py129 except Exception: # noqa: BLE001 - a broken hook is not the run's problem, nor is its timeoutCODE
LOW…ged-agents/python/ag_ui_claude_managed_agents/agent.py235 except Exception as err: # noqa: BLE001 - surfaced to the client as RUN_ERRORCODE
LOW…ged-agents/python/ag_ui_claude_managed_agents/agent.py262 except Exception as exc: # noqa: BLE001 - best-effort interruptCODE
LOW…ged-agents/python/ag_ui_claude_managed_agents/agent.py284 except Exception as exc: # noqa: BLE001 - best-effort; the run is already endingCODE
LOWintegrations/crew-ai/python/tests/test_reasoning.py103 except Exception: # noqa: BLE001CODE
LOWintegrations/crew-ai/python/tests/test_reasoning.py1071 except Exception as exc: # pragma: no cover - only on an unsupported litellmCODE
LOWintegrations/crew-ai/python/tests/test_reasoning.py1090 except Exception as exc:CODE
LOWintegrations/crew-ai/python/tests/test_reasoning.py3007 except Exception as exc: # noqa: BLE001 - the failure IS the fixtureCODE
LOWintegrations/crew-ai/python/tests/conftest.py184 except Exception: # pragma: no cover - defensiveCODE
LOWintegrations/crew-ai/python/tests/conftest.py199 except Exception: # pragma: no cover - defensiveCODE
LOWintegrations/crew-ai/python/tests/conftest.py468 except Exception as exc: # noqa: BLE001 - capability probeCODE
MEDIUMintegrations/crew-ai/python/tests/test_streaming.py1571def chat(self):CODE
LOWintegrations/crew-ai/python/tests/test_streaming.py52 except Exception: # noqa: BLE001 - handler errors surface elsewhereCODE
LOWintegrations/crew-ai/python/tests/test_streaming.py62 except Exception: # noqa: BLE001 - flush is best-effortCODE
LOWintegrations/crew-ai/python/tests/test_streaming.py1574 except Exception: # noqa: BLE001 - outer intentionally swallows + continuesCODE
LOW…rations/crew-ai/python/tests/test_task_cancellation.py1061 except Exception: # noqa: BLE001CODE
LOW…rations/crew-ai/python/tests/test_task_cancellation.py1864 except Exception:CODE
LOW…rations/crew-ai/python/examples/agents/shared_state.py228 except Exception: # pylint: disable=broad-exception-caughtSTRING
MEDIUM…egrations/crew-ai/python/ag_ui_crewai/_capabilities.py64def _crewai_version() -> str:CODE
LOW…egrations/crew-ai/python/ag_ui_crewai/_capabilities.py269except Exception: # pragma: no cover - litellm is a declared direct depCODE
LOW…egrations/crew-ai/python/ag_ui_crewai/_capabilities.py47 except Exception: # noqa: BLE001 - a raising property is "not present"CODE
LOW…egrations/crew-ai/python/ag_ui_crewai/_capabilities.py60 except Exception: # noqa: BLE001 - a raising property is "not usable"CODE
LOW…egrations/crew-ai/python/ag_ui_crewai/_capabilities.py69 except Exception: # pragma: no cover - crewai is a hard dependencyCODE
LOWintegrations/crew-ai/python/ag_ui_crewai/sdk.py1181 except Exception: # noqa: BLE001 - releasing must never void the turnCODE
LOWintegrations/crew-ai/python/ag_ui_crewai/_checkpoint.py234 except Exception as exc: # noqa: BLE001 - never let config-building break a runCODE
LOWintegrations/crew-ai/python/ag_ui_crewai/_frames.py495 except Exception as exc: # noqa: BLE001 - best-effort; live fallbackCODE
LOWintegrations/crew-ai/python/ag_ui_crewai/_frames.py505 except Exception as exc: # noqa: BLE001 - best-effort; live fallbackCODE
LOWintegrations/crew-ai/python/ag_ui_crewai/_frames.py515 except Exception as exc: # noqa: BLE001 - best-effortCODE
LOWintegrations/crew-ai/python/ag_ui_crewai/_frames.py1590 except Exception as dump_exc: # noqa: BLE001 - falls back belowCODE
LOWintegrations/crew-ai/python/ag_ui_crewai/endpoint.py496 except Exception: # noqa: BLE001 - defensiveCODE
LOWintegrations/crew-ai/python/ag_ui_crewai/endpoint.py569 except Exception: # noqa: BLE001 - defensiveCODE
LOWintegrations/crew-ai/python/ag_ui_crewai/endpoint.py615 except Exception as grace_exc: # pylint: disable=broad-exception-caughtCODE
LOWintegrations/crew-ai/python/ag_ui_crewai/endpoint.py681 except Exception as recov_exc: # pylint: disable=broad-exception-caughtCODE
LOWintegrations/crew-ai/python/ag_ui_crewai/endpoint.py940 except Exception as exc: # noqa: BLE001 - flush is best-effortCODE
LOWintegrations/crew-ai/python/ag_ui_crewai/endpoint.py1782 except Exception: # noqa: BLE001CODE
LOWintegrations/crew-ai/python/ag_ui_crewai/endpoint.py1912 except Exception as e: # pylint: disable=broad-exception-caughtCODE
LOWintegrations/crew-ai/python/ag_ui_crewai/endpoint.py2013 except Exception as exc: # pylint: disable=broad-exception-caughtCODE
LOWintegrations/crew-ai/python/ag_ui_crewai/endpoint.py2059 except Exception as exc: # pylint: disable=broad-exception-caughtCODE
200 more matches not shown…
Modern AI Meta-Vocabulary67 hits · 194 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.md286// tests/agentic-chat.test.tsCOMMENT
MEDIUMsdks/dotnet/docs/cross-language-testing.md298 await startLLMock(); // Port 5555, loads agentic-chat.json fixturesCODE
MEDIUMsdks/community/go/example/server/README.md74http://localhost:8080/agenticCODE
MEDIUMsdks/community/go/example/server/cmd/main.go64 // boundModel is shared across all concurrent /agentic requests. This is safeCOMMENT
MEDIUMsdks/community/go/example/server/internal/agent/loop.go50 Model model.ToolCallingChatModel // file_read-bound; used by /agentic and the ServerOnly pathCODE
MEDIUMsdks/community/go/example/server/internal/agent/loop.go69// concatenates the events of multiple /agentic responses for one runID and runs theCOMMENT
MEDIUM…ommunity/go/example/server/internal/agent/loop_test.go209// tool-bound model can be shared across concurrent /agentic requests: concurrentCOMMENT
MEDIUM…ommunity/go/example/server/internal/agent/runconfig.go17 // ServerOnly is today's /agentic behavior: only server-owned tools (file_read).COMMENT
MEDIUM…ommunity/go/example/server/internal/agent/runconfig.go25// The zero value is the /agentic default (ServerOnly, lifecycle state, interruptCOMMENT
MEDIUM…ommunity/go/example/server/internal/agent/runconfig.go43// DefaultRunConfig is /agentic's behavior: unchanged from before the refactor.COMMENT
MEDIUM…ommunity/go/example/server/internal/agent/runconfig.go82// the gate, serving plain agentic chat; anything else — including empty — keeps itCOMMENT
MEDIUM…community/go/example/server/internal/runstore/store.go10// A bounded size + TTL caps memory; real multi-tenant use must gate /agenticCOMMENT
MEDIUMsdks/community/go/example/client/internal/agent/chat.go17 return "http://localhost:8080/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.ts540 // 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.py1700 # hand the model back its own chain-of-thought), buffer each reasoning message andCOMMENT
MEDIUM…ions/langgraph/python/tests/test_message_conversion.py159 # chain-of-thought on a stateless round-trip.COMMENT
MEDIUM…ions/langgraph/python/tests/test_message_conversion.py536 # 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
MEDIUM…ations/aws-strands/python/tests/test_example_server.py81 # probed="/agentic-chat-reasoning" would quietly also probeCOMMENT
MEDIUM…ations/aws-strands/python/tests/test_example_server.py82 # "/agentic-chat".COMMENT
MEDIUMintegrations/aws-strands/python/tests/test_a2ui_tool.py1426 # Exactly one forced render turn — no agentic continuation in the sub-agent.COMMENT
MEDIUM…grations/aws-strands/python/src/ag_ui_strands/agent.py1728# Strands multi-agent event discriminators, as emitted byCOMMENT
MEDIUM…grations/aws-strands/python/src/ag_ui_strands/agent.py1740# AG-UI CUSTOM event names carrying multi-agent lifecycle detail that has noCOMMENT
MEDIUM…grations/aws-strands/python/src/ag_ui_strands/agent.py2379 # Detect a multi-agent orchestrator structurally. A Graph or Swarm hasCOMMENT
MEDIUM…grations/aws-strands/python/src/ag_ui_strands/agent.py4545 # Handle multi-agent node start (maps to STEP_STARTED)COMMENT
MEDIUM…grations/aws-strands/python/src/ag_ui_strands/agent.py4556 # Handle multi-agent node stop (maps to STEP_FINISHED).COMMENT
MEDIUM…grations/aws-strands/python/src/ag_ui_strands/agent.py4569 # Handle multi-agent handoff (emit as CUSTOM event)COMMENT
MEDIUM…grations/aws-strands/python/src/ag_ui_strands/agent.py4577 # Handle multi-agent node cancel (emit as CUSTOM event).COMMENT
MEDIUM…grations/aws-strands/python/src/ag_ui_strands/agent.py4588 # Handle multi-agent node interrupt (emit as CUSTOM event)COMMENT
MEDIUM…ws-strands/typescript/examples/server/model-factory.ts55 // `/agentic-chat-reasoning` demo.COMMENT
MEDIUM…tions/aws-strands/typescript/examples/server/server.ts103 // non-strictly by default, so `/agentic-chat` answers `/agentic-chat/` too.COMMENT
MEDIUMintegrations/aws-strands/typescript/src/agent.ts591 // guardrails, and per-model tuning.COMMENT
MEDIUM…/aws-strands/typescript/src/__tests__/a2ui-e2e.test.ts180 // Exactly one forced render turn — no agentic continuation in the sub-agent.COMMENT
MEDIUM…ypescript/src/__tests__/agent-config-forwarded.test.ts344 // `additionalRequestFields.thinking`, `temperature`, and guardrails. ThatCOMMENT
MEDIUM…ypescript/src/__tests__/agent-config-forwarded.test.ts345 // 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.yml154 # this same orchestration — owns a UNIQUE canary ref. This prevents twoCOMMENT
MEDIUMapps/dojo/scripts/generate-content-json.ts430 // to hyphenated filenames (agentic-chat.ts).COMMENT
MEDIUMapps/dojo/e2e/aimock-setup.ts242 // with agentic-gen-ui fixtures, and first-match-wins. By loading HITL first,COMMENT
MEDIUMapps/dojo/e2e/aimock-setup.ts374 // Strands agentic gen UI: the Strands agent registers plan_task_steps,COMMENT
MEDIUMapps/dojo/e2e/aimock-setup.ts442 // CrewAI agentic gen UI: the CrewAI flow registers `generate_task_steps`COMMENT
MEDIUMapps/dojo/e2e/aimock-setup.ts515 // CrewAI agentic gen UI: after simulate_task completes, the flow re-entersCOMMENT
MEDIUMapps/dojo/e2e/aimock-setup.ts877 // Pydantic AI agentic gen UI: the agent registers create_plan,COMMENT
7 more matches not shown…
Structural Annotation Overuse68 hits · 123 pts
SeverityFileLineSnippetContext
LOWCONTRIBUTING.md78### Step 1: Add Your Integration FolderCOMMENT
LOWCONTRIBUTING.md102### Step 2: Register Your Integration in the DojoCOMMENT
LOWCONTRIBUTING.md110### Step 3: Configure the Agent MappingCOMMENT
LOWCONTRIBUTING.md114### Step 4: Set Up Environment VariablesCOMMENT
LOWCONTRIBUTING.md123### Step 5: Add Dojo ScriptsCOMMENT
LOWCONTRIBUTING.md143### Step 6: Add End-to-End TestsCOMMENT
LOWCONTRIBUTING.md160### Step 7: Add CI ConfigurationCOMMENT
LOWsdks/typescript/packages/client/src/apply/default.ts801 // 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
8 more matches not shown…
Deep Nesting154 hits · 112 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
LOWsdks/python/ag_ui/core/types.py49CODE
LOWintegrations/langgraph/python/ag_ui_langgraph/utils.py419CODE
LOWintegrations/langgraph/python/ag_ui_langgraph/utils.py694CODE
LOWintegrations/langgraph/python/ag_ui_langgraph/utils.py1449CODE
LOWintegrations/langgraph/python/ag_ui_langgraph/utils.py1695CODE
LOWintegrations/langgraph/python/ag_ui_langgraph/utils.py1795CODE
LOWintegrations/langgraph/python/ag_ui_langgraph/utils.py1973CODE
LOWintegrations/langgraph/python/ag_ui_langgraph/utils.py2006CODE
LOWintegrations/langgraph/python/ag_ui_langgraph/agent.py832CODE
LOWintegrations/langgraph/python/ag_ui_langgraph/agent.py1018CODE
LOWintegrations/langgraph/python/ag_ui_langgraph/agent.py1237CODE
LOWintegrations/langgraph/python/ag_ui_langgraph/agent.py1377CODE
LOWintegrations/langgraph/python/ag_ui_langgraph/agent.py1589CODE
LOWintegrations/langgraph/python/ag_ui_langgraph/agent.py2164CODE
LOWintegrations/langgraph/python/ag_ui_langgraph/agent.py2522CODE
LOWintegrations/langgraph/python/ag_ui_langgraph/agent.py2592CODE
LOWintegrations/langgraph/python/ag_ui_langgraph/agent.py2868CODE
LOWintegrations/langgraph/python/ag_ui_langgraph/agent.py3066CODE
LOWintegrations/langgraph/python/ag_ui_langgraph/agent.py3937CODE
LOWintegrations/langgraph/python/ag_ui_langgraph/agent.py4269CODE
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
LOW…aged-agents/python/ag_ui_claude_managed_agents/turn.py155CODE
LOW…aged-agents/python/ag_ui_claude_managed_agents/turn.py378CODE
LOW…ged-agents/python/ag_ui_claude_managed_agents/agent.py191CODE
LOWintegrations/crew-ai/python/tests/test_interrupts.py52CODE
LOWintegrations/crew-ai/python/tests/test_interrupts.py606CODE
LOW…/crew-ai/python/tests/test_examples_provider_bounds.py114CODE
LOWintegrations/crew-ai/python/tests/test_llm_timeout.py221CODE
LOWintegrations/crew-ai/python/tests/test_a2ui.py1450CODE
LOWintegrations/crew-ai/python/tests/test_crew_chat.py226CODE
LOWintegrations/crew-ai/python/tests/test_crew_chat.py302CODE
LOWintegrations/crew-ai/python/tests/test_crew_chat.py347CODE
LOWintegrations/crew-ai/python/tests/test_crew_chat.py566CODE
LOWintegrations/crew-ai/python/tests/test_crew_chat.py628CODE
LOWintegrations/crew-ai/python/tests/test_crew_chat.py756CODE
LOWintegrations/crew-ai/python/tests/test_crew_chat.py813CODE
LOWintegrations/crew-ai/python/ag_ui_crewai/sdk.py508CODE
LOWintegrations/crew-ai/python/ag_ui_crewai/sdk.py778CODE
LOWintegrations/crew-ai/python/ag_ui_crewai/sdk.py1158CODE
LOWintegrations/crew-ai/python/ag_ui_crewai/sdk.py1209CODE
LOWintegrations/crew-ai/python/ag_ui_crewai/sdk.py350CODE
LOWintegrations/crew-ai/python/ag_ui_crewai/_responses.py132CODE
LOWintegrations/crew-ai/python/ag_ui_crewai/_responses.py397CODE
LOWintegrations/crew-ai/python/ag_ui_crewai/a2ui_tool.py251CODE
LOWintegrations/crew-ai/python/ag_ui_crewai/a2ui_tool.py486CODE
LOWintegrations/crew-ai/python/ag_ui_crewai/endpoint.py443CODE
LOWintegrations/crew-ai/python/ag_ui_crewai/endpoint.py1439CODE
LOWintegrations/crew-ai/python/ag_ui_crewai/endpoint.py2183CODE
LOWintegrations/crew-ai/python/ag_ui_crewai/endpoint.py3015CODE
LOWintegrations/crew-ai/python/ag_ui_crewai/endpoint.py2360CODE
LOWintegrations/crew-ai/python/ag_ui_crewai/utils.py76CODE
LOWintegrations/crew-ai/python/ag_ui_crewai/utils.py155CODE
94 more matches not shown…
Verbosity Indicators56 hits · 102 pts
SeverityFileLineSnippetContext
LOWsdks/typescript/packages/client/src/apply/default.ts801 // 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
LOWapps/dojo/e2e/interrupt-crewai-fixtures.ts42 // Step 1: extract the meeting -> bare JSON the picker reads (topic/attendee).COMMENT
LOWapps/dojo/e2e/interrupt-crewai-fixtures.ts58 // Step 2: after resume, confirm the booking as the agent's follow-up text.COMMENT
Dead Code40 hits · 80 pts
SeverityFileLineSnippetContext
MEDIUM…ns/langgraph/python/tests/test_deprecation_warnings.py31CODE
MEDIUM…ions/langgraph/python/tests/test_subgraph_streaming.py274CODE
MEDIUM…graph/python/tests/test_parallel_subagent_streaming.py405CODE
MEDIUM…tions/aws-strands/python/tests/test_endpoint_errors.py68CODE
MEDIUM…strands/python/tests/test_force_stop_empty_response.py42CODE
MEDIUM…strands/python/tests/test_force_stop_empty_response.py53CODE
MEDIUM…tions/aws-strands/python/tests/test_session_manager.py66CODE
MEDIUM…tions/aws-strands/python/tests/test_session_manager.py103CODE
MEDIUM…tions/aws-strands/python/tests/test_session_manager.py315CODE
MEDIUM…tions/aws-strands/python/tests/test_session_manager.py551CODE
MEDIUM…rands/python/tests/test_interrupt_client_tool_guard.py50CODE
MEDIUMintegrations/aws-strands/python/tests/test_a2ui_tool.py1352CODE
MEDIUM…strands/python/tests/test_tool_stream_event_handler.py132CODE
MEDIUM…strands/python/tests/test_tool_stream_event_handler.py259CODE
MEDIUMintegrations/aws-strands/python/tests/test_interrupt.py1392CODE
MEDIUM…gent-sdk/python/tests/test_serialize_and_robustness.py563CODE
MEDIUM…grations/claude-agent-sdk/python/tests/test_adapter.py554CODE
MEDIUM…grations/claude-agent-sdk/python/tests/test_adapter.py632CODE
MEDIUM…grations/claude-agent-sdk/python/tests/test_adapter.py769CODE
MEDIUM…grations/claude-agent-sdk/python/tests/test_adapter.py833CODE
MEDIUM…grations/claude-agent-sdk/python/tests/test_adapter.py837CODE
MEDIUM…grations/claude-agent-sdk/python/tests/test_adapter.py889CODE
MEDIUM…grations/claude-agent-sdk/python/tests/test_adapter.py988CODE
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
Modern Structural Boilerplate66 hits · 67 pts
SeverityFileLineSnippetContext
LOWsdks/python/a2ui_toolkit/ag_ui_a2ui_toolkit/__init__.py18__all__ = [CODE
LOWsdks/python/ag_ui/core/__init__.py113__all__ = [CODE
LOWsdks/python/ag_ui/encoder/__init__.py7__all__ = ["EventEncoder", "AGUI_MEDIA_TYPE"]CODE
LOW…rations/llama-index/python/examples/server/__init__.py34__all__ = ["main"]CODE
LOW…grations/langgraph/python/ag_ui_langgraph/a2ui_tool.py66__all__ = [CODE
LOW…egrations/langgraph/python/ag_ui_langgraph/__init__.py35__all__ = [CODE
LOWintegrations/langgraph/python/ag_ui_langgraph/utils.py35logger = logging.getLogger(__name__)CODE
LOWintegrations/langgraph/python/ag_ui_langgraph/agent.py2498 def set_message_in_progress(self, run_id: str, data: MessageInProgress, lane: Optional[str] = None) -> None:CODE
LOWintegrations/langgraph/python/ag_ui_langgraph/agent.py118logger = logging.getLogger(__name__)CODE
LOWintegrations/langgraph/python/ag_ui_langgraph/agent.py2486 def _set_reasoning_process(self, value: Optional[ThinkingProcess], lane: Optional[str] = None) -> None:CODE
LOW…python/examples/agents/multimodal_messages/__init__.py51__all__ = ["graph"]CODE
LOW…-agents/python/ag_ui_claude_managed_agents/__init__.py42__all__ = [CODE
LOWintegrations/crew-ai/python/ag_ui_crewai/events.py87__all__ = [CODE
LOWintegrations/crew-ai/python/ag_ui_crewai/a2ui_tool.py67__all__ = [CODE
LOWintegrations/crew-ai/python/ag_ui_crewai/__init__.py41__all__ = [CODE
LOWintegrations/crew-ai/python/ag_ui_crewai/endpoint.py156__all__ = [CODE
LOWintegrations/crew-ai/python/ag_ui_crewai/utils.py20logger = logging.getLogger(__name__)CODE
LOW…rations/pydantic-ai/python/examples/server/__init__.py115__all__ = ["main"]CODE
LOW…ons/pydantic-ai/python/examples/server/api/__init__.py16__all__ = [CODE
LOW…trands/python/tests/test_raw_and_inner_agent_events.py62 def update_config(self, **model_config: Any) -> None: # pragma: no coverCODE
LOW…rations/aws-strands/python/examples/server/__init__.py106__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__.py18__all__ = [CODE
LOW…python/examples/server/api/predictive_state_updates.py36logger = logging.getLogger(__name__)CODE
LOW…-strands/python/src/ag_ui_strands/client_proxy_tool.py24logger = 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__.py45__all__ = [CODE
LOW…tions/aws-strands/python/src/ag_ui_strands/endpoint.py152async def _settle_and_close(iterator, step) -> None:CODE
LOW…grations/aws-strands/python/src/ag_ui_strands/utils.py37logger = logging.getLogger(__name__)CODE
LOW…grations/aws-strands/python/src/ag_ui_strands/agent.py859logger = 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__.py71__all__ = ["main"]CODE
LOW…are/python/tests/test_terminal_event_on_skipped_run.py171async def _settled_thread_with_lost_dedupe(adk: ADKAgent, thread_id: str) -> None: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.py2554 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.py33logger = 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
6 more matches not shown…
Redundant / Tautological Comments41 hits · 60 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.py4959 # Check if this is another cumulative update for theCOMMENT
LOW…grations/aws-strands/python/src/ag_ui_strands/agent.py5609 # Check if generator is already closed/exhaustedCOMMENT
LOW…ns/claude-agent-sdk/python/ag_ui_claude_sdk/adapter.py879 # Check if this is the state management toolCOMMENT
LOW…ns/claude-agent-sdk/python/ag_ui_claude_sdk/adapter.py938 # 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.py246 # 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.py327 # Check if this tool has predictive state configurationCOMMENT
LOW…tions/adk-middleware/python/src/ag_ui_adk/adk_agent.py2159 # Check if execution is staleCOMMENT
LOW…tions/adk-middleware/python/src/ag_ui_adk/adk_agent.py2169 # Check if task is doneCOMMENT
LOW…tions/adk-middleware/python/src/ag_ui_adk/adk_agent.py1221 # Check if there are pending tool calls AND tool results in unseen messagesCOMMENT
LOW…tions/adk-middleware/python/src/ag_ui_adk/adk_agent.py1368 # Check if there's an upcoming tool batch that will be skippedCOMMENT
LOW…tions/adk-middleware/python/src/ag_ui_adk/adk_agent.py1624 # Check if there were actual tool messages that were filtered outCOMMENT
LOW…tions/adk-middleware/python/src/ag_ui_adk/adk_agent.py2233 # 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.py2331 # Check if session has pending tool calls before cleanupCOMMENT
LOW…tions/adk-middleware/python/src/ag_ui_adk/adk_agent.py3165 # Check if we got a non-partial event (persistence complete)COMMENT
LOW…tions/adk-middleware/python/src/ag_ui_adk/adk_agent.py3197 # Check if this is a streaming chunk that needs regular processingCOMMENT
LOW…tions/adk-middleware/python/src/ag_ui_adk/adk_agent.py3226 # Check if event has function responses (e.g., backend tool results)COMMENT
LOW…tions/adk-middleware/python/src/ag_ui_adk/adk_agent.py3328 # Set flag to continue draining - checked at loop startCOMMENT
LOW…dk-middleware/python/src/ag_ui_adk/event_translator.py49 # Check if Part class has 'thought' in its model fields (Pydantic)COMMENT
LOW…dk-middleware/python/src/ag_ui_adk/event_translator.py360 # 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.py547 # Check if this is a thought part (backwards-compatible)COMMENT
LOW…dk-middleware/python/src/ag_ui_adk/event_translator.py1004 # Check if this tool call ID already existsCOMMENT
LOW…dk-middleware/python/src/ag_ui_adk/event_translator.py1011 # Check if this tool has predictive state configurationCOMMENT
LOW…dk-middleware/python/src/ag_ui_adk/event_translator.py1059 # Check if we should emit confirm_changes tool call after this toolCOMMENT
LOW…dk-middleware/python/src/ag_ui_adk/event_translator.py1070 # 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
Hallucination Indicators6 hits · 60 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
CRITICAL…ged-agents/python/ag_ui_claude_managed_agents/agent.py257 self.client.beta.sessions.events.send(CODE
CRITICAL…ged-agents/python/ag_ui_claude_managed_agents/agent.py378 await self.client.beta.sessions.events.send(CODE
CRITICAL…grations/claude-managed-agents/typescript/src/agent.ts248 await this.client.beta.sessions.events.send(session.sessionId, { events: outbound.events }, { signal });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
AI Slop Vocabulary11 hits · 32 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.ts405 // consumer sees one seamless run.COMMENT
MEDIUMintegrations/langgraph/python/ag_ui_langgraph/agent.py668 # False -> "inline") because the design partner's harness already setsCOMMENT
MEDIUMintegrations/crew-ai/python/tests/conftest.py341# Set by the mutation harness on the child runs it judges each guard by. ThoseCOMMENT
MEDIUMintegrations/crew-ai/python/tests/conftest.py366 # Skipped only for the harness's own child runs, whose parent is alive andCOMMENT
MEDIUM…egrations/crew-ai/python/ag_ui_crewai/_capabilities.py145# endpoint enqueues thread-safely and the test harness snapshots the rightCOMMENT
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.py2998 # No tool results, just use the user messageCOMMENT
MEDIUMscripts/release/verify-release-scope-dropdowns.sh65# Uses yq when available (the CI path on ubuntu-latest), otherwise a robust awkCOMMENT
Cross-Language Confusion5 hits · 19 pts
SeverityFileLineSnippetContext
HIGHsdks/python/tests/test_metadata.py194 The encoder omits an absent metadata object rather than emitting null, soSTRING
HIGHsdks/python/tests/test_subagent.py114 # Legacy: omitted (or null) outcome stays None.COMMENT
HIGHintegrations/langgraph/python/tests/test_multimodal.py2687 """`{"image_url": null}` used to hit `None.startswith` and take theSTRING
HIGHintegrations/crew-ai/python/tests/test_a2ui.py1428 surface, not ``updateDataModel {"hotels": null}``."""STRING
HIGH…ns/crew-ai/python/examples/agents/a2ui_fixed_schema.py143 becomes an empty list: ``updateDataModel {"hotels": null}`` paints nothing atSTRING
Fake / Example Data15 hits · 18 pts
SeverityFileLineSnippetContext
LOW…es/client/src/apply/__tests__/default.activity.test.ts187 { id: "activity-1", role: "user" as const, content: "placeholder" },CODE
LOW…es/client/src/apply/__tests__/default.activity.test.ts207 { id: "activity-1", role: "user" as const, content: "placeholder" },CODE
LOW…es/client/src/apply/__tests__/default.activity.test.ts222 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.py62 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
AI Structural Patterns7 hits · 5 pts
SeverityFileLineSnippetContext
LOW…ged-agents/python/ag_ui_claude_managed_agents/agent.py97CODE
LOW…rations/crew-ai/python/tests/test_task_cancellation.py1042CODE
LOW…grations/aws-strands/python/src/ag_ui_strands/utils.py879CODE
LOW…k-middleware/python/src/ag_ui_adk/client_proxy_tool.py132CODE
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
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.ts237 "Your meeting is scheduled. Let me know if you need anything else!",CODE
Overly Generic Function Names4 hits · 3 pts
SeverityFileLineSnippetContext
LOW…ython/examples/server/routers/agentic_generative_ui.py18async def run_task(CODE
LOW…ns/claude-managed-agents/typescript/examples/server.ts68async function handleRequest(req: http.IncomingMessage, res: http.ServerResponse): Promise<void> {CODE
LOWintegrations/crew-ai/python/ag_ui_crewai/sdk.py1266 async def my_function():STRING
LOW…rations/claude-agent-sdk/typescript/examples/server.ts30async function handleRequest(CODE