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 12,114 GitHub stars. SynthScan v2.0 examined 903,603 lines of code across 4441 source files, recording 15827 pattern matches distributed across 28 syntactic categories. The overall adjusted score of 22.5 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 15827 distinct pattern matches across 28 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 | 48 | async def _start_local_kernel_process( | CODE |
| LOW | …c-kernel-migration/processes/fan_out_fan_in_process.py | 135 | async def run_semantic_kernel_process_example() -> None: | CODE |
| LOW | …c-kernel-migration/processes/fan_out_fan_in_process.py | 231 | async def run_agent_framework_workflow_example() -> str | None: | CODE |
| LOW | …/semantic-kernel-migration/processes/nested_process.py | 133 | async def run_semantic_kernel_nested_process() -> None: | CODE |
| LOW | …/semantic-kernel-migration/processes/nested_process.py | 252 | async def run_agent_framework_nested_workflow(initial_message: str) -> Sequence[str]: | CODE |
| LOW | …es/semantic-kernel-migration/orchestrations/handoff.py | 74 | def build_semantic_kernel_agents() -> tuple[list[SKAgent], OrchestrationHandoffs]: | CODE |
| LOW | …es/semantic-kernel-migration/orchestrations/handoff.py | 160 | async def run_semantic_kernel_example(initial_task: str, scripted_responses: Sequence[str]) -> str: | CODE |
| LOW⚡ | …es/semantic-kernel-migration/orchestrations/handoff.py | 232 | def _collect_handoff_requests(events: list[WorkflowEvent]) -> list[WorkflowEvent]: | CODE |
| LOW⚡ | …es/semantic-kernel-migration/orchestrations/handoff.py | 240 | def _extract_final_conversation(events: list[WorkflowEvent]) -> list[Message]: | CODE |
| LOW⚡ | …es/semantic-kernel-migration/orchestrations/handoff.py | 247 | async def run_agent_framework_example(initial_task: str, scripted_responses: Sequence[str]) -> str: | CODE |
| LOW | …semantic-kernel-migration/orchestrations/sequential.py | 42 | def build_semantic_kernel_agents() -> list[SKAgent]: | CODE |
| LOW | …semantic-kernel-migration/orchestrations/sequential.py | 60 | async def sk_agent_response_callback( | CODE |
| LOW | …semantic-kernel-migration/orchestrations/sequential.py | 80 | async def run_agent_framework_example(prompt: str) -> list[Message]: | CODE |
| LOW | …semantic-kernel-migration/orchestrations/sequential.py | 105 | async def run_semantic_kernel_example(prompt: str) -> str: | CODE |
| LOW | …semantic-kernel-migration/orchestrations/group_chat.py | 59 | def build_semantic_kernel_agents() -> list[ChatCompletionAgent]: | CODE |
| LOW | …semantic-kernel-migration/orchestrations/group_chat.py | 117 | async def should_request_user_input(self, chat_history: ChatHistory) -> BooleanResult: | CODE |
| LOW | …semantic-kernel-migration/orchestrations/group_chat.py | 187 | async def sk_agent_response_callback(message: ChatMessageContent | Sequence[ChatMessageContent]) -> None: | CODE |
| LOW | …semantic-kernel-migration/orchestrations/group_chat.py | 199 | async def run_semantic_kernel_example(task: str) -> str: | CODE |
| LOW | …semantic-kernel-migration/orchestrations/group_chat.py | 229 | async def run_agent_framework_example(task: str) -> str: | CODE |
| LOW | …ic-kernel-migration/orchestrations/concurrent_basic.py | 41 | def build_semantic_kernel_agents() -> list[ChatCompletionAgent]: | CODE |
| LOW | …ic-kernel-migration/orchestrations/concurrent_basic.py | 59 | async def run_semantic_kernel_example(prompt: str) -> Sequence[ChatMessageContent]: | CODE |
| LOW | …ic-kernel-migration/orchestrations/concurrent_basic.py | 77 | def _print_semantic_kernel_outputs(outputs: Sequence[ChatMessageContent]) -> None: | CODE |
| LOW | …ic-kernel-migration/orchestrations/concurrent_basic.py | 93 | async def run_agent_framework_example(prompt: str) -> Sequence[list[Message]]: | CODE |
| LOW | …ic-kernel-migration/orchestrations/concurrent_basic.py | 118 | def _print_agent_framework_outputs(conversations: Sequence[Sequence[Message]]) -> None: | CODE |
| LOW | …s/semantic-kernel-migration/orchestrations/magentic.py | 52 | async def build_semantic_kernel_agents() -> list[ChatCompletionAgent | OpenAIAssistantAgent]: | CODE |
| LOW | …s/semantic-kernel-migration/orchestrations/magentic.py | 82 | def sk_agent_response_callback( | CODE |
| LOW | …s/semantic-kernel-migration/orchestrations/magentic.py | 97 | async def run_semantic_kernel_example(prompt: str) -> Sequence[ChatMessageContent]: | CODE |
| LOW | …s/semantic-kernel-migration/orchestrations/magentic.py | 120 | def _print_semantic_kernel_outputs(outputs: Sequence[ChatMessageContent]) -> None: | CODE |
| LOW | …s/semantic-kernel-migration/orchestrations/magentic.py | 136 | async def run_agent_framework_example(prompt: str) -> str | None: | CODE |
| LOW | …s/semantic-kernel-migration/orchestrations/magentic.py | 193 | def _print_agent_framework_output(result: str | None) -> None: | CODE |
| LOW | …ask/05_multi_agent_orchestration_concurrency/worker.py | 78 | def multi_agent_concurrent_orchestration( | CODE |
| LOW | …rabletask/07_single_agent_orchestration_hitl/worker.py | 120 | def content_generation_hitl_orchestration( | CODE |
| LOW | …etask/04_single_agent_orchestration_chaining/worker.py | 75 | def single_agent_chaining_orchestration( | CODE |
| LOW | …sk/06_multi_agent_orchestration_conditionals/worker.py | 128 | def spam_detection_orchestration(context: OrchestrationContext, payload_raw: Any) -> Generator[Task[Any], Any, str]: | CODE |
| LOW | …osting/durabletask/03_single_agent_streaming/worker.py | 75 | async def on_streaming_response_update( | CODE |
| LOW | …hosting/durabletask/03_single_agent_streaming/tools.py | 147 | def _get_weather_recommendation(condition: str) -> str: | CODE |
| LOW | …ingle_agent_streaming/redis_stream_response_handler.py | 35 | class RedisStreamResponseHandler: | CODE |
| LOW | …osting/durabletask/03_single_agent_streaming/README.md | 90 | async def on_streaming_response_update(self, update, context): | CODE |
| LOW | python/samples/04-hosting/a2a/README.md | 90 | 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 | …oundry-hosted-agents/responses/using_deployed_agent.py | 38 | async def create_hosted_agent_session( | CODE |
| LOW | …sting/foundry-hosted-agents/responses/06_files/main.py | 42 | def _toolbox_name_from_endpoint(endpoint: str) -> str: | CODE |
| LOW | …_multi_agent_orchestration_concurrency/function_app.py | 70 | def multi_agent_concurrent_orchestration(context: DurableOrchestrationContext) -> Generator[Any, Any, dict[str, str]]: | CODE |
| LOW | …_multi_agent_orchestration_concurrency/function_app.py | 101 | async def start_multi_agent_concurrent_orchestration( | CODE |
| LOW | …ure_functions/09_workflow_shared_state/function_app.py | 138 | async def submit_to_email_assistant(detection: DetectionResult, ctx: WorkflowContext[AgentExecutorRequest]) -> None: | CODE |
| LOW | …ons/07_single_agent_orchestration_hitl/function_app.py | 93 | def content_generation_hitl_orchestration(context: DurableOrchestrationContext) -> Generator[Any, Any, dict[str, str]]: | CODE |
| LOW | …04_single_agent_orchestration_chaining/function_app.py | 57 | def single_agent_orchestration(context: DurableOrchestrationContext) -> Generator[Any, Any, str]: | CODE |
| LOW | …04_single_agent_orchestration_chaining/function_app.py | 81 | async def start_single_agent_orchestration( | CODE |
| LOW | …hosting/azure_functions/03_reliable_streaming/tools.py | 143 | def _get_weather_recommendation(condition: str) -> str: | CODE |
| LOW | …03_reliable_streaming/redis_stream_response_handler.py | 35 | class RedisStreamResponseHandler: | CODE |
| 8999 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 | …ples/04-hosting/durabletask/09_workflow_hitl/worker.py | 76 | # ============================================================================ | COMMENT |
| MEDIUM | …ples/04-hosting/durabletask/09_workflow_hitl/worker.py | 78 | # ============================================================================ | COMMENT |
| MEDIUM | …ples/04-hosting/durabletask/09_workflow_hitl/worker.py | 136 | # ============================================================================ | COMMENT |
| MEDIUM | …ples/04-hosting/durabletask/09_workflow_hitl/worker.py | 138 | # ============================================================================ | COMMENT |
| MEDIUM⚡ | …s/04-hosting/durabletask/12_subworkflow_hitl/worker.py | 69 | # ============================================================================ | COMMENT |
| MEDIUM⚡ | …s/04-hosting/durabletask/12_subworkflow_hitl/worker.py | 71 | # ============================================================================ | COMMENT |
| MEDIUM | …s/04-hosting/durabletask/12_subworkflow_hitl/worker.py | 109 | # ============================================================================ | COMMENT |
| MEDIUM | …s/04-hosting/durabletask/12_subworkflow_hitl/worker.py | 111 | # ============================================================================ | COMMENT |
| MEDIUM | …s/04-hosting/durabletask/12_subworkflow_hitl/worker.py | 167 | # ============================================================================ | COMMENT |
| MEDIUM | …s/04-hosting/durabletask/12_subworkflow_hitl/worker.py | 169 | # ============================================================================ | 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 | …ure_functions/09_workflow_shared_state/function_app.py | 170 | # ============================================================================ | COMMENT |
| MEDIUM | …ure_functions/09_workflow_shared_state/function_app.py | 172 | # ============================================================================ | COMMENT |
| MEDIUM | …ure_functions/09_workflow_shared_state/function_app.py | 234 | # ============================================================================ | COMMENT |
| MEDIUM | …ure_functions/09_workflow_shared_state/function_app.py | 236 | # ============================================================================ | COMMENT |
| MEDIUM⚡ | …g/azure_functions/11_workflow_parallel/function_app.py | 59 | # ============================================================================ | COMMENT |
| MEDIUM⚡ | …g/azure_functions/11_workflow_parallel/function_app.py | 61 | # ============================================================================ | COMMENT |
| MEDIUM | …g/azure_functions/11_workflow_parallel/function_app.py | 138 | # ============================================================================ | COMMENT |
| MEDIUM | …g/azure_functions/11_workflow_parallel/function_app.py | 140 | # ============================================================================ | COMMENT |
| MEDIUM | …g/azure_functions/11_workflow_parallel/function_app.py | 328 | # ============================================================================ | COMMENT |
| MEDIUM | …g/azure_functions/11_workflow_parallel/function_app.py | 330 | # ============================================================================ | COMMENT |
| MEDIUM | …g/azure_functions/11_workflow_parallel/function_app.py | 440 | # ============================================================================ | COMMENT |
| MEDIUM | …g/azure_functions/11_workflow_parallel/function_app.py | 442 | # ============================================================================ | COMMENT |
| MEDIUM⚡ | …ng/azure_functions/13_subworkflow_hitl/function_app.py | 63 | # ============================================================================ | COMMENT |
| MEDIUM⚡ | …ng/azure_functions/13_subworkflow_hitl/function_app.py | 65 | # ============================================================================ | COMMENT |
| MEDIUM | …ng/azure_functions/13_subworkflow_hitl/function_app.py | 103 | # ============================================================================ | COMMENT |
| MEDIUM | …ng/azure_functions/13_subworkflow_hitl/function_app.py | 105 | # ============================================================================ | COMMENT |
| MEDIUM | …ng/azure_functions/13_subworkflow_hitl/function_app.py | 161 | # ============================================================================ | COMMENT |
| MEDIUM | …ng/azure_functions/13_subworkflow_hitl/function_app.py | 163 | # ============================================================================ | COMMENT |
| MEDIUM | …ng/azure_functions/13_subworkflow_hitl/function_app.py | 216 | # ============================================================================ | COMMENT |
| MEDIUM | …ng/azure_functions/13_subworkflow_hitl/function_app.py | 218 | # ============================================================================ | COMMENT |
| MEDIUM⚡ | …sting/azure_functions/12_workflow_hitl/function_app.py | 60 | # ============================================================================ | COMMENT |
| MEDIUM⚡ | …sting/azure_functions/12_workflow_hitl/function_app.py | 62 | # ============================================================================ | COMMENT |
| MEDIUM | …sting/azure_functions/12_workflow_hitl/function_app.py | 120 | # ============================================================================ | COMMENT |
| MEDIUM | …sting/azure_functions/12_workflow_hitl/function_app.py | 122 | # ============================================================================ | COMMENT |
| MEDIUM | …sting/azure_functions/12_workflow_hitl/function_app.py | 141 | # ============================================================================ | COMMENT |
| MEDIUM | …sting/azure_functions/12_workflow_hitl/function_app.py | 143 | # ============================================================================ | COMMENT |
| MEDIUM | …sting/azure_functions/12_workflow_hitl/function_app.py | 304 | # ============================================================================ | COMMENT |
| MEDIUM | …sting/azure_functions/12_workflow_hitl/function_app.py | 306 | # ============================================================================ | COMMENT |
| MEDIUM⚡ | …sting/azure_functions/12_workflow_hitl/function_app.py | 362 | # ============================================================================ | COMMENT |
| MEDIUM⚡ | …sting/azure_functions/12_workflow_hitl/function_app.py | 364 | # ============================================================================ | COMMENT |
| MEDIUM | …sting/azure_functions/12_workflow_hitl/function_app.py | 400 | # ============================================================================ | COMMENT |
| MEDIUM | …sting/azure_functions/12_workflow_hitl/function_app.py | 402 | # ============================================================================ | 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 |
| 1008 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …n-migration/single_agent/03_agent_thread_and_stream.py | 1 | # /// script | COMMENT |
| LOW | …mples/autogen-migration/single_agent/01_basic_agent.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 | …multi_agent_orchestration_concurrency/requirements.txt | 1 | # Agent Framework packages | COMMENT |
| LOW | …04-hosting/durabletask/02_multi_agent/requirements.txt | 1 | # Agent Framework packages | COMMENT |
| LOW | …sk/07_single_agent_orchestration_hitl/requirements.txt | 1 | # Agent Framework packages | COMMENT |
| LOW | …4_single_agent_orchestration_chaining/requirements.txt | 1 | # Agent Framework packages | COMMENT |
| LOW | …ulti_agent_orchestration_conditionals/requirements.txt | 1 | # Agent Framework packages | COMMENT |
| LOW | …4-hosting/durabletask/01_single_agent/requirements.txt | 1 | # Agent Framework packages | COMMENT |
| LOW | …esponses/13_declarative_customer_support/workflow.yaml | 1 | # A multi-turn customer-support triage workflow defined declaratively. | COMMENT |
| LOW | …/04_foundry_toolbox/scripts/list-foundry-connectors.sh | 1 | #!/usr/bin/env bash | 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 | …g/azure_functions/13_subworkflow_hitl/requirements.txt | 1 | # Agent Framework packages | 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 | …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 | …/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 | python/scripts/integration_test_report/aggregate.py | 101 | testcases = list(root.findall("testcase")) | COMMENT |
| LOW | …_hosting/agent_framework_foundry_hosting/_responses.py | 681 | COMMENT | |
| LOW | …_hosting/agent_framework_foundry_hosting/_responses.py | 721 | self._checkpoint_storage_path, write_context_id, user_id=user_id | COMMENT |
| LOW | …etask/agent_framework_durabletask/_workflows/naming.py | 41 | "workflow_orchestrator_name", | COMMENT |
| LOW | …etask/agent_framework_durabletask/_workflows/naming.py | 61 | # :func:`validate_executor_id`), so only the structural hops carry the separator. | COMMENT |
| LOW | …agent_framework_durabletask/_workflows/orchestrator.py | 921 | COMMENT | |
| LOW | …packages/core/tests/core/test_middleware_with_agent.py | 2261 | COMMENT | |
| LOW | …packages/core/tests/core/test_middleware_with_agent.py | 2281 | # self.description = "Test agent" | COMMENT |
| LOW | …packages/core/tests/core/test_middleware_with_agent.py | 2301 | # # Test run (non-streaming) | COMMENT |
| LOW | python/packages/core/tests/core/test_agents.py | 3141 | # | COMMENT |
| LOW | python/packages/core/agent_framework/_serialization.py | 241 | COMMENT | |
| LOW | python/packages/core/agent_framework/_mcp.py | 81 | _MCP_PROGRESSIVE_LOAD_TOOL_NAME = "load_tool" | COMMENT |
| LOW | python/packages/core/agent_framework/_mcp.py | 2121 | user_meta = _validate_mcp_meta(kwargs.get("_meta")) | COMMENT |
| 1386 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 | …ask/05_multi_agent_orchestration_concurrency/worker.py | 0 | create a configured durabletaskschedulerworker. args: taskhub: task hub name (defaults to taskhub env var or "default") | STRING |
| HIGH | …amples/04-hosting/durabletask/02_multi_agent/worker.py | 0 | create a configured durabletaskschedulerworker. args: taskhub: task hub name (defaults to taskhub env var or "default") | STRING |
| HIGH | …rabletask/07_single_agent_orchestration_hitl/worker.py | 0 | create a configured durabletaskschedulerworker. args: taskhub: task hub name (defaults to taskhub env var or "default") | STRING |
| HIGH | …etask/04_single_agent_orchestration_chaining/worker.py | 0 | create a configured durabletaskschedulerworker. args: taskhub: task hub name (defaults to taskhub env var or "default") | STRING |
| HIGH | …sk/06_multi_agent_orchestration_conditionals/worker.py | 0 | create a configured durabletaskschedulerworker. args: taskhub: task hub name (defaults to taskhub env var or "default") | STRING |
| HIGH | …mples/04-hosting/durabletask/01_single_agent/worker.py | 0 | create a configured durabletaskschedulerworker. args: taskhub: task hub name (defaults to taskhub env var or "default") | STRING |
| HIGH | …osting/durabletask/03_single_agent_streaming/worker.py | 0 | create a configured durabletaskschedulerworker. args: taskhub: task hub name (defaults to taskhub env var or "default") | STRING |
| HIGH | …ask/05_multi_agent_orchestration_concurrency/worker.py | 0 | set up the worker with agents registered. args: worker: the durabletaskschedulerworker instance returns: durableaiagentw | STRING |
| HIGH | …etask/04_single_agent_orchestration_chaining/worker.py | 0 | set up the worker with agents registered. args: worker: the durabletaskschedulerworker instance returns: durableaiagentw | STRING |
| HIGH | …amples/04-hosting/durabletask/02_multi_agent/worker.py | 0 | set up the worker with agents registered. args: worker: the durabletaskschedulerworker instance returns: durableaiagentw | STRING |
| HIGH | …mples/04-hosting/durabletask/01_single_agent/worker.py | 0 | set up the worker with agents registered. args: worker: the durabletaskschedulerworker instance returns: durableaiagentw | STRING |
| HIGH | …ask/05_multi_agent_orchestration_concurrency/client.py | 0 | create a configured durableaiagentclient. args: taskhub: task hub name (defaults to taskhub env var or "default") endpoi | STRING |
| HIGH | …rabletask/07_single_agent_orchestration_hitl/client.py | 0 | create a configured durableaiagentclient. args: taskhub: task hub name (defaults to taskhub env var or "default") endpoi | STRING |
| HIGH | …etask/04_single_agent_orchestration_chaining/client.py | 0 | create a configured durableaiagentclient. args: taskhub: task hub name (defaults to taskhub env var or "default") endpoi | STRING |
| HIGH | …sk/06_multi_agent_orchestration_conditionals/client.py | 0 | create a configured durableaiagentclient. args: taskhub: task hub name (defaults to taskhub env var or "default") endpoi | STRING |
| HIGH | …amples/04-hosting/durabletask/02_multi_agent/client.py | 0 | create a configured durableaiagentclient. args: taskhub: task hub name (defaults to taskhub env var or "default") endpoi | STRING |
| HIGH | …mples/04-hosting/durabletask/01_single_agent/client.py | 0 | create a configured durableaiagentclient. args: taskhub: task hub name (defaults to taskhub env var or "default") endpoi | STRING |
| HIGH | …osting/durabletask/03_single_agent_streaming/client.py | 0 | create a configured durableaiagentclient. args: taskhub: task hub name (defaults to taskhub env var or "default") endpoi | STRING |
| HIGH | …ask/05_multi_agent_orchestration_concurrency/sample.py | 0 | main entry point - runs both worker and client in single process. | STRING |
| HIGH | …amples/04-hosting/durabletask/02_multi_agent/sample.py | 0 | main entry point - runs both worker and client in single process. | STRING |
| HIGH | …rabletask/07_single_agent_orchestration_hitl/sample.py | 0 | main entry point - runs both worker and client in single process. | STRING |
| HIGH | …etask/04_single_agent_orchestration_chaining/sample.py | 0 | main entry point - runs both worker and client in single process. | STRING |
| HIGH | …sk/06_multi_agent_orchestration_conditionals/sample.py | 0 | main entry point - runs both worker and client in single process. | STRING |
| HIGH | …osting/durabletask/03_single_agent_streaming/sample.py | 0 | main entry point - runs both worker and client in single process. | STRING |
| HIGH | …mples/04-hosting/durabletask/01_single_agent/sample.py | 0 | main entry point - runs both worker and client in single process. | STRING |
| HIGH | …04-hosting/durabletask/10_workflow_streaming/worker.py | 0 | create a microsoft foundry chat client using azureclicredential. | STRING |
| HIGH | …ples/04-hosting/durabletask/09_workflow_hitl/worker.py | 0 | create a microsoft foundry chat client using azureclicredential. | STRING |
| HIGH | …amples/04-hosting/durabletask/11_subworkflow/worker.py | 0 | create a microsoft foundry chat client using azureclicredential. | STRING |
| HIGH | …n/samples/04-hosting/durabletask/08_workflow/worker.py | 0 | create a microsoft foundry chat client using azureclicredential. | STRING |
| HIGH | …04-hosting/durabletask/10_workflow_streaming/worker.py | 0 | register the workflow (agents + activities + orchestrator) on the worker. | STRING |
| HIGH | …ples/04-hosting/durabletask/09_workflow_hitl/worker.py | 0 | register the workflow (agents + activities + orchestrator) on the worker. | STRING |
| HIGH | …n/samples/04-hosting/durabletask/08_workflow/worker.py | 0 | register the workflow (agents + activities + orchestrator) on the worker. | STRING |
| HIGH | …osting/durabletask/03_single_agent_streaming/worker.py | 0 | create a new redis stream handler for each request. this avoids event loop conflicts in azure functions by creating a fr | STRING |
| HIGH | …osting/durabletask/03_single_agent_streaming/client.py | 0 | create a new redis stream handler for each request. this avoids event loop conflicts in azure functions by creating a fr | STRING |
| HIGH | …/azure_functions/03_reliable_streaming/function_app.py | 0 | create a new redis stream handler for each request. this avoids event loop conflicts in azure functions by creating a fr | STRING |
| HIGH | …osting/durabletask/03_single_agent_streaming/worker.py | 0 | you are an expert travel planner who creates detailed, personalized travel itineraries. when asked to plan a trip, you s | STRING |
| HIGH | …/azure_functions/03_reliable_streaming/function_app.py | 0 | you are an expert travel planner who creates detailed, personalized travel itineraries. when asked to plan a trip, you s | STRING |
| HIGH | …eAgents/AzureFunctions/08_ReliableStreaming/Program.cs | 0 | you are an expert travel planner who creates detailed, personalized travel itineraries. when asked to plan a trip, you s | STRING |
| HIGH | …ableAgents/ConsoleApps/07_ReliableStreaming/Program.cs | 0 | you are an expert travel planner who creates detailed, personalized travel itineraries. when asked to plan a trip, you s | STRING |
| HIGH | …hosting/durabletask/03_single_agent_streaming/tools.py | 0 | local events in {destination} around {date}: • {eventlist} 💡 tip: book popular events in advance as they may sell out qu | STRING |
| HIGH | …hosting/azure_functions/03_reliable_streaming/tools.py | 0 | local events in {destination} around {date}: • {eventlist} 💡 tip: book popular events in advance as they may sell out qu | STRING |
| HIGH | …bleAgents/AzureFunctions/08_ReliableStreaming/Tools.cs | 0 | local events in {destination} around {date}: • {eventlist} 💡 tip: book popular events in advance as they may sell out qu | STRING |
| HIGH | …ableAgents/ConsoleApps/07_ReliableStreaming/Program.cs | 0 | local events in {destination} around {date}: • {eventlist} 💡 tip: book popular events in advance as they may sell out qu | STRING |
| HIGH | …ure_functions/09_workflow_shared_state/function_app.py | 0 | structured output returned by the spam detection agent. | STRING |
| HIGH | …les/03-workflows/state-management/state_with_agents.py | 0 | structured output returned by the spam detection agent. | STRING |
| HIGH | …es/03-workflows/control-flow/switch_case_edge_group.py | 0 | structured output returned by the spam detection agent. | STRING |
| HIGH | …ure_functions/09_workflow_shared_state/function_app.py | 0 | structured output returned by the email assistant agent. | STRING |
| HIGH | …les/03-workflows/state-management/state_with_agents.py | 0 | structured output returned by the email assistant agent. | STRING |
| HIGH | …es/03-workflows/control-flow/switch_case_edge_group.py | 0 | structured output returned by the email assistant agent. | STRING |
| HIGH | …ure_functions/09_workflow_shared_state/function_app.py | 0 | build foundry chat client configuration from environment variables. | STRING |
| HIGH | …_functions/10_workflow_no_shared_state/function_app.py | 0 | build foundry chat client configuration from environment variables. | STRING |
| HIGH | …sting/azure_functions/12_workflow_hitl/function_app.py | 0 | build foundry chat client configuration from environment variables. | STRING |
| HIGH | …ure_functions/09_workflow_shared_state/function_app.py | 0 | launch the function app or devui. args: durable: if true, returns agentfunctionapp for azure functions. if false, launch | STRING |
| HIGH | …ng/azure_functions/13_subworkflow_hitl/function_app.py | 0 | launch the function app or devui. args: durable: if true, returns agentfunctionapp for azure functions. if false, launch | STRING |
| HIGH | …sting/azure_functions/12_workflow_hitl/function_app.py | 0 | launch the function app or devui. args: durable: if true, returns agentfunctionapp for azure functions. if false, launch | STRING |
| HIGH | …/04-hosting/af-hosting/local_responses_workflow/app.py | 0 | run the webhook sample with hypercorn for local development. | STRING |
| 176 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 | 23 | # 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 | 158 | # 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 | …ask/05_multi_agent_orchestration_concurrency/worker.py | 200 | # Create a worker using the helper function | COMMENT |
| MEDIUM⚡ | …ask/05_multi_agent_orchestration_concurrency/sample.py | 41 | # Create the client using helper function | COMMENT |
| MEDIUM⚡ | …ask/05_multi_agent_orchestration_concurrency/sample.py | 43 | # Define the prompt | COMMENT |
| MEDIUM | …amples/04-hosting/durabletask/02_multi_agent/worker.py | 161 | # Create a worker using the helper function | COMMENT |
| MEDIUM | …amples/04-hosting/durabletask/02_multi_agent/sample.py | 39 | # Create the client using helper function | COMMENT |
| MEDIUM | …rabletask/07_single_agent_orchestration_hitl/worker.py | 358 | # Create a worker using the helper function | COMMENT |
| MEDIUM⚡ | …rabletask/07_single_agent_orchestration_hitl/sample.py | 41 | # Create the client using helper function | COMMENT |
| MEDIUM | …etask/04_single_agent_orchestration_chaining/worker.py | 102 | # Create a new session for the conversation - this will be shared across both runs | COMMENT |
| MEDIUM | …etask/04_single_agent_orchestration_chaining/worker.py | 192 | # Create a worker using the helper function | COMMENT |
| MEDIUM | …etask/04_single_agent_orchestration_chaining/sample.py | 44 | # Create the client using helper function | COMMENT |
| MEDIUM | …sk/06_multi_agent_orchestration_conditionals/worker.py | 290 | # Create a worker using the helper function | COMMENT |
| MEDIUM | …sk/06_multi_agent_orchestration_conditionals/sample.py | 47 | # Create the client using helper function | COMMENT |
| MEDIUM | …osting/durabletask/03_single_agent_streaming/worker.py | 53 | # Create a new Redis client in the current event loop | COMMENT |
| MEDIUM | …osting/durabletask/03_single_agent_streaming/worker.py | 221 | # Create the Redis streaming callback | COMMENT |
| MEDIUM | …osting/durabletask/03_single_agent_streaming/worker.py | 241 | # Create a worker using the helper function | COMMENT |
| MEDIUM | …osting/durabletask/03_single_agent_streaming/client.py | 47 | # Create a new Redis client in the current event loop | COMMENT |
| MEDIUM | …osting/durabletask/03_single_agent_streaming/client.py | 147 | # Create a new session for the conversation | COMMENT |
| MEDIUM | …osting/durabletask/03_single_agent_streaming/client.py | 182 | # Create the client | COMMENT |
| MEDIUM | …osting/durabletask/03_single_agent_streaming/sample.py | 41 | # Create the client using helper function | COMMENT |
| MEDIUM | …mples/04-hosting/durabletask/01_single_agent/worker.py | 108 | # Create a worker using the helper function | COMMENT |
| MEDIUM | …mples/04-hosting/durabletask/01_single_agent/client.py | 74 | # Create a new session for the conversation | COMMENT |
| MEDIUM | …mples/04-hosting/durabletask/01_single_agent/sample.py | 39 | # Create the client using helper function | COMMENT |
| MEDIUM⚡ | python/samples/04-hosting/a2a/a2a_server.py | 80 | # Create the LLM client | COMMENT |
| MEDIUM⚡ | python/samples/04-hosting/a2a/a2a_server.py | 88 | # Create the Agent Framework agent for the chosen type | COMMENT |
| MEDIUM | …undry-hosted-agents/invocations/02_break_glass/main.py | 22 | # Create the agent | COMMENT |
| MEDIUM | …dry-hosted-agents/responses/04_foundry_toolbox/main.py | 26 | # Create the chat client | COMMENT |
| MEDIUM⚡ | …sting/foundry-hosted-agents/responses/06_files/main.py | 100 | # Create the toolbox | COMMENT |
| MEDIUM | …sting/foundry-hosted-agents/responses/06_files/main.py | 120 | # Create the chat client | COMMENT |
| MEDIUM | …/azure_functions/03_reliable_streaming/function_app.py | 53 | # Create a new Redis client in the current event loop | COMMENT |
| MEDIUM⚡ | …/azure_functions/03_reliable_streaming/function_app.py | 152 | # Create the Redis streaming callback | COMMENT |
| MEDIUM⚡ | …/azure_functions/03_reliable_streaming/function_app.py | 156 | # Create the travel planner agent | COMMENT |
| MEDIUM | …-hosting/azure_functions/08_mcp_server/function_app.py | 67 | # Create the AgentFunctionApp with selective trigger configuration | COMMENT |
| MEDIUM | …sting/azure_functions/12_workflow_hitl/function_app.py | 264 | # Create the final moderation result | COMMENT |
| MEDIUM | …sting/azure_functions/12_workflow_hitl/function_app.py | 346 | # Create the agent request | COMMENT |
| MEDIUM⚡ | …sting/azure_functions/12_workflow_hitl/function_app.py | 372 | # Create the content analysis agent | 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 |
| 325 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | python/CODING_STANDARD.md | 514 | Create a new client with the specified configuration. Args: model: The model ID to use. If not provided, | STRING |
| HIGH | python/CODING_STANDARD.md | 548 | Create a new agent with the specified configuration. Args: name: The name of the agent. client: The | STRING |
| HIGH | …rabletask/07_single_agent_orchestration_hitl/worker.py | 123 | Human-in-the-loop orchestration for content generation with approval workflow. This orchestration: 1. Generates | STRING |
| HIGH | …etask/04_single_agent_orchestration_chaining/worker.py | 78 | Orchestration that runs the writer agent twice on the same thread. This demonstrates chaining behavior where the ou | 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 | …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 | 59 | Get the filesystem path for an attachment. Args: attachment_id: Identifier used as the attachment f | STRING |
| HIGH | …ry_hosting/agent_framework_foundry_hosting/_toolbox.py | 199 | 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 | 1068 | 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 | 1361 | Converts an OutputItem to a Message. Args: item (OutputItem): The OutputItem to convert. approval_s | STRING |
| HIGH | …_hosting/agent_framework_foundry_hosting/_responses.py | 1642 | Converts an OutputMessageContent to a Content object. Args: content (OutputMessageContent): The OutputMessa | STRING |
| HIGH | …_hosting/agent_framework_foundry_hosting/_responses.py | 1689 | Converts a MessageContent to a Content object. Args: content (MessageContent): The MessageContent to conver | STRING |
| HIGH | …_hosting/agent_framework_foundry_hosting/_responses.py | 1777 | Converts a Content object to an async sequence of ResponseStreamEvent objects. Args: stream: The ResponseEv | STRING |
| HIGH | …ckages/durabletask/tests/integration_tests/conftest.py | 148 | Wait for an orchestration to complete. Args: instance_id: The orchestration instance ID | STRING |
| HIGH | …ckages/durabletask/tests/integration_tests/conftest.py | 183 | Wait for an orchestration to complete and return its output. Args: instance_id: The orchestration i | STRING |
| HIGH | …kages/durabletask/agent_framework_durabletask/_shim.py | 37 | Retrieve a DurableAIAgent shim for the specified agent. Args: agent_name: Name of the agent to retr | STRING |
| HIGH | …kages/durabletask/agent_framework_durabletask/_shim.py | 96 | Execute the agent via the injected provider. Args: messages: The message(s) to send to the agent | STRING |
| HIGH | …kages/durabletask/agent_framework_durabletask/_shim.py | 147 | Convert supported message inputs to a single string. Args: messages: The messages to normalize | STRING |
| HIGH | …ges/durabletask/agent_framework_durabletask/_models.py | 247 | Parses a string representation of an agent session ID. Args: session_id_string: A string in the for | STRING |
| HIGH | …bletask/agent_framework_durabletask/_response_utils.py | 15 | Convert raw payloads into AgentResponse instance. Args: agent_response: The response to convert, can be an | STRING |
| HIGH | …agent_framework_durabletask/_workflows/registration.py | 93 | Yield ``workflow`` and every nested sub-workflow, deduped by name. A host registers the orchestration primitives fo | STRING |
| HIGH | …etask/agent_framework_durabletask/_workflows/naming.py | 90 | Return the durable orchestration name for a workflow. Args: workflow_name: The workflow's name. Must satisf | STRING |
| HIGH | …etask/agent_framework_durabletask/_workflows/client.py | 155 | Wait for a workflow orchestration to complete and return its output. Args: instance_id: The instanc | STRING |
| HIGH | …etask/agent_framework_durabletask/_workflows/client.py | 200 | Start the workflow and, by default, await its output. The async counterpart to ``start_workflow`` + ``await_wor | STRING |
| HIGH | …etask/agent_framework_durabletask/_workflows/client.py | 272 | Stream the workflow's events as typed :class:`WorkflowEvent` objects. Yields the workflow's events (``executor_ | STRING |
| HIGH | …ask/agent_framework_durabletask/_workflows/activity.py | 38 | Execute a single non-agent workflow executor and return its serialized result. This is the host-agnostic activity b | STRING |
| HIGH | …ges/azurefunctions/tests/integration_tests/conftest.py | 164 | Wait for an orchestration to complete. Args: status_url: URL to poll for orchestration status | STRING |
| HIGH | …ges/azurefunctions/tests/integration_tests/conftest.py | 195 | Wait for an orchestration to complete and have output available. This is a specialized version of wait_for_orch | STRING |
| HIGH | …tions/agent_framework_azurefunctions/_orchestration.py | 158 | Get the current run request from the orchestration context. Args: message: The message to send to t | STRING |
| HIGH | …/azurefunctions/agent_framework_azurefunctions/_app.py | 868 | Return a DurableAIAgent proxy for a registered agent. Args: context: Durable Functions orchestratio | STRING |
| HIGH | …/azurefunctions/agent_framework_azurefunctions/_app.py | 1151 | Handle an MCP tool invocation. This method processes MCP tool requests and delegates to the agent entity. | STRING |
| HIGH | …ithub_copilot/agent_framework_github_copilot/_agent.py | 511 | 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 | 702 | 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 | 1079 | 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 | 184 | 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 | 190 | 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 | 636 | 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 | 233 | 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 | 85 | 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 | 171 | 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 | 200 | 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 | 425 | 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 | 652 | 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 | 728 | 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 | 1568 | 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 | 1599 | 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 | 1875 | 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 | 3569 | Validate and normalize chat options dictionary. Validates numeric constraints and converts types as needed. Ar | STRING |
| HIGH | python/packages/core/agent_framework/_types.py | 3628 | 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 | 3663 | 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 | 3714 | 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 | 3756 | 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 | 396 | 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 | 564 | 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/_evaluation.py | 1642 | 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 | 100 | 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 | 150 | 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 | 591 | 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 | 1408 | Invoke a function call requested by the agent, applying middleware that is defined. Args: function_call_con | STRING |
| 137 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …c-kernel-migration/processes/fan_out_fan_in_process.py | 41 | CODE | |
| LOW | …c-kernel-migration/processes/fan_out_fan_in_process.py | 42 | CODE | |
| LOW | python/samples/04-hosting/a2a/agent_definitions.py | 9 | 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 | …on/samples/04-hosting/af-hosting/local_telegram/app.py | 45 | CODE | |
| LOW | …es/04-hosting/af-hosting/local_telegram/polling_app.py | 27 | 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 | …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 | …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 | |
| LOW | …s/02-agents/harness/console/components/scroll_panel.py | 5 | CODE | |
| LOW | …les/02-agents/harness/console/components/text_input.py | 5 | CODE | |
| LOW | …mples/02-agents/harness/console/components/__init__.py | 9 | CODE | |
| LOW | …mples/02-agents/harness/console/components/__init__.py | 10 | CODE | |
| LOW | …mples/02-agents/harness/console/components/__init__.py | 11 | CODE | |
| LOW | …mples/02-agents/harness/console/components/__init__.py | 12 | CODE | |
| LOW | …mples/02-agents/harness/console/components/__init__.py | 13 | CODE | |
| LOW | …mples/02-agents/harness/console/components/__init__.py | 14 | CODE | |
| LOW | …ples/02-agents/harness/console/components/mode_help.py | 5 | CODE | |
| LOW | …s/02-agents/harness/console/components/agent_status.py | 5 | CODE | |
| LOW | …es/02-agents/harness/console/components/prompt_rule.py | 5 | CODE | |
| LOW | …02-agents/harness/console/components/list_selection.py | 5 | CODE | |
| LOW | …les/02-agents/harness/console/commands/mode_handler.py | 5 | CODE | |
| LOW | …samples/02-agents/harness/console/commands/__init__.py | 9 | CODE | |
| 843 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 | 1335 | 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 | 52 | # Semantic Kernel orchestration path | COMMENT |
| MEDIUM | …es/semantic-kernel-migration/orchestrations/handoff.py | 185 | # Agent Framework orchestration path | COMMENT |
| MEDIUM | …semantic-kernel-migration/orchestrations/sequential.py | 38 | # Semantic Kernel orchestration path | COMMENT |
| MEDIUM | …semantic-kernel-migration/orchestrations/sequential.py | 76 | # Agent Framework orchestration path | COMMENT |
| MEDIUM | …semantic-kernel-migration/orchestrations/group_chat.py | 55 | # Semantic Kernel orchestration path | COMMENT |
| MEDIUM | …semantic-kernel-migration/orchestrations/group_chat.py | 225 | # Agent Framework orchestration path | COMMENT |
| MEDIUM | …ic-kernel-migration/orchestrations/concurrent_basic.py | 37 | # Semantic Kernel orchestration path | COMMENT |
| MEDIUM | …ic-kernel-migration/orchestrations/concurrent_basic.py | 89 | # Agent Framework orchestration path | COMMENT |
| MEDIUM | …s/semantic-kernel-migration/orchestrations/magentic.py | 48 | # Semantic Kernel orchestration path | COMMENT |
| MEDIUM | …s/semantic-kernel-migration/orchestrations/magentic.py | 132 | # Agent Framework orchestration path | COMMENT |
| MEDIUM | …s/semantic-kernel-migration/orchestrations/magentic.py | 158 | # Create a manager agent for orchestration | COMMENT |
| MEDIUM | …ask/05_multi_agent_orchestration_concurrency/worker.py | 96 | # Wrap the orchestration context to access agents | COMMENT |
| MEDIUM | …ask/05_multi_agent_orchestration_concurrency/worker.py | 188 | # Register the orchestration function | COMMENT |
| MEDIUM | …ask/05_multi_agent_orchestration_concurrency/client.py | 66 | # Start the orchestration with the prompt as input | COMMENT |
| MEDIUM⚡ | …ask/05_multi_agent_orchestration_concurrency/sample.py | 47 | # Run the client to start the orchestration | COMMENT |
| MEDIUM | …amples/04-hosting/durabletask/11_subworkflow/worker.py | 150 | # workflow. On the durable host this node runs as a child orchestration. | COMMENT |
| MEDIUM | …amples/04-hosting/durabletask/11_subworkflow/worker.py | 187 | # orchestration, deduped by workflow name. | COMMENT |
| MEDIUM | …amples/04-hosting/durabletask/11_subworkflow/client.py | 32 | # The client targets the outer workflow; the sub-workflow runs as a child orchestration. | COMMENT |
| MEDIUM | …s/04-hosting/durabletask/12_subworkflow_hitl/worker.py | 135 | # host this pauses the child orchestration running this inner workflow. | COMMENT |
| MEDIUM | …s/04-hosting/durabletask/12_subworkflow_hitl/worker.py | 209 | # durable host this node runs as a child orchestration, and the inner pause | COMMENT |
| MEDIUM | …s/04-hosting/durabletask/12_subworkflow_hitl/worker.py | 246 | # sub-workflow (each as its own durable orchestration). | COMMENT |
| MEDIUM | …s/04-hosting/durabletask/12_subworkflow_hitl/client.py | 89 | # the host resolves it to the owning child orchestration. | COMMENT |
| MEDIUM | …rabletask/07_single_agent_orchestration_hitl/worker.py | 162 | # Wrap the orchestration context to access agents | COMMENT |
| MEDIUM | …rabletask/07_single_agent_orchestration_hitl/worker.py | 346 | # Register the orchestration function | COMMENT |
| MEDIUM | …rabletask/07_single_agent_orchestration_hitl/client.py | 209 | # Start the orchestration | COMMENT |
| MEDIUM | …rabletask/07_single_agent_orchestration_hitl/client.py | 223 | # Wait for orchestration to reach notification point | COMMENT |
| MEDIUM⚡ | …rabletask/07_single_agent_orchestration_hitl/sample.py | 36 | # Register agent, orchestration, and activities using helper function | COMMENT |
| MEDIUM | …etask/04_single_agent_orchestration_chaining/worker.py | 96 | # Wrap the orchestration context to access agents | COMMENT |
| MEDIUM | …etask/04_single_agent_orchestration_chaining/worker.py | 180 | # Register the orchestration function | COMMENT |
| MEDIUM | …etask/04_single_agent_orchestration_chaining/client.py | 67 | # Start the orchestration | COMMENT |
| MEDIUM | …sk/06_multi_agent_orchestration_conditionals/worker.py | 157 | # Wrap the orchestration context to access agents | COMMENT |
| MEDIUM | …sk/06_multi_agent_orchestration_conditionals/worker.py | 278 | # Register the orchestration function | COMMENT |
| MEDIUM | …sk/06_multi_agent_orchestration_conditionals/client.py | 76 | # Start the orchestration with the email payload | COMMENT |
| MEDIUM | …-hosted-agents/responses/08_azure_search_rag/README.md | 11 | ### RAG via Azure AI Search | COMMENT |
| MEDIUM | …-hosted-agents/responses/08_azure_search_rag/README.md | 159 | ## How RAG works in this sample | COMMENT |
| MEDIUM⚡ | …_multi_agent_orchestration_concurrency/function_app.py | 31 | # 1. Define agent names shared across the orchestration. | COMMENT |
| MEDIUM⚡ | …_multi_agent_orchestration_concurrency/function_app.py | 36 | # 2. Instantiate both agents that the orchestration will run concurrently. | COMMENT |
| MEDIUM | …_multi_agent_orchestration_concurrency/function_app.py | 68 | # 4. Durable Functions orchestration that runs both agents in parallel. | COMMENT |
| MEDIUM | …_multi_agent_orchestration_concurrency/function_app.py | 98 | # 5. HTTP endpoint to accept prompts and start the concurrent orchestration. | COMMENT |
| MEDIUM | …_multi_agent_orchestration_concurrency/function_app.py | 139 | # 6. HTTP endpoint to retrieve orchestration status and aggregated outputs. | COMMENT |
| MEDIUM | …ons/07_single_agent_orchestration_hitl/function_app.py | 29 | # 1. Define orchestration constants used throughout the workflow. | COMMENT |
| MEDIUM | …ons/07_single_agent_orchestration_hitl/function_app.py | 178 | # 5. HTTP endpoint that starts the human-in-the-loop orchestration. | COMMENT |
| MEDIUM | …ons/07_single_agent_orchestration_hitl/function_app.py | 227 | # 6. Endpoint that delivers human approval or rejection back into the orchestration. | COMMENT |
| MEDIUM⚡ | …04_single_agent_orchestration_chaining/function_app.py | 27 | # 1. Define the agent name used across the orchestration. | COMMENT |
| MEDIUM⚡ | …04_single_agent_orchestration_chaining/function_app.py | 31 | # 2. Create the writer agent that will be invoked twice within the orchestration. | COMMENT |
| MEDIUM | …04_single_agent_orchestration_chaining/function_app.py | 51 | # 3. Register the agent with AgentFunctionApp so HTTP and orchestration triggers are exposed. | COMMENT |
| MEDIUM | …04_single_agent_orchestration_chaining/function_app.py | 78 | # 5. HTTP endpoint to kick off the orchestration and return the status query URI. | COMMENT |
| MEDIUM | …04_single_agent_orchestration_chaining/function_app.py | 108 | # 6. HTTP endpoint to fetch orchestration status using the original instance ID. | COMMENT |
| MEDIUM | …multi_agent_orchestration_conditionals/function_app.py | 29 | # 1. Define agent names shared across the orchestration. | COMMENT |
| MEDIUM⚡ | …multi_agent_orchestration_conditionals/function_app.py | 148 | # 5. HTTP starter endpoint launches the orchestration for each email payload. | COMMENT |
| MEDIUM | …ng/azure_functions/13_subworkflow_hitl/function_app.py | 129 | # host this pauses the child orchestration running this inner workflow. | COMMENT |
| MEDIUM | …ng/azure_functions/13_subworkflow_hitl/function_app.py | 203 | # durable host this node runs as a child orchestration, and the inner pause | 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 |
| 164 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …ask/05_multi_agent_orchestration_concurrency/client.py | 107 | except Exception as e: | CODE |
| LOW⚡ | …ask/05_multi_agent_orchestration_concurrency/sample.py | 49 | except Exception as e: | CODE |
| LOW | …amples/04-hosting/durabletask/02_multi_agent/client.py | 113 | except Exception as e: | CODE |
| LOW | …amples/04-hosting/durabletask/02_multi_agent/sample.py | 44 | except Exception as e: | CODE |
| LOW | …rabletask/07_single_agent_orchestration_hitl/client.py | 171 | except Exception as e: | CODE |
| LOW | …rabletask/07_single_agent_orchestration_hitl/client.py | 277 | except Exception as e: | CODE |
| LOW⚡ | …rabletask/07_single_agent_orchestration_hitl/sample.py | 46 | except Exception as e: | CODE |
| LOW | …etask/04_single_agent_orchestration_chaining/client.py | 106 | except Exception as e: | CODE |
| LOW | …etask/04_single_agent_orchestration_chaining/sample.py | 52 | except Exception as e: | CODE |
| LOW | …sk/06_multi_agent_orchestration_conditionals/client.py | 134 | except Exception as e: | CODE |
| LOW | …sk/06_multi_agent_orchestration_conditionals/sample.py | 70 | except Exception as e: | CODE |
| LOW | …n/samples/04-hosting/durabletask/08_workflow/worker.py | 118 | except Exception: | CODE |
| LOW | …osting/durabletask/03_single_agent_streaming/worker.py | 117 | except Exception as ex: | CODE |
| LOW | …osting/durabletask/03_single_agent_streaming/worker.py | 147 | except Exception as ex: | CODE |
| LOW | …osting/durabletask/03_single_agent_streaming/client.py | 133 | except Exception as ex: | CODE |
| LOW | …ingle_agent_streaming/redis_stream_response_handler.py | 189 | except Exception as ex: | CODE |
| LOW | …osting/durabletask/03_single_agent_streaming/sample.py | 46 | except Exception as e: | CODE |
| LOW | …mples/04-hosting/durabletask/01_single_agent/client.py | 101 | except Exception as e: | CODE |
| LOW | …mples/04-hosting/durabletask/01_single_agent/client.py | 116 | except Exception as e: | CODE |
| LOW | …mples/04-hosting/durabletask/01_single_agent/sample.py | 44 | except Exception as e: | CODE |
| MEDIUM⚡ | python/samples/04-hosting/a2a/a2a_server.py | 74 | print("Error: FOUNDRY_PROJECT_ENDPOINT environment variable is not set.") | CODE |
| MEDIUM⚡ | python/samples/04-hosting/a2a/a2a_server.py | 77 | print("Error: FOUNDRY_MODEL environment variable is not set.") | CODE |
| LOW | …sting/foundry-hosted-agents/responses/02_tools/main.py | 48 | except Exception as e: | CODE |
| LOW⚡ | …sting/foundry-hosted-agents/responses/06_files/main.py | 74 | except Exception as e: | CODE |
| LOW⚡ | …sting/foundry-hosted-agents/responses/06_files/main.py | 83 | except Exception as e: | CODE |
| LOW⚡ | …sting/foundry-hosted-agents/responses/06_files/main.py | 93 | except Exception as e: | CODE |
| LOW | …ons/07_single_agent_orchestration_hitl/function_app.py | 165 | except Exception as ex: | CODE |
| LOW | …03_reliable_streaming/redis_stream_response_handler.py | 187 | except Exception as ex: | CODE |
| LOW | …/azure_functions/03_reliable_streaming/function_app.py | 118 | except Exception as ex: | CODE |
| LOW⚡ | …/azure_functions/03_reliable_streaming/function_app.py | 148 | except Exception as ex: | CODE |
| LOW | …/azure_functions/03_reliable_streaming/function_app.py | 239 | except Exception as ex: | CODE |
| LOW | …/azure_functions/03_reliable_streaming/function_app.py | 280 | except Exception as ex: | CODE |
| LOW | …multi_agent_orchestration_conditionals/function_app.py | 117 | except Exception as ex: | CODE |
| LOW⚡ | …multi_agent_orchestration_conditionals/function_app.py | 141 | except Exception as ex: | CODE |
| LOW | …_functions/10_workflow_no_shared_state/function_app.py | 161 | except Exception: | 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 | …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 |
| 401 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 | 74 | CODE | |
| LOW | …n/samples/autogen-migration/orchestrations/03_swarm.py | 105 | CODE | |
| LOW | …-migration/orchestrations/01_round_robin_group_chat.py | 102 | CODE | |
| LOW | …rabletask/07_single_agent_orchestration_hitl/worker.py | 120 | CODE | |
| LOW | …rabletask/07_single_agent_orchestration_hitl/client.py | 126 | CODE | |
| LOW | …ingle_agent_streaming/redis_stream_response_handler.py | 117 | CODE | |
| LOW | …03_reliable_streaming/redis_stream_response_handler.py | 115 | CODE | |
| LOW | …on/samples/04-hosting/af-hosting/local_telegram/app.py | 151 | CODE | |
| LOW | …es/04-hosting/af-hosting/local_telegram/polling_app.py | 122 | 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 | 34 | CODE | |
| LOW | …02-agents/context_providers/code_act/monty_code_act.py | 60 | 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 | 223 | 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 | 54 | 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 | |
| 344 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | python/agent_framework_meta/__init__.py | 31 | __all__ = ["__version__"] | CODE |
| LOW | …ask/05_multi_agent_orchestration_concurrency/worker.py | 35 | logger = logging.getLogger(__name__) | CODE |
| LOW | …ask/05_multi_agent_orchestration_concurrency/client.py | 26 | logger = logging.getLogger(__name__) | CODE |
| LOW | …ask/05_multi_agent_orchestration_concurrency/sample.py | 26 | logger = logging.getLogger(__name__) | CODE |
| LOW | …04-hosting/durabletask/10_workflow_streaming/worker.py | 48 | logger = logging.getLogger(__name__) | CODE |
| LOW | …04-hosting/durabletask/10_workflow_streaming/client.py | 35 | logger = logging.getLogger(__name__) | CODE |
| LOW | …amples/04-hosting/durabletask/02_multi_agent/worker.py | 33 | logger = logging.getLogger(__name__) | CODE |
| LOW | …amples/04-hosting/durabletask/02_multi_agent/client.py | 30 | logger = logging.getLogger(__name__) | CODE |
| LOW | …amples/04-hosting/durabletask/02_multi_agent/sample.py | 24 | logger = logging.getLogger(__name__) | CODE |
| LOW | …ples/04-hosting/durabletask/09_workflow_hitl/worker.py | 63 | logger = logging.getLogger(__name__) | CODE |
| LOW | …ples/04-hosting/durabletask/09_workflow_hitl/client.py | 34 | logger = logging.getLogger(__name__) | CODE |
| LOW | …amples/04-hosting/durabletask/11_subworkflow/worker.py | 65 | logger = logging.getLogger(__name__) | CODE |
| LOW | …amples/04-hosting/durabletask/11_subworkflow/client.py | 30 | logger = logging.getLogger(__name__) | CODE |
| LOW⚡ | …s/04-hosting/durabletask/12_subworkflow_hitl/worker.py | 63 | logger = logging.getLogger(__name__) | CODE |
| LOW | …s/04-hosting/durabletask/12_subworkflow_hitl/client.py | 36 | logger = logging.getLogger(__name__) | CODE |
| LOW | …rabletask/07_single_agent_orchestration_hitl/worker.py | 37 | logger = logging.getLogger(__name__) | CODE |
| LOW | …rabletask/07_single_agent_orchestration_hitl/client.py | 27 | logger = logging.getLogger(__name__) | CODE |
| LOW | …etask/04_single_agent_orchestration_chaining/worker.py | 34 | logger = logging.getLogger(__name__) | CODE |
| LOW | …etask/04_single_agent_orchestration_chaining/client.py | 26 | logger = logging.getLogger(__name__) | CODE |
| LOW | …etask/04_single_agent_orchestration_chaining/sample.py | 29 | logger = logging.getLogger(__name__) | CODE |
| LOW | …sk/06_multi_agent_orchestration_conditionals/worker.py | 37 | logger = logging.getLogger(__name__) | CODE |
| LOW | …sk/06_multi_agent_orchestration_conditionals/client.py | 24 | logger = logging.getLogger(__name__) | CODE |
| LOW | …n/samples/04-hosting/durabletask/08_workflow/worker.py | 53 | logger = logging.getLogger(__name__) | CODE |
| LOW | …n/samples/04-hosting/durabletask/08_workflow/client.py | 27 | logger = logging.getLogger(__name__) | CODE |
| LOW | …osting/durabletask/03_single_agent_streaming/worker.py | 40 | logger = logging.getLogger(__name__) | CODE |
| LOW | …osting/durabletask/03_single_agent_streaming/client.py | 34 | logger = logging.getLogger(__name__) | CODE |
| LOW | …osting/durabletask/03_single_agent_streaming/sample.py | 26 | logger = logging.getLogger(__name__) | CODE |
| LOW | …mples/04-hosting/durabletask/01_single_agent/worker.py | 31 | logger = logging.getLogger(__name__) | CODE |
| LOW | …mples/04-hosting/durabletask/01_single_agent/client.py | 29 | logger = logging.getLogger(__name__) | CODE |
| LOW | …mples/04-hosting/durabletask/01_single_agent/sample.py | 24 | logger = logging.getLogger(__name__) | CODE |
| LOW | …ndry-hosted-agents/responses/09_foundry_skills/main.py | 44 | logger = logging.getLogger(__name__) | CODE |
| LOW | …hosting/foundry-hosted-agents/responses/03_mcp/main.py | 15 | logger = logging.getLogger(__name__) | CODE |
| LOW⚡ | …_multi_agent_orchestration_concurrency/function_app.py | 29 | logger = logging.getLogger(__name__) | CODE |
| LOW | …hosting/azure_functions/02_multi_agent/function_app.py | 24 | logger = logging.getLogger(__name__) | CODE |
| LOW | …ure_functions/09_workflow_shared_state/function_app.py | 44 | logger = logging.getLogger(__name__) | CODE |
| LOW | …ons/07_single_agent_orchestration_hitl/function_app.py | 27 | logger = logging.getLogger(__name__) | CODE |
| LOW⚡ | …04_single_agent_orchestration_chaining/function_app.py | 25 | logger = logging.getLogger(__name__) | CODE |
| LOW | …/azure_functions/03_reliable_streaming/function_app.py | 40 | logger = logging.getLogger(__name__) | CODE |
| LOW | …multi_agent_orchestration_conditionals/function_app.py | 27 | logger = logging.getLogger(__name__) | CODE |
| LOW⚡ | …g/azure_functions/11_workflow_parallel/function_app.py | 50 | logger = logging.getLogger(__name__) | CODE |
| LOW | …_functions/10_workflow_no_shared_state/function_app.py | 47 | logger = logging.getLogger(__name__) | CODE |
| LOW⚡ | …ng/azure_functions/13_subworkflow_hitl/function_app.py | 57 | logger = logging.getLogger(__name__) | CODE |
| LOW⚡ | …sting/azure_functions/12_workflow_hitl/function_app.py | 50 | 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 | …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 | …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 |
| 255 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 | …undry-hosted-agents/invocations/02_break_glass/main.py | 19 | # 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 | …gent_framework_durabletask/_workflows/serialization.py | 335 | # NOTE: This function is general-purpose. Callers that handle untrusted | COMMENT |
| LOW⚡ | python/packages/core/README.md | 187 | # Step 1: Writer creates initial slogan | STRING |
| LOW⚡ | python/packages/core/README.md | 191 | # Step 2: Reviewer provides feedback | STRING |
| LOW⚡ | python/packages/core/README.md | 196 | # Step 3: Writer refines based on feedback | STRING |
| LOW⚡ | python/packages/core/tests/workflow/test_workflow.py | 959 | # 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 | 964 | # Step 2: drop stream A; GC invalidates the weakref and schedules | COMMENT |
| LOW⚡ | python/packages/core/tests/workflow/test_workflow.py | 970 | # Step 3: synchronously start stream B *before* yielding to the loop, | COMMENT |
| LOW⚡ | python/packages/core/tests/workflow/test_workflow.py | 976 | # Step 4: yield enough times for stream A's scheduled aclose to drive | COMMENT |
| LOW⚡ | python/packages/core/tests/workflow/test_workflow.py | 1048 | # 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 | 1054 | # Step 2: drop stream A; the weakref dies and async-gen close is scheduled | COMMENT |
| LOW⚡ | python/packages/core/tests/workflow/test_workflow.py | 1060 | # Step 3: synchronously start stream B with its own storage and drive it to | COMMENT |
| LOW⚡ | python/packages/core/tests/workflow/test_workflow.py | 1067 | # 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 | 174 | # Step 3: Verify the pending request info event was properly serialized | COMMENT |
| LOW⚡ | …re/tests/workflow/test_request_info_event_rehydrate.py | 181 | # Step 4: Create a fresh workflow and restore from checkpoint | COMMENT |
| LOW⚡ | …re/tests/workflow/test_request_info_event_rehydrate.py | 185 | # Step 5: Resume from checkpoint and verify the request can be continued | COMMENT |
| LOW⚡ | …re/tests/workflow/test_request_info_event_rehydrate.py | 217 | # Step 7: Verify the executor state was properly restored and response was processed | COMMENT |
| LOW⚡ | …re/tests/workflow/test_request_info_event_rehydrate.py | 254 | # Step 1: Run workflow until it emits a request_info event | COMMENT |
| LOW⚡ | …re/tests/workflow/test_request_info_event_rehydrate.py | 263 | # Step 2: Find the checkpoint with the pending request | COMMENT |
| LOW⚡ | …re/tests/workflow/test_request_info_event_rehydrate.py | 273 | # 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 | 286 | # 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 | 295 | # Step 5: Verify the response was processed by checking executor state | COMMENT |
| LOW⚡ | …re/tests/workflow/test_request_info_event_rehydrate.py | 365 | # Step 4: Verify the approval request_info was NOT re-emitted | COMMENT |
| LOW⚡ | …re/tests/workflow/test_request_info_event_rehydrate.py | 373 | # Step 5: Verify the calculation request_info WAS re-emitted (no response provided) | COMMENT |
| LOW⚡ | …re/tests/workflow/test_request_info_event_rehydrate.py | 381 | # 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 | 149 | # Step 1: Run workflow to completion to ensure checkpoints are created | COMMENT |
| LOW | …re/tests/workflow/test_request_info_event_rehydrate.py | 161 | # Step 2: List checkpoints to find the one with our pending request | COMMENT |
| LOW | …re/tests/workflow/test_request_info_event_rehydrate.py | 204 | # Step 6: Provide response to the restored request and complete the workflow | COMMENT |
| LOW | …re/tests/workflow/test_request_info_event_rehydrate.py | 327 | # Step 1: Run workflow until it emits multiple request_info events | COMMENT |
| LOW | …re/tests/workflow/test_request_info_event_rehydrate.py | 341 | # Step 2: Find the checkpoint with pending requests | COMMENT |
| LOW | …re/tests/workflow/test_request_info_event_rehydrate.py | 353 | # Step 3: Restore from checkpoint with ONLY the approval response (not the calculation) | COMMENT |
| LOW | …thon/packages/core/tests/workflow/test_sub_workflow.py | 587 | # Step 1: Run workflow until first request | COMMENT |
| 109 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 |
| 234 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 | 959 | # 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 | 964 | # Step 2: drop stream A; GC invalidates the weakref and schedules | COMMENT |
| LOW⚡ | python/packages/core/tests/workflow/test_workflow.py | 970 | # Step 3: synchronously start stream B *before* yielding to the loop, | COMMENT |
| LOW⚡ | python/packages/core/tests/workflow/test_workflow.py | 976 | # Step 4: yield enough times for stream A's scheduled aclose to drive | COMMENT |
| LOW⚡ | python/packages/core/tests/workflow/test_workflow.py | 1048 | # 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 | 1054 | # Step 2: drop stream A; the weakref dies and async-gen close is scheduled | COMMENT |
| LOW⚡ | python/packages/core/tests/workflow/test_workflow.py | 1060 | # Step 3: synchronously start stream B with its own storage and drive it to | COMMENT |
| LOW⚡ | python/packages/core/tests/workflow/test_workflow.py | 1067 | # 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 | 174 | # Step 3: Verify the pending request info event was properly serialized | COMMENT |
| LOW⚡ | …re/tests/workflow/test_request_info_event_rehydrate.py | 181 | # Step 4: Create a fresh workflow and restore from checkpoint | COMMENT |
| LOW⚡ | …re/tests/workflow/test_request_info_event_rehydrate.py | 185 | # Step 5: Resume from checkpoint and verify the request can be continued | COMMENT |
| LOW⚡ | …re/tests/workflow/test_request_info_event_rehydrate.py | 217 | # Step 7: Verify the executor state was properly restored and response was processed | COMMENT |
| LOW⚡ | …re/tests/workflow/test_request_info_event_rehydrate.py | 254 | # Step 1: Run workflow until it emits a request_info event | COMMENT |
| LOW⚡ | …re/tests/workflow/test_request_info_event_rehydrate.py | 263 | # Step 2: Find the checkpoint with the pending request | COMMENT |
| LOW⚡ | …re/tests/workflow/test_request_info_event_rehydrate.py | 273 | # 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 | 286 | # 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 | 295 | # Step 5: Verify the response was processed by checking executor state | COMMENT |
| LOW⚡ | …re/tests/workflow/test_request_info_event_rehydrate.py | 365 | # Step 4: Verify the approval request_info was NOT re-emitted | COMMENT |
| LOW⚡ | …re/tests/workflow/test_request_info_event_rehydrate.py | 373 | # Step 5: Verify the calculation request_info WAS re-emitted (no response provided) | COMMENT |
| LOW⚡ | …re/tests/workflow/test_request_info_event_rehydrate.py | 381 | # 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 | 149 | # Step 1: Run workflow to completion to ensure checkpoints are created | COMMENT |
| LOW | …re/tests/workflow/test_request_info_event_rehydrate.py | 161 | # Step 2: List checkpoints to find the one with our pending request | COMMENT |
| LOW | …re/tests/workflow/test_request_info_event_rehydrate.py | 204 | # Step 6: Provide response to the restored request and complete the workflow | COMMENT |
| LOW | …re/tests/workflow/test_request_info_event_rehydrate.py | 327 | # Step 1: Run workflow until it emits multiple request_info events | COMMENT |
| LOW | …re/tests/workflow/test_request_info_event_rehydrate.py | 341 | # Step 2: Find the checkpoint with pending requests | COMMENT |
| LOW | …re/tests/workflow/test_request_info_event_rehydrate.py | 353 | # Step 3: Restore from checkpoint with ONLY the approval response (not the calculation) | COMMENT |
| LOW | …thon/packages/core/tests/workflow/test_sub_workflow.py | 587 | # Step 1: Run workflow until first request | COMMENT |
| LOW | …thon/packages/core/tests/workflow/test_sub_workflow.py | 601 | # Step 2: Resume workflow from checkpoint | 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 |
| LOW⚡ | …on/packages/devui/agent_framework_devui/_deployment.py | 52 | # Step 2: Generate Dockerfile | COMMENT |
| LOW⚡ | …on/packages/devui/agent_framework_devui/_deployment.py | 60 | # Step 3: Generate auth token | COMMENT |
| LOW⚡ | …on/packages/devui/agent_framework_devui/_deployment.py | 68 | # Step 4: Discover existing Container App Environment | COMMENT |
| 74 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| 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 | 12 | # uv run samples/02-agents/harness/harness_research.py | COMMENT |
| MEDIUM⚡ | python/samples/02-agents/harness/harness_research.py | 102 | # Create a harness agent with research-specific instructions. | STRING |
| MEDIUM⚡ | python/samples/02-agents/harness/harness_research.py | 112 | # 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 | 121 | # Run the harness console with the research agent. | STRING |
| MEDIUM | …n/samples/02-agents/harness/harness_data_processing.py | 12 | # uv run samples/02-agents/harness/harness_data_processing.py | COMMENT |
| MEDIUM⚡ | …n/samples/02-agents/harness/harness_data_processing.py | 109 | # Create a harness agent with data-analyst instructions. Unused features are | STRING |
| MEDIUM | …n/samples/02-agents/harness/harness_data_processing.py | 126 | # 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 | 12 | # 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 | 50 | # 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 | 119 | # 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 | 125 | # 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 | 135 | # Run the interactive console session using the shared harness console helper. | COMMENT |
| MEDIUM | …s/build_your_own_claw/claw_step02_working_with_data.py | 13 | # 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 | 71 | # 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 | 249 | # 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 | 16 | # 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 | 83 | # 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 | 241 | # 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 | 242 | # 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 | 312 | # Turn the chat client into a harness agent. On top of Post 2's file access and approvals we | 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 |
| LOW⚡ | …integration_tests/test_03_dt_single_agent_streaming.py | 118 | # Don't raise an error, just return what we have | 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 | 2461 | # 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 | 507 | # A more comprehensive integration test would require the manager to select an agent. | COMMENT |
| MEDIUM | python/packages/core/agent_framework/_serialization.py | 138 | """Mixin class providing comprehensive serialization and deserialization capabilities. | STRING |
| MEDIUM | python/packages/core/agent_framework/observability.py | 2838 | # This is a simplified approach - in production you'd want more robust parsing | COMMENT |
| MEDIUM | python/packages/core/agent_framework/observability.py | 2908 | # This is a simplified approach - in production you'd want more robust parsing | COMMENT |
| MEDIUM | python/packages/core/agent_framework/_harness/_agent.py | 578 | # 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 | 391 | """Evaluate agent performance using tau2's comprehensive evaluation system. | STRING |
| MEDIUM | …n/packages/lab/tau2/agent_framework_lab_tau2/runner.py | 425 | # 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/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 | 428 | # 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 | 334 | # 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 | 367 | """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 |
| MEDIUM | …kflows.Declarative.UnitTests/Workflows/LoopContinue.cs | 29 | /// Declarative workflows utilize Power FX for defining conditions and expressions. | COMMENT |
| MEDIUM | …rkflows.Declarative.UnitTests/Workflows/SetVariable.cs | 29 | /// Declarative workflows utilize Power FX for defining conditions and expressions. | COMMENT |
| MEDIUM | …rkflows.Declarative.UnitTests/Workflows/EditTableV2.cs | 29 | /// Declarative workflows utilize Power FX for defining conditions and expressions. | COMMENT |
| MEDIUM | …ive.UnitTests/Workflows/RetrieveConversationMessage.cs | 29 | /// Declarative workflows utilize Power FX for defining conditions and expressions. | COMMENT |
| MEDIUM | ….Declarative.UnitTests/Workflows/CreateConversation.cs | 29 | /// Declarative workflows utilize Power FX for defining conditions and expressions. | COMMENT |
| 28 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | …/responses/10_foundry_memory/provision_memory_store.py | 33 | from azure.core.exceptions import ResourceNotFoundError | CODE |
| CRITICAL | …gents/responses/08_azure_search_rag/provision_index.py | 25 | from azure.core.exceptions import ResourceNotFoundError | CODE |
| CRITICAL | …agents/responses/09_foundry_skills/provision_skills.py | 32 | 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 | 193 | from azure.core.exceptions import ResourceNotFoundError | CODE |
| CRITICAL | …ive/invoke_foundry_toolbox_mcp/toolbox_provisioning.py | 24 | from azure.core.exceptions import ResourceNotFoundError | CODE |
| CRITICAL | …ages/foundry/tests/foundry/test_foundry_chat_client.py | 21 | from azure.core.exceptions import ResourceNotFoundError | CODE |
| CRITICAL | …n/packages/foundry/tests/foundry/test_foundry_agent.py | 27 | from azure.core.exceptions import ResourceNotFoundError | CODE |
| CRITICAL | …ckages/foundry/agent_framework_foundry/_chat_client.py | 301 | from azure.core.exceptions import ResourceNotFoundError | CODE |
| CRITICAL | …hon/packages/foundry/agent_framework_foundry/_agent.py | 761 | service_session = await self.client.project_client.beta.agents.create_session(**create_session_kwargs) | CODE |
| CRITICAL | …hon/packages/foundry/agent_framework_foundry/_agent.py | 849 | from azure.core.exceptions import ResourceNotFoundError | CODE |
| CRITICAL | python/packages/core/tests/core/test_mcp.py | 5471 | 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 | 1222 | from azure.core.exceptions import ResourceNotFoundError | CODE |
| CRITICAL | …h/agent_framework_azure_ai_search/_context_provider.py | 32 | 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 | …oft.Agents.AI.CosmosNoSql/CosmosChatHistoryProvider.cs | 60 | options.TypeInfoResolver = new System.Text.Json.Serialization.Metadata.DefaultJsonTypeInfoResolver(); | CODE |
| CRITICAL | …g.AgentFramework.DevUI/DevUIAggregatorHostedService.cs | 720 | System.Net.Http.Headers.MediaTypeHeaderValue.Parse(context.Request.ContentType); | CODE |
| 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 | …rabletask/07_single_agent_orchestration_hitl/worker.py | 248 | # Check if we've exhausted attempts | COMMENT |
| LOW | …rabletask/07_single_agent_orchestration_hitl/client.py | 149 | # Check if we're waiting for approval by examining custom status | COMMENT |
| LOW | …04-hosting/container/hyperlight_codeact/call_server.py | 19 | # Set FOUNDRY_AGENT_ENDPOINT to your deployed agent endpoint, e.g. | COMMENT |
| LOW | …ons/07_single_agent_orchestration_hitl/function_app.py | 149 | # Check if we've exhausted attempts | COMMENT |
| LOW | …ons/07_single_agent_orchestration_hitl/function_app.py | 300 | # Check if status is None or if the instance doesn't exist (runtime_status is None) | 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 | 45 | # 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 | 139 | # 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 | 599 | # Read file contents | COMMENT |
| LOW | python/scripts/task_runner.py | 70 | # 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 | …ckages/durabletask/tests/integration_tests/conftest.py | 170 | # Check if failed or terminated | COMMENT |
| LOW | …ckages/durabletask/tests/integration_tests/conftest.py | 254 | # Check if we're waiting for approval by examining custom status | COMMENT |
| LOW | …ckages/durabletask/tests/integration_tests/conftest.py | 451 | # Check if process is still running | COMMENT |
| LOW | …ges/durabletask/agent_framework_durabletask/_models.py | 263 | # Check if string is in @name@key format | COMMENT |
| LOW | …ges/azurefunctions/tests/integration_tests/conftest.py | 351 | # Check if required env vars are set | COMMENT |
| LOW | …es/foundry/agent_framework_foundry/_memory_provider.py | 185 | # Check if there are any non-empty input messages | COMMENT |
| LOW | …packages/core/tests/core/test_middleware_with_agent.py | 1185 | # Set metadata to pass information to run middleware | COMMENT |
| LOW | …ages/core/tests/core/test_function_invocation_logic.py | 1194 | # Set max_iterations to 1 in additional_properties | COMMENT |
| LOW | …ages/core/tests/core/test_function_invocation_logic.py | 1805 | # Set max_consecutive_errors to 2 | COMMENT |
| LOW | …ages/core/tests/core/test_function_invocation_logic.py | 1882 | # Set terminate_on_unknown_calls to False (default) | COMMENT |
| LOW | …ages/core/tests/core/test_function_invocation_logic.py | 1918 | # Set terminate_on_unknown_calls to True | COMMENT |
| LOW | …ages/core/tests/core/test_function_invocation_logic.py | 2000 | # Set include_detailed_errors to False (default) | COMMENT |
| LOW | …ages/core/tests/core/test_function_invocation_logic.py | 2036 | # Set include_detailed_errors to True | COMMENT |
| LOW | …ages/core/tests/core/test_function_invocation_logic.py | 2135 | # Set include_detailed_errors to True | COMMENT |
| LOW | …ages/core/tests/core/test_function_invocation_logic.py | 2171 | # Set include_detailed_errors to False (default) | COMMENT |
| LOW | …ages/core/tests/core/test_function_invocation_logic.py | 2596 | # Set include_detailed_errors to False (default) | COMMENT |
| LOW | …ages/core/tests/core/test_function_invocation_logic.py | 2661 | # Set include_detailed_errors to True | COMMENT |
| LOW | …ages/core/tests/core/test_function_invocation_logic.py | 2726 | # Set include_detailed_errors to True to see validation details | COMMENT |
| LOW | …ages/core/tests/core/test_function_invocation_logic.py | 3156 | # Set max_iterations to 1 in additional_properties | COMMENT |
| LOW | …ages/core/tests/core/test_function_invocation_logic.py | 3318 | # Set max_consecutive_errors to 2 | COMMENT |
| LOW | …ages/core/tests/core/test_function_invocation_logic.py | 3405 | # Set terminate_on_unknown_calls to False (default) | COMMENT |
| LOW | …ages/core/tests/core/test_function_invocation_logic.py | 3450 | # Set terminate_on_unknown_calls to True | COMMENT |
| LOW | …ages/core/tests/core/test_function_invocation_logic.py | 3484 | # Set include_detailed_errors to True | COMMENT |
| LOW | …ages/core/tests/core/test_function_invocation_logic.py | 3526 | # Set include_detailed_errors to False (default) | COMMENT |
| LOW | …ages/core/tests/core/test_function_invocation_logic.py | 3566 | # Set include_detailed_errors to True | COMMENT |
| LOW | …ages/core/tests/core/test_function_invocation_logic.py | 3606 | # Set include_detailed_errors to False (default) | COMMENT |
| LOW | …ages/core/tests/core/test_function_invocation_logic.py | 3780 | # Set result to a simple value - the framework will wrap it in FunctionResultContent | COMMENT |
| LOW | …ages/core/tests/core/test_function_invocation_logic.py | 3836 | # 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 | 2822 | # Check if this is a list of objects that were created from dicts | COMMENT |
| 71 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …multi_agent_orchestration_conditionals/function_app.py | 145 | 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 | …ges/durabletask/agent_framework_durabletask/_models.py | 125 | CODE | |
| LOW | …/azurefunctions/agent_framework_azurefunctions/_app.py | 211 | CODE | |
| LOW | …ithub_copilot/agent_framework_github_copilot/_agent.py | 298 | CODE | |
| LOW | …ithub_copilot/agent_framework_github_copilot/_agent.py | 1244 | CODE | |
| LOW | …on/packages/tools/agent_framework_tools/shell/_tool.py | 139 | CODE | |
| LOW | …/packages/tools/agent_framework_tools/shell/_docker.py | 328 | CODE | |
| LOW | …ages/foundry/agent_framework_foundry/_foundry_evals.py | 976 | CODE | |
| LOW | …s/foundry/agent_framework_foundry/_embedding_client.py | 117 | CODE | |
| LOW | …s/foundry/agent_framework_foundry/_embedding_client.py | 368 | CODE | |
| LOW | …ckages/foundry/agent_framework_foundry/_chat_client.py | 155 | CODE | |
| LOW | …ckages/foundry/agent_framework_foundry/_chat_client.py | 584 | CODE | |
| LOW | …ckages/foundry/agent_framework_foundry/_chat_client.py | 957 | CODE | |
| LOW | …hon/packages/foundry/agent_framework_foundry/_agent.py | 178 | CODE | |
| LOW | …hon/packages/foundry/agent_framework_foundry/_agent.py | 279 | CODE | |
| LOW | …hon/packages/foundry/agent_framework_foundry/_agent.py | 542 | CODE | |
| LOW | …hon/packages/foundry/agent_framework_foundry/_agent.py | 626 | CODE | |
| LOW | …hon/packages/foundry/agent_framework_foundry/_agent.py | 935 | CODE | |
| LOW | …es/foundry/agent_framework_foundry/_memory_provider.py | 68 | CODE | |
| LOW | …os/agent_framework_azure_cosmos/_checkpoint_storage.py | 114 | CODE | |
| LOW | …smos/agent_framework_azure_cosmos/_history_provider.py | 42 | CODE | |
| LOW | python/packages/core/agent_framework/_types.py | 478 | CODE | |
| LOW | python/packages/core/agent_framework/_types.py | 1094 | CODE | |
| LOW | python/packages/core/agent_framework/_types.py | 2254 | CODE | |
| LOW | python/packages/core/agent_framework/_types.py | 2538 | CODE | |
| LOW | python/packages/core/agent_framework/_types.py | 2660 | CODE | |
| LOW | python/packages/core/agent_framework/_types.py | 2945 | CODE | |
| LOW | python/packages/core/agent_framework/_sessions.py | 188 | CODE | |
| LOW | python/packages/core/agent_framework/_sessions.py | 1120 | CODE | |
| LOW | python/packages/core/agent_framework/_evaluation.py | 1629 | CODE | |
| LOW | python/packages/core/agent_framework/_evaluation.py | 1833 | CODE | |
| LOW | python/packages/core/agent_framework/_evaluation.py | 415 | CODE | |
| LOW | python/packages/core/agent_framework/_tools.py | 1120 | CODE | |
| LOW | python/packages/core/agent_framework/_tools.py | 1136 | CODE | |
| LOW | python/packages/core/agent_framework/_tools.py | 1151 | CODE | |
| LOW | python/packages/core/agent_framework/_tools.py | 306 | CODE | |
| LOW | python/packages/core/agent_framework/_mcp.py | 401 | CODE | |
| LOW | python/packages/core/agent_framework/_mcp.py | 2699 | CODE | |
| LOW | python/packages/core/agent_framework/_mcp.py | 2888 | CODE | |
| LOW | python/packages/core/agent_framework/_mcp.py | 3135 | 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 | 364 | CODE | |
| LOW | python/packages/core/agent_framework/observability.py | 1993 | CODE | |
| LOW | python/packages/core/agent_framework/observability.py | 2009 | CODE | |
| LOW | python/packages/core/agent_framework/observability.py | 2025 | CODE | |
| LOW | python/packages/core/agent_framework/observability.py | 2040 | CODE | |
| LOW | python/packages/core/agent_framework/_agents.py | 755 | CODE | |
| LOW | python/packages/core/agent_framework/_agents.py | 949 | CODE | |
| LOW | python/packages/core/agent_framework/_agents.py | 964 | CODE | |
| LOW | python/packages/core/agent_framework/_agents.py | 979 | CODE | |
| LOW | python/packages/core/agent_framework/_agents.py | 993 | CODE | |
| LOW | python/packages/core/agent_framework/_agents.py | 1714 | CODE | |
| LOW | python/packages/core/agent_framework/_agents.py | 1730 | CODE | |
| LOW | python/packages/core/agent_framework/_agents.py | 1746 | CODE | |
| LOW | python/packages/core/agent_framework/_agents.py | 1761 | CODE | |
| LOW | python/packages/core/agent_framework/_agents.py | 1793 | CODE | |
| LOW | python/packages/core/agent_framework/_middleware.py | 140 | CODE | |
| 85 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| 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 | 441 | openai_client = AsyncOpenAI(api_key="your-api-key") | STRING |
| HIGH | python/packages/core/agent_framework/_tools.py | 1357 | 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 | 26 | api_key="your-api-key", | CODE |
| HIGH | …s/mistral/agent_framework_mistral/_embedding_client.py | 236 | api_key="your-api-key", | STRING |
| HIGH | …ples/04-hosting/DurableAgents/AzureFunctions/README.md | 62 | export AZURE_OPENAI_API_KEY="your-api-key" | CODE |
| HIGH | …ples/04-hosting/DurableAgents/AzureFunctions/README.md | 68 | $env:AZURE_OPENAI_API_KEY="your-api-key" | CODE |
| HIGH | …rableAgents/AzureFunctions/07_AgentAsMcpTool/README.md | 42 | "AZURE_OPENAI_API_KEY": "your-api-key-if-not-using-rbac" | CODE |
| HIGH | …samples/04-hosting/DurableAgents/ConsoleApps/README.md | 61 | export AZURE_OPENAI_API_KEY="your-api-key" | CODE |
| HIGH | …samples/04-hosting/DurableAgents/ConsoleApps/README.md | 67 | $env:AZURE_OPENAI_API_KEY="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 | …hosting/durabletask/03_single_agent_streaming/tools.py | 3 | """Mock travel tools for demonstration purposes. | STRING |
| MEDIUM | …hosting/azure_functions/03_reliable_streaming/tools.py | 3 | """Mock travel tools for demonstration purposes. | STRING |
| 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 |
| MEDIUM | …arness/build_your_own_claw/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 | 34 | Note: This is for demonstration purposes. In production, use cloud storage | STRING |
| MEDIUM⚡ | …ackages/openai/tests/openai/test_openai_chat_client.py | 1131 | assert response.messages[0].contents[0].text == "I cannot provide that information." | CODE |
| MEDIUM | …ackages/openai/tests/openai/test_openai_chat_client.py | 1119 | mock_refusal_content.refusal = "I cannot provide that information." | CODE |
| MEDIUM | …nai/tests/openai/test_openai_chat_completion_client.py | 1219 | refusal="I cannot provide that information.", | CODE |
| MEDIUM | …nai/tests/openai/test_openai_chat_completion_client.py | 1233 | assert message.contents[0].text == "I cannot provide that information." | CODE |
| MEDIUM | …bleAgents/AzureFunctions/08_ReliableStreaming/Tools.cs | 8 | /// Mock travel tools that return hardcoded data for demonstration purposes. | COMMENT |
| MEDIUM | …bleAgents/AzureFunctions/08_ReliableStreaming/Tools.cs | 15 | /// Returns mock weather data for demonstration purposes. | COMMENT |
| MEDIUM | …bleAgents/AzureFunctions/08_ReliableStreaming/Tools.cs | 67 | /// Returns mock event data for demonstration purposes. | STRING |
| MEDIUM | …ableAgents/ConsoleApps/07_ReliableStreaming/Program.cs | 67 | // Mock travel tools that return hardcoded data for demonstration purposes. | COMMENT |
| 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 |
|---|---|---|---|---|
| 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 | 108 | ``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 | 265 | r = await shell.run("wget -q -T 2 -O- http://example.com || echo NOACCESS") | CODE |
| 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 | 2002 | The OpenAI spec sends ``"delta": {}`` (not null) on finish chunks. These | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | …packages/core/tests/core/test_middleware_with_agent.py | 129 | CODE | |
| MEDIUM | …packages/core/tests/core/test_middleware_with_agent.py | 130 | CODE | |
| MEDIUM | …packages/core/tests/core/test_middleware_with_agent.py | 1945 | CODE | |
| MEDIUM | …packages/core/tests/core/test_middleware_with_agent.py | 1946 | CODE | |
| MEDIUM | python/packages/core/tests/core/test_types.py | 4291 | CODE | |
| MEDIUM | python/packages/core/tests/core/test_types.py | 4310 | CODE | |
| MEDIUM | python/packages/core/tests/core/test_types.py | 4332 | 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 | 965 | CODE | |
| MEDIUM | python/packages/ag-ui/tests/ag_ui/test_workflow_run.py | 2091 | 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 | …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 | …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 | 1953 | def my_function(arg: str) -> str: | CODE |
| LOW⚡ | python/packages/core/tests/core/test_skills.py | 3403 | 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 | 413 | 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 | 1337 | def my_function(): | STRING |
| LOW | …on/packages/declarative/tests/test_workflow_factory.py | 339 | def my_function(x): | CODE |
| LOW | …nai/tests/openai/test_openai_chat_completion_client.py | 319 | def test_function(query: str) -> str: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …g.AzureFunctions.IntegrationTests/SamplesValidation.cs | 229 | // TODO: Add validation for the approval case | COMMENT |