A framework for building, orchestrating and deploying AI agents and multi-agent workflows with support for Python and .NET.
This report presents the forensic synthetic code analysis of microsoft/agent-framework, a Python project with 13,182 GitHub stars. SynthScan v2.0 examined 955,291 lines of code across 4433 source files, recording 16291 pattern matches distributed across 27 syntactic categories. The overall adjusted score of 20.4 places this repository in the Moderate AI signal band.
The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).
This chart maps the temporal evolution of the adjusted synthetic code score across successive scan runs. An upward trajectory indicates ongoing incorporation of AI-generated code or expanding LLM-assisted scaffolding; a stable or declining trajectory may reflect active human refactoring, code removal, or the adoption of stricter authorship policies. The dashed secondary line (right axis) independently tracks total raw pattern hit count, which can diverge from the normalised score when codebase size changes significantly between scans.
Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.
This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.
The scanner identified 16291 distinct pattern matches across 27 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …ts/samples/end_to_end/test_chatkit_attachment_store.py | 19 | def _load_attachment_store_module() -> ModuleType: | CODE |
| LOW | …ts/samples/end_to_end/test_chatkit_attachment_store.py | 48 | def test_get_file_path_returns_direct_child(tmp_path: Path) -> None: | CODE |
| LOW | …ts/samples/end_to_end/test_chatkit_attachment_store.py | 68 | def test_get_file_path_rejects_non_filename_ids(tmp_path: Path, attachment_id: str) -> None: | CODE |
| LOW | …ts/samples/end_to_end/test_chatkit_attachment_store.py | 75 | async def test_attachment_routes_return_bad_request_for_invalid_id(chatkit_app_module: ModuleType) -> None: | CODE |
| LOW⚡ | python/tests/samples/hosting/test_toolbox_endpoint.py | 60 | def test_explicit_endpoint_returned_as_is(self, resolve_endpoint, monkeypatch: pytest.MonkeyPatch): | CODE |
| LOW⚡ | python/tests/samples/hosting/test_toolbox_endpoint.py | 67 | def test_empty_string_raises_value_error(self, resolve_endpoint, monkeypatch: pytest.MonkeyPatch): | CODE |
| LOW⚡ | python/tests/samples/hosting/test_toolbox_endpoint.py | 73 | def test_fallback_constructs_url_from_project_vars(self, resolve_endpoint, monkeypatch: pytest.MonkeyPatch): | CODE |
| LOW⚡ | python/tests/samples/hosting/test_toolbox_endpoint.py | 82 | def test_fallback_strips_trailing_slash_from_project_endpoint( | CODE |
| LOW | python/tests/samples/hosting/test_toolbox_endpoint.py | 93 | def test_neither_variable_group_set_raises_value_error(self, resolve_endpoint, monkeypatch: pytest.MonkeyPatch): | CODE |
| LOW | …-migration/orchestrations/01_round_robin_group_chat.py | 102 | async def run_agent_framework_with_cycle() -> None: | CODE |
| LOW | …c-kernel-migration/processes/fan_out_fan_in_process.py | 49 | async def _start_local_kernel_process( | CODE |
| LOW | …c-kernel-migration/processes/fan_out_fan_in_process.py | 136 | async def run_semantic_kernel_process_example() -> None: | CODE |
| LOW | …c-kernel-migration/processes/fan_out_fan_in_process.py | 232 | async def run_agent_framework_workflow_example() -> str | None: | CODE |
| LOW | …/semantic-kernel-migration/processes/nested_process.py | 134 | async def run_semantic_kernel_nested_process() -> None: | CODE |
| LOW | …/semantic-kernel-migration/processes/nested_process.py | 253 | async def run_agent_framework_nested_workflow(initial_message: str) -> Sequence[str]: | CODE |
| LOW | …es/semantic-kernel-migration/orchestrations/handoff.py | 75 | def build_semantic_kernel_agents() -> tuple[list[SKAgent], OrchestrationHandoffs]: | CODE |
| LOW | …es/semantic-kernel-migration/orchestrations/handoff.py | 161 | async def run_semantic_kernel_example(initial_task: str, scripted_responses: Sequence[str]) -> str: | CODE |
| LOW⚡ | …es/semantic-kernel-migration/orchestrations/handoff.py | 233 | def _collect_handoff_requests(events: list[WorkflowEvent]) -> list[WorkflowEvent]: | CODE |
| LOW⚡ | …es/semantic-kernel-migration/orchestrations/handoff.py | 241 | def _extract_final_conversation(events: list[WorkflowEvent]) -> list[Message]: | CODE |
| LOW⚡ | …es/semantic-kernel-migration/orchestrations/handoff.py | 248 | async def run_agent_framework_example(initial_task: str, scripted_responses: Sequence[str]) -> str: | CODE |
| LOW | …semantic-kernel-migration/orchestrations/sequential.py | 43 | def build_semantic_kernel_agents() -> list[SKAgent]: | CODE |
| LOW | …semantic-kernel-migration/orchestrations/sequential.py | 61 | async def sk_agent_response_callback( | CODE |
| LOW | …semantic-kernel-migration/orchestrations/sequential.py | 81 | async def run_agent_framework_example(prompt: str) -> list[Message]: | CODE |
| LOW | …semantic-kernel-migration/orchestrations/sequential.py | 106 | async def run_semantic_kernel_example(prompt: str) -> str: | CODE |
| LOW | …semantic-kernel-migration/orchestrations/group_chat.py | 60 | def build_semantic_kernel_agents() -> list[ChatCompletionAgent]: | CODE |
| LOW | …semantic-kernel-migration/orchestrations/group_chat.py | 118 | async def should_request_user_input(self, chat_history: ChatHistory) -> BooleanResult: | CODE |
| LOW | …semantic-kernel-migration/orchestrations/group_chat.py | 188 | async def sk_agent_response_callback(message: ChatMessageContent | Sequence[ChatMessageContent]) -> None: | CODE |
| LOW | …semantic-kernel-migration/orchestrations/group_chat.py | 200 | async def run_semantic_kernel_example(task: str) -> str: | CODE |
| LOW | …semantic-kernel-migration/orchestrations/group_chat.py | 230 | async def run_agent_framework_example(task: str) -> str: | CODE |
| LOW | …ic-kernel-migration/orchestrations/concurrent_basic.py | 42 | def build_semantic_kernel_agents() -> list[ChatCompletionAgent]: | CODE |
| LOW | …ic-kernel-migration/orchestrations/concurrent_basic.py | 60 | async def run_semantic_kernel_example(prompt: str) -> Sequence[ChatMessageContent]: | CODE |
| LOW | …ic-kernel-migration/orchestrations/concurrent_basic.py | 78 | def _print_semantic_kernel_outputs(outputs: Sequence[ChatMessageContent]) -> None: | CODE |
| LOW | …ic-kernel-migration/orchestrations/concurrent_basic.py | 94 | async def run_agent_framework_example(prompt: str) -> Sequence[list[Message]]: | CODE |
| LOW | …ic-kernel-migration/orchestrations/concurrent_basic.py | 119 | def _print_agent_framework_outputs(conversations: Sequence[Sequence[Message]]) -> None: | CODE |
| LOW | …s/semantic-kernel-migration/orchestrations/magentic.py | 53 | async def build_semantic_kernel_agents() -> list[ChatCompletionAgent | OpenAIAssistantAgent]: | CODE |
| LOW | …s/semantic-kernel-migration/orchestrations/magentic.py | 83 | def sk_agent_response_callback( | CODE |
| LOW | …s/semantic-kernel-migration/orchestrations/magentic.py | 98 | async def run_semantic_kernel_example(prompt: str) -> Sequence[ChatMessageContent]: | CODE |
| LOW | …s/semantic-kernel-migration/orchestrations/magentic.py | 121 | def _print_semantic_kernel_outputs(outputs: Sequence[ChatMessageContent]) -> None: | CODE |
| LOW | …s/semantic-kernel-migration/orchestrations/magentic.py | 137 | async def run_agent_framework_example(prompt: str) -> str | None: | CODE |
| LOW | …s/semantic-kernel-migration/orchestrations/magentic.py | 194 | def _print_agent_framework_output(result: str | None) -> None: | CODE |
| LOW | python/samples/04-hosting/a2a/README.md | 109 | def resolve_tenant_user_scope(context): | CODE |
| LOW | python/samples/04-hosting/a2a/invoice_data.py | 65 | def _random_date_within_last_two_months() -> datetime: | CODE |
| LOW | …/foundry-hosted-agents/invocations/break_glass/main.py | 42 | def get_session_partition_key() -> str: | CODE |
| LOW | …oundry-hosted-agents/responses/using_deployed_agent.py | 52 | async def run_service_managed_session( | CODE |
| LOW | …s/resilient_long_running_workflow/verify_resiliency.py | 81 | def _create_streaming_background_response(payload: dict[str, Any], progress: dict[str, Any]) -> None: | CODE |
| LOW | …/04-hosting/af-hosting/local_responses_workflow/app.py | 147 | def workflow_prompt_from_messages(messages: Any) -> str: | CODE |
| LOW | …/04-hosting/af-hosting/local_responses_workflow/app.py | 181 | def response_from_workflow_result(result: Any) -> AgentResponse[Any]: | CODE |
| LOW⚡ | python/samples/02-agents/auto_retry.py | 151 | async def rate_limit_retry_middleware( | CODE |
| LOW | python/samples/02-agents/auto_retry.py | 200 | async def class_based_middleware_example() -> None: | CODE |
| LOW | python/samples/02-agents/auto_retry.py | 220 | async def function_based_middleware_example() -> None: | CODE |
| LOW | python/samples/02-agents/typed_options.py | 36 | async def demo_anthropic_chat_client() -> None: | CODE |
| LOW | python/samples/02-agents/typed_options.py | 109 | async def demo_openai_chat_client_reasoning_models() -> None: | CODE |
| LOW | python/samples/02-agents/background_responses.py | 67 | async def streaming_with_resumption() -> None: | CODE |
| LOW | …les/02-agents/middleware/runtime_context_delegation.py | 66 | async def inject_context_middleware( | CODE |
| LOW | …2-agents/middleware/override_result_with_middleware.py | 59 | async def weather_override_middleware(context: ChatContext, call_next: Callable[[], Awaitable[None]]) -> None: | CODE |
| LOW | …2-agents/middleware/override_result_with_middleware.py | 92 | async def validate_weather_middleware(context: ChatContext, call_next: Callable[[], Awaitable[None]]) -> None: | CODE |
| LOW | …n/samples/02-agents/middleware/decorator_middleware.py | 68 | async def simple_function_middleware(context, call_next): # type: ignore - parameters intentionally untyped to demonstr | CODE |
| LOW | …ples/02-agents/middleware/function_based_middleware.py | 51 | async def security_agent_middleware( | CODE |
| LOW | …ples/02-agents/middleware/function_based_middleware.py | 70 | async def logging_function_middleware( | CODE |
| LOW | …gents/middleware/exception_handling_with_middleware.py | 43 | async def exception_handling_middleware( | CODE |
| 9768 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM⚡ | python/tests/samples/hosting/test_toolbox_endpoint.py | 16 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | python/tests/samples/hosting/test_toolbox_endpoint.py | 19 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | python/tests/samples/hosting/test_toolbox_endpoint.py | 28 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | python/tests/samples/hosting/test_toolbox_endpoint.py | 30 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | python/tests/samples/hosting/test_toolbox_endpoint.py | 49 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | python/tests/samples/hosting/test_toolbox_endpoint.py | 51 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | python/samples/04-hosting/a2a/agent_definitions.py | 16 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | python/samples/04-hosting/a2a/agent_definitions.py | 18 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | python/samples/04-hosting/a2a/agent_definitions.py | 47 | # --------------------------------------------------------------------------- | STRING |
| MEDIUM | python/samples/04-hosting/a2a/agent_definitions.py | 49 | # --------------------------------------------------------------------------- | STRING |
| MEDIUM | python/samples/04-hosting/a2a/agent_definitions.py | 80 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | python/samples/04-hosting/a2a/agent_definitions.py | 82 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | python/samples/04-hosting/a2a/agent_definitions.py | 153 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | python/samples/04-hosting/a2a/agent_definitions.py | 155 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | python/samples/02-agents/auto_retry.py | 65 | # ============================================================================= | COMMENT |
| MEDIUM⚡ | python/samples/02-agents/auto_retry.py | 67 | # ============================================================================= | COMMENT |
| MEDIUM | python/samples/02-agents/auto_retry.py | 111 | # ============================================================================= | COMMENT |
| MEDIUM | python/samples/02-agents/auto_retry.py | 113 | # ============================================================================= | COMMENT |
| MEDIUM⚡ | python/samples/02-agents/auto_retry.py | 145 | # ============================================================================= | COMMENT |
| MEDIUM⚡ | python/samples/02-agents/auto_retry.py | 147 | # ============================================================================= | COMMENT |
| MEDIUM | python/samples/02-agents/auto_retry.py | 176 | # ============================================================================= | COMMENT |
| MEDIUM | python/samples/02-agents/auto_retry.py | 178 | # ============================================================================= | COMMENT |
| MEDIUM | python/samples/02-agents/response_stream.py | 147 | # ========================================================================= | COMMENT |
| MEDIUM | python/samples/02-agents/response_stream.py | 149 | # ========================================================================= | COMMENT |
| MEDIUM⚡ | python/samples/02-agents/response_stream.py | 173 | # ========================================================================= | COMMENT |
| MEDIUM⚡ | python/samples/02-agents/response_stream.py | 175 | # ========================================================================= | COMMENT |
| MEDIUM⚡ | python/samples/02-agents/response_stream.py | 186 | # ========================================================================= | COMMENT |
| MEDIUM⚡ | python/samples/02-agents/response_stream.py | 188 | # ========================================================================= | COMMENT |
| MEDIUM | python/samples/02-agents/response_stream.py | 220 | # ========================================================================= | COMMENT |
| MEDIUM | python/samples/02-agents/response_stream.py | 222 | # ========================================================================= | COMMENT |
| MEDIUM | python/samples/02-agents/response_stream.py | 244 | # ========================================================================= | COMMENT |
| MEDIUM | python/samples/02-agents/response_stream.py | 246 | # ========================================================================= | COMMENT |
| MEDIUM | python/samples/02-agents/response_stream.py | 275 | # ========================================================================= | COMMENT |
| MEDIUM | python/samples/02-agents/response_stream.py | 277 | # ========================================================================= | COMMENT |
| MEDIUM | python/samples/02-agents/response_stream.py | 317 | # ========================================================================= | COMMENT |
| MEDIUM | python/samples/02-agents/response_stream.py | 319 | # ========================================================================= | COMMENT |
| MEDIUM | …les/02-agents/middleware/runtime_context_delegation.py | 262 | # ================================================================ | COMMENT |
| MEDIUM | …les/02-agents/middleware/runtime_context_delegation.py | 376 | # =================================================================== | COMMENT |
| MEDIUM | …n/samples/02-agents/security/email_security_example.py | 81 | # ============================================================================= | COMMENT |
| MEDIUM | …n/samples/02-agents/security/email_security_example.py | 83 | # ============================================================================= | COMMENT |
| MEDIUM | …n/samples/02-agents/security/email_security_example.py | 167 | # ============================================================================= | COMMENT |
| MEDIUM | …n/samples/02-agents/security/email_security_example.py | 169 | # ============================================================================= | COMMENT |
| MEDIUM | …n/samples/02-agents/security/email_security_example.py | 245 | # ============================================================================= | COMMENT |
| MEDIUM | …n/samples/02-agents/security/email_security_example.py | 247 | # ============================================================================= | COMMENT |
| MEDIUM | …les/02-agents/security/repo_confidentiality_example.py | 69 | # ============================================================================= | COMMENT |
| MEDIUM | …les/02-agents/security/repo_confidentiality_example.py | 71 | # ============================================================================= | COMMENT |
| MEDIUM | …les/02-agents/security/repo_confidentiality_example.py | 102 | # ============================================================================= | COMMENT |
| MEDIUM | …les/02-agents/security/repo_confidentiality_example.py | 104 | # ============================================================================= | COMMENT |
| MEDIUM | …les/02-agents/security/repo_confidentiality_example.py | 135 | # ========================================================================= | COMMENT |
| MEDIUM | …les/02-agents/security/repo_confidentiality_example.py | 139 | # ========================================================================= | COMMENT |
| MEDIUM | …les/02-agents/security/repo_confidentiality_example.py | 161 | # ===================================================================== | COMMENT |
| MEDIUM | …les/02-agents/security/repo_confidentiality_example.py | 164 | # ===================================================================== | COMMENT |
| MEDIUM | …les/02-agents/security/repo_confidentiality_example.py | 194 | # ============================================================================= | COMMENT |
| MEDIUM | …les/02-agents/security/repo_confidentiality_example.py | 196 | # ============================================================================= | COMMENT |
| MEDIUM | python/samples/02-agents/mcp/mcp_long_running_task.py | 42 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | python/samples/02-agents/mcp/mcp_long_running_task.py | 44 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | python/samples/02-agents/mcp/mcp_long_running_task.py | 123 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | python/samples/02-agents/mcp/mcp_long_running_task.py | 125 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | python/samples/02-agents/mcp/mcp_long_running_task.py | 168 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | python/samples/02-agents/mcp/mcp_long_running_task.py | 170 | # --------------------------------------------------------------------------- | COMMENT |
| 886 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …n-migration/single_agent/03_agent_thread_and_stream.py | 1 | # /// script | COMMENT |
| LOW | …s/autogen-migration/single_agent/02_agent_with_tool.py | 1 | # /// script | COMMENT |
| LOW | …mples/autogen-migration/single_agent/01_basic_agent.py | 1 | # /// script | COMMENT |
| LOW | …c-kernel-migration/processes/fan_out_fan_in_process.py | 1 | # /// script | COMMENT |
| LOW | …/semantic-kernel-migration/processes/nested_process.py | 1 | # /// script | COMMENT |
| LOW | …hat_completion/03_chat_completion_thread_and_stream.py | 1 | # /// script | COMMENT |
| LOW | …-migration/chat_completion/01_basic_chat_completion.py | 1 | # /// script | COMMENT |
| LOW | …ration/chat_completion/02_chat_completion_with_tool.py | 1 | # /// script | COMMENT |
| LOW | …es/semantic-kernel-migration/orchestrations/handoff.py | 1 | # /// script | COMMENT |
| LOW | …semantic-kernel-migration/orchestrations/sequential.py | 1 | # /// script | COMMENT |
| LOW | …semantic-kernel-migration/orchestrations/group_chat.py | 1 | # /// script | COMMENT |
| LOW | …ic-kernel-migration/orchestrations/concurrent_basic.py | 1 | # /// script | COMMENT |
| LOW | …s/semantic-kernel-migration/orchestrations/magentic.py | 1 | # /// script | COMMENT |
| LOW | …igration/copilot_studio/02_copilot_studio_streaming.py | 1 | # /// script | COMMENT |
| LOW | …ration/copilot_studio/01_basic_copilot_studio_agent.py | 1 | # /// script | COMMENT |
| LOW | …enai_responses/03_responses_agent_structured_output.py | 1 | # /// script | COMMENT |
| LOW | …migration/openai_responses/01_basic_responses_agent.py | 1 | # /// script | COMMENT |
| LOW | …ation/openai_responses/02_responses_agent_with_tool.py | 1 | # /// script | COMMENT |
| LOW | python/samples/04-hosting/mcp/manual_app.py | 1 | # /// script | COMMENT |
| LOW | python/samples/04-hosting/mcp/session_app.py | 1 | # /// script | COMMENT |
| LOW | python/samples/04-hosting/mcp/agent_app.py | 1 | # /// script | COMMENT |
| LOW | python/samples/04-hosting/mcp/fastmcp_app.py | 1 | # /// script | COMMENT |
| LOW | python/samples/04-hosting/mcp/workflow_app.py | 1 | # /// script | COMMENT |
| LOW | …ses/foundry_toolbox/scripts/list-foundry-connectors.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | …s/responses/declarative_customer_support/workflow.yaml | 1 | # A multi-turn customer-support triage workflow defined declaratively. | COMMENT |
| LOW | …ents/responses/foundry_toolbox_mcp_skills/toolbox.yaml | 1 | # toolbox.yaml | COMMENT |
| LOW | …04-hosting/container/hyperlight_codeact/call_server.py | 1 | # /// script | COMMENT |
| LOW | …-hosting/container/hyperlight_codeact/requirements.txt | 1 | # agent-framework, agent-framework-foundry-hosting, and agent-framework-hyperlight | COMMENT |
| LOW | …s/04-hosting/af-hosting/local_responses_harness/app.py | 241 | # Sample output: | COMMENT |
| LOW | …on/samples/04-hosting/af-hosting/local_telegram/app.py | 1 | # /// script | COMMENT |
| LOW | …es/04-hosting/af-hosting/local_telegram/polling_app.py | 1 | # /// script | COMMENT |
| LOW | …/02-agents/tools/function_tool_with_max_invocations.py | 41 | print(f"Response: {response.text}") | COMMENT |
| LOW | …02-agents/tools/function_tool_recover_from_failures.py | 61 | response = await agent.run("Greet Bob", session=session) | COMMENT |
| LOW | python/samples/02-agents/compaction/basics.py | 101 | # selected_strategy = SlidingWindowStrategy(keep_last_groups=4, preserve_system=True) | COMMENT |
| LOW | python/samples/02-agents/compaction/basics.py | 121 | # ) | COMMENT |
| LOW | …on/samples/02-agents/compaction/compaction_provider.py | 81 | # BEFORE each turn: SlidingWindow drops older message groups from | COMMENT |
| LOW | …on/samples/02-agents/compaction/compaction_provider.py | 141 | # ── What the model actually sees ── | COMMENT |
| LOW | …es/02-agents/context_providers/file_memory_provider.py | 61 | # Here we use a file-system backed store rooted at a local | COMMENT |
| LOW | …oviders/file_access_data_processing/data_processing.py | 141 | # quantity, unit_price, region, salesperson. | COMMENT |
| LOW | python/samples/02-agents/harness/harness_research.py | 1 | # /// script | COMMENT |
| LOW | …n/samples/02-agents/harness/harness_data_processing.py | 1 | # /// script | COMMENT |
| LOW | …ness/build_your_own_claw/claw_step01_meet_your_claw.py | 1 | # /// script | COMMENT |
| LOW | …s/build_your_own_claw/claw_step02_working_with_data.py | 1 | # /// script | COMMENT |
| LOW | …uild_your_own_claw/claw_step03_scaling_capabilities.py | 1 | # /// script | COMMENT |
| LOW | …d_your_own_claw/claw_step04_production_ready/hosted.py | 1 | # /// script | COMMENT |
| LOW | …ld_your_own_claw/claw_step04_production_ready/evals.py | 1 | # /// script | COMMENT |
| LOW | …ld_your_own_claw/claw_step04_production_ready/agent.py | 1 | # /// script | COMMENT |
| LOW | …r_own_claw/claw_step04_production_ready/console_app.py | 1 | # /// script | COMMENT |
| LOW | …/03-workflows/_start-here/step1_executors_and_edges.py | 61 | Prerequisites | COMMENT |
| LOW | …/03-workflows/_start-here/step1_executors_and_edges.py | 121 | COMMENT | |
| LOW | …03-workflows/declarative/invoke_mcp_tool/workflow.yaml | 1 | # | COMMENT |
| LOW | …orkflows/declarative/invoke_http_request/workflow.yaml | 1 | # | COMMENT |
| LOW | …flows/declarative/agent_to_function_tool/workflow.yaml | 1 | # Agent to Function Tool Workflow | COMMENT |
| LOW | …amples/05-end-to-end/m365-agent/m365_agent_demo/app.py | 1 | # /// script | COMMENT |
| LOW | …valuation/foundry_evals/evaluate_with_rubric_sample.py | 101 | print(f"Portal: {r.report_url}") | COMMENT |
| LOW | …d-to-end/evaluation/self_reflection/self_reflection.py | 1 | # /// script | COMMENT |
| LOW | …to-end/evaluation/red_teaming/red_team_agent_sample.py | 1 | # /// script | COMMENT |
| LOW | python/samples/05-end-to-end/chatkit-integration/app.py | 1 | # /// script | COMMENT |
| LOW | …les/05-end-to-end/ag_ui_single_agent/backend/server.py | 1 | # /// script | COMMENT |
| LOW | python/scripts/integration_test_report/aggregate.py | 101 | testcases = list(root.findall("testcase")) | COMMENT |
| 1442 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | python/devsetup.sh | 2 | # Create a virtual environment with Python 3.10 (you can change this to 3.11, 3.12 or 3.13) | COMMENT |
| MEDIUM | …n-migration/single_agent/03_agent_thread_and_stream.py | 69 | # Create a session to maintain state | COMMENT |
| MEDIUM | …s/autogen-migration/single_agent/02_agent_with_tool.py | 35 | # Define a simple tool function | COMMENT |
| MEDIUM | …les/autogen-migration/single_agent/04_agent_as_tool.py | 25 | # Create a specialized writer agent | COMMENT |
| MEDIUM | …s/semantic-kernel-migration/orchestrations/magentic.py | 159 | # Create a manager agent for orchestration | COMMENT |
| MEDIUM | python/samples/01-get-started/03_multi_turn.py | 33 | # Create a session to maintain conversation history | COMMENT |
| MEDIUM⚡ | python/samples/04-hosting/a2a/a2a_server.py | 163 | # Create the LLM client | COMMENT |
| MEDIUM⚡ | python/samples/04-hosting/a2a/a2a_server.py | 171 | # Create the Agent Framework agent for the chosen type | COMMENT |
| MEDIUM | …/foundry-hosted-agents/invocations/break_glass/main.py | 23 | # Create the agent | COMMENT |
| MEDIUM | …oundry-hosted-agents/responses/foundry_toolbox/main.py | 25 | # Create the chat client | COMMENT |
| MEDIUM | …-hosting/foundry-hosted-agents/responses/files/main.py | 53 | # Create the chat client | COMMENT |
| MEDIUM | …agents/responses/foundry_toolbox_mcp_skills/agent.yaml | 15 | # Create the skills and toolbox from the bundled skills/ folder and | COMMENT |
| MEDIUM | …sponses/foundry_toolbox_mcp_skills/agent.manifest.yaml | 34 | # Create the skills and toolbox from the bundled skills/ folder and | COMMENT |
| MEDIUM | python/samples/02-agents/typed_options.py | 65 | # Create a typed agent for Anthropic - IDE knows Anthropic-specific options! | COMMENT |
| MEDIUM | python/samples/02-agents/typed_options.py | 139 | # Create a typed agent - IDE will autocomplete options! | COMMENT |
| MEDIUM⚡ | python/samples/02-agents/response_stream.py | 178 | # Create a fresh stream (streams can only be consumed once) | COMMENT |
| MEDIUM | …les/02-agents/middleware/runtime_context_delegation.py | 92 | # Create a container instance that will be shared via closure | COMMENT |
| MEDIUM | …02-agents/middleware/agent_and_run_level_middleware.py | 156 | # Create a simple cache key from the last message | COMMENT |
| MEDIUM | …es/02-agents/middleware/session_behavior_middleware.py | 93 | # Create a session that will persist messages between runs | COMMENT |
| MEDIUM | …s/function_tool_from_dict_with_dependency_injection.py | 54 | # Create the FunctionTool using dependency injection | COMMENT |
| MEDIUM | …samples/02-agents/tools/function_tool_with_approval.py | 37 | # Define a simple weather tool that requires approval | COMMENT |
| MEDIUM | …n/samples/02-agents/tools/function_tool_with_kwargs.py | 28 | # Define the function tool with explicit invocation context. | COMMENT |
| MEDIUM | …2-agents/tools/function_tool_with_session_injection.py | 23 | # Define the function tool with explicit invocation context. | COMMENT |
| MEDIUM | …2-agents/tools/function_tool_with_session_injection.py | 47 | # Create a session | COMMENT |
| MEDIUM | …n/samples/02-agents/security/email_security_example.py | 295 | # Create the main agent's Foundry chat client using the configured deployment. | COMMENT |
| MEDIUM | …n/samples/02-agents/security/email_security_example.py | 302 | # Create a separate Foundry client for quarantine operations. | COMMENT |
| MEDIUM | …n/samples/02-agents/security/email_security_example.py | 321 | # Create the secure agent - security tools and instructions injected via context provider | COMMENT |
| MEDIUM | python/samples/02-agents/devui/in_memory_mode.py | 108 | # Create a basic workflow: Input -> UpperCase -> AddExclamation -> Output | COMMENT |
| MEDIUM | …on/samples/02-agents/devui/workflow_fanout/workflow.py | 636 | # Create the workflow instance | COMMENT |
| MEDIUM | …thon/samples/02-agents/devui/workflow_spam/workflow.py | 384 | # Create the workflow instance that DevUI can discover | COMMENT |
| MEDIUM | …roviders/github_copilot/github_copilot_with_session.py | 69 | # Create a session to maintain conversation context | COMMENT |
| MEDIUM | …/foundry/foundry_chat_client_code_interpreter_files.py | 71 | # Create the FoundryChatClient | COMMENT |
| MEDIUM | …/providers/foundry/foundry_chat_client_with_session.py | 75 | # Create a new session that will be reused | COMMENT |
| MEDIUM | …/providers/foundry/foundry_chat_client_with_session.py | 126 | # Create a new agent instance but use the existing session with its message history | COMMENT |
| MEDIUM | …rs/azure/openai_chat_completion_client_with_session.py | 75 | # Create a new session that will be reused | COMMENT |
| MEDIUM | …rs/azure/openai_chat_completion_client_with_session.py | 126 | # Create a new agent instance but use the existing session with its message history | COMMENT |
| MEDIUM | …2-agents/providers/azure/openai_client_with_session.py | 73 | # Create a new session that will be reused | COMMENT |
| MEDIUM | …2-agents/providers/azure/openai_client_with_session.py | 133 | # Create a session with the existing ID | COMMENT |
| MEDIUM | …roviders/azure/openai_client_with_structured_output.py | 32 | # Create an Azure OpenAI Chat agent | COMMENT |
| MEDIUM | …roviders/azure/openai_client_with_structured_output.py | 58 | # Create an Azure OpenAI Chat agent | COMMENT |
| MEDIUM | …s/providers/anthropic/anthropic_claude_with_session.py | 76 | # Create a session to maintain conversation context | COMMENT |
| MEDIUM | …ples/02-agents/providers/anthropic/anthropic_skills.py | 40 | # Create a agent with the pptx skill enabled | COMMENT |
| MEDIUM | …ples/02-agents/providers/openai/client_with_session.py | 72 | # Create a new session that will be reused | COMMENT |
| MEDIUM | …ples/02-agents/providers/openai/client_with_session.py | 135 | # Create a session with the existing ID | COMMENT |
| MEDIUM | …/02-agents/providers/openai/client_image_generation.py | 62 | # Create an agent with customized image generation options | COMMENT |
| MEDIUM | …ents/providers/openai/client_with_structured_output.py | 31 | # Create an OpenAI Chat agent | COMMENT |
| MEDIUM | …ents/providers/openai/client_with_structured_output.py | 57 | # Create an OpenAI Chat agent | COMMENT |
| MEDIUM | …roviders/openai/chat_completion_client_with_session.py | 70 | # Create a new session that will be reused | COMMENT |
| MEDIUM | …roviders/openai/chat_completion_client_with_session.py | 119 | # Create a new agent instance but use the existing session with its message history | COMMENT |
| MEDIUM | …amples/02-agents/providers/openai/client_with_shell.py | 35 | # Create a hosted shell tool with the default auto container environment | COMMENT |
| MEDIUM | …2-agents/providers/openai/client_with_agent_as_tool.py | 42 | # Create a specialized writer agent | COMMENT |
| MEDIUM | …n/samples/02-agents/context_providers/todo_provider.py | 64 | # Create the TodoProvider and attach it to the agent as a context provider. The provider | COMMENT |
| MEDIUM⚡ | …02-agents/context_providers/azure_ai_foundry_memory.py | 63 | # Create a memory store | COMMENT |
| MEDIUM⚡ | …02-agents/context_providers/azure_ai_foundry_memory.py | 77 | # Create the chat client | COMMENT |
| MEDIUM⚡ | …02-agents/context_providers/azure_ai_foundry_memory.py | 79 | # Create the Foundry Memory context provider | COMMENT |
| MEDIUM⚡ | …02-agents/context_providers/azure_ai_foundry_memory.py | 89 | # Create an agent with the memory context provider | COMMENT |
| MEDIUM⚡ | …02-agents/context_providers/simple_context_provider.py | 119 | # Create the memory provider | COMMENT |
| MEDIUM⚡ | …02-agents/context_providers/simple_context_provider.py | 122 | # Create the agent with memory | COMMENT |
| MEDIUM⚡ | …02-agents/context_providers/simple_context_provider.py | 128 | # Create a new session for the conversation | COMMENT |
| MEDIUM | …les/02-agents/context_providers/agent_mode_provider.py | 92 | # Create the agent and attach the mode provider as a context provider. | COMMENT |
| 283 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | python/CODING_STANDARD.md | 515 | Create a new client with the specified configuration. Args: model: The model ID to use. If not provided, | STRING |
| HIGH | python/CODING_STANDARD.md | 549 | Create a new agent with the specified configuration. Args: name: The name of the agent. client: The | STRING |
| HIGH | …arness/build_your_own_claw/subprocess_script_runner.py | 26 | Run a skill script as a local Python subprocess. Uses ``FileSkillScript.full_path`` as the script path, converts the | STRING |
| HIGH | …aw_step04_production_ready/subprocess_script_runner.py | 26 | Run a skill script as a local Python subprocess. Uses ``FileSkillScript.full_path`` as the script path, converts the | STRING |
| HIGH | …amples/02-agents/harness/console/observers/__init__.py | 64 | Build observers with planning support (structured output in plan mode). Replaces TextOutputObserver with PlanningOu | STRING |
| HIGH | …n/samples/02-agents/skills/subprocess_script_runner.py | 21 | Run a skill script as a local Python subprocess. Uses ``FileSkillScript.full_path`` as the script path, converts the | STRING |
| HIGH | …/05-end-to-end/chatkit-integration/attachment_store.py | 65 | Get the filesystem path for an attachment. Args: attachment_id: Identifier used as the attachment f | STRING |
| HIGH | …osting/agent_framework_foundry_hosting/_state_store.py | 116 | Load a workflow checkpoint from the store. Args: checkpoint_id: The ID of the checkpoint to load. | STRING |
| HIGH | …ry_hosting/agent_framework_foundry_hosting/_toolbox.py | 279 | Return a :class:`~agent_framework.SkillsProvider` backed by this toolbox. A Foundry toolbox can serve Agent Ski | STRING |
| HIGH | …_hosting/agent_framework_foundry_hosting/_responses.py | 1387 | Converts an Item to a Message. Args: item: The Item to convert. approval_storage: An optional Appro | STRING |
| HIGH | …_hosting/agent_framework_foundry_hosting/_responses.py | 1655 | Converts an OutputItem to a Message. Args: item (OutputItem): The OutputItem to convert. approval_s | STRING |
| HIGH | …_hosting/agent_framework_foundry_hosting/_responses.py | 1907 | Converts an OutputMessageContent to a Content object. Args: content (OutputMessageContent): The OutputMessa | STRING |
| HIGH | …_hosting/agent_framework_foundry_hosting/_responses.py | 1954 | Converts a MessageContent to a Content object. Args: content (MessageContent): The MessageContent to conver | STRING |
| HIGH | …ithub_copilot/agent_framework_github_copilot/_agent.py | 761 | Get a response from the agent. This method returns the final result of the agent's execution as a singl | STRING |
| HIGH | …ithub_copilot/agent_framework_github_copilot/_agent.py | 957 | Internal method to stream updates from GitHub Copilot. Args: messages: The message(s) to send to th | STRING |
| HIGH | …ithub_copilot/agent_framework_github_copilot/_agent.py | 1400 | Get an existing session or create a new one for the session. Args: agent_session: The conversation | STRING |
| HIGH | …ages/foundry/agent_framework_foundry/_foundry_evals.py | 186 | Resolve a short evaluator name to its fully-qualified ``builtin.*`` form. Args: name: Short name (e.g. ``"r | STRING |
| HIGH | …s/foundry/agent_framework_foundry/_embedding_client.py | 199 | Generate embeddings for text and/or image inputs. Text inputs (``str`` or ``Content`` with ``type="text"``) are | STRING |
| HIGH | …ckages/foundry/agent_framework_foundry/_chat_client.py | 665 | Create a hosted MCP tool configuration for Foundry. This configures an MCP server that runs remotely on Azure A | STRING |
| HIGH | …os/agent_framework_azure_cosmos/_checkpoint_storage.py | 237 | Load a checkpoint from Cosmos DB by ID. Args: checkpoint_id: The unique ID of the checkpoint to loa | STRING |
| HIGH | python/packages/core/agent_framework/_types.py | 87 | Detect media type from base64-encoded data by examining magic bytes. This function examines the binary signature (m | STRING |
| HIGH | python/packages/core/agent_framework/_types.py | 177 | Extract base64 data string from data URI. Args: content: The Content instance to extract data from. Re | STRING |
| HIGH | python/packages/core/agent_framework/_types.py | 206 | Extract and decode binary data from data URI. Args: content: The Content instance to extract data from. | STRING |
| HIGH | python/packages/core/agent_framework/_types.py | 431 | Add two UsageDetails dictionaries by summing all numeric values. If any of the two usage details contains a key wit | STRING |
| HIGH | python/packages/core/agent_framework/_types.py | 660 | Create data content from raw binary data. Use this to create content from binary data (images, audio, documents | STRING |
| HIGH | python/packages/core/agent_framework/_types.py | 736 | Create content from a URI, can be both data URI or external URI. Use this when you already have a properly form | STRING |
| HIGH | python/packages/core/agent_framework/_types.py | 1587 | Check if content has a specific top-level media type. Works with data, uri, and hosted_file content types. | STRING |
| HIGH | python/packages/core/agent_framework/_types.py | 1618 | Parse arguments from function_call, mcp_server_tool_call, or search_tool_call content. If arguments cannot be p | STRING |
| HIGH | python/packages/core/agent_framework/_types.py | 1894 | Prepend instructions to a list of messages with a specified role. This is a helper method for chat clients that nee | STRING |
| HIGH | python/packages/core/agent_framework/_types.py | 3739 | Validate and normalize chat options dictionary. Validates numeric constraints and converts types as needed. Ar | STRING |
| HIGH | python/packages/core/agent_framework/_types.py | 3798 | Normalize tools into a list. Converts callables to FunctionTool objects and preserves existing tool objects. A | STRING |
| HIGH | python/packages/core/agent_framework/_types.py | 3833 | Validate and normalize tools into a list. Converts callables to FunctionTool objects, expands MCP tools to their co | STRING |
| HIGH | python/packages/core/agent_framework/_types.py | 3884 | Validate and normalize tool_choice to a ToolMode dict. Args: tool_choice: The tool choice value to validate | STRING |
| HIGH | python/packages/core/agent_framework/_types.py | 3958 | Merge two chat options dictionaries. Values from override take precedence over base. Lists and dicts are combin | STRING |
| HIGH | python/packages/core/agent_framework/_serialization.py | 422 | Create an instance from a dictionary with optional dependency injection. This method reconstructs an object fro | STRING |
| HIGH | python/packages/core/agent_framework/_serialization.py | 592 | Create an instance from a JSON string. This is a convenience method that parses the JSON string using ``json.lo | STRING |
| HIGH | python/packages/core/agent_framework/_sessions.py | 1827 | Return a copy of the stored session, or ``None`` when absent. Args: session_id: Opaque caller-selec | STRING |
| HIGH | python/packages/core/agent_framework/_evaluation.py | 1643 | Run an agent against test queries and evaluate the results. The simplest path for evaluating an agent during develo | STRING |
| HIGH | python/packages/core/agent_framework/_telemetry.py | 180 | Prepend "agent-framework" to the User-Agent in the headers. When user agent telemetry is disabled through the ``AGE | STRING |
| HIGH | python/packages/core/agent_framework/_tools.py | 155 | Parse the inputs for a tool, ensuring they are of type Content. Args: inputs: The inputs to parse. Can be a | STRING |
| HIGH | python/packages/core/agent_framework/_tools.py | 596 | Run the AI function with the provided arguments as a Pydantic model. The raw return value of the wrapped functi | STRING |
| HIGH | python/packages/core/agent_framework/_tools.py | 1447 | Invoke a function call requested by the agent, applying middleware that is defined. Args: function_call_con | STRING |
| HIGH | python/packages/core/agent_framework/_mcp.py | 2047 | Call a tool with the given arguments. Args: tool_name: The name of the tool to call. Keywo | STRING |
| HIGH | python/packages/core/agent_framework/_mcp.py | 2625 | Call a prompt with the given arguments. Args: prompt_name: The name of the prompt to retrieve. | STRING |
| HIGH | python/packages/core/agent_framework/security.py | 213 | Combine multiple labels using the most restrictive policy. The combined label will be: - UNTRUSTED if any input | STRING |
| HIGH | python/packages/core/agent_framework/security.py | 271 | Check if writing data with context_label to a destination with max_allowed confidentiality is permitted. This funct | STRING |
| HIGH | python/packages/core/agent_framework/security.py | 365 | Retrieve content and its label by variable ID. Args: var_id: The variable ID. Returns: | STRING |
| HIGH | python/packages/core/agent_framework/security.py | 2570 | Make an isolated LLM call with labeled data. This tool creates a quarantined LLM context where untrusted content ca | STRING |
| HIGH | python/packages/core/agent_framework/security.py | 2833 | Inspect the content of a stored variable. This tool retrieves content from the ContentVariableStore and adds it to | STRING |
| HIGH | python/packages/core/agent_framework/security.py | 2925 | Store untrusted content and return a variable reference. This function is used to store potentially malicious conte | STRING |
| HIGH | python/packages/core/agent_framework/security.py | 3107 | Auto-assign FIDES security labels to every tool loaded from an MCP server. Reads the MCP ``ToolAnnotations`` hints | STRING |
| HIGH | python/packages/core/agent_framework/observability.py | 513 | Create OTLP exporters for a given endpoint and protocol. Args: endpoint: The OTLP endpoint URL (used for al | STRING |
| HIGH | python/packages/core/agent_framework/observability.py | 850 | Create an OpenTelemetry Resource from environment variables and parameters. This function reads standard OpenTeleme | STRING |
| HIGH | python/packages/core/agent_framework/observability.py | 990 | Settings for Agent Framework Observability. If the environment variables are not found, the settings can be loa | STRING |
| HIGH | python/packages/core/agent_framework/observability.py | 1380 | Returns a Tracer for use by the given instrumentation library. This function is a convenience wrapper for trace.get | STRING |
| HIGH | python/packages/core/agent_framework/observability.py | 1431 | Returns a Meter for Agent Framework. This is a convenience wrapper for metrics.get_meter() replicating the behavior | STRING |
| HIGH | python/packages/core/agent_framework/observability.py | 1612 | Configure otel providers and enable instrumentation for the application with OpenTelemetry. This method creates the | STRING |
| HIGH | python/packages/core/agent_framework/observability.py | 2663 | Starts a span for the given function. Args: attributes: The span attributes. Returns: trace.tr | STRING |
| HIGH | python/packages/core/agent_framework/_agents.py | 519 | Get the chat conversation id to forward to generic chat clients. Args: session: The active session | STRING |
| HIGH | python/packages/core/agent_framework/_agents.py | 619 | Create a FunctionTool that wraps this agent. Keyword Args: name: The name for the tool. If None, us | STRING |
| 144 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | python/README.md | 0 | special soup: clam chowder special salad: cobb salad special drink: chai tea | STRING |
| HIGH | python/samples/02-agents/mcp/agent_as_mcp_server.py | 0 | special soup: clam chowder special salad: cobb salad special drink: chai tea | STRING |
| HIGH | python/packages/core/README.md | 0 | special soup: clam chowder special salad: cobb salad special drink: chai tea | STRING |
| HIGH | …/tests/AgentConformance.IntegrationTests/MenuPlugin.cs | 0 | special soup: clam chowder special salad: cobb salad special drink: chai tea | STRING |
| HIGH | python/samples/04-hosting/mcp/manual_app.py | 0 | start and stop native mcp and model-client resources. | STRING |
| HIGH | python/samples/04-hosting/mcp/session_app.py | 0 | start and stop native mcp and model-client resources. | STRING |
| HIGH | python/samples/04-hosting/mcp/agent_app.py | 0 | start and stop native mcp and model-client resources. | STRING |
| HIGH | …/04-hosting/af-hosting/local_responses_workflow/app.py | 0 | run the webhook sample with hypercorn for local development. | STRING |
| HIGH | …s/04-hosting/af-hosting/local_responses_harness/app.py | 0 | run the webhook sample with hypercorn for local development. | STRING |
| HIGH | …n/samples/04-hosting/af-hosting/local_responses/app.py | 0 | run the webhook sample with hypercorn for local development. | STRING |
| HIGH | …on/samples/04-hosting/af-hosting/local_telegram/app.py | 0 | run the webhook sample with hypercorn for local development. | STRING |
| HIGH | …gents/providers/github_copilot/github_copilot_basic.py | 0 | example of non-streaming response (get the complete result at once). | STRING |
| HIGH | …les/02-agents/providers/foundry/foundry_chat_client.py | 0 | example of non-streaming response (get the complete result at once). | STRING |
| HIGH | …les/02-agents/providers/foundry/foundry_local_agent.py | 0 | example of non-streaming response (get the complete result at once). | STRING |
| HIGH | …-agents/providers/foundry/foundry_chat_client_basic.py | 0 | example of non-streaming response (get the complete result at once). | STRING |
| HIGH | …providers/azure/openai_chat_completion_client_basic.py | 0 | example of non-streaming response (get the complete result at once). | STRING |
| HIGH | …mples/02-agents/providers/azure/openai_client_basic.py | 0 | example of non-streaming response (get the complete result at once). | STRING |
| HIGH | …mples/02-agents/providers/anthropic/anthropic_basic.py | 0 | example of non-streaming response (get the complete result at once). | STRING |
| HIGH | …mples/02-agents/providers/ollama/ollama_agent_basic.py | 0 | example of non-streaming response (get the complete result at once). | STRING |
| HIGH | …nts/providers/ollama/ollama_with_openai_chat_client.py | 0 | example of non-streaming response (get the complete result at once). | STRING |
| HIGH | …-agents/providers/copilotstudio/copilotstudio_basic.py | 0 | example of non-streaming response (get the complete result at once). | STRING |
| HIGH | …les/02-agents/providers/mistral/mistral_agent_basic.py | 0 | example of non-streaming response (get the complete result at once). | STRING |
| HIGH | …hon/samples/02-agents/providers/openai/client_basic.py | 0 | example of non-streaming response (get the complete result at once). | STRING |
| HIGH | …gents/providers/openai/chat_completion_client_basic.py | 0 | example of non-streaming response (get the complete result at once). | STRING |
| HIGH | …gents/providers/github_copilot/github_copilot_basic.py | 0 | example of streaming response (get results as they are generated). | STRING |
| HIGH | …les/02-agents/providers/foundry/foundry_chat_client.py | 0 | example of streaming response (get results as they are generated). | STRING |
| HIGH | …les/02-agents/providers/foundry/foundry_local_agent.py | 0 | example of streaming response (get results as they are generated). | STRING |
| HIGH | …-agents/providers/foundry/foundry_chat_client_basic.py | 0 | example of streaming response (get results as they are generated). | STRING |
| HIGH | …providers/azure/openai_chat_completion_client_basic.py | 0 | example of streaming response (get results as they are generated). | STRING |
| HIGH | …mples/02-agents/providers/azure/openai_client_basic.py | 0 | example of streaming response (get results as they are generated). | STRING |
| HIGH | …les/02-agents/providers/anthropic/anthropic_foundry.py | 0 | example of streaming response (get results as they are generated). | STRING |
| HIGH | …es/02-agents/providers/anthropic/anthropic_advanced.py | 0 | example of streaming response (get results as they are generated). | STRING |
| HIGH | …ples/02-agents/providers/anthropic/anthropic_skills.py | 0 | example of streaming response (get results as they are generated). | STRING |
| HIGH | …mples/02-agents/providers/anthropic/anthropic_basic.py | 0 | example of streaming response (get results as they are generated). | STRING |
| HIGH | …mples/02-agents/providers/ollama/ollama_agent_basic.py | 0 | example of streaming response (get results as they are generated). | STRING |
| HIGH | …nts/providers/ollama/ollama_with_openai_chat_client.py | 0 | example of streaming response (get results as they are generated). | STRING |
| HIGH | …-agents/providers/copilotstudio/copilotstudio_basic.py | 0 | example of streaming response (get results as they are generated). | STRING |
| HIGH | …les/02-agents/providers/mistral/mistral_agent_basic.py | 0 | example of streaming response (get results as they are generated). | STRING |
| HIGH | …hon/samples/02-agents/providers/openai/client_basic.py | 0 | example of streaming response (get results as they are generated). | STRING |
| HIGH | …gents/providers/openai/chat_completion_client_basic.py | 0 | example of streaming response (get results as they are generated). | STRING |
| HIGH | …/github_copilot/github_copilot_with_file_operations.py | 0 | permission handler that prompts the user for approval. | STRING |
| HIGH | …gents/providers/anthropic/anthropic_claude_with_mcp.py | 0 | permission handler that prompts the user for approval. | STRING |
| HIGH | …nthropic/anthropic_claude_with_multiple_permissions.py | 0 | permission handler that prompts the user for approval. | STRING |
| HIGH | …nts/providers/anthropic/anthropic_claude_with_shell.py | 0 | permission handler that prompts the user for approval. | STRING |
| HIGH | …ers/foundry/foundry_chat_client_with_function_tools.py | 0 | example showing tools defined when creating the agent. | STRING |
| HIGH | …s/providers/azure/openai_client_with_function_tools.py | 0 | example showing tools defined when creating the agent. | STRING |
| HIGH | …e/openai_chat_completion_client_with_function_tools.py | 0 | example showing tools defined when creating the agent. | STRING |
| HIGH | …es/02-agents/providers/openai/client_with_local_mcp.py | 0 | example showing tools defined when creating the agent. | STRING |
| HIGH | …-agents/providers/openai/client_with_function_tools.py | 0 | example showing tools defined when creating the agent. | STRING |
| HIGH | …viders/openai/chat_completion_client_with_local_mcp.py | 0 | example showing tools defined when creating the agent. | STRING |
| HIGH | …s/openai/chat_completion_client_with_function_tools.py | 0 | example showing tools defined when creating the agent. | STRING |
| HIGH | …ers/foundry/foundry_chat_client_with_function_tools.py | 0 | example showing both agent-level tools and run-method tools. | STRING |
| HIGH | …s/providers/azure/openai_client_with_function_tools.py | 0 | example showing both agent-level tools and run-method tools. | STRING |
| HIGH | …e/openai_chat_completion_client_with_function_tools.py | 0 | example showing both agent-level tools and run-method tools. | STRING |
| HIGH | …-agents/providers/openai/client_with_function_tools.py | 0 | example showing both agent-level tools and run-method tools. | STRING |
| HIGH | …s/openai/chat_completion_client_with_function_tools.py | 0 | example showing both agent-level tools and run-method tools. | STRING |
| HIGH | …/providers/foundry/foundry_chat_client_with_session.py | 0 | example showing automatic session creation (service-managed session). | STRING |
| HIGH | …rs/azure/openai_chat_completion_client_with_session.py | 0 | example showing automatic session creation (service-managed session). | STRING |
| HIGH | …roviders/openai/chat_completion_client_with_session.py | 0 | example showing automatic session creation (service-managed session). | STRING |
| HIGH | …/providers/foundry/foundry_chat_client_with_session.py | 0 | example showing session persistence across multiple conversations. | STRING |
| 115 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …c-kernel-migration/processes/fan_out_fan_in_process.py | 42 | CODE | |
| LOW | …c-kernel-migration/processes/fan_out_fan_in_process.py | 43 | CODE | |
| LOW | python/samples/04-hosting/a2a/agent_definitions.py | 9 | CODE | |
| LOW | python/samples/04-hosting/mcp/manual_app.py | 23 | CODE | |
| LOW | python/samples/04-hosting/mcp/session_app.py | 33 | CODE | |
| LOW | python/samples/04-hosting/mcp/agent_app.py | 30 | CODE | |
| LOW | python/samples/04-hosting/mcp/fastmcp_app.py | 27 | CODE | |
| LOW | python/samples/04-hosting/mcp/workflow_app.py | 21 | CODE | |
| LOW | …oundry-hosted-agents/responses/using_deployed_agent.py | 3 | CODE | |
| LOW | …ing/af-hosting/local_responses_workflow/call_server.py | 19 | CODE | |
| LOW | …/04-hosting/af-hosting/local_responses_workflow/app.py | 46 | CODE | |
| LOW | …ting/af-hosting/local_responses_harness/call_server.py | 22 | CODE | |
| LOW | …s/04-hosting/af-hosting/local_responses_harness/app.py | 72 | CODE | |
| LOW | …on/samples/04-hosting/af-hosting/local_telegram/app.py | 43 | CODE | |
| LOW | …es/04-hosting/af-hosting/local_telegram/polling_app.py | 26 | CODE | |
| LOW | …4-hosting/af-hosting/local_responses/call_server_af.py | 29 | CODE | |
| LOW | …s/04-hosting/af-hosting/local_responses/call_server.py | 24 | CODE | |
| LOW | …n/samples/04-hosting/af-hosting/local_responses/app.py | 50 | CODE | |
| LOW | …samples/02-agents/tools/function_tool_with_approval.py | 12 | CODE | |
| LOW | …tools/local_code_interpreter/local_code_interpreter.py | 3 | CODE | |
| LOW | …de_interpreter/local_code_interpreter_manual_wiring.py | 3 | CODE | |
| LOW | …tools/monty_code_interpreter/monty_code_interpreter.py | 3 | CODE | |
| LOW | …de_interpreter/monty_code_interpreter_manual_wiring.py | 3 | CODE | |
| LOW | python/samples/02-agents/security/github_mcp_example.py | 23 | CODE | |
| LOW | …thon/samples/02-agents/devui/agent_weather/__init__.py | 5 | CODE | |
| LOW | …2-agents/devui/agent_content_understanding/__init__.py | 4 | CODE | |
| LOW | …ent_understanding_file_search_azure_openai/__init__.py | 4 | CODE | |
| LOW | …mples/02-agents/devui/workflow_with_agents/__init__.py | 5 | CODE | |
| LOW | …thon/samples/02-agents/devui/agent_foundry/__init__.py | 5 | CODE | |
| LOW | …thon/samples/02-agents/devui/workflow_spam/__init__.py | 5 | CODE | |
| LOW | …les/02-agents/providers/foundry/foundry_local_agent.py | 4 | CODE | |
| LOW | …oviders/foundry/foundry_chat_client_with_hosted_mcp.py | 22 | CODE | |
| LOW | …hon/samples/02-agents/providers/custom/custom_agent.py | 4 | CODE | |
| LOW | …s/02-agents/providers/openai/client_with_hosted_mcp.py | 11 | CODE | |
| LOW | …samples/02-agents/compaction/agent_client_overrides.py | 3 | CODE | |
| LOW | …02-agents/context_providers/code_act/monty_code_act.py | 3 | CODE | |
| LOW | …mples/02-agents/context_providers/code_act/code_act.py | 3 | CODE | |
| LOW | …ervability/configure_otel_providers_with_parameters.py | 20 | CODE | |
| LOW | …/samples/02-agents/observability/advanced_zero_code.py | 17 | CODE | |
| LOW | …observability/configure_otel_providers_with_env_var.py | 19 | CODE | |
| LOW | …arness/build_your_own_claw/subprocess_script_runner.py | 8 | CODE | |
| LOW | …d_your_own_claw/claw_step04_production_ready/hosted.py | 44 | CODE | |
| LOW | …ld_your_own_claw/claw_step04_production_ready/evals.py | 35 | CODE | |
| LOW | …aw_step04_production_ready/subprocess_script_runner.py | 8 | CODE | |
| LOW | …ld_your_own_claw/claw_step04_production_ready/agent.py | 34 | CODE | |
| LOW | …r_own_claw/claw_step04_production_ready/console_app.py | 39 | CODE | |
| LOW | …ples/02-agents/harness/console/textual_state_driver.py | 10 | CODE | |
| LOW | python/samples/02-agents/harness/console/formatters.py | 23 | CODE | |
| LOW | …thon/samples/02-agents/harness/console/state_driver.py | 10 | CODE | |
| LOW | …thon/samples/02-agents/harness/console/agent_runner.py | 13 | CODE | |
| LOW | …n/samples/02-agents/harness/console/harness_console.py | 9 | CODE | |
| LOW | python/samples/02-agents/harness/console/__init__.py | 10 | CODE | |
| LOW | python/samples/02-agents/harness/console/__init__.py | 10 | CODE | |
| LOW | python/samples/02-agents/harness/console/__init__.py | 11 | CODE | |
| LOW | python/samples/02-agents/harness/console/__init__.py | 12 | CODE | |
| LOW | python/samples/02-agents/harness/console/__init__.py | 13 | CODE | |
| LOW | python/samples/02-agents/harness/console/__init__.py | 13 | CODE | |
| LOW | python/samples/02-agents/harness/console/__init__.py | 13 | CODE | |
| LOW | python/samples/02-agents/harness/console/app.py | 9 | CODE | |
| LOW | python/samples/02-agents/harness/console/app_state.py | 11 | CODE | |
| 837 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | python/samples/04-hosting/a2a/a2a_server.py | 119 | except Exception: | CODE |
| MEDIUM⚡ | python/samples/04-hosting/a2a/a2a_server.py | 157 | print("Error: FOUNDRY_PROJECT_ENDPOINT environment variable is not set.") | CODE |
| MEDIUM⚡ | python/samples/04-hosting/a2a/a2a_server.py | 160 | print("Error: FOUNDRY_MODEL environment variable is not set.") | CODE |
| LOW | python/samples/04-hosting/a2a/agent_framework_to_a2a.py | 95 | except Exception: | CODE |
| LOW | …-hosting/foundry-hosted-agents/responses/tools/main.py | 47 | except Exception as e: | CODE |
| LOW⚡ | …-hosting/foundry-hosted-agents/responses/files/main.py | 20 | except Exception as e: | CODE |
| LOW⚡ | …-hosting/foundry-hosted-agents/responses/files/main.py | 29 | except Exception as e: | CODE |
| LOW⚡ | …-hosting/foundry-hosted-agents/responses/files/main.py | 39 | except Exception as e: | CODE |
| LOW | …mples/02-agents/devui/workflow_with_agents/workflow.py | 50 | except Exception: | CODE |
| LOW | …mples/02-agents/devui/workflow_with_agents/workflow.py | 62 | except Exception: | CODE |
| LOW | …/02-agents/providers/anthropic/anthropic_with_shell.py | 48 | except Exception as e: | CODE |
| LOW | …/02-agents/providers/openai/client_image_generation.py | 42 | except Exception: | CODE |
| LOW | …/02-agents/providers/openai/client_image_generation.py | 47 | except Exception: | CODE |
| LOW | …/providers/openai/client_streaming_image_generation.py | 37 | except Exception as e: | CODE |
| LOW⚡ | …02-agents/context_providers/azure_ai_foundry_memory.py | 69 | except Exception as e: | CODE |
| LOW | …02-agents/context_providers/azure_ai_foundry_memory.py | 133 | except Exception as e: | CODE |
| MEDIUM | …02-agents/context_providers/azure_ai_foundry_memory.py | 134 | print(f"An error occurred: {e}") | CODE |
| LOW | …s/azure_content_understanding/04_invoice_processing.py | 162 | except Exception: | CODE |
| LOW | …thon/samples/02-agents/harness/console/agent_runner.py | 212 | except Exception as ex: | CODE |
| LOW | python/samples/02-agents/harness/console/app.py | 484 | except Exception: | CODE |
| LOW | …les/02-agents/harness/console/components/text_input.py | 65 | except Exception: | CODE |
| LOW | …les/02-agents/harness/console/components/text_input.py | 77 | except Exception: | CODE |
| LOW | …/02-agents/harness/console/commands/session_handler.py | 63 | except Exception as ex: | CODE |
| LOW | …/02-agents/harness/console/commands/session_handler.py | 91 | except Exception as ex: | CODE |
| LOW | …ples/02-agents/conversations/redis_history_provider.py | 264 | except Exception as e: | CODE |
| MEDIUM | …ples/02-agents/conversations/redis_history_provider.py | 265 | print(f"Error running examples: {e}") | CODE |
| LOW | …/02-agents/declarative/azure_openai_responses_agent.py | 39 | except Exception: | CODE |
| LOW | python/samples/02-agents/declarative/openai_agent.py | 31 | except Exception: | CODE |
| LOW | …workflows/human-in-the-loop/concurrent_request_info.py | 80 | except Exception: | CODE |
| LOW | …ples/03-workflows/agents/magentic_workflow_as_agent.py | 114 | except Exception as e: | CODE |
| LOW | …es/03-workflows/agents/group_chat_workflow_as_agent.py | 87 | except Exception as e: | CODE |
| LOW | …rkflows/orchestrations/concurrent_custom_aggregator.py | 79 | except Exception as e: | CODE |
| LOW | …3-workflows/declarative/agent_to_function_tool/main.py | 265 | except Exception as e: | CODE |
| LOW | …on/samples/03-workflows/control-flow/edge_condition.py | 97 | except Exception: | CODE |
| LOW⚡ | …es/05-end-to-end/purview_agent/sample_purview_agent.py | 292 | except Exception as ex: # pragma: no cover - demo resilience | CODE |
| LOW⚡ | …es/05-end-to-end/purview_agent/sample_purview_agent.py | 297 | except Exception as ex: # pragma: no cover - demo resilience | CODE |
| LOW⚡ | …es/05-end-to-end/purview_agent/sample_purview_agent.py | 302 | except Exception as ex: # pragma: no cover - demo resilience | CODE |
| LOW⚡ | …es/05-end-to-end/purview_agent/sample_purview_agent.py | 307 | except Exception as ex: # pragma: no cover - demo resilience | CODE |
| LOW | …es/05-end-to-end/workflow_evaluation/run_evaluation.py | 96 | except Exception as e: | CODE |
| LOW | …s/05-end-to-end/workflow_evaluation/create_workflow.py | 128 | except Exception: | CODE |
| LOW⚡ | …s/05-end-to-end/workflow_evaluation/create_workflow.py | 175 | except Exception as e: | CODE |
| MEDIUM⚡ | …s/05-end-to-end/workflow_evaluation/create_workflow.py | 176 | print(f"Error during workflow execution: {e}") | CODE |
| LOW | …05-end-to-end/ag_ui_workflow_handoff/backend/server.py | 353 | except Exception as e: | CODE |
| LOW | …d-to-end/evaluation/self_reflection/self_reflection.py | 332 | except Exception as e: | CODE |
| LOW | …d-to-end/evaluation/self_reflection/self_reflection.py | 463 | except Exception as e: | CODE |
| LOW | …to-end/evaluation/red_teaming/red_team_agent_sample.py | 94 | except Exception as e: | STRING |
| MEDIUM | …to-end/evaluation/red_teaming/red_team_agent_sample.py | 95 | print(f"Error calling Azure OpenAI: {e!s}") | STRING |
| LOW | python/samples/05-end-to-end/chatkit-integration/app.py | 240 | except Exception as e: | CODE |
| LOW | python/samples/05-end-to-end/chatkit-integration/app.py | 330 | except Exception as e: | CODE |
| LOW | python/samples/05-end-to-end/chatkit-integration/app.py | 450 | except Exception as e: | CODE |
| LOW | python/samples/05-end-to-end/chatkit-integration/app.py | 578 | except Exception as e: | CODE |
| LOW | python/samples/05-end-to-end/chatkit-integration/app.py | 624 | except Exception as e: | CODE |
| LOW | python/samples/05-end-to-end/chatkit-integration/app.py | 655 | except Exception as e: | CODE |
| LOW | …/sample_validation/create_dynamic_workflow_executor.py | 218 | except Exception as ex: | CODE |
| LOW | …/sample_validation/create_dynamic_workflow_executor.py | 229 | except Exception as restart_ex: | CODE |
| LOW | …/sample_validation/create_dynamic_workflow_executor.py | 296 | except Exception as ex: # pragma: no cover - defensive; never fail validation over caching | CODE |
| LOW | python/scripts/sample_validation/playbook.py | 143 | except Exception as ex: | CODE |
| LOW | python/scripts/sample_validation/playbook.py | 317 | except Exception: # pragma: no cover - defensive | CODE |
| LOW | python/scripts/sample_validation/discovery.py | 46 | except Exception: | CODE |
| LOW | python/scripts/sample_validation/discovery.py | 121 | except Exception as e: | CODE |
| 385 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | TRANSPARENCY_FAQ.md | 5 | Microsoft Agent Framework is a comprehensive multi-language (C#/.NET and Python) framework for building, orchestrating, | CODE |
| MEDIUM | TRANSPARENCY_FAQ.md | 5 | Microsoft Agent Framework is a comprehensive multi-language (C#/.NET and Python) framework for building, orchestrating, | CODE |
| MEDIUM | python/CHANGELOG.md | 1577 | For more information, see the [announcement blog post](https://devblogs.microsoft.com/foundry/introducing-microsoft-agen | CODE |
| MEDIUM | python/samples/AGENTS.md | 17 | │ ├── orchestrations/ # Multi-agent orchestration patterns | CODE |
| MEDIUM | …es/semantic-kernel-migration/orchestrations/handoff.py | 53 | # Semantic Kernel orchestration path | COMMENT |
| MEDIUM | …es/semantic-kernel-migration/orchestrations/handoff.py | 186 | # Agent Framework orchestration path | COMMENT |
| MEDIUM | …semantic-kernel-migration/orchestrations/sequential.py | 39 | # Semantic Kernel orchestration path | COMMENT |
| MEDIUM | …semantic-kernel-migration/orchestrations/sequential.py | 77 | # Agent Framework orchestration path | COMMENT |
| MEDIUM | …semantic-kernel-migration/orchestrations/group_chat.py | 56 | # Semantic Kernel orchestration path | COMMENT |
| MEDIUM | …semantic-kernel-migration/orchestrations/group_chat.py | 226 | # Agent Framework orchestration path | COMMENT |
| MEDIUM | …ic-kernel-migration/orchestrations/concurrent_basic.py | 38 | # Semantic Kernel orchestration path | COMMENT |
| MEDIUM | …ic-kernel-migration/orchestrations/concurrent_basic.py | 90 | # Agent Framework orchestration path | COMMENT |
| MEDIUM | …s/semantic-kernel-migration/orchestrations/magentic.py | 49 | # Semantic Kernel orchestration path | COMMENT |
| MEDIUM | …s/semantic-kernel-migration/orchestrations/magentic.py | 133 | # Agent Framework orchestration path | COMMENT |
| MEDIUM | …s/semantic-kernel-migration/orchestrations/magentic.py | 159 | # Create a manager agent for orchestration | COMMENT |
| MEDIUM | …dry-hosted-agents/responses/azure_search_rag/README.md | 11 | ### RAG via Azure AI Search | COMMENT |
| MEDIUM | …dry-hosted-agents/responses/azure_search_rag/README.md | 159 | ## How RAG works in this sample | COMMENT |
| MEDIUM | …s/function_tool_from_dict_with_dependency_injection.py | 54 | # Create the FunctionTool using dependency injection | COMMENT |
| MEDIUM | …xt_providers/azure_ai_search/search_context_agentic.py | 24 | - See: https://techcommunity.microsoft.com/blog/azure-ai-foundry-blog/foundry-iq-boost-response-relevance-by-36-with-age | STRING |
| MEDIUM | …xt_providers/azure_ai_search/search_context_agentic.py | 47 | # Sample queries to demonstrate agentic RAG | COMMENT |
| MEDIUM | …xt_providers/azure_ai_search/search_context_agentic.py | 47 | # Sample queries to demonstrate agentic RAG | COMMENT |
| MEDIUM | …xt_providers/azure_ai_search/search_context_agentic.py | 71 | # Create Azure AI Search context provider with agentic mode (recommended for accuracy) | COMMENT |
| MEDIUM | …t_providers/azure_ai_search/search_context_semantic.py | 39 | # Sample queries to demonstrate RAG | COMMENT |
| MEDIUM | …/02-agents/context_providers/azure_ai_search/README.md | 11 | | [`search_context_agentic.py`](search_context_agentic.py) | **Agentic mode** (recommended for most scenarios): Uses Kno | CODE |
| MEDIUM | …/02-agents/context_providers/azure_ai_search/README.md | 177 | # Create search provider with agentic mode | COMMENT |
| MEDIUM | …/02-agents/context_providers/azure_ai_search/README.md | 182 | mode="agentic", # Enable agentic retrieval | CODE |
| MEDIUM | …/02-agents/context_providers/azure_ai_search/README.md | 284 | - [Agentic Retrieval in Azure AI Search](https://learn.microsoft.com/azure/search/agentic-retrieval-overview) | CODE |
| MEDIUM | …roviders/azure_content_understanding/01_document_qa.py | 49 | analyzer_id="prebuilt-documentSearch", # RAG-optimized document analyzer | CODE |
| MEDIUM | …s/azure_content_understanding/04_invoice_processing.py | 83 | # Default analyzer is prebuilt-documentSearch (RAG-optimized). | COMMENT |
| MEDIUM | python/samples/02-agents/harness/console/README.md | 27 | ├── agent_runner.py # HarnessAgentRunner (streaming orchestration) | CODE |
| MEDIUM | python/samples/03-workflows/README.md | 117 | ### orchestration | COMMENT |
| MEDIUM | …ples/03-workflows/agents/magentic_workflow_as_agent.py | 61 | # Create a manager agent for orchestration | COMMENT |
| MEDIUM | …mples/03-workflows/agents/handoff_workflow_as_agent.py | 172 | # it receives all user input first and orchestrates handoffs to specialists | COMMENT |
| MEDIUM | …/samples/03-workflows/orchestrations/handoff_simple.py | 218 | # it receives all user input first and orchestrates handoffs to specialists | COMMENT |
| MEDIUM | python/samples/03-workflows/orchestrations/magentic.py | 82 | # Create a manager agent for orchestration | COMMENT |
| MEDIUM | …les/03-workflows/orchestrations/magentic_checkpoint.py | 61 | # Two vanilla ChatAgents act as participants in the orchestration. They do not need | COMMENT |
| MEDIUM | …les/03-workflows/orchestrations/magentic_checkpoint.py | 85 | # Create a manager agent for orchestration | COMMENT |
| MEDIUM | …les/03-workflows/orchestrations/magentic_checkpoint.py | 180 | # Final sanity check: display the assistant's answer as proof the orchestration reached | COMMENT |
| MEDIUM | …n/samples/03-workflows/functional/parallel_pipeline.py | 39 | # @workflow defines the orchestration logic. Build the definition to get a | COMMENT |
| MEDIUM | …es/05-end-to-end/purview_agent/sample_purview_agent.py | 48 | # Sequential prompts to demonstrate good -> block -> good orchestration. | COMMENT |
| MEDIUM | …05-end-to-end/ag_ui_workflow_handoff/backend/server.py | 192 | # Explicit handoff topology (instead of default mesh) so routing is enforced in orchestration, | COMMENT |
| MEDIUM | …samples/05-end-to-end/evaluation/red_teaming/README.md | 95 | # After: Specific safety guardrails | COMMENT |
| MEDIUM | python/packages/core/AGENTS.md | 21 | ├── _workflows/ # Workflow orchestration (sequential, concurrent, handoff, etc.) | CODE |
| MEDIUM | …on/packages/core/tests/core/test_serializable_mixin.py | 192 | # Deserialize with dependency injection | COMMENT |
| MEDIUM | …ore/tests/workflow/test_workflow_agent_intermediate.py | 317 | # Construct typed orchestration-internal events directly to assert they get | COMMENT |
| MEDIUM | python/packages/core/agent_framework/_evaluation.py | 1626 | # region Public orchestration functions | COMMENT |
| MEDIUM | python/packages/core/agent_framework/_tools.py | 1637 | # must abort the run (enforcement layers, guardrails) raises it instead of | COMMENT |
| MEDIUM | …hon/packages/core/agent_framework/_workflows/_const.py | 13 | # Used by all orchestration patterns (Sequential, Concurrent, GroupChat, Handoff, Magentic) | COMMENT |
| MEDIUM | …on/packages/core/agent_framework/_workflows/_events.py | 34 | FRAMEWORK = "FRAMEWORK" # Framework-owned orchestration, regardless of module location | CODE |
| MEDIUM | …on/packages/core/agent_framework/_workflows/_events.py | 103 | # Includes both framework lifecycle types and well-known orchestration types. | COMMENT |
| MEDIUM | …on/packages/core/agent_framework/_workflows/_events.py | 135 | # orchestration-internal events (``group_chat``, ``handoff_sent``, | COMMENT |
| MEDIUM | …hon/packages/lab/lightning/samples/train_tau2_agent.py | 75 | # - Agent filtering (training only specific agents in multi-agent setup) | COMMENT |
| MEDIUM | …hon/packages/lab/lightning/samples/train_tau2_agent.py | 120 | # Run the multi-agent conversation | COMMENT |
| MEDIUM | …n/packages/lab/tau2/agent_framework_lab_tau2/runner.py | 299 | # Each executor wraps an agent or function for workflow orchestration | COMMENT |
| MEDIUM | …n/packages/lab/tau2/agent_framework_lab_tau2/runner.py | 430 | # solo_mode=False: indicates multi-agent conversation (assistant + user simulator) | COMMENT |
| MEDIUM | …hon/packages/ag-ui/agent_framework_ag_ui/_agent_run.py | 120 | # Keys that are internal to AG-UI orchestration and should not be passed to chat clients | COMMENT |
| MEDIUM | …hon/packages/ag-ui/agent_framework_ag_ui/_agent_run.py | 2571 | # Inject metadata for AG-UI orchestration (Feature #2: Azure-safe truncation) | COMMENT |
| MEDIUM | …hon/packages/ag-ui/agent_framework_ag_ui/_agent_run.py | 2595 | # These are used internally for orchestration and should not be sent to the LLM provider | COMMENT |
| MEDIUM | …/packages/ag-ui/agent_framework_ag_ui/_workflow_run.py | 1309 | # Fall back to custom events for diagnostics, orchestration events, and custom workflow events. | COMMENT |
| MEDIUM | …ckages/bedrock/agent_framework_bedrock/_chat_client.py | 81 | See: https://docs.aws.amazon.com/bedrock/latest/userguide/guardrails.html | STRING |
| 69 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | python/README.md | 223 | # Step 1: Writer creates initial slogan | STRING |
| LOW⚡ | python/README.md | 227 | # Step 2: Reviewer provides feedback | STRING |
| LOW⚡ | python/README.md | 232 | # Step 3: Writer refines based on feedback | STRING |
| LOW | …thon/samples/01-get-started/07_first_graph_workflow.py | 29 | # Step 1: A class-based executor that converts text to uppercase | COMMENT |
| LOW | …thon/samples/01-get-started/07_first_graph_workflow.py | 40 | # Step 2: A function-based executor that reverses the string and yields output | COMMENT |
| LOW | …/foundry-hosted-agents/invocations/break_glass/main.py | 20 | # WARNING: This is lost on restart. Use durable storage in production. | COMMENT |
| LOW | …ents/tools/function_tool_with_approval_and_sessions.py | 43 | # Step 1: Agent requests to call the tool | COMMENT |
| LOW | …ents/tools/function_tool_with_approval_and_sessions.py | 61 | # Step 2: Send approval response | COMMENT |
| LOW⚡ | …ples/02-agents/observability/workflow_observability.py | 77 | # Step 1: Create the executors. | COMMENT |
| LOW⚡ | …ples/02-agents/observability/workflow_observability.py | 81 | # Step 2: Build the workflow with the defined edges. | COMMENT |
| LOW⚡ | …ples/02-agents/observability/workflow_observability.py | 86 | # Step 3: Run the workflow with an initial message. | COMMENT |
| LOW⚡ | …es/02-agents/skills/script_approval/script_approval.py | 90 | # Step 1: Send the user request — the agent will try to call the script | COMMENT |
| LOW⚡ | …es/02-agents/skills/script_approval/script_approval.py | 95 | # Step 2: Handle approval requests (with sessions, context is | COMMENT |
| LOW | …-workflows/parallelism/map_reduce_and_visualization.py | 260 | # Step 1: Create executor instances. | COMMENT |
| LOW | …-workflows/parallelism/map_reduce_and_visualization.py | 278 | # Step 2: Build the workflow graph using fan out and fan in edges. | COMMENT |
| LOW⚡ | …-workflows/parallelism/map_reduce_and_visualization.py | 306 | # Step 3: Open the text file and read its content. | COMMENT |
| LOW⚡ | …-workflows/parallelism/map_reduce_and_visualization.py | 310 | # Step 4: Run the workflow with the raw text as input. | COMMENT |
| LOW⚡ | …amples/03-workflows/composition/sub_workflow_basics.py | 152 | # Step 1: Create the parent workflow | COMMENT |
| LOW⚡ | …amples/03-workflows/composition/sub_workflow_basics.py | 162 | # Step 2: Test data - various text strings | COMMENT |
| LOW⚡ | …amples/03-workflows/composition/sub_workflow_basics.py | 175 | # Step 3: Run the workflow | COMMENT |
| LOW⚡ | …amples/03-workflows/composition/sub_workflow_basics.py | 178 | # Step 4: Display results | COMMENT |
| LOW | …amples/03-workflows/composition/sub_workflow_basics.py | 192 | # Step 6: Display summary | COMMENT |
| LOW | python/samples/03-workflows/control-flow/simple_loop.py | 139 | # Step 1: Build the workflow with the defined edges. | COMMENT |
| LOW | python/samples/03-workflows/control-flow/simple_loop.py | 155 | # Step 2: Run the workflow with concise streaming output. | COMMENT |
| LOW⚡ | …ples/03-workflows/control-flow/sequential_executors.py | 63 | # Step 1: Build the workflow graph. | COMMENT |
| LOW⚡ | …ples/03-workflows/control-flow/sequential_executors.py | 72 | # Step 2: Stream events for a single input. | COMMENT |
| LOW | …ples/03-workflows/control-flow/sequential_streaming.py | 25 | # Step 1: Define methods using the executor decorator. | COMMENT |
| LOW⚡ | …ples/03-workflows/control-flow/sequential_streaming.py | 56 | # Step 1: Build the workflow with the defined edges. | COMMENT |
| LOW⚡ | …ples/03-workflows/control-flow/sequential_streaming.py | 60 | # Step 2: Run the workflow and stream events in real time. | COMMENT |
| LOW⚡ | python/packages/core/README.md | 198 | # Step 1: Writer creates initial slogan | STRING |
| LOW⚡ | python/packages/core/README.md | 202 | # Step 2: Reviewer provides feedback | STRING |
| LOW⚡ | python/packages/core/README.md | 207 | # Step 3: Writer refines based on feedback | STRING |
| LOW⚡ | python/packages/core/tests/workflow/test_workflow.py | 1015 | # Step 1: drive stream A's body until it's suspended at its first yield. | COMMENT |
| LOW⚡ | python/packages/core/tests/workflow/test_workflow.py | 1020 | # Step 2: drop stream A; GC invalidates the weakref and schedules | COMMENT |
| LOW⚡ | python/packages/core/tests/workflow/test_workflow.py | 1026 | # Step 3: synchronously start stream B *before* yielding to the loop, | COMMENT |
| LOW⚡ | python/packages/core/tests/workflow/test_workflow.py | 1032 | # Step 4: yield enough times for stream A's scheduled aclose to drive | COMMENT |
| LOW⚡ | python/packages/core/tests/workflow/test_workflow.py | 1104 | # Step 1: drive stream A's body to its first yield so it set storage_a. | COMMENT |
| LOW⚡ | python/packages/core/tests/workflow/test_workflow.py | 1110 | # Step 2: drop stream A; the weakref dies and async-gen close is scheduled | COMMENT |
| LOW⚡ | python/packages/core/tests/workflow/test_workflow.py | 1116 | # Step 3: synchronously start stream B with its own storage and drive it to | COMMENT |
| LOW⚡ | python/packages/core/tests/workflow/test_workflow.py | 1123 | # Step 4: yield enough for stream A's scheduled aclose to drive its body | COMMENT |
| LOW⚡ | …re/tests/workflow/test_request_info_event_rehydrate.py | 263 | # Step 3: Verify the pending request info event was properly serialized | COMMENT |
| LOW⚡ | …re/tests/workflow/test_request_info_event_rehydrate.py | 270 | # Step 4: Create a fresh workflow and restore from checkpoint | COMMENT |
| LOW⚡ | …re/tests/workflow/test_request_info_event_rehydrate.py | 274 | # Step 5: Resume from checkpoint and verify the request can be continued | COMMENT |
| LOW⚡ | …re/tests/workflow/test_request_info_event_rehydrate.py | 306 | # Step 7: Verify the executor state was properly restored and response was processed | COMMENT |
| LOW⚡ | …re/tests/workflow/test_request_info_event_rehydrate.py | 343 | # Step 1: Run workflow until it emits a request_info event | COMMENT |
| LOW⚡ | …re/tests/workflow/test_request_info_event_rehydrate.py | 352 | # Step 2: Find the checkpoint with the pending request | COMMENT |
| LOW⚡ | …re/tests/workflow/test_request_info_event_rehydrate.py | 362 | # Step 3: Create a fresh workflow and restore from checkpoint WITH responses in one call | COMMENT |
| LOW⚡ | …re/tests/workflow/test_request_info_event_rehydrate.py | 375 | # Step 4: Verify the request_info event was NOT re-emitted to the caller | COMMENT |
| LOW⚡ | …re/tests/workflow/test_request_info_event_rehydrate.py | 384 | # Step 5: Verify the response was processed by checking executor state | COMMENT |
| LOW⚡ | …re/tests/workflow/test_request_info_event_rehydrate.py | 454 | # Step 4: Verify the approval request_info was NOT re-emitted | COMMENT |
| LOW⚡ | …re/tests/workflow/test_request_info_event_rehydrate.py | 462 | # Step 5: Verify the calculation request_info WAS re-emitted (no response provided) | COMMENT |
| LOW⚡ | …re/tests/workflow/test_request_info_event_rehydrate.py | 470 | # Step 6: Verify workflow is in IDLE_WITH_PENDING_REQUESTS state (calc still pending) | COMMENT |
| LOW | …re/tests/workflow/test_request_info_event_rehydrate.py | 238 | # Step 1: Run workflow to completion to ensure checkpoints are created | COMMENT |
| LOW | …re/tests/workflow/test_request_info_event_rehydrate.py | 250 | # Step 2: List checkpoints to find the one with our pending request | COMMENT |
| LOW | …re/tests/workflow/test_request_info_event_rehydrate.py | 293 | # Step 6: Provide response to the restored request and complete the workflow | COMMENT |
| LOW | …re/tests/workflow/test_request_info_event_rehydrate.py | 416 | # Step 1: Run workflow until it emits multiple request_info events | COMMENT |
| LOW | …re/tests/workflow/test_request_info_event_rehydrate.py | 430 | # Step 2: Find the checkpoint with pending requests | COMMENT |
| LOW | …re/tests/workflow/test_request_info_event_rehydrate.py | 442 | # Step 3: Restore from checkpoint with ONLY the approval response (not the calculation) | COMMENT |
| LOW⚡ | …thon/packages/core/tests/workflow/test_sub_workflow.py | 693 | # Step 1: run until the first request. | COMMENT |
| LOW⚡ | …thon/packages/core/tests/workflow/test_sub_workflow.py | 701 | # Step 2: answer the first request so the sub-workflow accumulates internal state | COMMENT |
| 141 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …les/autogen-migration/single_agent/04_agent_as_tool.py | 56 | CODE | |
| LOW | …es/autogen-migration/orchestrations/04_magentic_one.py | 73 | CODE | |
| LOW | …n/samples/autogen-migration/orchestrations/03_swarm.py | 105 | CODE | |
| LOW | …-migration/orchestrations/01_round_robin_group_chat.py | 102 | CODE | |
| LOW | …s/resilient_long_running_workflow/verify_resiliency.py | 81 | CODE | |
| LOW | …s/resilient_long_running_workflow/verify_resiliency.py | 122 | CODE | |
| LOW | …ponses/steerable_long_running_agent/verify_steering.py | 100 | CODE | |
| LOW | …on/samples/04-hosting/af-hosting/local_telegram/app.py | 149 | CODE | |
| LOW | …es/04-hosting/af-hosting/local_telegram/polling_app.py | 121 | CODE | |
| LOW | …2-agents/middleware/override_result_with_middleware.py | 117 | CODE | |
| LOW | python/samples/02-agents/middleware/chat_middleware.py | 108 | CODE | |
| LOW | …samples/02-agents/tools/function_tool_with_approval.py | 86 | CODE | |
| LOW | python/samples/02-agents/devui/agent_weather/agent.py | 44 | CODE | |
| LOW | …oviders/foundry/foundry_chat_client_with_hosted_mcp.py | 77 | CODE | |
| LOW | …samples/02-agents/providers/openai/client_reasoning.py | 36 | CODE | |
| LOW | …samples/02-agents/providers/openai/client_reasoning.py | 56 | CODE | |
| LOW | …/02-agents/providers/openai/client_with_local_shell.py | 33 | CODE | |
| LOW | …/02-agents/providers/openai/client_image_generation.py | 59 | CODE | |
| LOW | …s/02-agents/providers/openai/client_with_hosted_mcp.py | 76 | CODE | |
| LOW | …/providers/openai/client_streaming_image_generation.py | 41 | CODE | |
| LOW | …gents/providers/openai/client_with_code_interpreter.py | 23 | CODE | |
| LOW | …amples/02-agents/providers/openai/client_with_shell.py | 26 | CODE | |
| LOW | …on/samples/02-agents/compaction/compaction_provider.py | 72 | CODE | |
| LOW | …02-agents/context_providers/simple_context_provider.py | 48 | CODE | |
| LOW | …02-agents/context_providers/code_act/monty_code_act.py | 61 | CODE | |
| LOW | …mples/02-agents/context_providers/code_act/code_act.py | 48 | CODE | |
| LOW | python/samples/02-agents/harness/console/formatters.py | 174 | CODE | |
| LOW | python/samples/02-agents/harness/console/app.py | 436 | CODE | |
| LOW | …client/require_per_service_call_history_persistence.py | 68 | CODE | |
| LOW | …workflows/human-in-the-loop/sequential_request_info.py | 45 | CODE | |
| LOW | …les/03-workflows/human-in-the-loop/agents_with_HITL.py | 129 | CODE | |
| LOW | …workflows/human-in-the-loop/group_chat_request_info.py | 46 | CODE | |
| LOW | …ws/human-in-the-loop/guessing_game_with_human_input.py | 159 | CODE | |
| LOW | …workflows/human-in-the-loop/concurrent_request_info.py | 48 | CODE | |
| LOW | …workflows/human-in-the-loop/concurrent_request_info.py | 102 | CODE | |
| LOW | …mples/03-workflows/parallelism/fan_out_fan_in_edges.py | 112 | CODE | |
| LOW | …kflows/checkpoint/checkpoint_with_human_in_the_loop.py | 227 | CODE | |
| LOW | …amples/03-workflows/composition/sub_workflow_kwargs.py | 79 | CODE | |
| LOW | …orkflows/composition/sub_workflow_parallel_requests.py | 96 | CODE | |
| LOW | …orkflows/composition/sub_workflow_parallel_requests.py | 289 | CODE | |
| LOW | …orkflows/composition/sub_workflow_parallel_requests.py | 101 | CODE | |
| LOW | …3-workflows/orchestrations/group_chat_agent_manager.py | 44 | CODE | |
| LOW | …lows/orchestrations/group_chat_philosophical_debate.py | 59 | CODE | |
| LOW | …s/orchestrations/handoff_with_code_interpreter_file.py | 46 | CODE | |
| LOW | …ations/handoff_with_tool_approval_checkpoint_resume.py | 158 | CODE | |
| LOW | …workflows/orchestrations/magentic_human_plan_review.py | 49 | CODE | |
| LOW | …workflows/orchestrations/group_chat_simple_selector.py | 41 | CODE | |
| LOW | …/samples/03-workflows/orchestrations/handoff_simple.py | 116 | CODE | |
| LOW | python/samples/03-workflows/orchestrations/magentic.py | 55 | CODE | |
| LOW | …ples/03-workflows/orchestrations/handoff_autonomous.py | 86 | CODE | |
| LOW | …3-workflows/state-management/workflow_kwargs_global.py | 94 | CODE | |
| LOW | …orkflows/state-management/workflow_kwargs_per_agent.py | 92 | CODE | |
| LOW | …ples/03-workflows/declarative/customer_support/main.py | 168 | CODE | |
| LOW | …s/05-end-to-end/workflow_evaluation/create_workflow.py | 133 | CODE | |
| LOW | …05-end-to-end/ag_ui_workflow_handoff/backend/server.py | 256 | CODE | |
| LOW | …d-to-end/evaluation/self_reflection/self_reflection.py | 216 | CODE | |
| LOW | python/samples/05-end-to-end/chatkit-integration/app.py | 262 | CODE | |
| LOW | python/samples/05-end-to-end/chatkit-integration/app.py | 341 | CODE | |
| LOW | python/samples/05-end-to-end/chatkit-integration/app.py | 453 | CODE | |
| LOW | python/samples/05-end-to-end/chatkit-integration/app.py | 390 | CODE | |
| 362 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | …ows/human-in-the-loop/agents_with_approval_requests.py | 82 | "manager": "John Doe", | CODE |
| LOW⚡ | …ows/human-in-the-loop/agents_with_approval_requests.py | 88 | "manager": "John Doe", | CODE |
| LOW⚡ | …ows/human-in-the-loop/agents_with_approval_requests.py | 94 | "manager": "John Doe", | CODE |
| LOW | …ows/human-in-the-loop/agents_with_approval_requests.py | 109 | "name": "John Doe", | CODE |
| LOW⚡ | python/samples/03-workflows/resources/long_text.txt | 1 | Lorem ipsum dolor sit amet consectetur adipiscing elit. Quisque faucibus ex sapien vitae pellentesque sem placerat. In i | CODE |
| LOW⚡ | python/samples/03-workflows/resources/long_text.txt | 1 | Lorem ipsum dolor sit amet consectetur adipiscing elit. Quisque faucibus ex sapien vitae pellentesque sem placerat. In i | CODE |
| LOW⚡ | python/samples/03-workflows/resources/long_text.txt | 3 | Lorem ipsum dolor sit amet consectetur adipiscing elit. Quisque faucibus ex sapien vitae pellentesque sem placerat. In i | CODE |
| LOW⚡ | python/samples/03-workflows/resources/long_text.txt | 3 | Lorem ipsum dolor sit amet consectetur adipiscing elit. Quisque faucibus ex sapien vitae pellentesque sem placerat. In i | CODE |
| LOW⚡ | python/samples/03-workflows/resources/long_text.txt | 5 | Lorem ipsum dolor sit amet consectetur adipiscing elit. Quisque faucibus ex sapien vitae pellentesque sem placerat. In i | CODE |
| LOW⚡ | python/samples/03-workflows/resources/long_text.txt | 5 | Lorem ipsum dolor sit amet consectetur adipiscing elit. Quisque faucibus ex sapien vitae pellentesque sem placerat. In i | CODE |
| LOW⚡ | python/samples/03-workflows/resources/long_text.txt | 7 | Lorem ipsum dolor sit amet consectetur adipiscing elit. Quisque faucibus ex sapien vitae pellentesque sem placerat. In i | CODE |
| LOW⚡ | python/samples/03-workflows/resources/long_text.txt | 7 | Lorem ipsum dolor sit amet consectetur adipiscing elit. Quisque faucibus ex sapien vitae pellentesque sem placerat. In i | CODE |
| LOW⚡ | python/samples/03-workflows/resources/long_text.txt | 9 | Lorem ipsum dolor sit amet consectetur adipiscing elit. Quisque faucibus ex sapien vitae pellentesque sem placerat. In i | CODE |
| LOW⚡ | python/samples/03-workflows/resources/long_text.txt | 9 | Lorem ipsum dolor sit amet consectetur adipiscing elit. Quisque faucibus ex sapien vitae pellentesque sem placerat. In i | CODE |
| LOW⚡ | python/samples/03-workflows/resources/long_text.txt | 11 | Lorem ipsum dolor sit amet consectetur adipiscing elit. Quisque faucibus ex sapien vitae pellentesque sem placerat. In i | CODE |
| LOW⚡ | python/samples/03-workflows/resources/long_text.txt | 11 | Lorem ipsum dolor sit amet consectetur adipiscing elit. Quisque faucibus ex sapien vitae pellentesque sem placerat. In i | CODE |
| LOW⚡ | python/samples/03-workflows/resources/long_text.txt | 13 | Lorem ipsum dolor sit amet consectetur adipiscing elit. Quisque faucibus ex sapien vitae pellentesque sem placerat. In i | CODE |
| LOW⚡ | python/samples/03-workflows/resources/long_text.txt | 13 | Lorem ipsum dolor sit amet consectetur adipiscing elit. Quisque faucibus ex sapien vitae pellentesque sem placerat. In i | CODE |
| LOW⚡ | python/samples/03-workflows/resources/long_text.txt | 15 | Lorem ipsum dolor sit amet consectetur adipiscing elit. Quisque faucibus ex sapien vitae pellentesque sem placerat. In i | CODE |
| LOW⚡ | python/samples/03-workflows/resources/long_text.txt | 15 | Lorem ipsum dolor sit amet consectetur adipiscing elit. Quisque faucibus ex sapien vitae pellentesque sem placerat. In i | CODE |
| LOW⚡ | python/samples/03-workflows/resources/long_text.txt | 17 | Lorem ipsum dolor sit amet consectetur adipiscing elit. Quisque faucibus ex sapien vitae pellentesque sem placerat. In i | CODE |
| LOW⚡ | python/samples/03-workflows/resources/long_text.txt | 17 | Lorem ipsum dolor sit amet consectetur adipiscing elit. Quisque faucibus ex sapien vitae pellentesque sem placerat. In i | CODE |
| LOW⚡ | python/samples/03-workflows/resources/long_text.txt | 19 | Lorem ipsum dolor sit amet consectetur adipiscing elit. Quisque faucibus ex sapien vitae pellentesque sem placerat. In i | CODE |
| LOW⚡ | python/samples/03-workflows/resources/long_text.txt | 19 | Lorem ipsum dolor sit amet consectetur adipiscing elit. Quisque faucibus ex sapien vitae pellentesque sem placerat. In i | CODE |
| LOW⚡ | python/samples/03-workflows/resources/long_text.txt | 21 | Lorem ipsum dolor sit amet consectetur adipiscing elit. Quisque faucibus ex sapien vitae pellentesque sem placerat. In i | CODE |
| LOW⚡ | python/samples/03-workflows/resources/long_text.txt | 21 | Lorem ipsum dolor sit amet consectetur adipiscing elit. Quisque faucibus ex sapien vitae pellentesque sem placerat. In i | CODE |
| LOW⚡ | python/samples/03-workflows/resources/long_text.txt | 23 | Lorem ipsum dolor sit amet consectetur adipiscing elit. Quisque faucibus ex sapien vitae pellentesque sem placerat. In i | CODE |
| LOW⚡ | python/samples/03-workflows/resources/long_text.txt | 23 | Lorem ipsum dolor sit amet consectetur adipiscing elit. Quisque faucibus ex sapien vitae pellentesque sem placerat. In i | CODE |
| LOW⚡ | python/samples/03-workflows/resources/long_text.txt | 25 | Lorem ipsum dolor sit amet consectetur adipiscing elit. Quisque faucibus ex sapien vitae pellentesque sem placerat. In i | CODE |
| LOW⚡ | python/samples/03-workflows/resources/long_text.txt | 25 | Lorem ipsum dolor sit amet consectetur adipiscing elit. Quisque faucibus ex sapien vitae pellentesque sem placerat. In i | CODE |
| LOW⚡ | python/samples/03-workflows/resources/long_text.txt | 27 | Lorem ipsum dolor sit amet consectetur adipiscing elit. Quisque faucibus ex sapien vitae pellentesque sem placerat. In i | CODE |
| LOW⚡ | python/samples/03-workflows/resources/long_text.txt | 27 | Lorem ipsum dolor sit amet consectetur adipiscing elit. Quisque faucibus ex sapien vitae pellentesque sem placerat. In i | CODE |
| LOW⚡ | python/samples/03-workflows/resources/long_text.txt | 29 | Lorem ipsum dolor sit amet consectetur adipiscing elit. Quisque faucibus ex sapien vitae pellentesque sem placerat. In i | CODE |
| LOW⚡ | python/samples/03-workflows/resources/long_text.txt | 29 | Lorem ipsum dolor sit amet consectetur adipiscing elit. Quisque faucibus ex sapien vitae pellentesque sem placerat. In i | CODE |
| LOW⚡ | python/samples/03-workflows/resources/long_text.txt | 31 | Lorem ipsum dolor sit amet consectetur adipiscing elit. Quisque faucibus ex sapien vitae pellentesque sem placerat. In i | CODE |
| LOW⚡ | python/samples/03-workflows/resources/long_text.txt | 31 | Lorem ipsum dolor sit amet consectetur adipiscing elit. Quisque faucibus ex sapien vitae pellentesque sem placerat. In i | CODE |
| LOW⚡ | python/samples/03-workflows/resources/long_text.txt | 33 | Lorem ipsum dolor sit amet consectetur adipiscing elit. Quisque faucibus ex sapien vitae pellentesque sem placerat. In i | CODE |
| LOW⚡ | python/samples/03-workflows/resources/long_text.txt | 33 | Lorem ipsum dolor sit amet consectetur adipiscing elit. Quisque faucibus ex sapien vitae pellentesque sem placerat. In i | CODE |
| LOW⚡ | python/samples/03-workflows/resources/long_text.txt | 35 | Lorem ipsum dolor sit amet consectetur adipiscing elit. Quisque faucibus ex sapien vitae pellentesque sem placerat. In i | CODE |
| LOW⚡ | python/samples/03-workflows/resources/long_text.txt | 35 | Lorem ipsum dolor sit amet consectetur adipiscing elit. Quisque faucibus ex sapien vitae pellentesque sem placerat. In i | CODE |
| LOW⚡ | python/samples/03-workflows/resources/long_text.txt | 37 | Lorem ipsum dolor sit amet consectetur adipiscing elit. Quisque faucibus ex sapien vitae pellentesque sem placerat. In i | CODE |
| LOW⚡ | python/samples/03-workflows/resources/long_text.txt | 37 | Lorem ipsum dolor sit amet consectetur adipiscing elit. Quisque faucibus ex sapien vitae pellentesque sem placerat. In i | CODE |
| LOW⚡ | python/samples/03-workflows/resources/long_text.txt | 39 | Lorem ipsum dolor sit amet consectetur adipiscing elit. Quisque faucibus ex sapien vitae pellentesque sem placerat. In i | CODE |
| LOW⚡ | python/samples/03-workflows/resources/long_text.txt | 39 | Lorem ipsum dolor sit amet consectetur adipiscing elit. Quisque faucibus ex sapien vitae pellentesque sem placerat. In i | CODE |
| LOW⚡ | python/samples/03-workflows/resources/long_text.txt | 41 | Lorem ipsum dolor sit amet consectetur adipiscing elit. Quisque faucibus ex sapien vitae pellentesque sem placerat. In i | CODE |
| LOW⚡ | python/samples/03-workflows/resources/long_text.txt | 41 | Lorem ipsum dolor sit amet consectetur adipiscing elit. Quisque faucibus ex sapien vitae pellentesque sem placerat. In i | CODE |
| LOW⚡ | python/samples/03-workflows/resources/long_text.txt | 43 | Lorem ipsum dolor sit amet consectetur adipiscing elit. Quisque faucibus ex sapien vitae pellentesque sem placerat. In i | CODE |
| LOW⚡ | python/samples/03-workflows/resources/long_text.txt | 43 | Lorem ipsum dolor sit amet consectetur adipiscing elit. Quisque faucibus ex sapien vitae pellentesque sem placerat. In i | CODE |
| LOW⚡ | python/samples/03-workflows/resources/long_text.txt | 45 | Lorem ipsum dolor sit amet consectetur adipiscing elit. Quisque faucibus ex sapien vitae pellentesque sem placerat. In i | CODE |
| LOW⚡ | python/samples/03-workflows/resources/long_text.txt | 45 | Lorem ipsum dolor sit amet consectetur adipiscing elit. Quisque faucibus ex sapien vitae pellentesque sem placerat. In i | CODE |
| LOW⚡ | python/samples/03-workflows/resources/long_text.txt | 47 | Lorem ipsum dolor sit amet consectetur adipiscing elit. Quisque faucibus ex sapien vitae pellentesque sem placerat. In i | CODE |
| LOW⚡ | python/samples/03-workflows/resources/long_text.txt | 47 | Lorem ipsum dolor sit amet consectetur adipiscing elit. Quisque faucibus ex sapien vitae pellentesque sem placerat. In i | CODE |
| LOW⚡ | python/samples/03-workflows/resources/long_text.txt | 49 | Lorem ipsum dolor sit amet consectetur adipiscing elit. Quisque faucibus ex sapien vitae pellentesque sem placerat. In i | CODE |
| LOW⚡ | python/samples/03-workflows/resources/long_text.txt | 49 | Lorem ipsum dolor sit amet consectetur adipiscing elit. Quisque faucibus ex sapien vitae pellentesque sem placerat. In i | CODE |
| LOW⚡ | python/samples/03-workflows/resources/long_text.txt | 51 | Lorem ipsum dolor sit amet consectetur adipiscing elit. Quisque faucibus ex sapien vitae pellentesque sem placerat. In i | CODE |
| LOW⚡ | python/samples/03-workflows/resources/long_text.txt | 51 | Lorem ipsum dolor sit amet consectetur adipiscing elit. Quisque faucibus ex sapien vitae pellentesque sem placerat. In i | CODE |
| LOW⚡ | python/samples/03-workflows/resources/long_text.txt | 53 | Lorem ipsum dolor sit amet consectetur adipiscing elit. Quisque faucibus ex sapien vitae pellentesque sem placerat. In i | CODE |
| LOW⚡ | python/samples/03-workflows/resources/long_text.txt | 53 | Lorem ipsum dolor sit amet consectetur adipiscing elit. Quisque faucibus ex sapien vitae pellentesque sem placerat. In i | CODE |
| LOW⚡ | python/samples/03-workflows/resources/long_text.txt | 55 | Lorem ipsum dolor sit amet consectetur adipiscing elit. Quisque faucibus ex sapien vitae pellentesque sem placerat. In i | CODE |
| LOW⚡ | python/samples/03-workflows/resources/long_text.txt | 55 | Lorem ipsum dolor sit amet consectetur adipiscing elit. Quisque faucibus ex sapien vitae pellentesque sem placerat. In i | CODE |
| 240 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | …nts/responses/foundry_memory/provision_memory_store.py | 33 | from azure.core.exceptions import ResourceNotFoundError | CODE |
| CRITICAL | …d-agents/responses/azure_search_rag/provision_index.py | 25 | from azure.core.exceptions import ResourceNotFoundError | CODE |
| CRITICAL | …/providers/foundry/foundry_chat_client_with_toolbox.py | 47 | from azure.core.exceptions import ResourceNotFoundError | CODE |
| CRITICAL | …s/build_your_own_claw/claw_step02_working_with_data.py | 192 | from azure.core.exceptions import ResourceNotFoundError | CODE |
| CRITICAL | …ive/invoke_foundry_toolbox_mcp/toolbox_provisioning.py | 26 | from azure.core.exceptions import ResourceNotFoundError | CODE |
| CRITICAL | …ages/foundry/tests/foundry/test_foundry_chat_client.py | 22 | from azure.core.exceptions import ResourceNotFoundError | CODE |
| CRITICAL | …n/packages/foundry/tests/foundry/test_foundry_agent.py | 39 | from azure.core.exceptions import ResourceNotFoundError | CODE |
| CRITICAL | …ckages/foundry/agent_framework_foundry/_chat_client.py | 330 | from azure.core.exceptions import ResourceNotFoundError | CODE |
| CRITICAL | …hon/packages/foundry/agent_framework_foundry/_agent.py | 866 | from azure.core.exceptions import ResourceNotFoundError | CODE |
| CRITICAL | python/packages/core/tests/core/test_mcp.py | 5577 | meta = server.session.call_tool.call_args.kwargs.get("meta") # type: ignore[union-attr] # ty: ignore[unresolve | CODE |
| CRITICAL | …zure-ai-search/tests/test_aisearch_context_provider.py | 1277 | from azure.core.exceptions import ResourceNotFoundError | CODE |
| CRITICAL | …h/agent_framework_azure_ai_search/_context_provider.py | 33 | from azure.core.exceptions import ResourceNotFoundError | CODE |
| CRITICAL | …AI.CosmosNoSql.UnitTests/CosmosCheckpointStoreTests.cs | 53 | options.TypeInfoResolver = new System.Text.Json.Serialization.Metadata.DefaultJsonTypeInfoResolver(); | CODE |
| CRITICAL | …ts.AI.Foundry.Hosting.UnitTests/InputConverterTests.cs | 1152 | new MessageContent[] { new Azure.AI.AgentServer.Responses.Models.TextContent("plain text") }); | CODE |
| CRITICAL | …ts.AI.Foundry.Hosting.UnitTests/InputConverterTests.cs | 1271 | content: new MessageContent[] { new Azure.AI.AgentServer.Responses.Models.TextContent("sdk text") }, | CODE |
| CRITICAL | …ndry.Hosting.UnitTests/FoundryAIToolExtensionsTests.cs | 12 | var record = Azure.AI.Projects.Agents.ProjectsAgentsModelFactory.ToolboxRecord( | CODE |
| CRITICAL | …ndry.Hosting.UnitTests/FoundryAIToolExtensionsTests.cs | 28 | var record = Azure.AI.Projects.Agents.ProjectsAgentsModelFactory.ToolboxRecord( | CODE |
| CRITICAL | …ndry.Hosting.UnitTests/FoundryAIToolExtensionsTests.cs | 51 | var version = Azure.AI.Projects.Agents.ProjectsAgentsModelFactory.ToolboxVersion( | CODE |
| CRITICAL | …/Microsoft.Agents.AI.Purview/ScopedContentProcessor.cs | 314 | string[] locationSegments = pcRequest.ContentToProcess.ProtectedAppMetadata.ApplicationLocation.DataType.Split(' | CODE |
| CRITICAL | …AI.OpenAI/Extensions/OpenAIResponseClientExtensions.cs | 92 | _ = Microsoft.Agents.AI.OpenAI.OpenAIUserAgentPolicies.Registration.TryRegister(chatClient); | CODE |
| CRITICAL | …AI.OpenAI/Extensions/OpenAIResponseClientExtensions.cs | 123 | _ = Microsoft.Agents.AI.OpenAI.OpenAIUserAgentPolicies.Registration.TryRegister(chatClient); | CODE |
| CRITICAL | …AI.OpenAI/Extensions/OpenAIResponseClientExtensions.cs | 129 | Microsoft.Agents.AI.OpenAI.FeatureUsageMarker.MarkUsed(); | CODE |
| CRITICAL | …nts.AI.OpenAI/Extensions/OpenAIChatClientExtensions.cs | 80 | _ = Microsoft.Agents.AI.OpenAI.OpenAIUserAgentPolicies.Registration.TryRegister(chatClient); | CODE |
| CRITICAL | …oft.Agents.AI.CosmosNoSql/CosmosChatHistoryProvider.cs | 60 | options.TypeInfoResolver = new System.Text.Json.Serialization.Metadata.DefaultJsonTypeInfoResolver(); | CODE |
| CRITICAL | …g.AgentFramework.DevUI/DevUIAggregatorHostedService.cs | 721 | System.Net.Http.Headers.MediaTypeHeaderValue.Parse(context.Request.ContentType); | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | python/agent_framework_meta/__init__.py | 31 | __all__ = ["__version__"] | CODE |
| LOW | python/samples/04-hosting/a2a/a2a_server.py | 30 | logger = logging.getLogger(__name__) | CODE |
| LOW | python/samples/04-hosting/a2a/agent_framework_to_a2a.py | 30 | logger = logging.getLogger(__name__) | CODE |
| LOW | …04-hosting/foundry-hosted-agents/responses/mcp/main.py | 14 | logger = logging.getLogger(__name__) | CODE |
| LOW | …/04-hosting/af-hosting/local_responses_workflow/app.py | 111 | def set_many(self, cursors: Mapping[str, CheckpointCursor]) -> None: | CODE |
| LOW⚡ | python/samples/02-agents/auto_retry.py | 61 | logger = logging.getLogger(__name__) | CODE |
| LOW | …ples/02-agents/middleware/atr_validation_middleware.py | 49 | logger = logging.getLogger(__name__) | CODE |
| LOW | …thon/samples/02-agents/devui/agent_weather/__init__.py | 7 | __all__ = ["agent"] | CODE |
| LOW | python/samples/02-agents/devui/agent_weather/agent.py | 31 | logger = logging.getLogger(__name__) | CODE |
| LOW | …2-agents/devui/agent_content_understanding/__init__.py | 6 | __all__ = ["agent"] | CODE |
| LOW | …ent_understanding_file_search_azure_openai/__init__.py | 6 | __all__ = ["agent"] | CODE |
| LOW | …mples/02-agents/devui/workflow_with_agents/__init__.py | 7 | __all__ = ["workflow"] | CODE |
| LOW | …thon/samples/02-agents/devui/agent_foundry/__init__.py | 7 | __all__ = ["agent"] | CODE |
| LOW | …thon/samples/02-agents/devui/workflow_spam/__init__.py | 7 | __all__ = ["workflow"] | CODE |
| LOW | …ples/02-agents/providers/anthropic/anthropic_skills.py | 14 | logger = logging.getLogger(__name__) | CODE |
| LOW | …hon/samples/02-agents/observability/foundry_tracing.py | 44 | logger = logging.getLogger(__name__) | CODE |
| LOW | …d_your_own_claw/claw_step04_production_ready/hosted.py | 62 | logger = logging.getLogger(__name__) | CODE |
| LOW | …ld_your_own_claw/claw_step04_production_ready/agent.py | 87 | logger = logging.getLogger(__name__) | CODE |
| LOW | …ples/02-agents/harness/console/textual_state_driver.py | 134 | def set_show_spinner(self, show: bool) -> None: | CODE |
| LOW | …ples/02-agents/harness/console/textual_state_driver.py | 220 | def update_streaming_text(self, accumulated_text: str) -> None: | CODE |
| LOW | …ples/02-agents/harness/console/textual_state_driver.py | 262 | def set_usage_text(self, usage_text: str | None) -> None: | CODE |
| LOW | …ples/02-agents/harness/console/textual_state_driver.py | 267 | def set_mode(self, mode: str | None, mode_color: str | None = None) -> None: | CODE |
| LOW | …ples/02-agents/harness/console/textual_state_driver.py | 347 | def set_queued_messages(self, pending: list[str]) -> None: | CODE |
| LOW | …thon/samples/02-agents/harness/console/state_driver.py | 61 | def update_streaming_text(self, accumulated_text: str) -> None: | CODE |
| LOW | …thon/samples/02-agents/harness/console/state_driver.py | 133 | def set_mode(self, mode: str | None, mode_color: str | None = None) -> None: | CODE |
| LOW | …thon/samples/02-agents/harness/console/state_driver.py | 145 | def set_show_spinner(self, show: bool) -> None: | CODE |
| LOW | …thon/samples/02-agents/harness/console/state_driver.py | 155 | def set_usage_text(self, usage_text: str | None) -> None: | CODE |
| LOW | …thon/samples/02-agents/harness/console/state_driver.py | 194 | def set_queued_messages(self, pending: list[str]) -> None: | CODE |
| LOW | …thon/samples/02-agents/harness/console/state_driver.py | 266 | def update_streaming_text(self, text: str) -> None: | CODE |
| LOW | …thon/samples/02-agents/harness/console/state_driver.py | 285 | def set_show_spinner(self, show: bool) -> None: | CODE |
| LOW | …thon/samples/02-agents/harness/console/state_driver.py | 291 | def set_mode(self, mode: str | None, mode_color: str | None = None) -> None: | CODE |
| LOW | …thon/samples/02-agents/harness/console/state_driver.py | 302 | def set_usage_text(self, usage_text: str | None) -> None: | CODE |
| LOW | …thon/samples/02-agents/harness/console/state_driver.py | 329 | def update_last_entry(self, entry_type, new_text: str) -> None: | CODE |
| LOW | …thon/samples/02-agents/harness/console/state_driver.py | 340 | def set_queued_messages(self, pending: list[str]) -> None: | CODE |
| LOW | python/samples/02-agents/harness/console/__init__.py | 19 | __all__ = [ | CODE |
| LOW | …s/02-agents/harness/console/components/scroll_panel.py | 56 | def set_streaming_entry(self, entry: OutputEntry) -> None: | CODE |
| LOW | …mples/02-agents/harness/console/components/__init__.py | 16 | __all__ = [ | CODE |
| LOW | …02-agents/harness/console/components/list_selection.py | 209 | def _update_options(self) -> None: | CODE |
| LOW | …samples/02-agents/harness/console/commands/__init__.py | 22 | __all__ = [ | CODE |
| LOW | …amples/02-agents/harness/console/observers/__init__.py | 114 | __all__ = [ | CODE |
| LOW | …orkflows/composition/sub_workflow_parallel_requests.py | 157 | async def set_request_count(self, count: int, ctx: WorkflowContext) -> None: | CODE |
| LOW | python/samples/03-workflows/orchestrations/magentic.py | 22 | logger = logging.getLogger(__name__) | CODE |
| LOW | …05-end-to-end/ag_ui_workflow_handoff/backend/server.py | 41 | logger = logging.getLogger(__name__) | CODE |
| LOW⚡ | python/samples/05-end-to-end/chatkit-integration/app.py | 105 | logger = logging.getLogger(__name__) | CODE |
| LOW | …les/05-end-to-end/ag_ui_single_agent/backend/server.py | 49 | logger = logging.getLogger(__name__) | CODE |
| LOW | python/scripts/check_md_code_blocks.py | 17 | logger = logging.getLogger(__name__) | CODE |
| LOW | …/sample_validation/create_dynamic_workflow_executor.py | 40 | logger = logging.getLogger(__name__) | CODE |
| LOW | python/scripts/sample_validation/playbook.py | 36 | logger = logging.getLogger(__name__) | CODE |
| LOW | python/scripts/sample_validation/__init__.py | 20 | __all__ = [ | CODE |
| LOW | python/scripts/sample_validation/replay_executor.py | 19 | logger = logging.getLogger(__name__) | CODE |
| LOW | python/scripts/sample_validation/workflow.py | 50 | __all__ = ["ValidationConfig", "create_validation_workflow"] | CODE |
| LOW | …/scripts/dependencies/_dependency_bounds_upper_impl.py | 39 | logger = logging.getLogger(__name__) | CODE |
| LOW | python/scripts/dependencies/upgrade_dev_dependencies.py | 23 | logger = logging.getLogger(__name__) | CODE |
| LOW | …ry_hosting/agent_framework_foundry_hosting/_toolbox.py | 40 | logger = logging.getLogger(__name__) | CODE |
| LOW | …_hosting/agent_framework_foundry_hosting/_responses.py | 82 | logger = logging.getLogger(__name__) | CODE |
| LOW | …ry_hosting/agent_framework_foundry_hosting/__init__.py | 25 | __all__ = [ | CODE |
| LOW | …hub_copilot/agent_framework_github_copilot/__init__.py | 12 | __all__ = [ | CODE |
| LOW | python/packages/tools/agent_framework_tools/__init__.py | 14 | __all__ = ["__version__"] | CODE |
| LOW | …on/packages/tools/agent_framework_tools/shell/_tool.py | 24 | logger = logging.getLogger(__name__) | CODE |
| LOW | …packages/tools/agent_framework_tools/shell/__init__.py | 33 | __all__ = [ | CODE |
| 191 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | …s/04-hosting/af-hosting/local_responses_harness/app.py | 95 | # Token budget for the harness compaction feature. | COMMENT |
| MEDIUM | …es/02-agents/middleware/agent_loop_middleware_judge.py | 69 | # boundaries (robust to function calling, where one iteration may issue several model calls). | COMMENT |
| MEDIUM | …es/02-agents/middleware/agent_loop_middleware_todos.py | 64 | # those boundaries — robust to the function calling this loop relies on (the todo tools issue | COMMENT |
| MEDIUM | …-agents/middleware/agent_loop_middleware_refinement.py | 77 | # those boundaries (robust to function calling, where one iteration may issue several model | COMMENT |
| MEDIUM | …thon/samples/02-agents/devui/workflow_spam/workflow.py | 394 | # Build the comprehensive 4-step workflow with branching logic and HIL support | COMMENT |
| MEDIUM | …es/02-agents/context_providers/redis/redis_sessions.py | 160 | # Test comprehensive memory retrieval | COMMENT |
| MEDIUM | python/samples/02-agents/harness/harness_research.py | 11 | # uv run samples/02-agents/harness/harness_research.py | COMMENT |
| MEDIUM⚡ | python/samples/02-agents/harness/harness_research.py | 101 | # Create a harness agent with research-specific instructions. | STRING |
| MEDIUM⚡ | python/samples/02-agents/harness/harness_research.py | 111 | # Enable harness looping: while the agent is in "execute" mode and still has open todos, | STRING |
| MEDIUM⚡ | python/samples/02-agents/harness/harness_research.py | 120 | # Run the harness console with the research agent. | STRING |
| MEDIUM | …n/samples/02-agents/harness/harness_data_processing.py | 11 | # uv run samples/02-agents/harness/harness_data_processing.py | COMMENT |
| MEDIUM⚡ | …n/samples/02-agents/harness/harness_data_processing.py | 108 | # Create a harness agent with data-analyst instructions. Unused features are | STRING |
| MEDIUM | …n/samples/02-agents/harness/harness_data_processing.py | 125 | # Run the harness console. This sample has no plan/execute mode, so it uses | STRING |
| MEDIUM | …ness/build_your_own_claw/claw_step01_meet_your_claw.py | 11 | # uv run python/samples/02-agents/harness/build_your_own_claw/claw_step01_meet_your_claw.py | COMMENT |
| MEDIUM | …ness/build_your_own_claw/claw_step01_meet_your_claw.py | 49 | # Reuse the shared harness console that lives in the parent ``harness/`` directory. | COMMENT |
| MEDIUM⚡ | …ness/build_your_own_claw/claw_step01_meet_your_claw.py | 118 | # credential). The harness works with ANY chat client — see the providers samples for OpenAI, | COMMENT |
| MEDIUM⚡ | …ness/build_your_own_claw/claw_step01_meet_your_claw.py | 124 | # Turn the chat client into a harness agent with finance instructions and our custom | COMMENT |
| MEDIUM⚡ | …ness/build_your_own_claw/claw_step01_meet_your_claw.py | 134 | # Run the interactive console session using the shared harness console helper. | COMMENT |
| MEDIUM | …s/build_your_own_claw/claw_step02_working_with_data.py | 12 | # uv run python/samples/02-agents/harness/build_your_own_claw/claw_step02_working_with_data.py | COMMENT |
| MEDIUM | …s/build_your_own_claw/claw_step02_working_with_data.py | 70 | # Reuse the shared harness console that lives in the parent ``harness/`` directory. | COMMENT |
| MEDIUM | …s/build_your_own_claw/claw_step02_working_with_data.py | 248 | # Turn the chat client into a harness agent. On top of Post 1's defaults we point file | COMMENT |
| MEDIUM | …uild_your_own_claw/claw_step03_scaling_capabilities.py | 15 | # uv run python/samples/02-agents/harness/build_your_own_claw/claw_step03_scaling_capabilities.py | COMMENT |
| MEDIUM | …uild_your_own_claw/claw_step03_scaling_capabilities.py | 82 | # Reuse the shared harness console that lives in the parent ``harness/`` directory, and the local | COMMENT |
| MEDIUM | …uild_your_own_claw/claw_step03_scaling_capabilities.py | 240 | # This sub-agent doesn't need any harness machinery - it's a plain chat agent with a single | COMMENT |
| MEDIUM | …uild_your_own_claw/claw_step03_scaling_capabilities.py | 241 | # tool: the same hosted web search the harness would have added. The parent still exposes the | COMMENT |
| MEDIUM | …uild_your_own_claw/claw_step03_scaling_capabilities.py | 311 | # Turn the chat client into a harness agent. On top of Post 2's file access and approvals we | COMMENT |
| MEDIUM | …d_your_own_claw/claw_step04_production_ready/hosted.py | 58 | # so the harness default of ``{cwd}/agent-file-memory`` cannot be created. The home directory is | COMMENT |
| MEDIUM | …ld_your_own_claw/claw_step04_production_ready/evals.py | 114 | # store=False keeps chat history client-side (managed by the harness InMemoryHistoryProvider) | COMMENT |
| MEDIUM | …thon/samples/02-agents/harness/console/agent_runner.py | 408 | """Format token counts matching C# harness style: 📊 Tokens — input: X | output: Y | total: Z.""" | STRING |
| MEDIUM | …s/05-end-to-end/workflow_evaluation/create_workflow.py | 105 | # Generate comprehensive travel plan summary | COMMENT |
| MEDIUM | …ackages/tools/agent_framework_tools/shell/_killtree.py | 104 | """Fallback when psutil isn't installed. Less robust on Windows.""" | STRING |
| LOW⚡ | python/packages/core/tests/core/test_observability.py | 3286 | # Should not raise, should just return early | COMMENT |
| LOW⚡ | …ackages/core/tests/workflow/test_request_info_mixin.py | 184 | # Create a mock context - we'll just use None since the handler doesn't use it | COMMENT |
| MEDIUM | …hon/packages/core/tests/workflow/test_serialization.py | 693 | # Create executors for a comprehensive workflow | COMMENT |
| MEDIUM | …n/packages/core/tests/workflow/test_workflow_kwargs.py | 509 | # A more comprehensive integration test would require the manager to select an agent. | COMMENT |
| MEDIUM⚡ | python/packages/core/agent_framework/_serialization.py | 155 | """Mixin class providing comprehensive serialization and deserialization capabilities. | STRING |
| MEDIUM | python/packages/core/agent_framework/observability.py | 3608 | # This is a simplified approach - in production you'd want more robust parsing | COMMENT |
| MEDIUM | python/packages/core/agent_framework/observability.py | 3678 | # This is a simplified approach - in production you'd want more robust parsing | COMMENT |
| MEDIUM | python/packages/core/agent_framework/_harness/_agent.py | 554 | # Warn when opting into harness features that are still experimental. create_harness_agent | COMMENT |
| MEDIUM | python/packages/core/agent_framework/_harness/_agent.py | 650 | # Assemble middleware. Tool approval is enabled by default (like the .NET harness) and is | COMMENT |
| MEDIUM | …ges/core/agent_framework/_workflows/_agent_executor.py | 219 | """Enable seamless chaining: accept a prior AgentExecutorResponse as input. | STRING |
| MEDIUM | …ackages/core/agent_framework/_workflows/_validation.py | 172 | # The comprehensive validation is already done during handler registration: | COMMENT |
| MEDIUM | python/packages/devui/agent_framework_devui/_mapper.py | 1311 | # Content type mappers - implementing our comprehensive mapping plan | COMMENT |
| MEDIUM | python/packages/devui/agent_framework_devui/_server.py | 626 | # Generate schema using comprehensive schema generation | COMMENT |
| MEDIUM | …ackages/devui/agent_framework_devui/ui/assets/index.js | 9 | `).replace(wE,"")}function Uy(t,s){return s=Hy(s),Hy(t)===s}function $c(){}function xt(t,s,i,u,p,v){switch(i){case"child | CODE |
| MEDIUM | python/packages/lab/tau2/samples/run_benchmark.py | 47 | """Run comprehensive tau2 benchmark evaluation using agent framework. | STRING |
| MEDIUM | python/packages/lab/tau2/samples/run_benchmark.py | 150 | # Evaluate performance using tau2's comprehensive metrics | COMMENT |
| MEDIUM | python/packages/lab/tau2/samples/run_benchmark.py | 200 | # Evaluate performance using tau2's comprehensive metrics | COMMENT |
| MEDIUM | …n/packages/lab/tau2/agent_framework_lab_tau2/runner.py | 394 | """Evaluate agent performance using tau2's comprehensive evaluation system. | STRING |
| MEDIUM | …n/packages/lab/tau2/agent_framework_lab_tau2/runner.py | 428 | # Run comprehensive multi-dimensional evaluation | COMMENT |
| MEDIUM | …work_ag_ui_examples/agents/research_assistant_agent.py | 14 | """Research a topic and generate a comprehensive report. | STRING |
| MEDIUM | python/packages/ag-ui/tests/ag_ui/test_endpoint.py | 7321 | # Pause: the harness surfaces the provider-injected tool for approval, nothing executes yet. | COMMENT |
| MEDIUM | …n/packages/ag-ui/agent_framework_ag_ui/_a2ui/_agent.py | 623 | # the first that parses — robust whether or not a coalesced fragment arrives, | COMMENT |
| MEDIUM⚡ | python/packages/ag-ui/getting_started/server.py | 41 | # In production, you should use a more robust authentication mechanism such as: | COMMENT |
| LOW | …t_framework_declarative/_workflows/_executors_basic.py | 430 | # No key field - just add | COMMENT |
| MEDIUM | …light/agent_framework_hyperlight/_execute_code_tool.py | 270 | # needed and we want dispose to remain robust during teardown. | COMMENT |
| LOW | …packages/ollama/agent_framework_ollama/_chat_client.py | 338 | # we can just pass in None for the host, the default is set by the Ollama package. | COMMENT |
| MEDIUM⚡ | …ackages/openai/tests/openai/test_openai_chat_client.py | 369 | """Test request preparation with a comprehensive parameter set.""" | STRING |
| MEDIUM | …kflows.Declarative.UnitTests/Workflows/SendActivity.cs | 29 | /// Declarative workflows utilize Power FX for defining conditions and expressions. | COMMENT |
| MEDIUM | …ows.Declarative.UnitTests/Workflows/SetTextVariable.cs | 29 | /// Declarative workflows utilize Power FX for defining conditions and expressions. | COMMENT |
| 29 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …thon/samples/01-get-started/07_first_graph_workflow.py | 29 | # Step 1: A class-based executor that converts text to uppercase | COMMENT |
| LOW | …thon/samples/01-get-started/07_first_graph_workflow.py | 40 | # Step 2: A function-based executor that reverses the string and yields output | COMMENT |
| LOW | …ents/tools/function_tool_with_approval_and_sessions.py | 43 | # Step 1: Agent requests to call the tool | COMMENT |
| LOW | …ents/tools/function_tool_with_approval_and_sessions.py | 61 | # Step 2: Send approval response | COMMENT |
| LOW⚡ | …ples/02-agents/observability/workflow_observability.py | 77 | # Step 1: Create the executors. | COMMENT |
| LOW⚡ | …ples/02-agents/observability/workflow_observability.py | 81 | # Step 2: Build the workflow with the defined edges. | COMMENT |
| LOW⚡ | …ples/02-agents/observability/workflow_observability.py | 86 | # Step 3: Run the workflow with an initial message. | COMMENT |
| LOW⚡ | …es/02-agents/skills/script_approval/script_approval.py | 90 | # Step 1: Send the user request — the agent will try to call the script | COMMENT |
| LOW⚡ | …es/02-agents/skills/script_approval/script_approval.py | 95 | # Step 2: Handle approval requests (with sessions, context is | COMMENT |
| LOW | …-workflows/parallelism/map_reduce_and_visualization.py | 260 | # Step 1: Create executor instances. | COMMENT |
| LOW | …-workflows/parallelism/map_reduce_and_visualization.py | 278 | # Step 2: Build the workflow graph using fan out and fan in edges. | COMMENT |
| LOW⚡ | …-workflows/parallelism/map_reduce_and_visualization.py | 306 | # Step 3: Open the text file and read its content. | COMMENT |
| LOW⚡ | …-workflows/parallelism/map_reduce_and_visualization.py | 310 | # Step 4: Run the workflow with the raw text as input. | COMMENT |
| LOW⚡ | …amples/03-workflows/composition/sub_workflow_basics.py | 152 | # Step 1: Create the parent workflow | COMMENT |
| LOW⚡ | …amples/03-workflows/composition/sub_workflow_basics.py | 162 | # Step 2: Test data - various text strings | COMMENT |
| LOW⚡ | …amples/03-workflows/composition/sub_workflow_basics.py | 175 | # Step 3: Run the workflow | COMMENT |
| LOW⚡ | …amples/03-workflows/composition/sub_workflow_basics.py | 178 | # Step 4: Display results | COMMENT |
| LOW | …amples/03-workflows/composition/sub_workflow_basics.py | 192 | # Step 6: Display summary | COMMENT |
| LOW | python/samples/03-workflows/control-flow/simple_loop.py | 139 | # Step 1: Build the workflow with the defined edges. | COMMENT |
| LOW | python/samples/03-workflows/control-flow/simple_loop.py | 155 | # Step 2: Run the workflow with concise streaming output. | COMMENT |
| LOW⚡ | …ples/03-workflows/control-flow/sequential_executors.py | 63 | # Step 1: Build the workflow graph. | COMMENT |
| LOW⚡ | …ples/03-workflows/control-flow/sequential_executors.py | 72 | # Step 2: Stream events for a single input. | COMMENT |
| LOW | …ples/03-workflows/control-flow/sequential_streaming.py | 25 | # Step 1: Define methods using the executor decorator. | COMMENT |
| LOW⚡ | …ples/03-workflows/control-flow/sequential_streaming.py | 56 | # Step 1: Build the workflow with the defined edges. | COMMENT |
| LOW⚡ | …ples/03-workflows/control-flow/sequential_streaming.py | 60 | # Step 2: Run the workflow and stream events in real time. | COMMENT |
| LOW⚡ | python/packages/core/tests/workflow/test_workflow.py | 1015 | # Step 1: drive stream A's body until it's suspended at its first yield. | COMMENT |
| LOW⚡ | python/packages/core/tests/workflow/test_workflow.py | 1020 | # Step 2: drop stream A; GC invalidates the weakref and schedules | COMMENT |
| LOW⚡ | python/packages/core/tests/workflow/test_workflow.py | 1026 | # Step 3: synchronously start stream B *before* yielding to the loop, | COMMENT |
| LOW⚡ | python/packages/core/tests/workflow/test_workflow.py | 1032 | # Step 4: yield enough times for stream A's scheduled aclose to drive | COMMENT |
| LOW⚡ | python/packages/core/tests/workflow/test_workflow.py | 1104 | # Step 1: drive stream A's body to its first yield so it set storage_a. | COMMENT |
| LOW⚡ | python/packages/core/tests/workflow/test_workflow.py | 1110 | # Step 2: drop stream A; the weakref dies and async-gen close is scheduled | COMMENT |
| LOW⚡ | python/packages/core/tests/workflow/test_workflow.py | 1116 | # Step 3: synchronously start stream B with its own storage and drive it to | COMMENT |
| LOW⚡ | python/packages/core/tests/workflow/test_workflow.py | 1123 | # Step 4: yield enough for stream A's scheduled aclose to drive its body | COMMENT |
| LOW⚡ | …re/tests/workflow/test_request_info_event_rehydrate.py | 263 | # Step 3: Verify the pending request info event was properly serialized | COMMENT |
| LOW⚡ | …re/tests/workflow/test_request_info_event_rehydrate.py | 270 | # Step 4: Create a fresh workflow and restore from checkpoint | COMMENT |
| LOW⚡ | …re/tests/workflow/test_request_info_event_rehydrate.py | 274 | # Step 5: Resume from checkpoint and verify the request can be continued | COMMENT |
| LOW⚡ | …re/tests/workflow/test_request_info_event_rehydrate.py | 306 | # Step 7: Verify the executor state was properly restored and response was processed | COMMENT |
| LOW⚡ | …re/tests/workflow/test_request_info_event_rehydrate.py | 343 | # Step 1: Run workflow until it emits a request_info event | COMMENT |
| LOW⚡ | …re/tests/workflow/test_request_info_event_rehydrate.py | 352 | # Step 2: Find the checkpoint with the pending request | COMMENT |
| LOW⚡ | …re/tests/workflow/test_request_info_event_rehydrate.py | 362 | # Step 3: Create a fresh workflow and restore from checkpoint WITH responses in one call | COMMENT |
| LOW⚡ | …re/tests/workflow/test_request_info_event_rehydrate.py | 375 | # Step 4: Verify the request_info event was NOT re-emitted to the caller | COMMENT |
| LOW⚡ | …re/tests/workflow/test_request_info_event_rehydrate.py | 384 | # Step 5: Verify the response was processed by checking executor state | COMMENT |
| LOW⚡ | …re/tests/workflow/test_request_info_event_rehydrate.py | 454 | # Step 4: Verify the approval request_info was NOT re-emitted | COMMENT |
| LOW⚡ | …re/tests/workflow/test_request_info_event_rehydrate.py | 462 | # Step 5: Verify the calculation request_info WAS re-emitted (no response provided) | COMMENT |
| LOW⚡ | …re/tests/workflow/test_request_info_event_rehydrate.py | 470 | # Step 6: Verify workflow is in IDLE_WITH_PENDING_REQUESTS state (calc still pending) | COMMENT |
| LOW | …re/tests/workflow/test_request_info_event_rehydrate.py | 238 | # Step 1: Run workflow to completion to ensure checkpoints are created | COMMENT |
| LOW | …re/tests/workflow/test_request_info_event_rehydrate.py | 250 | # Step 2: List checkpoints to find the one with our pending request | COMMENT |
| LOW | …re/tests/workflow/test_request_info_event_rehydrate.py | 293 | # Step 6: Provide response to the restored request and complete the workflow | COMMENT |
| LOW | …re/tests/workflow/test_request_info_event_rehydrate.py | 416 | # Step 1: Run workflow until it emits multiple request_info events | COMMENT |
| LOW | …re/tests/workflow/test_request_info_event_rehydrate.py | 430 | # Step 2: Find the checkpoint with pending requests | COMMENT |
| LOW | …re/tests/workflow/test_request_info_event_rehydrate.py | 442 | # Step 3: Restore from checkpoint with ONLY the approval response (not the calculation) | COMMENT |
| LOW⚡ | …thon/packages/core/tests/workflow/test_sub_workflow.py | 693 | # Step 1: run until the first request. | COMMENT |
| LOW⚡ | …thon/packages/core/tests/workflow/test_sub_workflow.py | 701 | # Step 2: answer the first request so the sub-workflow accumulates internal state | COMMENT |
| LOW | …thon/packages/core/tests/workflow/test_sub_workflow.py | 646 | # Step 1: Run workflow until first request | COMMENT |
| LOW | …thon/packages/core/tests/workflow/test_sub_workflow.py | 660 | # Step 2: Resume workflow from checkpoint | COMMENT |
| LOW | …thon/packages/core/tests/workflow/test_sub_workflow.py | 723 | # Step 3: answer the second request. With the sub-workflow's state restored, the two-step | COMMENT |
| LOW⚡ | python/packages/core/agent_framework/security.py | 1213 | # Step 1: Extract labels from input arguments | COMMENT |
| LOW⚡ | python/packages/core/agent_framework/security.py | 1216 | # Step 2: Get tool's source_integrity declaration (may be None) | COMMENT |
| LOW⚡ | python/packages/core/agent_framework/security.py | 1222 | # Step 3: Build tiered fallback_label | COMMENT |
| LOW⚡ | …on/packages/devui/agent_framework_devui/_deployment.py | 44 | # Step 1: Validate prerequisites | COMMENT |
| 52 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | python/packages/core/tests/test_security.py | 1469 | # By default, AI-generated calls are UNTRUSTED | COMMENT |
| HIGH | …kflows.Declarative.UnitTests/Workflows/SendActivity.cs | 3 | // This code was generated by a tool. | COMMENT |
| HIGH | …ows.Declarative.UnitTests/Workflows/SetTextVariable.cs | 3 | // This code was generated by a tool. | COMMENT |
| HIGH | …kflows.Declarative.UnitTests/Workflows/LoopContinue.cs | 3 | // This code was generated by a tool. | COMMENT |
| HIGH | …rkflows.Declarative.UnitTests/Workflows/SetVariable.cs | 3 | // This code was generated by a tool. | COMMENT |
| HIGH | …rkflows.Declarative.UnitTests/Workflows/EditTableV2.cs | 3 | // This code was generated by a tool. | COMMENT |
| HIGH | …ive.UnitTests/Workflows/RetrieveConversationMessage.cs | 3 | // This code was generated by a tool. | COMMENT |
| HIGH | ….Declarative.UnitTests/Workflows/CreateConversation.cs | 3 | // This code was generated by a tool. | COMMENT |
| HIGH | …orkflows.Declarative.UnitTests/Workflows/ParseValue.cs | 3 | // This code was generated by a tool. | COMMENT |
| HIGH | …s.AI.Workflows.Declarative.UnitTests/Workflows/Goto.cs | 3 | // This code was generated by a tool. | COMMENT |
| HIGH | …flows.Declarative.UnitTests/Workflows/ConditionElse.cs | 3 | // This code was generated by a tool. | COMMENT |
| HIGH | …lows.Declarative.UnitTests/Workflows/CancelWorkflow.cs | 3 | // This code was generated by a tool. | COMMENT |
| HIGH | …Workflows.Declarative.UnitTests/Workflows/LoopBreak.cs | 3 | // This code was generated by a tool. | COMMENT |
| HIGH | …ows.Declarative.UnitTests/Workflows/EndConversation.cs | 3 | // This code was generated by a tool. | COMMENT |
| HIGH | …Workflows.Declarative.UnitTests/Workflows/EditTable.cs | 3 | // This code was generated by a tool. | COMMENT |
| HIGH | …s.Declarative.UnitTests/Workflows/ClearAllVariables.cs | 3 | // This code was generated by a tool. | COMMENT |
| HIGH | …rative.UnitTests/Workflows/CopyConversationMessages.cs | 3 | // This code was generated by a tool. | COMMENT |
| HIGH | ….Workflows.Declarative.UnitTests/Workflows/LoopEach.cs | 3 | // This code was generated by a tool. | COMMENT |
| HIGH | …larative.UnitTests/Workflows/AddConversationMessage.cs | 3 | // This code was generated by a tool. | COMMENT |
| HIGH | …Workflows.Declarative.UnitTests/Workflows/Condition.cs | 3 | // This code was generated by a tool. | COMMENT |
| HIGH | …ve.UnitTests/Workflows/RetrieveConversationMessages.cs | 3 | // This code was generated by a tool. | COMMENT |
| HIGH | …flows.Declarative.UnitTests/Workflows/ResetVariable.cs | 3 | // This code was generated by a tool. | COMMENT |
| HIGH | …rkflows.Declarative.UnitTests/Workflows/InvokeAgent.cs | 3 | // This code was generated by a tool. | COMMENT |
| HIGH | …rkflows.Declarative.UnitTests/Workflows/EndWorkflow.cs | 3 | // This code was generated by a tool. | COMMENT |
| HIGH | dotnet/src/Microsoft.Agents.AI/TextSearchProvider.cs | 44 | /// when and what to search for — the search query text is AI-generated and should be treated as untrusted input by the | COMMENT |
| HIGH | …icrosoft.Agents.AI/Memory/ChatHistoryMemoryProvider.cs | 48 | /// the AI model controls when and what to search for. The search query is AI-generated and should be treated as untrust | COMMENT |
| HIGH | ….Declarative/ObjectModel/InvokeFunctionToolExecutor.cs | 214 | // actual AI-generated tool calls and would be rejected by the API. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …04-hosting/container/hyperlight_codeact/call_server.py | 19 | # Set FOUNDRY_AGENT_ENDPOINT to your deployed agent endpoint, e.g. | COMMENT |
| LOW | …2-agents/middleware/override_result_with_middleware.py | 65 | # Check if there's a result to override (agent called weather function) | COMMENT |
| LOW | …samples/02-agents/middleware/middleware_termination.py | 61 | # Check if the user message contains any blocked words | COMMENT |
| LOW | …samples/02-agents/middleware/middleware_termination.py | 104 | # Check if we should terminate before processing | COMMENT |
| LOW | python/samples/02-agents/devui/agent_weather/agent.py | 95 | # Check if location parameter is "atlantis" | COMMENT |
| LOW | …on/samples/02-agents/devui/workflow_fanout/workflow.py | 206 | # Check if schema validation is enabled | COMMENT |
| LOW | …on/samples/02-agents/devui/workflow_fanout/workflow.py | 242 | # Check if quality validation is enabled | COMMENT |
| LOW | …on/samples/02-agents/devui/workflow_fanout/workflow.py | 284 | # Check if security validation is enabled | COMMENT |
| LOW | …on/samples/02-agents/devui/workflow_fanout/workflow.py | 380 | # Check if normalization is enabled | COMMENT |
| LOW | …on/samples/02-agents/devui/workflow_fanout/workflow.py | 425 | # Check if enrichment is enabled | COMMENT |
| LOW | …on/samples/02-agents/devui/workflow_fanout/workflow.py | 469 | # Check if aggregation is enabled | COMMENT |
| LOW | …02-agents/context_providers/simple_context_provider.py | 59 | # Check if we need to extract user info from user messages | COMMENT |
| LOW | …thon/samples/02-agents/harness/console/agent_runner.py | 237 | # Check if there are pending questions (UI needs user input) | COMMENT |
| LOW | …s/02-agents/harness/console/observers/error_display.py | 38 | # Check if this is an error content type | COMMENT |
| LOW | …amples/03-workflows/composition/sub_workflow_basics.py | 117 | # Check if all results are collected | COMMENT |
| LOW | …rkflows/declarative/invoke_function_tool/workflow.yaml | 41 | # Output the result | COMMENT |
| LOW | …3-workflows/declarative/customer_support/workflow.yaml | 118 | # Check if the issue was resolved by support. | COMMENT |
| LOW | …ples/03-workflows/declarative/customer_support/main.py | 286 | # Check if this is a SendActivity output (activity text from log_ticket, log_route, etc.) | COMMENT |
| LOW | …3-workflows/control-flow/multi_selection_edge_group.py | 287 | # Print outputs and database events from streaming | COMMENT |
| LOW | …to-end/evaluation/red_teaming/red_team_agent_sample.py | 140 | # Display results | STRING |
| LOW⚡ | python/samples/05-end-to-end/chatkit-integration/app.py | 399 | # Check if it's a WeatherResponse (string subclass with weather_data attribute) | COMMENT |
| LOW⚡ | python/samples/05-end-to-end/chatkit-integration/app.py | 405 | # Check if it's the city selector marker | COMMENT |
| LOW⚡ | python/samples/05-end-to-end/chatkit-integration/app.py | 496 | # Check if it's a WeatherResponse (string subclass with weather_data attribute) | COMMENT |
| LOW | python/samples/05-end-to-end/chatkit-integration/app.py | 607 | # Read file contents | COMMENT |
| LOW | python/scripts/task_runner.py | 72 | # Check if there is an include too | COMMENT |
| LOW | python/scripts/run_tasks_in_changed_packages.py | 41 | # Check if the file is within this project directory | COMMENT |
| LOW | …es/foundry/agent_framework_foundry/_memory_provider.py | 190 | # Check if there are any non-empty input messages | COMMENT |
| LOW | …packages/core/tests/core/test_middleware_with_agent.py | 1233 | # Set metadata to pass information to run middleware | COMMENT |
| LOW | …ages/core/tests/core/test_function_invocation_logic.py | 1559 | # Set max_iterations to 1 in additional_properties | COMMENT |
| LOW | …ages/core/tests/core/test_function_invocation_logic.py | 2170 | # Set max_consecutive_errors to 2 | COMMENT |
| LOW | …ages/core/tests/core/test_function_invocation_logic.py | 2247 | # Set terminate_on_unknown_calls to False (default) | COMMENT |
| LOW | …ages/core/tests/core/test_function_invocation_logic.py | 2283 | # Set terminate_on_unknown_calls to True | COMMENT |
| LOW | …ages/core/tests/core/test_function_invocation_logic.py | 2365 | # Set include_detailed_errors to False (default) | COMMENT |
| LOW | …ages/core/tests/core/test_function_invocation_logic.py | 2401 | # Set include_detailed_errors to True | COMMENT |
| LOW | …ages/core/tests/core/test_function_invocation_logic.py | 2500 | # Set include_detailed_errors to True | COMMENT |
| LOW | …ages/core/tests/core/test_function_invocation_logic.py | 2536 | # Set include_detailed_errors to False (default) | COMMENT |
| LOW | …ages/core/tests/core/test_function_invocation_logic.py | 3298 | # Set include_detailed_errors to False (default) | COMMENT |
| LOW | …ages/core/tests/core/test_function_invocation_logic.py | 3366 | # Set include_detailed_errors to True | COMMENT |
| LOW | …ages/core/tests/core/test_function_invocation_logic.py | 3434 | # Set include_detailed_errors to True to see validation details | COMMENT |
| LOW | …ages/core/tests/core/test_function_invocation_logic.py | 3932 | # Set max_iterations to 1 in additional_properties | COMMENT |
| LOW | …ages/core/tests/core/test_function_invocation_logic.py | 4501 | # Set max_consecutive_errors to 2 | COMMENT |
| LOW | …ages/core/tests/core/test_function_invocation_logic.py | 4588 | # Set terminate_on_unknown_calls to False (default) | COMMENT |
| LOW | …ages/core/tests/core/test_function_invocation_logic.py | 4633 | # Set terminate_on_unknown_calls to True | COMMENT |
| LOW | …ages/core/tests/core/test_function_invocation_logic.py | 4667 | # Set include_detailed_errors to True | COMMENT |
| LOW | …ages/core/tests/core/test_function_invocation_logic.py | 4709 | # Set include_detailed_errors to False (default) | COMMENT |
| LOW | …ages/core/tests/core/test_function_invocation_logic.py | 4749 | # Set include_detailed_errors to True | COMMENT |
| LOW | …ages/core/tests/core/test_function_invocation_logic.py | 4789 | # Set include_detailed_errors to False (default) | COMMENT |
| LOW | …ages/core/tests/core/test_function_invocation_logic.py | 4963 | # Set result to a simple value - the framework will wrap it in FunctionResultContent | COMMENT |
| LOW | …ages/core/tests/core/test_function_invocation_logic.py | 5418 | # Set result to a simple value - the framework will wrap it in FunctionResultContent | COMMENT |
| LOW | …ages/core/tests/core/test_middleware_context_result.py | 181 | # Check if we want to override BEFORE calling next to avoid creating unused streams | COMMENT |
| LOW | python/packages/core/tests/core/test_types.py | 2924 | # Check if this is a list of objects that were created from dicts | COMMENT |
| LOW | python/packages/core/agent_framework/_serialization.py | 380 | # Check if the value is JSON serializable | COMMENT |
| LOW | python/packages/core/agent_framework/_serialization.py | 553 | # Check if this is an instance-specific dependency (field:name format) | COMMENT |
| LOW | python/packages/core/agent_framework/_tools.py | 480 | # Check if the wrapped function is a method (has 'self' parameter) | COMMENT |
| LOW | python/packages/core/agent_framework/_mcp.py | 165 | # Check if 'arguments' is missing or empty | COMMENT |
| LOW | python/packages/core/agent_framework/_mcp.py | 1808 | # Check if there are more pages | COMMENT |
| LOW | python/packages/core/agent_framework/_mcp.py | 1939 | # Check if there are more pages | COMMENT |
| LOW | …/core/agent_framework/_workflows/_function_executor.py | 382 | # Check if there's a context parameter | COMMENT |
| LOW | …s/core/agent_framework/_workflows/_workflow_context.py | 189 | # Check if it's a union type and validate each member | COMMENT |
| LOW | …s/core/agent_framework/_workflows/_workflow_context.py | 201 | # Check if it's a valid type | COMMENT |
| 58 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …ld_your_own_claw/claw_step04_production_ready/agent.py | 293 | CODE | |
| LOW | …n/samples/02-agents/harness/console/harness_console.py | 23 | CODE | |
| LOW | python/samples/02-agents/harness/console/app.py | 143 | CODE | |
| LOW | python/packages/foundry_hosting/tests/test_responses.py | 304 | CODE | |
| LOW | …ry_hosting/agent_framework_foundry_hosting/_toolbox.py | 263 | CODE | |
| LOW | …ithub_copilot/agent_framework_github_copilot/_agent.py | 548 | CODE | |
| LOW | …ithub_copilot/agent_framework_github_copilot/_agent.py | 1570 | CODE | |
| LOW | …on/packages/tools/agent_framework_tools/shell/_tool.py | 141 | CODE | |
| LOW | …/packages/tools/agent_framework_tools/shell/_docker.py | 330 | CODE | |
| LOW | …ages/foundry/agent_framework_foundry/_foundry_evals.py | 986 | CODE | |
| LOW | …s/foundry/agent_framework_foundry/_embedding_client.py | 120 | CODE | |
| LOW | …s/foundry/agent_framework_foundry/_embedding_client.py | 378 | CODE | |
| LOW | …ckages/foundry/agent_framework_foundry/_chat_client.py | 162 | CODE | |
| LOW | …ckages/foundry/agent_framework_foundry/_chat_client.py | 613 | CODE | |
| LOW | …ckages/foundry/agent_framework_foundry/_chat_client.py | 986 | CODE | |
| LOW | …hon/packages/foundry/agent_framework_foundry/_agent.py | 186 | CODE | |
| LOW | …hon/packages/foundry/agent_framework_foundry/_agent.py | 292 | CODE | |
| LOW | …hon/packages/foundry/agent_framework_foundry/_agent.py | 551 | CODE | |
| LOW | …hon/packages/foundry/agent_framework_foundry/_agent.py | 662 | CODE | |
| LOW | …hon/packages/foundry/agent_framework_foundry/_agent.py | 952 | CODE | |
| LOW | …es/foundry/agent_framework_foundry/_memory_provider.py | 70 | CODE | |
| LOW | …os/agent_framework_azure_cosmos/_checkpoint_storage.py | 117 | CODE | |
| LOW | …smos/agent_framework_azure_cosmos/_history_provider.py | 44 | CODE | |
| LOW | python/packages/core/agent_framework/_types.py | 484 | CODE | |
| LOW | python/packages/core/agent_framework/_types.py | 1102 | CODE | |
| LOW | python/packages/core/agent_framework/_types.py | 2273 | CODE | |
| LOW | python/packages/core/agent_framework/_types.py | 2557 | CODE | |
| LOW | python/packages/core/agent_framework/_types.py | 2679 | CODE | |
| LOW | python/packages/core/agent_framework/_types.py | 2964 | CODE | |
| LOW | python/packages/core/agent_framework/_sessions.py | 579 | CODE | |
| LOW | python/packages/core/agent_framework/_sessions.py | 2202 | CODE | |
| LOW | python/packages/core/agent_framework/_evaluation.py | 1630 | CODE | |
| LOW | python/packages/core/agent_framework/_evaluation.py | 1834 | CODE | |
| LOW | python/packages/core/agent_framework/_evaluation.py | 415 | CODE | |
| LOW | python/packages/core/agent_framework/_tools.py | 1136 | CODE | |
| LOW | python/packages/core/agent_framework/_tools.py | 1152 | CODE | |
| LOW | python/packages/core/agent_framework/_tools.py | 1167 | CODE | |
| LOW | python/packages/core/agent_framework/_tools.py | 311 | CODE | |
| LOW | python/packages/core/agent_framework/_mcp.py | 442 | CODE | |
| LOW | python/packages/core/agent_framework/_mcp.py | 2753 | CODE | |
| LOW | python/packages/core/agent_framework/_mcp.py | 2950 | CODE | |
| LOW | python/packages/core/agent_framework/_mcp.py | 3271 | CODE | |
| LOW | python/packages/core/agent_framework/security.py | 2234 | CODE | |
| LOW | python/packages/core/agent_framework/security.py | 3380 | CODE | |
| LOW | python/packages/core/agent_framework/observability.py | 500 | CODE | |
| LOW | python/packages/core/agent_framework/observability.py | 1592 | CODE | |
| LOW | python/packages/core/agent_framework/observability.py | 2539 | CODE | |
| LOW | python/packages/core/agent_framework/observability.py | 2555 | CODE | |
| LOW | python/packages/core/agent_framework/observability.py | 2571 | CODE | |
| LOW | python/packages/core/agent_framework/observability.py | 2586 | CODE | |
| LOW | python/packages/core/agent_framework/_agents.py | 811 | CODE | |
| LOW | python/packages/core/agent_framework/_agents.py | 1007 | CODE | |
| LOW | python/packages/core/agent_framework/_agents.py | 1022 | CODE | |
| LOW | python/packages/core/agent_framework/_agents.py | 1037 | CODE | |
| LOW | python/packages/core/agent_framework/_agents.py | 1051 | CODE | |
| LOW | python/packages/core/agent_framework/_agents.py | 1805 | CODE | |
| LOW | python/packages/core/agent_framework/_agents.py | 1821 | CODE | |
| LOW | python/packages/core/agent_framework/_agents.py | 1837 | CODE | |
| LOW | python/packages/core/agent_framework/_agents.py | 1852 | CODE | |
| LOW | python/packages/core/agent_framework/_agents.py | 1885 | CODE | |
| 93 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | …s/02-agents/tools/function_tool_with_max_exceptions.py | 100 | if (b === 0) return undefined; // or throw | STRING |
| HIGH | …s/02-agents/tools/function_tool_with_max_exceptions.py | 159 | if (b === 0) return undefined; // or throw | STRING |
| HIGH | …on/packages/tools/agent_framework_tools/shell/_tool.py | 110 | ``cd /tmp && rm -rf .`` in one call can still touch ``/tmp``. | CODE |
| HIGH | …packages/tools/agent_framework_tools/shell/_session.py | 356 | " if ($LASTEXITCODE -ne $null) { $__af_rc = $LASTEXITCODE }" | CODE |
| HIGH⚡ | python/packages/tools/tests/test_docker_shell_tool.py | 542 | r = await shell.run("wget -q -T 2 -O- http://example.com || echo NOACCESS") | CODE |
| HIGH | python/packages/core/tests/core/test_tools.py | 198 | arguments='{"location": "Seattle", "unit": null}', | CODE |
| HIGH | python/packages/core/tests/core/test_tools.py | 159 | Regression for #5934: exclude_none dropped the explicit null, so the required | STRING |
| HIGH | python/packages/core/agent_framework/_tools.py | 664 | # explicitly provided even when their value is null, and drop | COMMENT |
| HIGH | python/packages/core/agent_framework/_tools.py | 667 | # parameter the model deliberately set to null, failing the | COMMENT |
| HIGH | …ackages/devui/tests/devui/test_ui_memory_regression.py | 462 | jsHeapBytes: performance.memory ? performance.memory.usedJSHeapSize : null, | STRING |
| HIGH | python/packages/orchestrations/tests/test_group_chat.py | 96 | '"next_speaker": "agent", "final_message": null}' | CODE |
| HIGH | python/packages/orchestrations/tests/test_group_chat.py | 119 | '"next_speaker": null, "final_message": "agent manager final"}' | CODE |
| HIGH | python/packages/orchestrations/tests/test_group_chat.py | 154 | '"next_speaker": "unknown", "final_message": null} ' | CODE |
| HIGH | python/packages/orchestrations/tests/test_group_chat.py | 156 | '"next_speaker": "agent", "final_message": null}' | CODE |
| HIGH | python/packages/orchestrations/tests/test_group_chat.py | 171 | '"next_speaker": null, "final_message": "concatenated manager final"}' | CODE |
| HIGH | python/packages/orchestrations/tests/test_group_chat.py | 965 | '"next_speaker": "alpha", "final_message": null}' | CODE |
| HIGH | python/packages/orchestrations/tests/test_group_chat.py | 987 | '"next_speaker": null, "final_message": "dynamic manager final"}' | CODE |
| HIGH | …ent_framework_declarative/_workflows/_executors_mcp.py | 131 | This avoids surprising ``"[42]"`` / ``"[true]"`` / ``"[null]"`` when | STRING |
| HIGH⚡ | …thon/packages/declarative/tests/test_workflow_state.py | 270 | assert state._eval_simple("Local.x || Local.y") is True | CODE |
| HIGH⚡ | …thon/packages/declarative/tests/test_workflow_state.py | 266 | """Test || operator.""" | STRING |
| HIGH | …nai/tests/openai/test_openai_chat_completion_client.py | 2253 | The OpenAI spec sends ``"delta": {}`` (not null) on finish chunks. These | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | python/samples/README.md | 151 | | `agent-framework-mistral` | `MistralChatClient / MistralEmbeddingClient` | `MISTRAL_API_KEY` | `your-api-key` | | CODE |
| HIGH | …/02-agents/context_providers/azure_ai_search/README.md | 205 | -H "api-key: YOUR_API_KEY" | CODE |
| HIGH | python/samples/02-agents/mcp/mcp_api_key_auth.py | 23 | python mcp_api_key_auth.py <your_api_key> | STRING |
| HIGH | python/packages/core/agent_framework/_serialization.py | 467 | openai_client = AsyncOpenAI(api_key="your-api-key") | STRING |
| HIGH | python/packages/core/agent_framework/_tools.py | 1373 | client = OpenAIChatClient(api_key="your_api_key") | STRING |
| HIGH | python/packages/gemini/README.md | 26 | export GEMINI_API_KEY="your-api-key" | CODE |
| HIGH | python/packages/gemini/README.md | 27 | # or: export GOOGLE_API_KEY="your-api-key" | COMMENT |
| HIGH | python/packages/devui/dev.md | 35 | OPENAI_API_KEY="your-api-key-here" | CODE |
| HIGH | python/packages/lab/lightning/README.md | 55 | api_key="your-api-key", | CODE |
| HIGH | python/packages/lab/tau2/README.md | 69 | api_key="your-api-key", | CODE |
| HIGH | python/packages/lab/tau2/README.md | 74 | api_key="your-api-key", | CODE |
| HIGH | python/packages/lab/tau2/README.md | 131 | export OPENAI_API_KEY="your-api-key" | CODE |
| HIGH | python/packages/ag-ui/README.md | 28 | api_key="your-api-key", | CODE |
| HIGH | python/packages/ag-ui/getting_started/README.md | 280 | # export AZURE_OPENAI_API_KEY="your-api-key" | COMMENT |
| HIGH | python/packages/mistral/README.md | 27 | # MistralChatClient(model="mistral-large-latest", api_key="your-api-key") | COMMENT |
| HIGH | python/packages/mistral/README.md | 59 | # MistralEmbeddingClient(model="mistral-embed", api_key="your-api-key") | COMMENT |
| HIGH | …s/mistral/agent_framework_mistral/_embedding_client.py | 361 | api_key="your-api-key", | STRING |
| HIGH | …ckages/mistral/agent_framework_mistral/_chat_client.py | 913 | api_key="your-api-key", | STRING |
| HIGH | …github-copilot/Agent_With_GitHubCopilot_BYOK/README.md | 64 | ApiKey = "your-api-key", | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | python/devsetup.sh | 2 | # Create a virtual environment with Python 3.10 (you can change this to 3.11, 3.12 or 3.13) | COMMENT |
| MEDIUM | …mples/02-agents/tools/control_total_tool_executions.py | 329 | Response: I'm unable to use the analysis tool right now as it has reached its limit... | STRING |
| LOW | …02-agents/context_providers/simple_context_provider.py | 30 | # In order for the State to be serialized well, we need to make sure to register | COMMENT |
| MEDIUM | …arness/build_your_own_claw/subprocess_script_runner.py | 5 | This is provided for demonstration purposes only. | STRING |
| MEDIUM | …aw_step04_production_ready/subprocess_script_runner.py | 5 | This is provided for demonstration purposes only. | STRING |
| MEDIUM | …n/samples/02-agents/skills/subprocess_script_runner.py | 5 | This is provided for demonstration purposes only. | STRING |
| MEDIUM | …ws/human-in-the-loop/guessing_game_with_human_input.py | 188 | # If desired, you can add more guidance here, but keep it concise. | COMMENT |
| MEDIUM | …ows/human-in-the-loop/agents_with_approval_requests.py | 41 | 5. The sample automatically approves the request for demonstration purposes. | STRING |
| MEDIUM⚡ | …ows/human-in-the-loop/agents_with_approval_requests.py | 69 | # For demonstration purposes, we return a fixed date. | COMMENT |
| MEDIUM | …ows/human-in-the-loop/agents_with_approval_requests.py | 340 | Please let me know if you need more detailed information or have any questions. | STRING |
| MEDIUM | …orkflows/agents/workflow_as_agent_human_in_the_loop.py | 148 | # Mock a human response approval for demonstration purposes. | COMMENT |
| MEDIUM | …on/samples/05-end-to-end/workflow_evaluation/_tools.py | 11 | # Note: These are mock tools for demonstration purposes. They return simulated data | COMMENT |
| MEDIUM | …hon/samples/05-end-to-end/chatkit-integration/store.py | 53 | Note: This is for demonstration purposes. In production, you should | STRING |
| MEDIUM | …/05-end-to-end/chatkit-integration/attachment_store.py | 40 | Note: This is for demonstration purposes. In production, use cloud storage | STRING |
| MEDIUM⚡ | …ackages/openai/tests/openai/test_openai_chat_client.py | 1614 | assert response.messages[0].contents[0].text == "I cannot provide that information." | CODE |
| MEDIUM | …ackages/openai/tests/openai/test_openai_chat_client.py | 1602 | mock_refusal_content.refusal = "I cannot provide that information." | CODE |
| MEDIUM | …nai/tests/openai/test_openai_chat_completion_client.py | 1361 | refusal="I cannot provide that information.", | CODE |
| MEDIUM | …nai/tests/openai/test_openai_chat_completion_client.py | 1375 | assert message.contents[0].text == "I cannot provide that information." | CODE |
| MEDIUM | …ry/AgentWithMemory_Step01_ChatHistoryMemory/Program.cs | 20 | // For demonstration purposes, we are using an in-memory vector store. | COMMENT |
| MEDIUM | …y/AgentWithMemory_Step05_BoundedChatHistory/Program.cs | 26 | // For demonstration purposes, we are using an in-memory vector store. | COMMENT |
| MEDIUM | …/Agents/Agent_Step03_PersistedConversations/Program.cs | 38 | // Here we'll just write the serialized session to console (for demonstration purposes). | COMMENT |
| MEDIUM | …mples/02-agents/Agents/Agent_Step12_Plugins/Program.cs | 106 | /// The weather information is hardcoded for demonstration purposes. | COMMENT |
| MEDIUM | …uildYourOwnClaw/Claw_Step01_MeetYourClaw/StockTools.cs | 12 | /// The prices returned here are mock data for demonstration purposes only and are not real | COMMENT |
| MEDIUM | …rOwnClaw/Claw_Step03_ScalingCapabilities/StockTools.cs | 12 | /// The prices and earnings figures returned here are mock data for demonstration purposes only and | COMMENT |
| MEDIUM | …w_Step03_ScalingCapabilities/SubprocessScriptRunner.cs | 5 | // This is provided for demonstration purposes only. | COMMENT |
| MEDIUM | …w_Step03_ScalingCapabilities/SubprocessScriptRunner.cs | 19 | /// as a positional argument. It is intended for demonstration purposes only. | COMMENT |
| MEDIUM | …dYourOwnClaw/Claw_Step02_WorkingWithData/StockTools.cs | 12 | /// The prices returned here are mock data for demonstration purposes only and are not real | COMMENT |
| MEDIUM | …foundry/Agent_Step06_PersistedConversations/Program.cs | 31 | // Save the serialized session to a temporary file (for demonstration purposes). | COMMENT |
| MEDIUM | …foundry/Agent_Step06_PersistedConversations/Program.cs | 35 | // Load the serialized session from the temporary file (for demonstration purposes). | COMMENT |
| MEDIUM | …AgentProviders/foundry/Agent_Step13_Plugins/Program.cs | 122 | /// The weather information is hardcoded for demonstration purposes. | COMMENT |
| MEDIUM | …02-agents/Evaluation/Evaluation_CustomEvals/Program.cs | 28 | && !response.Contains("I'm unable to", StringComparison.OrdinalIgnoreCase) | CODE |
| MEDIUM | …amples/02-agents/AgentSkills/SubprocessScriptRunner.cs | 5 | // This is provided for demonstration purposes only. | COMMENT |
| MEDIUM | …amples/02-agents/AgentSkills/SubprocessScriptRunner.cs | 17 | /// as a positional argument. It is intended for demonstration purposes only. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | …packages/core/tests/core/test_middleware_with_agent.py | 177 | CODE | |
| MEDIUM | …packages/core/tests/core/test_middleware_with_agent.py | 178 | CODE | |
| MEDIUM | …packages/core/tests/core/test_middleware_with_agent.py | 1993 | CODE | |
| MEDIUM | …packages/core/tests/core/test_middleware_with_agent.py | 1994 | CODE | |
| MEDIUM | python/packages/core/tests/core/test_types.py | 4393 | CODE | |
| MEDIUM | python/packages/core/tests/core/test_types.py | 4412 | CODE | |
| MEDIUM | python/packages/core/tests/core/test_types.py | 4434 | CODE | |
| MEDIUM | python/packages/core/tests/core/test_agent_hooks.py | 1903 | CODE | |
| MEDIUM | python/packages/ag-ui/tests/ag_ui/test_http_service.py | 116 | CODE | |
| MEDIUM | python/packages/ag-ui/tests/ag_ui/test_http_service.py | 161 | CODE | |
| MEDIUM | python/packages/ag-ui/tests/ag_ui/test_http_service.py | 209 | CODE | |
| MEDIUM | python/packages/ag-ui/tests/ag_ui/test_http_service.py | 241 | CODE | |
| MEDIUM | python/packages/ag-ui/tests/ag_ui/test_http_service.py | 347 | CODE | |
| MEDIUM | python/packages/ag-ui/tests/ag_ui/test_workflow_run.py | 1420 | CODE | |
| MEDIUM | python/packages/ag-ui/tests/ag_ui/test_workflow_run.py | 2546 | CODE | |
| MEDIUM | python/packages/ag-ui/tests/ag_ui/test_a2ui.py | 308 | CODE | |
| MEDIUM | python/packages/ag-ui/tests/ag_ui/test_a2ui.py | 322 | CODE | |
| MEDIUM | …ges/ag-ui/tests/ag_ui/golden/test_scenario_workflow.py | 453 | CODE | |
| MEDIUM | …ges/ag-ui/tests/ag_ui/golden/test_scenario_workflow.py | 475 | CODE | |
| MEDIUM | …ting-telegram/tests/hosting_telegram/test_rendering.py | 211 | CODE | |
| MEDIUM | python/packages/chatkit/tests/test_streaming.py | 29 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | python/samples/02-agents/compaction/basics.py | 104 | # plus matching tool result messages). In this example, setting to 0 removes | COMMENT |
| HIGH | …samples/02-agents/context_providers/mem0/mem0_basic.py | 35 | # In this example, we associate Mem0 records with user_id. | COMMENT |
| HIGH | …n/samples/02-agents/context_providers/mem0/mem0_oss.py | 36 | # In this example, we associate Mem0 records with user_id. | COMMENT |
| HIGH | python/packages/ag-ui/getting_started/server.py | 113 | # In this example: | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …uction_ready/skills/risk-scoring/scripts/risk_score.py | 8 | # Usage: | COMMENT |
| LOW | …on_ready/skills/valuation/scripts/valuation_metrics.py | 8 | # Usage: | COMMENT |
| LOW | …our_own_claw/skills/risk-scoring/scripts/risk_score.py | 8 | # Usage: | COMMENT |
| LOW | …own_claw/skills/valuation/scripts/valuation_metrics.py | 8 | # Usage: | COMMENT |
| LOW | …/mixed_skills/skills/unit-converter/scripts/convert.py | 4 | # Usage: | COMMENT |
| LOW | …e_based_skill/skills/unit-converter/scripts/convert.py | 4 | # Usage: | COMMENT |
| LOW | …oundryHostedAgents/scripts/add-local-framework-feed.sh | 30 | # Usage: | COMMENT |
| LOW | …dy/ClawAgent/skills/risk-scoring/scripts/risk_score.py | 8 | # Usage: | COMMENT |
| LOW | …lawAgent/skills/valuation/scripts/valuation_metrics.py | 8 | # Usage: | COMMENT |
| LOW | …Capabilities/skills/risk-scoring/scripts/risk_score.py | 8 | # Usage: | COMMENT |
| LOW | …bilities/skills/valuation/scripts/valuation_metrics.py | 8 | # Usage: | COMMENT |
| LOW | …sAutoApproval/skills/unit-converter/scripts/convert.py | 4 | # Usage: | COMMENT |
| LOW | …dSkills/skills/unit-converter/scripts/convert-units.py | 4 | # Usage: | COMMENT |
| LOW | …leBasedSkills/skills/unit-converter/scripts/convert.py | 4 | # Usage: | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | …ackages/devui/agent_framework_devui/ui/assets/index.js | 130 | print(response) | CODE |
| HIGH | …mponents/features/gallery/setup-instructions-modal.tsx | 175 | print(response) | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …ages/github_copilot/tests/test_github_copilot_agent.py | 2189 | def my_function(arg: str) -> str: | CODE |
| LOW⚡ | python/packages/core/tests/core/test_skills.py | 3556 | def my_function(key: str = "") -> str: | CODE |
| LOW | python/packages/core/tests/core/test_feature_stage.py | 84 | def my_function(value: int) -> int: | CODE |
| LOW | python/packages/core/tests/core/test_feature_stage.py | 430 | def my_function() -> None: | STRING |
| LOW⚡ | …packages/core/tests/workflow/test_function_executor.py | 81 | async def my_function(data: dict[str, Any], ctx: WorkflowContext[Any]) -> None: | CODE |
| LOW | …/core/agent_framework/_workflows/_function_executor.py | 244 | def process_data(data: str): | STRING |
| LOW⚡ | python/packages/lab/gaia/samples/gaia_sample.py | 148 | async def run_task(task: Task) -> Prediction: | CODE |
| LOW | …/packages/declarative/tests/test_declarative_loader.py | 1369 | def my_function(): | STRING |
| LOW | …on/packages/declarative/tests/test_workflow_factory.py | 359 | def my_function(x): | CODE |
| LOW | …nai/tests/openai/test_openai_chat_completion_client.py | 324 | def test_function(query: str) -> str: | CODE |