AI Slop Code RIsk Monitor

ag-ui-protocol/ag-ui

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

11.9 Moderate pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for ag-ui-protocol/ag-ui, a TypeScript project with 16,441 GitHub stars. SynthScan examined 1,046,372 lines of code across 3705 source files, recording 9152 pattern matches distributed across 27 syntactic categories. The legacy adjusted pattern signal is 11.9 (Moderate pattern signal); it is not an authorship estimate.

Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.

11.9
Adjusted Signal
11.9
Raw Pattern Score
100%
Time Factor
2026-10-10
Last Push
16.4K
Stars
TypeScript
Language
1.0M
Lines of Code
3.7K
Files
9.2K
Pattern Hits
2026-10-12
Scan Date
0.06
HC Hit Rate

Risk Review · v3

Use each vector to guide manual verification of the underlying findings.

Cognitive Ownership Risk 26.5/100 · MEDIUM

Can maintainers explain intent, assumptions, and trade-offs? 6661 finding(s).

Hallucinated Dependency & Supply Chain Risk 5.4/100 · LOW

Are imports declared and package/API names verified? 881 finding(s).

Agent Over-Engineering Ratio 36.0/100 · MEDIUM

Are wrappers, guards, and repeated structures necessary? 6850 finding(s).

PR Review Velocity Impact 46.5/100 · MEDIUM

Which changes need focused human review? 9152 finding(s).

What These Metrics Mean

Adjusted Signal
Legacy pattern score normalized per 1,000 scanned lines and multiplied by the repository-level time factor. It is not an estimate of AI authorship.
Raw Pattern Score
Sum of severity- and context-weighted pattern findings before applying the time factor.
Time Factor
A coarse multiplier based on repository last-push metadata. It does not identify when individual code was written.
Pattern Hits
Count of configured pattern findings. Review each location and surrounding code before acting.
HC Hit Rate
High- and critical-severity findings per scanned file. Severity is a configured detector weight, not proof of a vulnerability or authorship.
Lines / Files
Scan coverage denominators used by the legacy normalized score.

Pattern-Signal History

This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.

Severity Breakdown

Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.

CRITICAL 30HIGH 197MEDIUM 1336LOW 7589

Directory Score Breakdown

This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.

Pattern Findings

The scanner identified 9152 distinct pattern matches across 27 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. 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 configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.

Hyper-Verbose Identifiers5233 hits · 4463 pts
SeverityFileLineSnippetContext
LOWsdks/python/tests/test_interrupts.py8 def test_required_fields_only(self):CODE
LOW⚡sdks/python/tests/test_interrupts.py28 def test_alias_camel_case_on_serialization(self):CODE
LOW⚡sdks/python/tests/test_interrupts.py34 def test_parse_from_camel_case(self):CODE
LOW⚡sdks/python/tests/test_interrupts.py42 def test_rejects_missing_reason(self):CODE
LOW⚡sdks/python/tests/test_interrupts.py48 def test_resolved_with_payload(self):CODE
LOW⚡sdks/python/tests/test_interrupts.py53 def test_cancelled_without_payload(self):CODE
LOW⚡sdks/python/tests/test_interrupts.py58 def test_rejects_unknown_status(self):CODE
LOW⚡sdks/python/tests/test_interrupts.py62 def test_rejects_missing_interrupt_id(self):CODE
LOW⚡sdks/python/tests/test_interrupts.py66 def test_alias_camel_case_on_serialization(self):CODE
LOW⚡sdks/python/tests/test_interrupts.py72 def test_parse_from_camel_case(self):CODE
LOW⚡sdks/python/tests/test_interrupts.py102 def test_json_round_trip_of_every_value_shape(self):CODE
LOW⚡sdks/python/tests/test_interrupts.py107 def test_empty_object_round_trips_distinct_from_absent(self):CODE
LOW⚡sdks/python/tests/test_interrupts.py112 def test_explicit_null_reads_back_as_absent(self):CODE
LOW⚡sdks/python/tests/test_interrupts.py118 def test_plain_model_dump_json_round_trips(self):CODE
LOW⚡sdks/python/tests/test_interrupts.py124 def test_absent_metadata_serializes_without_the_key(self):CODE
LOW⚡sdks/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
LOW⚡sdks/python/tests/test_null_omission.py219 def _reverted_tool_call_start(self) -> Type[ToolCallStartEvent]:CODE
LOW⚡sdks/python/tests/test_null_omission.py222 def _serialize_without_omission(CODE
LOW⚡sdks/python/tests/test_null_omission.py230 def test_reverting_the_setting_reintroduces_the_null(self):CODE
LOW⚡sdks/python/tests/test_null_omission.py241 def test_reverting_the_setting_reintroduces_the_null_in_the_encoder(self):CODE
LOW⚡sdks/python/tests/test_null_omission.py246 def test_omission_holds_for_the_unmodified_class(self):CODE
LOW⚡sdks/python/tests/test_null_omission.py254 def test_null_inside_a_metadata_dict_survives(self):CODE
LOW⚡sdks/python/tests/test_null_omission.py261 def test_null_extra_field_survives(self):CODE
LOW⚡sdks/python/tests/test_null_omission.py267 def test_required_field_holding_null_survives(self):CODE
LOW⚡sdks/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.py296 def test_run_agent_input_accepts_absent_state(self):CODE
LOWsdks/python/tests/test_null_omission.py319 def test_fixture_covers_this_sdk(self):CODE
LOWsdks/python/tests/test_null_omission.py322 def test_every_case_reserializes_to_its_expected_json(self):CODE
LOWsdks/python/tests/test_capabilities.py48def fully_populated_capabilities() -> AgentCapabilities:CODE
LOWsdks/python/tests/test_capabilities.py218 def test_dump_matches_the_wire_shape_exactly(self):CODE
LOWsdks/python/tests/test_capabilities.py221 def test_camel_case_keys_are_the_ones_on_the_wire(self):CODE
LOWsdks/python/tests/test_capabilities.py243 def test_subagents_is_one_lowercase_word(self):CODE
LOWsdks/python/tests/test_capabilities.py250 def test_no_snake_case_leaks_into_the_wire(self):CODE
LOWsdks/python/tests/test_capabilities.py268 def test_round_trip_parses_back_to_an_equal_model(self):CODE
LOWsdks/python/tests/test_capabilities.py301 def test_fixture_covers_this_sdk(self):CODE
LOWsdks/python/tests/test_capabilities.py312 def test_every_case_reserializes_to_its_expected_json(self):CODE
LOW⚡sdks/python/tests/test_capabilities.py324 def test_empty_agent_capabilities_serializes_to_an_empty_object(self):CODE
LOW⚡sdks/python/tests/test_capabilities.py327 def test_partially_declared_groups_omit_their_undeclared_fields(self):CODE
LOW⚡sdks/python/tests/test_capabilities.py337 def test_no_null_survives_anywhere_in_a_partial_dump(self):CODE
LOWsdks/python/tests/test_capabilities.py353 def test_false_and_zero_are_values_and_stay(self):CODE
LOWsdks/python/tests/test_capabilities.py369 def test_old_wire_key_does_not_populate_subagents(self):CODE
LOW⚡sdks/python/tests/test_capabilities.py388 def test_old_wire_key_nested_in_agent_capabilities(self):CODE
LOW⚡sdks/python/tests/test_capabilities.py394 def test_old_attribute_name_is_gone(self):CODE
LOW⚡sdks/python/tests/test_capabilities.py398 def test_old_class_name_is_a_deprecated_alias_only(self):CODE
LOWsdks/python/tests/test_capabilities.py413 def test_generated_classes_are_the_exported_ones(self):CODE
LOWsdks/python/tests/test_capabilities.py448 def test_description_is_optional_and_omitted_when_absent(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
5173 more matches not shown…
Decorative Section Separators994 hits · 3535 pts
SeverityFileLineSnippetContext
MEDIUM⚡sdks/python/a2ui_toolkit/ag_ui_a2ui_toolkit/__init__.py295# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡sdks/python/a2ui_toolkit/ag_ui_a2ui_toolkit/__init__.py297# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡sdks/python/a2ui_toolkit/ag_ui_a2ui_toolkit/__init__.py453# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡sdks/python/a2ui_toolkit/ag_ui_a2ui_toolkit/__init__.py455# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡sdks/python/a2ui_toolkit/ag_ui_a2ui_toolkit/__init__.py464# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡sdks/python/a2ui_toolkit/ag_ui_a2ui_toolkit/__init__.py472# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡sdks/python/a2ui_toolkit/ag_ui_a2ui_toolkit/__init__.py824# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡sdks/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.ts480 // ─── Full text events (no chunk transformation) ────────────────────────────COMMENT
MEDIUM…eware/__tests__/middleware-chained-integration.test.ts499 // ─── Tool call chunk transformation ────────────────────────────────────────COMMENT
MEDIUM…eware/__tests__/middleware-chained-integration.test.ts532 // ─── Full tool call events (no chunk transformation) ───────────────────────COMMENT
MEDIUM…eware/__tests__/middleware-chained-integration.test.ts562 // ─── State propagation ─────────────────────────────────────────────────────COMMENT
MEDIUM…eware/__tests__/middleware-chained-integration.test.ts606 // ─── MESSAGES_SNAPSHOT ─────────────────────────────────────────────────────COMMENT
MEDIUM…eware/__tests__/middleware-chained-integration.test.ts635 // ─── Multiple sequential messages ──────────────────────────────────────────COMMENT
MEDIUM…eware/__tests__/middleware-chained-integration.test.ts655 // ─── Mixed text + tool call events ─────────────────────────────────────────COMMENT
MEDIUM…eware/__tests__/middleware-chained-integration.test.ts688 // ─── Mixed middleware types ────────────────────────────────────────────────COMMENT
MEDIUM…eware/__tests__/middleware-chained-integration.test.ts745 // ─── Initial messages / pre-existing state ─────────────────────────────────COMMENT
MEDIUM…eware/__tests__/middleware-chained-integration.test.ts793 // ─── Event-with-state tracking across all event types ──────────────────────COMMENT
MEDIUM…net/tests/AGUI.Client.UnitTests/ProtocolVersionTest.cs32 // ────────────────────────────────────────────────COMMENT
MEDIUM…net/tests/AGUI.Client.UnitTests/ProtocolVersionTest.cs34 // ────────────────────────────────────────────────COMMENT
MEDIUM…net/tests/AGUI.Client.UnitTests/ProtocolVersionTest.cs52 // ────────────────────────────────────────────────COMMENT
MEDIUM…net/tests/AGUI.Client.UnitTests/ProtocolVersionTest.cs54 // ────────────────────────────────────────────────COMMENT
MEDIUM…t/tests/AGUI.Client.UnitTests/ConformanceStreamTest.cs115 // ────────────────────────────────────────────────COMMENT
MEDIUM…t/tests/AGUI.Client.UnitTests/ConformanceStreamTest.cs117 // ────────────────────────────────────────────────COMMENT
MEDIUM…t/tests/AGUI.Client.UnitTests/ConformanceStreamTest.cs149 // ────────────────────────────────────────────────COMMENT
MEDIUM…t/tests/AGUI.Client.UnitTests/ConformanceStreamTest.cs151 // ────────────────────────────────────────────────COMMENT
MEDIUM…t/tests/AGUI.Client.UnitTests/ConformanceStreamTest.cs446 // ────────────────────────────────────────────────COMMENT
MEDIUM…t/tests/AGUI.Client.UnitTests/ConformanceStreamTest.cs448 // ────────────────────────────────────────────────COMMENT
MEDIUM…t/tests/AGUI.Client.UnitTests/ConformanceStreamTest.cs725 // ────────────────────────────────────────────────COMMENT
MEDIUM…t/tests/AGUI.Client.UnitTests/ConformanceStreamTest.cs727 // ────────────────────────────────────────────────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
934 more matches not shown…
Over-Commented Block812 hits · 723 pts
SeverityFileLineSnippetContext
LOWsdks/python/tests/test_generated_models.py61# null-means-absent — idiomatic Python passes None for optionals; theCOMMENT
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/index.ts1// The generated protocol source: types and constants, regenerated fromCOMMENT
LOW…kages/core/src/__tests__/run-agent-input-lists.test.ts1import { describe, expect, it } from "vitest";COMMENT
LOWsdks/typescript/packages/client/src/apply/default.ts401 const { toolCallId, toolCallName, parentMessageId, subagentRunId } =COMMENT
LOWsdks/typescript/packages/client/src/apply/default.ts781 // travel back to the backend — `prepareRunAgentInput` strips themCOMMENT
LOW…ypescript/packages/client/src/middleware/middleware.ts61 // below. No event reaching it today can make it fail — a producer-sentCOMMENT
LOWsdks/typescript/packages/client/src/compact/compact.ts381function flushState(COMMENT
LOWsdks/typescript/packages/client/src/verify/verify.ts21 // what tells a replacing snapshot from a first one.COMMENT
LOWsdks/typescript/packages/client/src/verify/verify.ts41 const activeReasoningSpans = new Set<string>(); // open REASONING_START idsCOMMENT
LOWsdks/typescript/packages/client/src/verify/verify.ts61 let runFinished = false;COMMENT
LOWsdks/typescript/packages/client/src/verify/verify.ts121 activeSubagents.clear();COMMENT
LOWsdks/typescript/packages/client/src/verify/verify.ts641 }COMMENT
LOWsdks/typescript/packages/client/src/verify/verify.ts661 // ACTIVITY_DELTA against the same messageId, so an owner change betweenCOMMENT
LOWsdks/typescript/packages/client/src/verify/verify.ts781 case EventType.REASONING_ENCRYPTED_VALUE: {COMMENT
LOW…pt/packages/client/src/enforce/__tests__/strip.test.ts21const MESSAGES_SNAPSHOT = eventSchema(EventType.MESSAGES_SNAPSHOT);COMMENT
LOW…nforce/__tests__/literal-value-across-zod-3-25.test.ts1import { describe, expect, it } from "vitest";COMMENT
LOWsdks/typescript/packages/client/src/legacy/convert.ts281 // on the substitution below. `toolCallName` is `z.string()`, so anCOMMENT
LOWsdks/typescript/packages/client/src/agent/http.ts81 this.url = config.url;COMMENT
LOWsdks/typescript/packages/client/src/agent/agent.ts241COMMENT
LOWsdks/typescript/packages/client/src/agent/subscriber.ts281 return obj;COMMENT
LOWsdks/typescript/packages/client/src/agent/subscriber.ts421 // TypeError` alone attributed EVERY TypeError to the freeze guard --COMMENT
LOW…ages/client/src/agent/__tests__/legacy-bridged.test.ts381COMMENT
LOW…ient/src/agent/__tests__/subscriber.clone-cost.test.ts161 // the final return path does NOT need to clone-to-unfreeze either.COMMENT
LOWsdks/typescript/packages/client/src/chunks/transform.ts501 }COMMENT
LOWsdks/typescript/packages/client/src/chunks/transform.ts541 messageId: messageChunkEvent.messageId,COMMENT
LOWsdks/typescript/packages/client/src/chunks/transform.ts561 // and it rejects the raw CHUNK before this stage ever runs.COMMENT
LOWsdks/typescript/packages/client/src/chunks/transform.ts581 // something the producer also sent under that name.COMMENT
LOWsdks/typescript/packages/client/src/chunks/transform.ts601 textMessageResult.push(textMessageContentEvent);COMMENT
LOWsdks/typescript/packages/client/src/chunks/transform.ts941 }COMMENT
LOW…t/src/chunks/__tests__/expansion-never-repairs.test.ts241 });COMMENT
LOWsdks/typescript/packages/client/src/transform/http.ts21 // attached while the HEADERS event is being handled, so that event is allCOMMENT
LOWsdks/typescript/packages/client/src/transform/http.ts81 } else {COMMENT
LOW…lient/src/transform/__tests__/transport-parity.test.ts141 // and still dropped: an empty message is valid protobuf, and what an arm weCOMMENT
LOW…lient/src/transform/__tests__/transport-parity.test.ts381 // The same two rules one level out, beside a future arm rather thanCOMMENT
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…net/tests/AGUI.Client.UnitTests/ProtocolVersionTest.cs21/// The .NET SDK has no logger — its warnings are <see cref="Trace.TraceWarning(string)"/>COMMENT
LOW…t/tests/AGUI.Client.UnitTests/ConformanceStreamTest.cs21/// Runs the conformance lane on its own, with nothing else in this assemblyCOMMENT
LOW…t/tests/AGUI.Client.UnitTests/ConformanceStreamTest.cs41/// The .NET conformance lane: every shared fixture stream inCOMMENT
LOW…t/tests/AGUI.Client.UnitTests/ConformanceStreamTest.cs161 /// <remarks>COMMENT
LOW…t/tests/AGUI.Client.UnitTests/ConformanceStreamTest.cs181 /// The same delivered events as <see cref="EventTypes"/>, index forCOMMENT
LOW…t/tests/AGUI.Client.UnitTests/ConformanceStreamTest.cs661 /// <summary>JSON-quotes a string for a failure message.</summary>COMMENT
LOW…t/tests/AGUI.Client.UnitTests/ConformanceStreamTest.cs721COMMENT
LOW…t/tests/AGUI.Client.UnitTests/ConformanceStreamTest.cs741 /// </para>COMMENT
LOW…/tests/AGUI.Abstractions.UnitTests/NullOmissionTest.cs21/// <c>DefaultIgnoreCondition = WhenWritingNull</c> on <see cref="AGUIJsonSerializerContext"/>COMMENT
LOW…actions.UnitTests/AgentCapabilitiesWireContractTest.cs1using System.Text.Json;COMMENT
LOW…actions.UnitTests/AgentCapabilitiesWireContractTest.cs21/// <para>COMMENT
LOW…Abstractions.UnitTests/AgentCapabilitiesFixtureTest.cs21/// formatter, the protobuf formatter and the HTTP transport all use — then compared to theCOMMENT
LOW…Samples/GettingStarted/Step12_ParallelToolCallsTest.cs21/// calls (get_weather + get_current_time) in one assistant turn. FunctionInvokingChatClientCOMMENT
LOW…ts/Samples/GettingStarted/Step01_GettingStartedTest.cs141 //COMMENT
LOWsdks/dotnet/samples/AGUI.Samples.Shared/AGUIResults.cs21 /// Creates a streaming <see cref="IResult"/> that negotiates the AG-UI event streamCOMMENT
LOW…IClientServer/AGUIDojoServer/ChatClientAgentFactory.cs21{COMMENT
LOW…ts/Step06_RawEvents.Server/UsageRawEventsChatClient.cs1using System.Runtime.CompilerServices;COMMENT
LOW…ts/Step06_RawEvents.Server/UsageRawEventsChatClient.cs21/// </para>COMMENT
752 more matches not shown…
Unused Imports815 hits · 664 pts
SeverityFileLineSnippetContext
LOWsdks/python/tests/test_text_roles.py5CODE
LOWsdks/python/tests/test_events.py8CODE
LOWsdks/python/tests/test_types.py2CODE
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/version.py36CODE
LOWsdks/python/ag_ui/core/events.py18CODE
LOWsdks/python/ag_ui/core/events.py18CODE
LOWsdks/python/ag_ui/core/events.py18CODE
LOWsdks/python/ag_ui/core/events.py18CODE
LOWsdks/python/ag_ui/core/events.py18CODE
LOWsdks/python/ag_ui/core/events.py18CODE
LOWsdks/python/ag_ui/core/events.py18CODE
LOWsdks/python/ag_ui/core/events.py18CODE
LOWsdks/python/ag_ui/core/events.py18CODE
LOWsdks/python/ag_ui/core/events.py18CODE
LOWsdks/python/ag_ui/core/events.py18CODE
LOWsdks/python/ag_ui/core/events.py18CODE
LOWsdks/python/ag_ui/core/events.py18CODE
LOWsdks/python/ag_ui/core/events.py18CODE
LOWsdks/python/ag_ui/core/events.py18CODE
LOWsdks/python/ag_ui/core/events.py18CODE
LOWsdks/python/ag_ui/core/events.py18CODE
LOWsdks/python/ag_ui/core/events.py18CODE
LOWsdks/python/ag_ui/core/events.py18CODE
LOWsdks/python/ag_ui/core/events.py18CODE
LOWsdks/python/ag_ui/core/events.py18CODE
LOWsdks/python/ag_ui/core/events.py18CODE
LOWsdks/python/ag_ui/core/events.py18CODE
LOWsdks/python/ag_ui/core/events.py18CODE
LOWsdks/python/ag_ui/core/events.py18CODE
LOWsdks/python/ag_ui/core/events.py18CODE
LOWsdks/python/ag_ui/core/events.py18CODE
LOWsdks/python/ag_ui/core/events.py18CODE
LOWsdks/python/ag_ui/core/events.py18CODE
LOWsdks/python/ag_ui/core/events.py18CODE
LOWsdks/python/ag_ui/core/events.py18CODE
LOWsdks/python/ag_ui/core/events.py18CODE
LOWsdks/python/ag_ui/core/events.py18CODE
LOWsdks/python/ag_ui/core/events.py18CODE
LOWsdks/python/ag_ui/core/events.py18CODE
LOWsdks/python/ag_ui/core/events.py18CODE
LOWsdks/python/ag_ui/core/events.py18CODE
LOWsdks/python/ag_ui/core/events.py18CODE
LOWsdks/python/ag_ui/core/events.py18CODE
LOWsdks/python/ag_ui/core/events.py18CODE
LOWsdks/python/ag_ui/core/events.py18CODE
LOWsdks/python/ag_ui/core/events.py18CODE
755 more matches not shown…
Cross-File Repetition87 hits · 435 pts
SeverityFileLineSnippetContext
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…vity/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…egrations/langgraph/python/ag_ui_langgraph/endpoint.py0add a langroid agent endpoint to fastapi app. args: app: fastapi application or apirouter to register the routes on. ageSTRING
HIGH…egrations/watsonx/python/src/ag_ui_watsonx/endpoint.py0add a langroid agent endpoint to fastapi app. args: app: fastapi application or apirouter to register the routes on. ageSTRING
HIGH…s/claude-agent-sdk/python/ag_ui_claude_sdk/endpoint.py0add a langroid agent endpoint to fastapi app. args: app: fastapi application or apirouter to register the routes on. ageSTRING
HIGH…rations/langroid/python/src/ag_ui_langroid/endpoint.py0add a langroid agent endpoint to fastapi app. args: app: fastapi application or apirouter to register the routes on. ageSTRING
HIGH…s/langgraph/python/tests/test_endpoint_route_kwargs.py0tests for route metadata passthrough on the fastapi endpoint helper. the agent route used to be registered with a bare dSTRING
HIGH…aged-agents/python/tests/test_endpoint_route_kwargs.py0tests for route metadata passthrough on the fastapi endpoint helper. the agent route used to be registered with a bare dSTRING
HIGH…ons/watsonx/python/tests/test_endpoint_route_kwargs.py0tests for route metadata passthrough on the fastapi endpoint helper. the agent route used to be registered with a bare dSTRING
HIGH…e-agent-sdk/python/tests/test_endpoint_route_kwargs.py0tests for route metadata passthrough on the fastapi endpoint helper. the agent route used to be registered with a bare dSTRING
HIGH…ns/langroid/python/tests/test_endpoint_route_kwargs.py0tests for route metadata passthrough on the fastapi endpoint helper. the agent route used to be registered with a bare dSTRING
HIGH…-middleware/python/tests/test_endpoint_route_kwargs.py0tests for route metadata passthrough on the fastapi endpoint helper. the agent route used to be registered with a bare dSTRING
HIGH…s/langgraph/python/tests/test_endpoint_route_kwargs.py0metadata must not be copied onto the second route: a duplicated ``operation_id`` is what breaks openapi client generatorSTRING
HIGH…aged-agents/python/tests/test_endpoint_route_kwargs.py0metadata must not be copied onto the second route: a duplicated ``operation_id`` is what breaks openapi client generatorSTRING
HIGH…ons/watsonx/python/tests/test_endpoint_route_kwargs.py0metadata must not be copied onto the second route: a duplicated ``operation_id`` is what breaks openapi client generatorSTRING
HIGH…e-agent-sdk/python/tests/test_endpoint_route_kwargs.py0metadata must not be copied onto the second route: a duplicated ``operation_id`` is what breaks openapi client generatorSTRING
HIGH…ns/langroid/python/tests/test_endpoint_route_kwargs.py0metadata must not be copied onto the second route: a duplicated ``operation_id`` is what breaks openapi client generatorSTRING
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
27 more matches not shown…
Empty Error Handlers82 hits · 410 pts
SeverityFileLineSnippetContext
HIGHsdks/python/tests/test_null_omission.py65except TypeError: # unhashable annotationCODE
HIGHsdks/python/a2ui_toolkit/ag_ui_a2ui_toolkit/__init__.py276except (TypeError, ValueError):CODE
HIGHsdks/community/c++/tests/mock_server/mock_ag_server.py428except:CODE
HIGHintegrations/langgraph/python/ag_ui_langgraph/utils.py1951except Exception:CODE
HIGHintegrations/langgraph/python/ag_ui_langgraph/utils.py1959except Exception:CODE
HIGHintegrations/langgraph/python/ag_ui_langgraph/utils.py1966except Exception:CODE
HIGHintegrations/langgraph/python/ag_ui_langgraph/utils.py1973except Exception:CODE
HIGH…ns/langgraph/python/tests/test_deprecation_warnings.py55except Exception:CODE
HIGH…graph/python/tests/test_parallel_subagent_streaming.py424except Exception:CODE
HIGH…aged-agents/python/ag_ui_claude_managed_agents/turn.py314except Exception: # noqa: BLE001 - best-effort; the done callback reports itCODE
HIGHintegrations/crew-ai/python/tests/test_reasoning.py104except Exception: # noqa: BLE001CODE
HIGHintegrations/crew-ai/python/tests/test_interrupts.py60except json.JSONDecodeError:CODE
HIGHintegrations/crew-ai/python/tests/conftest.py92except AttributeError: # pragma: no cover - symbol removed in refactorCODE
HIGHintegrations/crew-ai/python/tests/conftest.py167except Exception: # pragma: no cover - defensiveCODE
HIGHintegrations/crew-ai/python/tests/test_streaming.py53except Exception: # noqa: BLE001 - handler errors surface elsewhereCODE
HIGHintegrations/crew-ai/python/tests/test_streaming.py1574except Exception: # noqa: BLE001 - outer intentionally swallows + continuesCODE
HIGHintegrations/crew-ai/python/tests/test_streaming.py63except Exception: # noqa: BLE001 - flush is best-effortCODE
HIGH…i/python/tests/test_conversational_persistence_gate.py149except AttributeError:CODE
HIGHintegrations/crew-ai/python/tests/test_checkpointing.py557except StopAsyncIteration: # pragma: no cover - defensiveCODE
HIGHintegrations/crew-ai/python/tests/test_crew_chat.py1163except TypeError:CODE
HIGHintegrations/crew-ai/python/ag_ui_crewai/a2ui_tool.py367except RuntimeError:CODE
HIGHintegrations/crew-ai/python/ag_ui_crewai/endpoint.py197except (AttributeError, ValueError): # pragma: no cover - defensiveCODE
HIGHintegrations/crew-ai/python/ag_ui_crewai/endpoint.py202except (AttributeError, ValueError): # pragma: no cover - defensiveCODE
HIGHintegrations/crew-ai/python/ag_ui_crewai/endpoint.py1345except (asyncio.CancelledError, StopAsyncIteration):CODE
HIGH…egrations/crew-ai/python/ag_ui_crewai/_conversation.py860except AttributeError:CODE
HIGH…egrations/crew-ai/python/ag_ui_crewai/_conversation.py362except ValueError: # pragma: no cover - defensiveCODE
HIGH…ations/aws-strands/python/tests/test_url_fetch_ssrf.py1261except OSError:CODE
HIGH…ations/aws-strands/python/tests/test_url_fetch_ssrf.py914except OSError:CODE
HIGH…ions/aws-strands/python/src/ag_ui_strands/a2ui_tool.py380except RuntimeError:CODE
HIGH…tions/aws-strands/python/src/ag_ui_strands/endpoint.py173except BaseException:CODE
HIGH…tions/aws-strands/python/src/ag_ui_strands/endpoint.py179except BaseException:CODE
HIGH…tions/aws-strands/python/src/ag_ui_strands/endpoint.py380except Exception:CODE
HIGH…grations/aws-strands/python/src/ag_ui_strands/utils.py310except ValueError:CODE
HIGH…grations/aws-strands/python/src/ag_ui_strands/agent.py448except TypeError:CODE
HIGH…grations/aws-strands/python/src/ag_ui_strands/agent.py7622except (CODE
HIGH…c/python/ag_ui_agentspec/agentspec_tracing_exporter.py377except:CODE
HIGH…dk-middleware/python/tests/test_tool_error_handling.py359except Exception:CODE
HIGH…dk-middleware/python/tests/test_tool_error_handling.py515except Exception:CODE
HIGH…dk-middleware/python/tests/test_tool_error_handling.py547except Exception:CODE
HIGH…/adk-middleware/python/tests/test_concurrent_limits.py143except asyncio.CancelledError:CODE
HIGH…/adk-middleware/python/tests/test_concurrent_limits.py147except asyncio.CancelledError:CODE
HIGH…s/adk-middleware/python/tests/test_context_handling.py47except RuntimeError:CODE
HIGH…s/adk-middleware/python/tests/test_context_handling.py52except RuntimeError:CODE
HIGH…s/adk-middleware/python/tests/test_context_handling.py191except RuntimeError:CODE
HIGH…s/adk-middleware/python/tests/test_context_handling.py196except RuntimeError:CODE
HIGH…s/adk-middleware/python/tests/test_context_handling.py286except RuntimeError:CODE
HIGH…s/adk-middleware/python/tests/test_context_handling.py291except RuntimeError:CODE
HIGH…s/adk-middleware/python/tests/test_context_handling.py348except RuntimeError:CODE
HIGH…s/adk-middleware/python/tests/test_context_handling.py353except RuntimeError:CODE
HIGH…s/adk-middleware/python/tests/test_context_handling.py402except RuntimeError:CODE
HIGH…s/adk-middleware/python/tests/test_context_handling.py407except RuntimeError:CODE
HIGH…e/python/tests/test_thought_to_thinking_integration.py58except RuntimeError:CODE
HIGH…e/python/tests/test_thought_to_thinking_integration.py63except RuntimeError:CODE
HIGH…ware/python/tests/test_adk_agent_memory_integration.py164except:CODE
HIGH…tests/test_issue_437_skip_summarization_integration.py91except RuntimeError:CODE
HIGH…tests/test_issue_437_skip_summarization_integration.py96except RuntimeError:CODE
HIGH…tests/test_issue_437_skip_summarization_integration.py387except RuntimeError:CODE
HIGH…tests/test_issue_437_skip_summarization_integration.py392except RuntimeError:CODE
HIGH…tests/test_issue_437_skip_summarization_integration.py508except RuntimeError:CODE
HIGH…tests/test_issue_437_skip_summarization_integration.py513except RuntimeError:CODE
22 more matches not shown…
Hallucination Indicators30 hits · 380 pts
SeverityFileLineSnippetContext
CRITICAL⚡…va/com/agui/community/spring/ai/SpringAiAgentTest.java460 var toolCall = new com.agui.community.core.message.ToolCall(CODE
CRITICAL⚡…va/com/agui/community/spring/ai/SpringAiAgentTest.java461 "call-1", new com.agui.community.core.message.FunctionCall(CODE
CRITICAL⚡…va/com/agui/community/spring/ai/SpringAiAgentTest.java463 var assistant = new com.agui.community.core.message.AssistantMessage("a1", "", null, List.of(toolCall));CODE
CRITICAL⚡…va/com/agui/community/spring/ai/SpringAiAgentTest.java464 var toolResult = new com.agui.community.core.message.ToolMessage(CODE
CRITICAL…va/com/agui/community/spring/ai/SpringAiAgentTest.java495 var reasoning = new com.agui.community.core.message.ReasoningMessage("re1", "weighing the options");CODE
CRITICAL…va/com/agui/community/spring/ai/SpringAiAgentTest.java514 var reasoning = new com.agui.community.core.message.ReasoningMessage("re1", " ");CODE
CRITICAL…va/com/agui/community/spring/ai/SpringAiAgentTest.java624 messages.add(new com.agui.community.core.message.ReasoningMessage(CODE
CRITICAL…va/com/agui/community/spring/ai/SpringAiAgentTest.java627 messages.add(new com.agui.community.core.message.AssistantMessage(CODE
CRITICAL…n/java/com/agui/community/spring/ai/SpringAiAgent.java415 baseMessages.add(0, new org.springframework.ai.chat.messages.SystemMessage(prompt));CODE
CRITICAL⚡…n/java/com/agui/community/spring/ai/SpringAiAgent.java559 produced.add(new com.agui.community.core.message.AssistantMessage(translator.messageId(), text));CODE
CRITICAL⚡…n/java/com/agui/community/spring/ai/SpringAiAgent.java564 toolCalls.add(new com.agui.community.core.message.ToolCall(CODE
CRITICAL⚡…n/java/com/agui/community/spring/ai/SpringAiAgent.java565 call.id(), new com.agui.community.core.message.FunctionCall(call.name(), call.arguments())));CODE
CRITICAL⚡…n/java/com/agui/community/spring/ai/SpringAiAgent.java567 produced.add(new com.agui.community.core.message.AssistantMessage(CODE
CRITICAL…n/java/com/agui/community/spring/ai/SpringAiAgent.java581 produced.add(new com.agui.community.core.message.ToolMessage(CODE
CRITICAL…n/java/com/agui/community/spring/ai/SpringAiAgent.java640 messages.add(org.springframework.ai.chat.messages.ToolResponseMessage.builder()CODE
CRITICAL…n/java/com/agui/community/spring/ai/SpringAiAgent.java641 .responses(List.of(new org.springframework.ai.chat.messages.ToolResponseMessage.ToolResponse(CODE
CRITICAL⚡…n/java/com/agui/community/spring/ai/SpringAiAgent.java809 return new org.springframework.ai.chat.messages.AssistantMessage(CODE
CRITICAL⚡…n/java/com/agui/community/spring/ai/SpringAiAgent.java813 case USER -> new org.springframework.ai.chat.messages.UserMessage(content);CODE
CRITICAL⚡…n/java/com/agui/community/spring/ai/SpringAiAgent.java814 case ASSISTANT -> new org.springframework.ai.chat.messages.AssistantMessage(content);CODE
CRITICAL⚡…n/java/com/agui/community/spring/ai/SpringAiAgent.java815 case SYSTEM, DEVELOPER -> new org.springframework.ai.chat.messages.SystemMessage(content);CODE
CRITICAL⚡…n/java/com/agui/community/spring/ai/SpringAiAgent.java833 calls.add(new org.springframework.ai.chat.messages.AssistantMessage.ToolCall(CODE
CRITICAL⚡…n/java/com/agui/community/spring/ai/SpringAiAgent.java836 return org.springframework.ai.chat.messages.AssistantMessage.builder()CODE
CRITICAL⚡…n/java/com/agui/community/spring/ai/SpringAiAgent.java846 return org.springframework.ai.chat.messages.ToolResponseMessage.builder()CODE
CRITICAL⚡…n/java/com/agui/community/spring/ai/SpringAiAgent.java848 new org.springframework.ai.chat.messages.ToolResponseMessage.ToolResponse(CODE
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.py330 self.client.beta.sessions.events.send(CODE
CRITICAL…ged-agents/python/ag_ui_claude_managed_agents/agent.py462 await self.client.beta.sessions.events.send(CODE
CRITICAL…grations/claude-managed-agents/typescript/src/agent.ts423 await this.client.beta.sessions.events.send(CODE
Self-Referential Comments125 hits · 377 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.py35 # Create an event encoder to properly format SSE eventsCOMMENT
MEDIUM⚡…ions/langgraph/python/tests/test_message_conversion.py169 # Create a message-like object with an unsupported roleCOMMENT
MEDIUM…python/examples/agents/multimodal_messages/__init__.py23# 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.py31 # Create an event encoder to properly format SSE eventsCOMMENT
MEDIUM…eatures/python/examples/example_server/agentic_chat.py36 # Create an event encoder to properly format SSE eventsCOMMENT
MEDIUM…es/python/examples/example_server/human_in_the_loop.py30 # Create an event encoder to properly format SSE eventsCOMMENT
MEDIUM…ython/examples/example_server/agentic_generative_ui.py26 # Create an event encoder to properly format SSE eventsCOMMENT
MEDIUM…ython/examples/example_server/agentic_generative_ui.py83 # Create a copy to track changes for JSON patchesCOMMENT
MEDIUM…eatures/python/examples/example_server/shared_state.py22 # Create an event encoder to properly format SSE eventsCOMMENT
MEDIUM…eatures/python/examples/example_server/shared_state.py59 # Define the recipe stateCOMMENT
MEDIUM…on/examples/example_server/predictive_state_updates.py31 # Create an event encoder to properly format SSE eventsCOMMENT
MEDIUM…on/examples/example_server/tool_based_generative_ui.py25 # Create an event encoder to properly format SSE eventsCOMMENT
MEDIUMintegrations/crew-ai/python/ag_ui_crewai/endpoint.py1710 # Create an event encoder to properly format SSE eventsCOMMENT
MEDIUM…ver-starter/python/examples/example_server/__init__.py30 # 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__.py49# 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.py42 # Create an event encoder to properly format SSE eventsCOMMENT
MEDIUM…egrations/watsonx/python/src/ag_ui_watsonx/endpoint.py38 # Create an event encoder to properly format SSE eventsCOMMENT
MEDIUM…eware/python/tests/test_duplicate_function_response.py80 # 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.py370 # Create a mock event queue that failsCOMMENT
MEDIUM…dk-middleware/python/tests/test_tool_error_handling.py344 # Create a sample tool for the toolsetCOMMENT
MEDIUM…dk-middleware/python/tests/test_tool_error_handling.py392 # Create a mock event queue that failsCOMMENT
MEDIUM…dk-middleware/python/tests/test_tool_error_handling.py415 # 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
MEDIUM…adk-middleware/python/tests/test_tool_tracking_hitl.py452 # Create a brand new session (no prior state)COMMENT
MEDIUM⚡…ns/adk-middleware/python/tests/test_message_history.py1154 # Create a session with events that will be returned by get_sessionCOMMENT
65 more matches not shown…
Excessive Try-Catch Wrapping292 hits · 263 pts
SeverityFileLineSnippetContext
MEDIUMsdks/community/dart/example/lib/main.dart62 print('Error: $e');CODE
MEDIUMsdks/community/dart/example/lib/main.dart103 print('Error: $e');CODE
LOW⚡integrations/langgraph/python/ag_ui_langgraph/utils.py1951 except Exception:CODE
LOW⚡integrations/langgraph/python/ag_ui_langgraph/utils.py1959 except Exception:CODE
LOW⚡integrations/langgraph/python/ag_ui_langgraph/utils.py1966 except Exception:CODE
LOW⚡integrations/langgraph/python/ag_ui_langgraph/utils.py1973 except Exception:CODE
LOWintegrations/langgraph/python/ag_ui_langgraph/utils.py1881 except Exception:CODE
LOWintegrations/langgraph/python/ag_ui_langgraph/agent.py1618 except Exception as exc:CODE
LOWintegrations/langgraph/python/ag_ui_langgraph/agent.py2194 except Exception as exc:CODE
LOW…ns/langgraph/python/tests/test_deprecation_warnings.py55 except Exception:CODE
LOWintegrations/langgraph/python/tests/test_multimodal.py4018 except Exception:CODE
LOWintegrations/langgraph/python/tests/test_multimodal.py4024 except Exception:CODE
LOWintegrations/langgraph/python/tests/test_multimodal.py4155 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.py308 except Exception as err: # noqa: BLE001 - surfaced to the client as RUN_ERRORCODE
LOW…ged-agents/python/ag_ui_claude_managed_agents/agent.py335 except Exception as exc: # noqa: BLE001 - best-effort interruptCODE
LOW…ged-agents/python/ag_ui_claude_managed_agents/agent.py357 except Exception as exc: # noqa: BLE001 - best-effort; the run is already endingCODE
LOWintegrations/crew-ai/python/tests/test_reasoning.py104 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.py152 except Exception: # pragma: no cover - defensiveCODE
LOWintegrations/crew-ai/python/tests/conftest.py167 except Exception: # pragma: no cover - defensiveCODE
LOWintegrations/crew-ai/python/tests/conftest.py422 except Exception as exc: # noqa: BLE001 - capability probeCODE
MEDIUMintegrations/crew-ai/python/tests/test_streaming.py1571def chat(self):CODE
LOW⚡integrations/crew-ai/python/tests/test_streaming.py53 except Exception: # noqa: BLE001 - handler errors surface elsewhereCODE
LOW⚡integrations/crew-ai/python/tests/test_streaming.py63 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/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.py252except 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.py1185 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
LOW⚡integrations/crew-ai/python/ag_ui_crewai/_frames.py496 except Exception as exc: # noqa: BLE001 - best-effort; live fallbackCODE
LOW⚡integrations/crew-ai/python/ag_ui_crewai/_frames.py506 except Exception as exc: # noqa: BLE001 - best-effort; live fallbackCODE
LOW⚡integrations/crew-ai/python/ag_ui_crewai/_frames.py516 except Exception as exc: # noqa: BLE001 - best-effortCODE
LOWintegrations/crew-ai/python/ag_ui_crewai/_frames.py1593 except Exception as dump_exc: # noqa: BLE001 - falls back belowCODE
LOWintegrations/crew-ai/python/ag_ui_crewai/endpoint.py444 except Exception as exc: # pylint: disable=broad-exception-caughtCODE
LOWintegrations/crew-ai/python/ag_ui_crewai/endpoint.py490 except Exception as exc: # pylint: disable=broad-exception-caughtCODE
LOWintegrations/crew-ai/python/ag_ui_crewai/endpoint.py519 except Exception as exc: # pylint: disable=broad-exception-caughtCODE
LOWintegrations/crew-ai/python/ag_ui_crewai/endpoint.py595 except Exception as exc: # pylint: disable=broad-exception-caughtCODE
LOWintegrations/crew-ai/python/ag_ui_crewai/endpoint.py1281 except Exception as e: # pylint: disable=broad-exception-caughtCODE
LOWintegrations/crew-ai/python/ag_ui_crewai/endpoint.py1347 except Exception:CODE
LOWintegrations/crew-ai/python/ag_ui_crewai/endpoint.py1598 except Exception as exc: # pylint: disable=broad-exception-caughtCODE
LOWintegrations/crew-ai/python/ag_ui_crewai/mcp.py280 except Exception as exc: # noqa: BLE001 - last-resort "cannot raise" backstopCODE
LOWintegrations/crew-ai/python/ag_ui_crewai/_copyutil.py58 except Exception: # noqa: BLE001 - anything non-copyable gets pinnedCODE
LOWintegrations/crew-ai/python/ag_ui_crewai/_copyutil.py110 except Exception: # noqa: BLE001 - fall back to the pin-and-share pathCODE
232 more matches not shown…
AI Slop Vocabulary68 hits · 221 pts
SeverityFileLineSnippetContext
MEDIUMsdks/python/pyproject.toml22# schema $id by the spec harness.COMMENT
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.py694 # False -> "inline") because the design partner's harness already setsCOMMENT
MEDIUMintegrations/langgraph/python/tests/_helpers.py86# literally named ``ImageInputContent``, so a harness that derived its labelCOMMENT
MEDIUMintegrations/crew-ai/python/tests/conftest.py295# Set by the mutation harness on the child runs it judges each guard by. ThoseCOMMENT
MEDIUMintegrations/crew-ai/python/tests/conftest.py320 # 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.py3794 # No tool results, just use the user messageCOMMENT
MEDIUM…egrations/antigravity/python/tests/test_live_gemini.py148 # History lives in the harness process, proving the session was reused.COMMENT
MEDIUM…egrations/antigravity/python/tests/test_live_gemini.py187 # The harness is now parked on our coroutine with no stream attached.COMMENT
MEDIUM…egrations/antigravity/python/tests/test_live_gemini.py424 # harness fixes the tool list at connect time, so the session must beCOMMENT
MEDIUM…tions/antigravity/python/tests/test_session_manager.py580 # them in the harness' transcript.COMMENT
MEDIUM⚡…ations/antigravity/python/tests/test_agent_run_loop.py2115 # The hook halts the turn; the harness then ends the stream asCOMMENT
MEDIUM…ations/antigravity/python/tests/test_agent_run_loop.py54 # The harness has gone quiet: it is waiting on our coroutine.COMMENT
MEDIUM…ations/antigravity/python/tests/test_agent_run_loop.py324 # The stream never completes: the harness is waiting on our coroutine.COMMENT
MEDIUM…ations/antigravity/python/tests/test_agent_run_loop.py550 # The harness re-delivers the completed step it already sent pre-park.COMMENT
MEDIUM…ations/antigravity/python/tests/test_agent_run_loop.py815 # The in-flight step future already carries the harness failure.COMMENT
MEDIUM…ations/antigravity/python/tests/test_agent_run_loop.py2234 # Measured live: the harness fails the denied tool step before theCOMMENT
MEDIUM…ions/antigravity/python/examples/server/api/_common.py48# Google's, such as aimock for e2e runs. The harness still wants GEMINI_API_KEYCOMMENT
MEDIUM…ions/antigravity/python/examples/server/api/_common.py89# several demo agents would get one harness process per *agent* rather than oneCOMMENT
MEDIUM⚡…tigravity/python/src/ag_ui_antigravity/harness_pool.py117 # Only the *tail* is kept: the harness is chatty and this exists toCOMMENT
MEDIUM⚡…tigravity/python/src/ag_ui_antigravity/harness_pool.py65except Exception: # pragma: no cover - the harness only logs thisCODE
MEDIUM…tigravity/python/src/ag_ui_antigravity/harness_pool.py588 # An empty cascade_id tells the harness to mint a new conversation.COMMENT
MEDIUM⚡…ravity/python/src/ag_ui_antigravity/session_manager.py60 # fresh one on resume makes the harness re-deliver steps we alreadyCOMMENT
MEDIUM⚡…ravity/python/src/ag_ui_antigravity/session_manager.py65 # harness is mid-way through delivering.COMMENT
MEDIUM⚡…ravity/python/src/ag_ui_antigravity/session_manager.py70 # Ids of user messages already sent to the harness. The harness owns theCOMMENT
MEDIUM⚡…ravity/python/src/ag_ui_antigravity/session_manager.py78 # Set when a run fails at the transport layer, i.e. the harness processCOMMENT
MEDIUM⚡…ravity/python/src/ag_ui_antigravity/session_manager.py86 # harness closes a halted conversation's connection, so the session isCOMMENT
MEDIUM…ravity/python/src/ag_ui_antigravity/session_manager.py124 # ended -- routine when the harness backgrounds a slow tool and goesCOMMENT
MEDIUM…ravity/python/src/ag_ui_antigravity/session_manager.py212 # session is no longer live. The harness keeps the trajectory inCOMMENT
MEDIUM…ravity/python/src/ag_ui_antigravity/session_manager.py327 # upstream: the harness writes the trajectory through SQLite'sCOMMENT
MEDIUM…ravity/python/src/ag_ui_antigravity/session_manager.py427 # Carried across a cold resume: the rebuilt harness restores theCOMMENT
MEDIUM⚡…avity/python/src/ag_ui_antigravity/event_translator.py214 # The harness echoes the user's own prompt as a step with source=USER.COMMENT
MEDIUM…avity/python/src/ag_ui_antigravity/event_translator.py110 # runs, the harness re-delivers the earlier steps of that turn on theCOMMENT
MEDIUM…avity/python/src/ag_ui_antigravity/event_translator.py116 # close(). They are NOT finished -- the harness delivers their result onCOMMENT
MEDIUM…avity/python/src/ag_ui_antigravity/event_translator.py236 # A TOOL_CALL step's text is the harness's own status labelCOMMENT
MEDIUM…avity/python/src/ag_ui_antigravity/event_translator.py445 # Genuine append-only growth (a harness that does streamCOMMENT
MEDIUM…avity/python/src/ag_ui_antigravity/event_translator.py464 # Built-in tools are executed by the harness, which reports theCOMMENT
MEDIUM…avity/python/src/ag_ui_antigravity/event_translator.py548# Keys the harness uses to report a failure rather than a result.COMMENT
MEDIUM⚡…s/antigravity/python/src/ag_ui_antigravity/endpoint.py88 # FINISH.structured_output drives the snapshot, and the harnessCOMMENT
MEDIUM⚡…s/antigravity/python/src/ag_ui_antigravity/endpoint.py95 # History lives in the long-running harness process, keyed by thread.COMMENT
MEDIUM⚡…s/antigravity/python/src/ag_ui_antigravity/endpoint.py100 # the harness cannot fetch them.COMMENT
MEDIUM…s/antigravity/python/src/ag_ui_antigravity/endpoint.py111 # The Go harness runs real shell commands on the host -- but onlyCOMMENT
MEDIUM…/antigravity/python/src/ag_ui_antigravity/ui_bridge.py304 # Not awaited here: the harness is waiting on this hook'sCOMMENT
MEDIUM…/antigravity/python/src/ag_ui_antigravity/ui_bridge.py618 # The harness escalates a slow custom tool to a "background task"COMMENT
MEDIUM…/antigravity/python/src/ag_ui_antigravity/ui_bridge.py688 # future object would then hang forever -- taking the harness'COMMENT
MEDIUM…/antigravity/python/src/ag_ui_antigravity/ui_bridge.py899 # The harness expects one response per question.COMMENT
MEDIUM⚡…ions/antigravity/python/src/ag_ui_antigravity/agent.py394 # a TOOL_CALL_RESULT: the harness reports a custom tool as a singleCOMMENT
MEDIUM⚡…ions/antigravity/python/src/ag_ui_antigravity/agent.py865 # would discard the step the harness is mid-way through delivering.COMMENT
MEDIUM…ions/antigravity/python/src/ag_ui_antigravity/agent.py512 # Bound before the try: the harness-lost check in the handlerCOMMENT
MEDIUM…ions/antigravity/python/src/ag_ui_antigravity/agent.py641 # release it, or the harness stays blocked on our coroutine, thisCOMMENT
MEDIUM…ions/antigravity/python/src/ag_ui_antigravity/agent.py652 # A harness failure can land while a run is parked; reset_streamCOMMENT
MEDIUM…ions/antigravity/python/src/ag_ui_antigravity/agent.py669 # message is added to it. Kept, not reset -- but a harness failureCOMMENT
MEDIUM…ions/antigravity/python/src/ag_ui_antigravity/agent.py676 # The harness is gone, so anything still parked on it can neverCOMMENT
MEDIUM…ions/antigravity/python/src/ag_ui_antigravity/agent.py742 # it used to skip it and pin the harness for the process lifetime.COMMENT
MEDIUM…ions/antigravity/python/src/ag_ui_antigravity/agent.py1056 # means the harness may still be working, so log it loudly.COMMENT
8 more matches not shown…
Modern AI Meta-Vocabulary72 hits · 210 pts
SeverityFileLineSnippetContext
MEDIUMREADME.md64## Where does AGUI fit in the agentic protocol stack?COMMENT
MEDIUM⚡sdks/python/a2ui_toolkit/ag_ui_a2ui_toolkit/__init__.py825# High-level orchestrationCOMMENT
MEDIUM…_tests__/compatibility-boundary-optional-nulls.test.ts13// Recorded agentic chat: "Hi, I am duaa".COMMENT
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.py1505 # hand the model back its own chain-of-thought), buffer each reasoning message andCOMMENT
MEDIUM…ions/langgraph/python/tests/test_message_conversion.py195 # chain-of-thought on a stateless round-trip.COMMENT
MEDIUM…ions/langgraph/python/tests/test_message_conversion.py572 # The summary text (the human-readable chain-of-thought) must survive too,COMMENT
MEDIUM…rations/mastra/typescript/examples/src/mastra/index.ts38 // File-backed (not ":memory:"): suspend/resume persists the agentic-loopCOMMENT
MEDIUM…ll-features/python/examples/example_server/__init__.py18# Register the agentic chat endpointCOMMENT
MEDIUM…ll-features/python/examples/example_server/__init__.py27# Register the agentic generative UI endpointCOMMENT
MEDIUM…ns/server-starter-all-features/typescript/package.json5 "//": "private: this is a create-ag-ui-app scaffold template, intentionally excluded from the npm release pipeline (noCODE
MEDIUMintegrations/server-starter/typescript/package.json5 "//": "private: this is a create-ag-ui-app scaffold template, intentionally excluded from the npm release pipeline (noCODE
MEDIUMintegrations/aws-strands/python/README.md686## Multi-agent orchestrationCOMMENT
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
MEDIUM⚡…trands/python/tests/test_terminal_event_token_usage.py1031# The multi-agent orchestrator pathCOMMENT
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.py2869# Strands multi-agent event discriminators, as emitted byCOMMENT
MEDIUM…grations/aws-strands/python/src/ag_ui_strands/agent.py2881# AG-UI CUSTOM event names carrying multi-agent lifecycle detail that has noCOMMENT
MEDIUM…grations/aws-strands/python/src/ag_ui_strands/agent.py3710 # Detect a multi-agent orchestrator structurally. A Graph or Swarm hasCOMMENT
MEDIUM…grations/aws-strands/python/src/ag_ui_strands/agent.py6479 # Handle multi-agent node start (maps to STEP_STARTED)COMMENT
MEDIUM…grations/aws-strands/python/src/ag_ui_strands/agent.py6490 # Handle multi-agent node stop (maps to STEP_FINISHED).COMMENT
MEDIUM…grations/aws-strands/python/src/ag_ui_strands/agent.py6503 # Handle multi-agent handoff (emit as CUSTOM event)COMMENT
MEDIUM…grations/aws-strands/python/src/ag_ui_strands/agent.py6511 # Handle multi-agent node cancel (emit as CUSTOM event).COMMENT
MEDIUM…grations/aws-strands/python/src/ag_ui_strands/agent.py6522 # Handle multi-agent node interrupt (emit as CUSTOM event)COMMENT
MEDIUMintegrations/aws-strands/typescript/README.md233## Multi-agent orchestrationCOMMENT
MEDIUM…ws-strands/typescript/examples/server/model-factory.ts63 // `/agentic-chat-reasoning` demo.COMMENT
MEDIUM…tions/aws-strands/typescript/examples/server/server.ts105 // non-strictly by default, so `/agentic-chat` answers `/agentic-chat/` too.COMMENT
MEDIUMintegrations/aws-strands/typescript/src/agent.ts699 // 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.md601 - **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__.py104 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.yml162 # this same orchestration — owns a UNIQUE canary ref. This prevents twoCOMMENT
MEDIUMapps/dojo/scripts/generate-content-json.ts496 // to hyphenated filenames (agentic-chat.ts).COMMENT
MEDIUMapps/dojo/e2e/aimock-setup.ts405 // with agentic-gen-ui fixtures, and first-match-wins. By loading HITL first,COMMENT
12 more matches not shown…
Deep Nesting175 hits · 130 pts
SeverityFileLineSnippetContext
LOWsdks/python/tests/test_generated_models.py147CODE
LOWsdks/python/tests/test_events.py446CODE
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/_generated/models.py51CODE
LOWintegrations/langgraph/python/ag_ui_langgraph/utils.py490CODE
LOWintegrations/langgraph/python/ag_ui_langgraph/utils.py774CODE
LOWintegrations/langgraph/python/ag_ui_langgraph/utils.py1268CODE
LOWintegrations/langgraph/python/ag_ui_langgraph/utils.py1500CODE
LOWintegrations/langgraph/python/ag_ui_langgraph/utils.py1631CODE
LOWintegrations/langgraph/python/ag_ui_langgraph/utils.py1809CODE
LOWintegrations/langgraph/python/ag_ui_langgraph/utils.py1842CODE
LOWintegrations/langgraph/python/ag_ui_langgraph/agent.py858CODE
LOWintegrations/langgraph/python/ag_ui_langgraph/agent.py1044CODE
LOWintegrations/langgraph/python/ag_ui_langgraph/agent.py1263CODE
LOWintegrations/langgraph/python/ag_ui_langgraph/agent.py1403CODE
LOWintegrations/langgraph/python/ag_ui_langgraph/agent.py1629CODE
LOWintegrations/langgraph/python/ag_ui_langgraph/agent.py2222CODE
LOWintegrations/langgraph/python/ag_ui_langgraph/agent.py2579CODE
LOWintegrations/langgraph/python/ag_ui_langgraph/agent.py2649CODE
LOWintegrations/langgraph/python/ag_ui_langgraph/agent.py2925CODE
LOWintegrations/langgraph/python/ag_ui_langgraph/agent.py3197CODE
LOWintegrations/langgraph/python/ag_ui_langgraph/agent.py4093CODE
LOWintegrations/langgraph/python/ag_ui_langgraph/agent.py4470CODE
LOW…s/langgraph/python/tests/test_nested_tool_end_dedup.py210CODE
LOW…ions/langgraph/python/tests/test_media_preservation.py38CODE
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.py264CODE
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.py1449CODE
LOWintegrations/crew-ai/python/tests/test_crew_chat.py227CODE
LOWintegrations/crew-ai/python/tests/test_crew_chat.py303CODE
LOWintegrations/crew-ai/python/tests/test_crew_chat.py348CODE
LOWintegrations/crew-ai/python/tests/test_crew_chat.py567CODE
LOWintegrations/crew-ai/python/tests/test_crew_chat.py629CODE
LOWintegrations/crew-ai/python/tests/test_crew_chat.py757CODE
LOWintegrations/crew-ai/python/tests/test_crew_chat.py813CODE
LOWintegrations/crew-ai/python/ag_ui_crewai/sdk.py512CODE
LOWintegrations/crew-ai/python/ag_ui_crewai/sdk.py782CODE
LOWintegrations/crew-ai/python/ag_ui_crewai/sdk.py1162CODE
LOWintegrations/crew-ai/python/ag_ui_crewai/sdk.py1213CODE
LOWintegrations/crew-ai/python/ag_ui_crewai/sdk.py354CODE
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.py614CODE
LOWintegrations/crew-ai/python/ag_ui_crewai/endpoint.py786CODE
LOWintegrations/crew-ai/python/ag_ui_crewai/utils.py101CODE
LOWintegrations/crew-ai/python/ag_ui_crewai/utils.py196CODE
LOWintegrations/crew-ai/python/ag_ui_crewai/_memory.py384CODE
115 more matches not shown…
Dead Code65 hits · 129 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…/aws-strands/python/tests/test_terminal_error_paths.py86CODE
MEDIUM…/aws-strands/python/tests/test_terminal_error_paths.py177CODE
MEDIUM…tions/aws-strands/python/tests/test_endpoint_errors.py68CODE
MEDIUM…strands/python/tests/test_force_stop_empty_response.py49CODE
MEDIUM…strands/python/tests/test_force_stop_empty_response.py60CODE
MEDIUM…trands/python/tests/test_template_agent_propagation.py82CODE
MEDIUM…trands/python/tests/test_template_agent_propagation.py88CODE
MEDIUM…s-strands/python/tests/test_template_tool_filtering.py71CODE
MEDIUM…s-strands/python/tests/test_template_tool_filtering.py100CODE
MEDIUM…ws-strands/python/tests/test_reconciliation_decline.py113CODE
MEDIUM…strands/python/tests/test_interrupt_resume_contract.py86CODE
MEDIUM…strands/python/tests/test_interrupt_resume_contract.py410CODE
MEDIUM…strands/python/tests/test_interrupt_resume_contract.py616CODE
MEDIUM…trands/python/tests/test_terminal_event_token_usage.py924CODE
MEDIUM…tions/aws-strands/python/tests/test_session_manager.py84CODE
MEDIUM…tions/aws-strands/python/tests/test_session_manager.py121CODE
MEDIUM…tions/aws-strands/python/tests/test_session_manager.py333CODE
MEDIUM…tions/aws-strands/python/tests/test_session_manager.py563CODE
MEDIUM…rands/python/tests/test_interrupt_client_tool_guard.py50CODE
MEDIUMintegrations/aws-strands/python/tests/test_a2ui_tool.py1352CODE
MEDIUM…ons/aws-strands/python/tests/test_hook_error_events.py904CODE
MEDIUM…ons/aws-strands/python/tests/test_hook_error_events.py482CODE
MEDIUM…ons/aws-strands/python/tests/test_hook_error_events.py529CODE
MEDIUM…ons/aws-strands/python/tests/test_hook_error_events.py552CODE
MEDIUM…ons/aws-strands/python/tests/test_hook_error_events.py634CODE
MEDIUM…ons/aws-strands/python/tests/test_hook_error_events.py676CODE
MEDIUM…ons/aws-strands/python/tests/test_hook_error_events.py701CODE
MEDIUM…ons/aws-strands/python/tests/test_hook_error_events.py728CODE
MEDIUM…ons/aws-strands/python/tests/test_hook_error_events.py762CODE
MEDIUM…ons/aws-strands/python/tests/test_hook_error_events.py1058CODE
MEDIUM…strands/python/tests/test_tool_stream_event_handler.py134CODE
MEDIUM…strands/python/tests/test_tool_stream_event_handler.py261CODE
MEDIUMintegrations/aws-strands/python/tests/test_interrupt.py1512CODE
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.py853CODE
MEDIUM…grations/claude-agent-sdk/python/tests/test_adapter.py617CODE
MEDIUM…grations/claude-agent-sdk/python/tests/test_adapter.py699CODE
MEDIUM…grations/claude-agent-sdk/python/tests/test_adapter.py792CODE
MEDIUM…grations/claude-agent-sdk/python/tests/test_adapter.py990CODE
MEDIUM…grations/claude-agent-sdk/python/tests/test_adapter.py1054CODE
MEDIUM…grations/claude-agent-sdk/python/tests/test_adapter.py1058CODE
MEDIUM…grations/claude-agent-sdk/python/tests/test_adapter.py1110CODE
MEDIUM…grations/claude-agent-sdk/python/tests/test_adapter.py1209CODE
MEDIUM…eware/python/tests/test_duplicate_function_response.py222CODE
MEDIUM…eware/python/tests/test_duplicate_function_response.py336CODE
MEDIUM…eware/python/tests/test_duplicate_function_response.py518CODE
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.py140CODE
MEDIUM…dk-middleware/python/tests/test_tool_error_handling.py183CODE
MEDIUM…dk-middleware/python/tests/test_tool_error_handling.py297CODE
MEDIUM…dk-middleware/python/tests/test_tool_error_handling.py465CODE
MEDIUM…iddleware/python/tests/test_endpoint_error_handling.py113CODE
MEDIUM…grations/adk-middleware/python/tests/test_adk_agent.py417CODE
MEDIUM…s/adk-middleware/python/tests/test_tool_result_flow.py360CODE
MEDIUM…s/adk-middleware/python/tests/test_tool_result_flow.py1656CODE
5 more matches not shown…
Structural Annotation Overuse63 hits · 113 pts
SeverityFileLineSnippetContext
LOWCONTRIBUTING.md78### Step 1: Add Your Integration FolderCOMMENT
LOW⚡CONTRIBUTING.md103### Step 2: Register Your Integration in the DojoCOMMENT
LOW⚡CONTRIBUTING.md111### Step 3: Configure the Agent MappingCOMMENT
LOW⚡CONTRIBUTING.md115### Step 4: Set Up Environment VariablesCOMMENT
LOW⚡CONTRIBUTING.md124### Step 5: Add Dojo ScriptsCOMMENT
LOWCONTRIBUTING.md144### Step 6: Add End-to-End TestsCOMMENT
LOWCONTRIBUTING.md161### Step 7: Add CI ConfigurationCOMMENT
LOW⚡sdks/community/c++/src/core/subscriber.cpp62 // Step 1: Invoke generic onEvent callback firstCOMMENT
LOW⚡sdks/community/c++/src/core/subscriber.cpp66 // Step 2: Check stopPropagation flagCOMMENT
LOW⚡sdks/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
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.py328 # Step 1: Trigger tool callCOMMENT
LOW…are/python/tests/test_lro_tool_response_persistence.py347 # Step 2: Submit tool result with specific run_idCOMMENT
LOW…are/python/tests/test_lro_tool_response_persistence.py465 # Step 1: Trigger tool callCOMMENT
LOW…are/python/tests/test_lro_tool_response_persistence.py484 # Step 2: Submit tool result WITH trailing user messageCOMMENT
LOW…are/python/tests/test_lro_tool_response_persistence.py625 # Step 1: Initial request - should trigger tool call and pauseCOMMENT
LOW…are/python/tests/test_lro_tool_response_persistence.py651 # 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.py416 # Step 2: Simulate middleware restart by clearing all in-memory stateCOMMENT
LOW⚡…adk-middleware/python/tests/test_tool_tracking_hitl.py422 # Step 3: Call _ensure_session_exists again (simulating first request after restart)COMMENT
LOW⚡…adk-middleware/python/tests/test_tool_tracking_hitl.py431 # Step 4: Verify pending_tool_calls were clearedCOMMENT
LOW…adk-middleware/python/tests/test_tool_tracking_hitl.py391 # 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
LOW⚡apps/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
LOW⚡apps/dojo/e2e/setup-aws.sh121# Step 5: Create IAM userCOMMENT
LOW⚡apps/dojo/e2e/setup-aws.sh127# Step 6: Attach policy to userCOMMENT
LOW⚡apps/dojo/e2e/setup-aws.sh133# Step 7: Create access keysCOMMENT
3 more matches not shown…
Verbosity Indicators51 hits · 92 pts
SeverityFileLineSnippetContext
LOW⚡sdks/community/c++/src/core/subscriber.cpp62 // Step 1: Invoke generic onEvent callback firstCOMMENT
LOW⚡sdks/community/c++/src/core/subscriber.cpp66 // Step 2: Check stopPropagation flagCOMMENT
LOW⚡sdks/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
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.py328 # Step 1: Trigger tool callCOMMENT
LOW…are/python/tests/test_lro_tool_response_persistence.py347 # Step 2: Submit tool result with specific run_idCOMMENT
LOW…are/python/tests/test_lro_tool_response_persistence.py465 # Step 1: Trigger tool callCOMMENT
LOW…are/python/tests/test_lro_tool_response_persistence.py484 # Step 2: Submit tool result WITH trailing user messageCOMMENT
LOW…are/python/tests/test_lro_tool_response_persistence.py625 # Step 1: Initial request - should trigger tool call and pauseCOMMENT
LOW…are/python/tests/test_lro_tool_response_persistence.py651 # 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.py416 # Step 2: Simulate middleware restart by clearing all in-memory stateCOMMENT
LOW⚡…adk-middleware/python/tests/test_tool_tracking_hitl.py422 # Step 3: Call _ensure_session_exists again (simulating first request after restart)COMMENT
LOW⚡…adk-middleware/python/tests/test_tool_tracking_hitl.py431 # Step 4: Verify pending_tool_calls were clearedCOMMENT
LOW…adk-middleware/python/tests/test_tool_tracking_hitl.py391 # 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
LOW⚡apps/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
LOW⚡apps/dojo/e2e/setup-aws.sh121# Step 5: Create IAM userCOMMENT
LOW⚡apps/dojo/e2e/setup-aws.sh127# Step 6: Attach policy to userCOMMENT
LOW⚡apps/dojo/e2e/setup-aws.sh133# Step 7: Create access keysCOMMENT
LOW⚡apps/dojo/e2e/setup-aws.sh141# Step 8: Test the setupCOMMENT
LOW⚡apps/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
Modern Structural Boilerplate90 hits · 90 pts
SeverityFileLineSnippetContext
LOWsdks/python/a2ui_toolkit/ag_ui_a2ui_toolkit/__init__.py18__all__ = [CODE
LOWsdks/python/ag_ui/core/version.py38__all__ = ["PROTOCOL_VERSION"]CODE
LOWsdks/python/ag_ui/core/events.py79__all__ = [CODE
LOWsdks/python/ag_ui/core/deprecated.py46__all__ = ["BinaryInputContent"]CODE
LOWsdks/python/ag_ui/core/__init__.py128__all__ = [CODE
LOWsdks/python/ag_ui/core/types.py111__all__ = [CODE
LOWsdks/python/ag_ui/core/capabilities.py48__all__ = [CODE
LOWsdks/python/ag_ui/core/token_usage.py20__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.py44logger = logging.getLogger(__name__)CODE
LOW⚡integrations/langgraph/python/ag_ui_langgraph/agent.py2555 def set_message_in_progress(self, run_id: str, data: MessageInProgress, lane: Optional[str] = None) -> None:CODE
LOWintegrations/langgraph/python/ag_ui_langgraph/agent.py144logger = logging.getLogger(__name__)CODE
LOWintegrations/langgraph/python/ag_ui_langgraph/agent.py2543 def _set_reasoning_process(self, value: Optional[ThinkingProcess], lane: Optional[str] = None) -> None:CODE
LOW…python/examples/agents/multimodal_messages/__init__.py60__all__ = ["graph"]CODE
LOW…all-features/python/examples/example_server/content.py15logger = logging.getLogger(__name__)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.py84__all__ = [CODE
LOWintegrations/crew-ai/python/ag_ui_crewai/utils.py28logger = 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…tions/aws-strands/python/tests/interrupt_state_stub.py88 def set_pending_tool_results(self, completed_tool_results: list[Any]) -> None:CODE
LOW⚡…trands/python/tests/test_raw_and_inner_agent_events.py62 def update_config(self, **model_config: Any) -> None: # pragma: no coverCODE
LOWintegrations/aws-strands/python/tests/test_citations.py66 def update_config(self, **model_config: Any) -> None: # pragma: no coverCODE
LOW…trands/python/tests/test_terminal_event_token_usage.py104 def update_config(self, **model_config: Any) -> None: # pragma: no coverCODE
LOW…rations/aws-strands/python/examples/server/__init__.py100__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__.py19__all__ = [CODE
LOW…python/examples/server/api/predictive_state_updates.py36logger = logging.getLogger(__name__)CODE
LOW…ions/aws-strands/python/src/ag_ui_strands/citations.py39logger = 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.py63__all__ = [CODE
LOW…tions/aws-strands/python/src/ag_ui_strands/__init__.py52__all__ = [CODE
LOW…aws-strands/python/src/ag_ui_strands/template_tools.py34logger = logging.getLogger(__name__)CODE
LOW…tions/aws-strands/python/src/ag_ui_strands/endpoint.py153async 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.py1440logger = 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__.py5__all__ = [CODE
LOWintegrations/watsonx/python/src/ag_ui_watsonx/agent.py37logger = logging.getLogger(__name__)CODE
LOW…ns/claude-agent-sdk/python/ag_ui_claude_sdk/adapter.py66logger = logging.getLogger(__name__)CODE
LOW…ns/claude-agent-sdk/python/ag_ui_claude_sdk/session.py14logger = 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.py29logger = 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__.py118__all__ = ["main"]CODE
LOW…/adk-middleware/python/examples/server/api/__init__.py16__all__ = [CODE
30 more matches not shown…
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.md55 langsmithApiKey: "your-api-key",CODE
HIGHintegrations/langgraph/typescript/README.md159 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.md338export 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__.py86 print(" export GOOGLE_API_KEY='your-api-key-here'")CODE
HIGHintegrations/adk-middleware/js/README.md28export GOOGLE_GENAI_API_KEY="your-api-key"CODE
Redundant / Tautological Comments38 hits · 56 pts
SeverityFileLineSnippetContext
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.py41 # Check if last message was a tool resultCOMMENT
LOW…grations/aws-strands/python/src/ag_ui_strands/agent.py6919 # Check if this is another cumulative update for theCOMMENT
LOW…ns/claude-agent-sdk/python/ag_ui_claude_sdk/adapter.py895 # Check if this is the state management toolCOMMENT
LOW…ns/claude-agent-sdk/python/ag_ui_claude_sdk/adapter.py954 # Check if this is a frontend tool -- halt streamCOMMENT
LOW…ions/claude-agent-sdk/python/ag_ui_claude_sdk/utils.py307 # 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…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.py2881 # Check if execution is staleCOMMENT
LOW⚡…tions/adk-middleware/python/src/ag_ui_adk/adk_agent.py2891 # Check if task is doneCOMMENT
LOW…tions/adk-middleware/python/src/ag_ui_adk/adk_agent.py1504 # Check if there are pending tool calls AND tool results in unseen messagesCOMMENT
LOW…tions/adk-middleware/python/src/ag_ui_adk/adk_agent.py1695 # Check if there's an upcoming tool batch that will be skippedCOMMENT
LOW…tions/adk-middleware/python/src/ag_ui_adk/adk_agent.py2229 # Check if there were actual tool messages that were filtered outCOMMENT
LOW…tions/adk-middleware/python/src/ag_ui_adk/adk_agent.py2963 # 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.py3076 # Check if session has pending tool calls before cleanupCOMMENT
LOW…tions/adk-middleware/python/src/ag_ui_adk/adk_agent.py3975 # Check if we got a non-partial event (persistence complete)COMMENT
LOW…tions/adk-middleware/python/src/ag_ui_adk/adk_agent.py4021 # Check if this is a streaming chunk that needs regular processingCOMMENT
LOW…tions/adk-middleware/python/src/ag_ui_adk/adk_agent.py4050 # Check if event has function responses (e.g., backend tool results)COMMENT
LOW…tions/adk-middleware/python/src/ag_ui_adk/adk_agent.py4152 # Set flag to continue draining - checked at loop startCOMMENT
LOW…dk-middleware/python/src/ag_ui_adk/event_translator.py94 # Check if Part class has 'thought' in its model fields (Pydantic)COMMENT
LOW…dk-middleware/python/src/ag_ui_adk/event_translator.py454 # 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.py641 # Check if this is a thought part (backwards-compatible)COMMENT
LOW…dk-middleware/python/src/ag_ui_adk/event_translator.py1111 # Check if this tool call ID already existsCOMMENT
LOW…dk-middleware/python/src/ag_ui_adk/event_translator.py1118 # Check if this tool has predictive state configurationCOMMENT
LOW…dk-middleware/python/src/ag_ui_adk/event_translator.py1166 # Check if we should emit confirm_changes tool call after this toolCOMMENT
LOW…dk-middleware/python/src/ag_ui_adk/event_translator.py1177 # Check if any mapping has emit_confirm_tool=TrueCOMMENT
LOW…tegrations/langroid/python/src/ag_ui_langroid/agent.py202 # 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
LOW⚡apps/dojo/e2e/setup-aws.sh20# Check if AWS CLI is installed and configuredCOMMENT
LOW⚡apps/dojo/e2e/setup-aws.sh26# Check if AWS credentials are configuredCOMMENT
Cross-Language Confusion9 hits · 34 pts
SeverityFileLineSnippetContext
HIGH⚡sdks/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
HIGHsdks/python/tests/test_events.py238 # written as null, so "absent means replace" is what reaches the wire.COMMENT
HIGHsdks/python/ag_ui/_generated/models.py127key, including null, because a null there is meaningful data. The objectSTRING
HIGHsdks/python/ag_ui/_generated/models.py883 The value to insert. Any JSON value, including null, which is aSTRING
HIGH⚡integrations/langgraph/python/tests/test_multimodal.py2648 """`{"image_url": null}` used to hit `None.startswith` and take theSTRING
HIGHintegrations/crew-ai/python/tests/test_a2ui.py1427 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
HIGH…grations/aws-strands/python/src/ag_ui_strands/agent.py1223 booleans, null, arrays, objects, and the numbers JavaScript prints inSTRING
Synthetic Comment Markers5 hits · 25 pts
SeverityFileLineSnippetContext
HIGHsdks/python/ag_ui/_generated/version.py8The protocol version this code was generated from: the version segment ofSTRING
HIGH…net/src/AGUI.Abstractions/Generated/AGUIConstants.g.cs14/// The protocol version this code was generated from: the version segment ofCOMMENT
HIGHspec/generator/python.ts544 `The protocol version this code was generated from: the version segment of the schema's $id (${model.schemaId}).CODE
HIGHspec/generator/dotnet-models.ts990 `The protocol version this code was generated from: the version segment of the schema's $id (${model.schemaId}). NevCODE
HIGHspec/generator/typescript.ts396 `The protocol version this code was generated from: the version segment of the schema's $id (${model.schemaId}). NevCODE
Fake / Example Data16 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.ts307 { 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.kt363 put("value", "John Doe")CODE
LOW…onTest/kotlin/com/agui/tests/EventSerializationTest.kt393 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…ations/aws-strands/typescript/src/__tests__/helpers.ts794 credentials: { accessKeyId: "placeholder", secretAccessKey: "unused" },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 Structure3 hits · 15 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.py83 Strip mcp__servername__ prefix from Claude SDK tool names. Claude SDK prefixes all MCP tools: mcp__weatherSTRING
HIGH…tions/adk-middleware/python/src/ag_ui_adk/adk_agent.py1760Ensure a session exists, creating it if necessary via session manager. Args: app_name: Application STRING
AI Structural Patterns7 hits · 5 pts
SeverityFileLineSnippetContext
LOW…ged-agents/python/ag_ui_claude_managed_agents/agent.py170CODE
LOW…grations/aws-strands/python/src/ag_ui_strands/utils.py1070CODE
LOW…k-middleware/python/src/ag_ui_adk/client_proxy_tool.py132CODE
LOW…tions/adk-middleware/python/src/ag_ui_adk/adk_agent.py294CODE
LOW…tions/adk-middleware/python/src/ag_ui_adk/adk_agent.py715CODE
LOW…adk-middleware/python/src/ag_ui_adk/session_manager.py67CODE
LOW…ions/antigravity/python/src/ag_ui_antigravity/agent.py151CODE
Cross-Language Confusion (JS/TS)1 hit · 5 pts
SeverityFileLineSnippetContext
HIGHscripts/release/create-or-update-release.test.ts58elif [ "$1 $2" = "release edit" ]; thenCODE
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.ts349 "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.ts69async function handleRequest(req: http.IncomingMessage, res: http.ServerResponse): Promise<void> {CODE
LOWintegrations/crew-ai/python/ag_ui_crewai/sdk.py1270 async def my_function():STRING
LOW…rations/claude-agent-sdk/typescript/examples/server.ts31async function handleRequest(CODE