A framework for building, orchestrating and deploying AI agents and multi-agent workflows with support for Python and .NET.
This report summarizes scanner evidence for microsoft/agent-framework, a Python project with 14,051 GitHub stars. SynthScan examined 1,171,818 lines of code across 4794 source files, recording 23085 pattern matches distributed across 28 syntactic categories. The legacy adjusted pattern signal is 37.7 (High pattern signal); it is not an authorship estimate.
Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.
Use each vector to guide manual verification of the underlying findings.
Can maintainers explain intent, assumptions, and trade-offs? 17221 finding(s).
Are imports declared and package/API names verified? 3893 finding(s).
Are wrappers, guards, and repeated structures necessary? 15683 finding(s).
Which changes need focused human review? 23085 finding(s).
This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.
Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.
This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.
The scanner identified 23085 distinct pattern matches across 28 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | …nts/responses/foundry_memory/provision_memory_store.py | 42 | from azure.core.exceptions import ResourceNotFoundError | CODE |
| CRITICAL | …d-agents/responses/azure_search_rag/provision_index.py | 25 | from azure.core.exceptions import ResourceNotFoundError | CODE |
| CRITICAL | …/providers/foundry/foundry_chat_client_with_toolbox.py | 47 | from azure.core.exceptions import ResourceNotFoundError | CODE |
| CRITICAL | …s/build_your_own_claw/claw_step02_working_with_data.py | 192 | from azure.core.exceptions import ResourceNotFoundError | CODE |
| CRITICAL | …ive/invoke_foundry_toolbox_mcp/toolbox_provisioning.py | 26 | from azure.core.exceptions import ResourceNotFoundError | CODE |
| CRITICAL | …ing/agent_framework_foundry_hosting/_workflow_state.py | 311 | fresh = self.run.workflow._runner.state.export_state() # pyright: ignore[reportPrivateUsage] | CODE |
| CRITICAL | …ages/foundry/tests/foundry/test_foundry_chat_client.py | 40 | from azure.core.exceptions import ResourceNotFoundError | CODE |
| CRITICAL | …n/packages/foundry/tests/foundry/test_foundry_agent.py | 41 | from azure.core.exceptions import ResourceNotFoundError | CODE |
| CRITICAL | …ges/foundry/tests/foundry/test_agui_provider_matrix.py | 66 | conversation = await self._agent.client.client.conversations.create() | CODE |
| CRITICAL | …ckages/foundry/agent_framework_foundry/_chat_client.py | 413 | from azure.core.exceptions import ResourceNotFoundError | CODE |
| CRITICAL | …hon/packages/foundry/agent_framework_foundry/_agent.py | 902 | from azure.core.exceptions import ResourceNotFoundError | CODE |
| CRITICAL | python/packages/core/tests/core/test_mcp.py | 6927 | 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 | 1321 | from azure.core.exceptions import ResourceNotFoundError | CODE |
| CRITICAL | …on/packages/azure-ai-search/tests/test_vector_store.py | 35 | from azure.core.exceptions import HttpResponseError, ResourceExistsError, ResourceNotFoundError | CODE |
| CRITICAL | …h/agent_framework_azure_ai_search/_context_provider.py | 34 | from azure.core.exceptions import ResourceNotFoundError | CODE |
| CRITICAL | …earch/agent_framework_azure_ai_search/_vector_store.py | 37 | from azure.core.exceptions import ResourceExistsError, ResourceNotFoundError | CODE |
| CRITICAL | …kages/openai/tests/openai/test_agui_provider_matrix.py | 52 | conversation = await self._agent.client.client.conversations.create() | 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 | 1287 | new MessageContent[] { new Azure.AI.AgentServer.Responses.Models.TextContent("plain text") }); | CODE |
| CRITICAL | …ts.AI.Foundry.Hosting.UnitTests/InputConverterTests.cs | 1406 | 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 | 505 | string[] locationSegments = pcRequest.ContentToProcess.ProtectedAppMetadata.ApplicationLocation.DataType.Split(' | CODE |
| CRITICAL⚡ | …ive.Mcp/PublicAPI/netstandard2.0/PublicAPI.Shipped.txt | 3 | Microsoft.Agents.AI.Workflows.Declarative.Mcp.DefaultMcpToolHandler.DefaultMcpToolHandler(System.Func<string!, System.Th | CODE |
| CRITICAL⚡ | …ive.Mcp/PublicAPI/netstandard2.0/PublicAPI.Shipped.txt | 4 | Microsoft.Agents.AI.Workflows.Declarative.Mcp.DefaultMcpToolHandler.DisposeAsync() -> System.Threading.Tasks.ValueTask | CODE |
| CRITICAL⚡ | …ive.Mcp/PublicAPI/netstandard2.0/PublicAPI.Shipped.txt | 5 | Microsoft.Agents.AI.Workflows.Declarative.Mcp.DefaultMcpToolHandler.InvokeToolAsync(string! serverUrl, string? serverLab | CODE |
| CRITICAL⚡ | …Declarative.Mcp/PublicAPI/net8.0/PublicAPI.Shipped.txt | 3 | Microsoft.Agents.AI.Workflows.Declarative.Mcp.DefaultMcpToolHandler.DefaultMcpToolHandler(System.Func<string!, System.Th | CODE |
| CRITICAL⚡ | …Declarative.Mcp/PublicAPI/net8.0/PublicAPI.Shipped.txt | 4 | Microsoft.Agents.AI.Workflows.Declarative.Mcp.DefaultMcpToolHandler.DisposeAsync() -> System.Threading.Tasks.ValueTask | CODE |
| CRITICAL⚡ | …Declarative.Mcp/PublicAPI/net8.0/PublicAPI.Shipped.txt | 5 | Microsoft.Agents.AI.Workflows.Declarative.Mcp.DefaultMcpToolHandler.InvokeToolAsync(string! serverUrl, string? serverLab | CODE |
| CRITICAL⚡ | …Declarative.Mcp/PublicAPI/net9.0/PublicAPI.Shipped.txt | 3 | Microsoft.Agents.AI.Workflows.Declarative.Mcp.DefaultMcpToolHandler.DefaultMcpToolHandler(System.Func<string!, System.Th | CODE |
| CRITICAL⚡ | …Declarative.Mcp/PublicAPI/net9.0/PublicAPI.Shipped.txt | 4 | Microsoft.Agents.AI.Workflows.Declarative.Mcp.DefaultMcpToolHandler.DisposeAsync() -> System.Threading.Tasks.ValueTask | CODE |
| CRITICAL⚡ | …Declarative.Mcp/PublicAPI/net9.0/PublicAPI.Shipped.txt | 5 | Microsoft.Agents.AI.Workflows.Declarative.Mcp.DefaultMcpToolHandler.InvokeToolAsync(string! serverUrl, string? serverLab | CODE |
| CRITICAL⚡ | …Declarative.Mcp/PublicAPI/net472/PublicAPI.Shipped.txt | 3 | Microsoft.Agents.AI.Workflows.Declarative.Mcp.DefaultMcpToolHandler.DefaultMcpToolHandler(System.Func<string!, System.Th | CODE |
| CRITICAL⚡ | …Declarative.Mcp/PublicAPI/net472/PublicAPI.Shipped.txt | 4 | Microsoft.Agents.AI.Workflows.Declarative.Mcp.DefaultMcpToolHandler.DisposeAsync() -> System.Threading.Tasks.ValueTask | CODE |
| CRITICAL⚡ | …Declarative.Mcp/PublicAPI/net472/PublicAPI.Shipped.txt | 5 | Microsoft.Agents.AI.Workflows.Declarative.Mcp.DefaultMcpToolHandler.InvokeToolAsync(string! serverUrl, string? serverLab | CODE |
| CRITICAL⚡ | …eclarative.Mcp/PublicAPI/net10.0/PublicAPI.Shipped.txt | 3 | Microsoft.Agents.AI.Workflows.Declarative.Mcp.DefaultMcpToolHandler.DefaultMcpToolHandler(System.Func<string!, System.Th | CODE |
| CRITICAL⚡ | …eclarative.Mcp/PublicAPI/net10.0/PublicAPI.Shipped.txt | 4 | Microsoft.Agents.AI.Workflows.Declarative.Mcp.DefaultMcpToolHandler.DisposeAsync() -> System.Threading.Tasks.ValueTask | CODE |
| CRITICAL⚡ | …eclarative.Mcp/PublicAPI/net10.0/PublicAPI.Shipped.txt | 5 | Microsoft.Agents.AI.Workflows.Declarative.Mcp.DefaultMcpToolHandler.InvokeToolAsync(string! serverUrl, string? serverLab | CODE |
| CRITICAL | …actions/PublicAPI/netstandard2.0/PublicAPI.Shipped.txt | 39 | Microsoft.Agents.AI.AIContextProvider.InvokedContext.InvokedContext(Microsoft.Agents.AI.AIAgent! agent, Microsoft.Agents | CODE |
| CRITICAL | …actions/PublicAPI/netstandard2.0/PublicAPI.Shipped.txt | 160 | Microsoft.Agents.AI.ChatHistoryProvider.InvokedContext.InvokedContext(Microsoft.Agents.AI.AIAgent! agent, Microsoft.Agen | CODE |
| CRITICAL | …actions/PublicAPI/netstandard2.0/PublicAPI.Shipped.txt | 183 | Microsoft.Agents.AI.InMemoryChatHistoryProvider.State.State() -> void | CODE |
| CRITICAL⚡ | …actions/PublicAPI/netstandard2.0/PublicAPI.Shipped.txt | 218 | [MAAI001]Microsoft.Agents.AI.AIContextProvider.InvokedContext.InvokedContext(Microsoft.Agents.AI.AIAgent! agent, Microso | CODE |
| CRITICAL⚡ | …actions/PublicAPI/netstandard2.0/PublicAPI.Shipped.txt | 219 | [MAAI001]Microsoft.Agents.AI.AIContextProvider.InvokingContext.InvokingContext(Microsoft.Agents.AI.AIAgent! agent, Micro | CODE |
| CRITICAL⚡ | …actions/PublicAPI/netstandard2.0/PublicAPI.Shipped.txt | 220 | [MAAI001]Microsoft.Agents.AI.ChatHistoryProvider.InvokedContext.InvokedContext(Microsoft.Agents.AI.AIAgent! agent, Micro | CODE |
| CRITICAL⚡ | …actions/PublicAPI/netstandard2.0/PublicAPI.Shipped.txt | 221 | [MAAI001]Microsoft.Agents.AI.ChatHistoryProvider.InvokingContext.InvokingContext(Microsoft.Agents.AI.AIAgent! agent, Mic | CODE |
| CRITICAL⚡ | …actions/PublicAPI/netstandard2.0/PublicAPI.Shipped.txt | 223 | [MAAI001]Microsoft.Agents.AI.MessageAIContextProvider.InvokingContext.InvokingContext(Microsoft.Agents.AI.AIAgent! agent | CODE |
| CRITICAL | …AI.Abstractions/PublicAPI/net8.0/PublicAPI.Shipped.txt | 39 | Microsoft.Agents.AI.AIContextProvider.InvokedContext.InvokedContext(Microsoft.Agents.AI.AIAgent! agent, Microsoft.Agents | CODE |
| CRITICAL | …AI.Abstractions/PublicAPI/net8.0/PublicAPI.Shipped.txt | 160 | Microsoft.Agents.AI.ChatHistoryProvider.InvokedContext.InvokedContext(Microsoft.Agents.AI.AIAgent! agent, Microsoft.Agen | CODE |
| CRITICAL | …AI.Abstractions/PublicAPI/net8.0/PublicAPI.Shipped.txt | 183 | Microsoft.Agents.AI.InMemoryChatHistoryProvider.State.State() -> void | CODE |
| CRITICAL⚡ | …AI.Abstractions/PublicAPI/net8.0/PublicAPI.Shipped.txt | 218 | [MAAI001]Microsoft.Agents.AI.AIContextProvider.InvokedContext.InvokedContext(Microsoft.Agents.AI.AIAgent! agent, Microso | CODE |
| CRITICAL⚡ | …AI.Abstractions/PublicAPI/net8.0/PublicAPI.Shipped.txt | 219 | [MAAI001]Microsoft.Agents.AI.AIContextProvider.InvokingContext.InvokingContext(Microsoft.Agents.AI.AIAgent! agent, Micro | CODE |
| CRITICAL⚡ | …AI.Abstractions/PublicAPI/net8.0/PublicAPI.Shipped.txt | 220 | [MAAI001]Microsoft.Agents.AI.ChatHistoryProvider.InvokedContext.InvokedContext(Microsoft.Agents.AI.AIAgent! agent, Micro | CODE |
| CRITICAL⚡ | …AI.Abstractions/PublicAPI/net8.0/PublicAPI.Shipped.txt | 221 | [MAAI001]Microsoft.Agents.AI.ChatHistoryProvider.InvokingContext.InvokingContext(Microsoft.Agents.AI.AIAgent! agent, Mic | CODE |
| CRITICAL⚡ | …AI.Abstractions/PublicAPI/net8.0/PublicAPI.Shipped.txt | 223 | [MAAI001]Microsoft.Agents.AI.MessageAIContextProvider.InvokingContext.InvokingContext(Microsoft.Agents.AI.AIAgent! agent | CODE |
| CRITICAL | …AI.Abstractions/PublicAPI/net9.0/PublicAPI.Shipped.txt | 39 | Microsoft.Agents.AI.AIContextProvider.InvokedContext.InvokedContext(Microsoft.Agents.AI.AIAgent! agent, Microsoft.Agents | CODE |
| CRITICAL | …AI.Abstractions/PublicAPI/net9.0/PublicAPI.Shipped.txt | 160 | Microsoft.Agents.AI.ChatHistoryProvider.InvokedContext.InvokedContext(Microsoft.Agents.AI.AIAgent! agent, Microsoft.Agen | CODE |
| CRITICAL | …AI.Abstractions/PublicAPI/net9.0/PublicAPI.Shipped.txt | 183 | Microsoft.Agents.AI.InMemoryChatHistoryProvider.State.State() -> void | CODE |
| CRITICAL⚡ | …AI.Abstractions/PublicAPI/net9.0/PublicAPI.Shipped.txt | 218 | [MAAI001]Microsoft.Agents.AI.AIContextProvider.InvokedContext.InvokedContext(Microsoft.Agents.AI.AIAgent! agent, Microso | CODE |
| CRITICAL⚡ | …AI.Abstractions/PublicAPI/net9.0/PublicAPI.Shipped.txt | 219 | [MAAI001]Microsoft.Agents.AI.AIContextProvider.InvokingContext.InvokingContext(Microsoft.Agents.AI.AIAgent! agent, Micro | CODE |
| 2429 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …ts/samples/end_to_end/test_chatkit_attachment_store.py | 19 | def _load_attachment_store_module() -> ModuleType: | CODE |
| LOW | …ts/samples/end_to_end/test_chatkit_attachment_store.py | 48 | def test_get_file_path_returns_direct_child(tmp_path: Path) -> None: | CODE |
| LOW | …ts/samples/end_to_end/test_chatkit_attachment_store.py | 68 | def test_get_file_path_rejects_non_filename_ids(tmp_path: Path, attachment_id: str) -> None: | CODE |
| LOW | …ts/samples/end_to_end/test_chatkit_attachment_store.py | 75 | async def test_attachment_routes_return_bad_request_for_invalid_id(chatkit_app_module: ModuleType) -> None: | CODE |
| LOW⚡ | python/tests/samples/hosting/test_toolbox_endpoint.py | 60 | def test_explicit_endpoint_returned_as_is(self, resolve_endpoint, monkeypatch: pytest.MonkeyPatch): | CODE |
| LOW⚡ | python/tests/samples/hosting/test_toolbox_endpoint.py | 67 | def test_empty_string_raises_value_error(self, resolve_endpoint, monkeypatch: pytest.MonkeyPatch): | CODE |
| LOW⚡ | python/tests/samples/hosting/test_toolbox_endpoint.py | 73 | def test_fallback_constructs_url_from_project_vars(self, resolve_endpoint, monkeypatch: pytest.MonkeyPatch): | CODE |
| LOW⚡ | python/tests/samples/hosting/test_toolbox_endpoint.py | 82 | def test_fallback_strips_trailing_slash_from_project_endpoint( | CODE |
| LOW | python/tests/samples/hosting/test_toolbox_endpoint.py | 93 | def test_neither_variable_group_set_raises_value_error(self, resolve_endpoint, monkeypatch: pytest.MonkeyPatch): | CODE |
| LOW | …-migration/orchestrations/01_round_robin_group_chat.py | 102 | async def run_agent_framework_with_cycle() -> None: | CODE |
| LOW | …c-kernel-migration/processes/fan_out_fan_in_process.py | 49 | async def _start_local_kernel_process( | CODE |
| LOW | …c-kernel-migration/processes/fan_out_fan_in_process.py | 136 | async def run_semantic_kernel_process_example() -> None: | CODE |
| LOW | …c-kernel-migration/processes/fan_out_fan_in_process.py | 232 | async def run_agent_framework_workflow_example() -> str | None: | CODE |
| LOW | …/semantic-kernel-migration/processes/nested_process.py | 134 | async def run_semantic_kernel_nested_process() -> None: | CODE |
| LOW | …/semantic-kernel-migration/processes/nested_process.py | 253 | async def run_agent_framework_nested_workflow(initial_message: str) -> Sequence[str]: | CODE |
| LOW | …es/semantic-kernel-migration/orchestrations/handoff.py | 75 | def build_semantic_kernel_agents() -> tuple[list[SKAgent], OrchestrationHandoffs]: | CODE |
| LOW | …es/semantic-kernel-migration/orchestrations/handoff.py | 161 | async def run_semantic_kernel_example(initial_task: str, scripted_responses: Sequence[str]) -> str: | CODE |
| LOW⚡ | …es/semantic-kernel-migration/orchestrations/handoff.py | 233 | def _collect_handoff_requests(events: list[WorkflowEvent]) -> list[WorkflowEvent]: | CODE |
| LOW⚡ | …es/semantic-kernel-migration/orchestrations/handoff.py | 241 | def _extract_final_conversation(events: list[WorkflowEvent]) -> list[Message]: | CODE |
| LOW⚡ | …es/semantic-kernel-migration/orchestrations/handoff.py | 248 | async def run_agent_framework_example(initial_task: str, scripted_responses: Sequence[str]) -> str: | CODE |
| LOW | …semantic-kernel-migration/orchestrations/sequential.py | 43 | def build_semantic_kernel_agents() -> list[SKAgent]: | CODE |
| LOW | …semantic-kernel-migration/orchestrations/sequential.py | 61 | async def sk_agent_response_callback( | CODE |
| LOW | …semantic-kernel-migration/orchestrations/sequential.py | 81 | async def run_agent_framework_example(prompt: str) -> list[Message]: | CODE |
| LOW | …semantic-kernel-migration/orchestrations/sequential.py | 106 | async def run_semantic_kernel_example(prompt: str) -> str: | CODE |
| LOW | …semantic-kernel-migration/orchestrations/group_chat.py | 60 | def build_semantic_kernel_agents() -> list[ChatCompletionAgent]: | CODE |
| LOW | …semantic-kernel-migration/orchestrations/group_chat.py | 118 | async def should_request_user_input(self, chat_history: ChatHistory) -> BooleanResult: | CODE |
| LOW | …semantic-kernel-migration/orchestrations/group_chat.py | 188 | async def sk_agent_response_callback(message: ChatMessageContent | Sequence[ChatMessageContent]) -> None: | CODE |
| LOW | …semantic-kernel-migration/orchestrations/group_chat.py | 200 | async def run_semantic_kernel_example(task: str) -> str: | CODE |
| LOW | …semantic-kernel-migration/orchestrations/group_chat.py | 230 | async def run_agent_framework_example(task: str) -> str: | CODE |
| LOW | …ic-kernel-migration/orchestrations/concurrent_basic.py | 42 | def build_semantic_kernel_agents() -> list[ChatCompletionAgent]: | CODE |
| LOW | …ic-kernel-migration/orchestrations/concurrent_basic.py | 60 | async def run_semantic_kernel_example(prompt: str) -> Sequence[ChatMessageContent]: | CODE |
| LOW | …ic-kernel-migration/orchestrations/concurrent_basic.py | 78 | def _print_semantic_kernel_outputs(outputs: Sequence[ChatMessageContent]) -> None: | CODE |
| LOW | …ic-kernel-migration/orchestrations/concurrent_basic.py | 94 | async def run_agent_framework_example(prompt: str) -> Sequence[list[Message]]: | CODE |
| LOW | …ic-kernel-migration/orchestrations/concurrent_basic.py | 119 | def _print_agent_framework_outputs(conversations: Sequence[Sequence[Message]]) -> None: | CODE |
| LOW | …s/semantic-kernel-migration/orchestrations/magentic.py | 53 | async def build_semantic_kernel_agents() -> list[ChatCompletionAgent | OpenAIAssistantAgent]: | CODE |
| LOW | …s/semantic-kernel-migration/orchestrations/magentic.py | 83 | def sk_agent_response_callback( | CODE |
| LOW | …s/semantic-kernel-migration/orchestrations/magentic.py | 98 | async def run_semantic_kernel_example(prompt: str) -> Sequence[ChatMessageContent]: | CODE |
| LOW | …s/semantic-kernel-migration/orchestrations/magentic.py | 121 | def _print_semantic_kernel_outputs(outputs: Sequence[ChatMessageContent]) -> None: | CODE |
| LOW | …s/semantic-kernel-migration/orchestrations/magentic.py | 137 | async def run_agent_framework_example(prompt: str) -> str | None: | CODE |
| LOW | …s/semantic-kernel-migration/orchestrations/magentic.py | 194 | def _print_agent_framework_output(result: str | None) -> None: | CODE |
| LOW | python/samples/04-hosting/a2a/README.md | 109 | def resolve_tenant_user_scope(context): | CODE |
| LOW | python/samples/04-hosting/a2a/invoice_data.py | 65 | def _random_date_within_last_two_months() -> datetime: | CODE |
| LOW | …/foundry-hosted-agents/invocations/break_glass/main.py | 43 | def get_session_partition_key() -> str | tuple[str, str]: | CODE |
| LOW | …ing/foundry-hosted-agents/invocations/telegram/main.py | 204 | async def execute_telegram_operation(runtime: Runtime, operation: TelegramOperation) -> dict[str, Any]: | CODE |
| LOW | …ing/foundry-hosted-agents/invocations/telegram/main.py | 268 | def _normalize_run_media_type(messages: AgentRunInputs, source_media_type: str, model_media_type: str) -> None: | CODE |
| LOW | …ents/invocations/telegram/tests/test_infrastructure.py | 27 | def test_dependencies_use_sample_local_pyproject() -> None: | CODE |
| LOW⚡ | …ents/invocations/telegram/tests/test_infrastructure.py | 41 | def test_sensitive_telemetry_is_configurable_for_hosted_agent() -> None: | CODE |
| LOW⚡ | …ents/invocations/telegram/tests/test_infrastructure.py | 50 | def test_agent_instructions_are_included_in_deployment() -> None: | CODE |
| LOW⚡ | …ents/invocations/telegram/tests/test_infrastructure.py | 58 | def test_apim_policy_preserves_update_and_injects_channel() -> None: | CODE |
| LOW | …ents/invocations/telegram/tests/test_infrastructure.py | 86 | def test_cosmos_partition_key_is_session_id() -> None: | CODE |
| LOW | …ents/invocations/telegram/tests/test_infrastructure.py | 93 | def test_deployment_health_check_rejects_direct_invocation_and_is_subscription_scoped() -> None: | CODE |
| LOW | …ents/invocations/telegram/tests/test_infrastructure.py | 108 | def test_deployment_and_removal_require_sample_owned_resource_group() -> None: | CODE |
| LOW | …ents/invocations/telegram/tests/test_infrastructure.py | 130 | def test_remove_script_unregisters_webhook_before_deleting_resource_group() -> None: | CODE |
| LOW | …-hosted-agents/invocations/telegram/tests/test_main.py | 59 | def test_sensitive_telemetry_is_enabled_and_dependency_logging_is_suppressed() -> None: | CODE |
| LOW | …-hosted-agents/invocations/telegram/tests/test_main.py | 65 | async def test_runtime_configures_azure_monitor_with_sensitive_data(monkeypatch: pytest.MonkeyPatch) -> None: | CODE |
| LOW | …-hosted-agents/invocations/telegram/tests/test_main.py | 94 | async def test_invoke_rejects_unauthenticated_ingress_before_dispatch( | CODE |
| LOW | …-hosted-agents/invocations/telegram/tests/test_main.py | 120 | async def test_invoke_dispatches_authenticated_channel(monkeypatch: pytest.MonkeyPatch) -> None: | CODE |
| LOW | …-hosted-agents/invocations/telegram/tests/test_main.py | 144 | async def test_dispatches_telegram_without_channel_field(monkeypatch: pytest.MonkeyPatch) -> None: | CODE |
| LOW | …-hosted-agents/invocations/telegram/tests/test_main.py | 166 | async def test_rejects_missing_or_unsupported_channel(payload: dict[str, Any], message: str) -> None: | CODE |
| LOW | …-hosted-agents/invocations/telegram/tests/test_main.py | 171 | async def test_new_clears_durable_history(monkeypatch: pytest.MonkeyPatch) -> None: | CODE |
| 13435 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM⚡ | python/tests/samples/hosting/test_toolbox_endpoint.py | 16 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | python/tests/samples/hosting/test_toolbox_endpoint.py | 19 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | python/tests/samples/hosting/test_toolbox_endpoint.py | 28 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | python/tests/samples/hosting/test_toolbox_endpoint.py | 30 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | python/tests/samples/hosting/test_toolbox_endpoint.py | 49 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | python/tests/samples/hosting/test_toolbox_endpoint.py | 51 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | python/samples/04-hosting/a2a/agent_definitions.py | 16 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | python/samples/04-hosting/a2a/agent_definitions.py | 18 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | python/samples/04-hosting/a2a/agent_definitions.py | 47 | # --------------------------------------------------------------------------- | STRING |
| MEDIUM | python/samples/04-hosting/a2a/agent_definitions.py | 49 | # --------------------------------------------------------------------------- | STRING |
| MEDIUM | python/samples/04-hosting/a2a/agent_definitions.py | 80 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | python/samples/04-hosting/a2a/agent_definitions.py | 82 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | python/samples/04-hosting/a2a/agent_definitions.py | 153 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | python/samples/04-hosting/a2a/agent_definitions.py | 155 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | python/samples/02-agents/auto_retry.py | 65 | # ============================================================================= | COMMENT |
| MEDIUM⚡ | python/samples/02-agents/auto_retry.py | 67 | # ============================================================================= | COMMENT |
| MEDIUM | python/samples/02-agents/auto_retry.py | 111 | # ============================================================================= | COMMENT |
| MEDIUM | python/samples/02-agents/auto_retry.py | 113 | # ============================================================================= | COMMENT |
| MEDIUM⚡ | python/samples/02-agents/auto_retry.py | 145 | # ============================================================================= | COMMENT |
| MEDIUM⚡ | python/samples/02-agents/auto_retry.py | 147 | # ============================================================================= | COMMENT |
| MEDIUM | python/samples/02-agents/auto_retry.py | 176 | # ============================================================================= | COMMENT |
| MEDIUM | python/samples/02-agents/auto_retry.py | 178 | # ============================================================================= | COMMENT |
| MEDIUM | python/samples/02-agents/response_stream.py | 190 | # ========================================================================= | COMMENT |
| MEDIUM | python/samples/02-agents/response_stream.py | 192 | # ========================================================================= | COMMENT |
| MEDIUM⚡ | python/samples/02-agents/response_stream.py | 216 | # ========================================================================= | COMMENT |
| MEDIUM⚡ | python/samples/02-agents/response_stream.py | 218 | # ========================================================================= | COMMENT |
| MEDIUM⚡ | python/samples/02-agents/response_stream.py | 229 | # ========================================================================= | COMMENT |
| MEDIUM⚡ | python/samples/02-agents/response_stream.py | 231 | # ========================================================================= | COMMENT |
| MEDIUM | python/samples/02-agents/response_stream.py | 262 | # ========================================================================= | COMMENT |
| MEDIUM | python/samples/02-agents/response_stream.py | 264 | # ========================================================================= | COMMENT |
| MEDIUM | python/samples/02-agents/response_stream.py | 286 | # ========================================================================= | COMMENT |
| MEDIUM | python/samples/02-agents/response_stream.py | 288 | # ========================================================================= | COMMENT |
| MEDIUM | python/samples/02-agents/response_stream.py | 317 | # ========================================================================= | COMMENT |
| MEDIUM | python/samples/02-agents/response_stream.py | 319 | # ========================================================================= | COMMENT |
| MEDIUM | python/samples/02-agents/response_stream.py | 369 | # ========================================================================= | COMMENT |
| MEDIUM | python/samples/02-agents/response_stream.py | 371 | # ========================================================================= | COMMENT |
| MEDIUM | python/samples/02-agents/response_stream.py | 408 | # ========================================================================= | COMMENT |
| MEDIUM | python/samples/02-agents/response_stream.py | 410 | # ========================================================================= | COMMENT |
| MEDIUM | python/samples/02-agents/response_stream.py | 450 | # ========================================================================= | COMMENT |
| MEDIUM | python/samples/02-agents/response_stream.py | 452 | # ========================================================================= | COMMENT |
| MEDIUM | …les/02-agents/middleware/runtime_context_delegation.py | 262 | # ================================================================ | COMMENT |
| MEDIUM | …les/02-agents/middleware/runtime_context_delegation.py | 376 | # =================================================================== | COMMENT |
| MEDIUM | …n/samples/02-agents/security/email_security_example.py | 81 | # ============================================================================= | COMMENT |
| MEDIUM | …n/samples/02-agents/security/email_security_example.py | 83 | # ============================================================================= | COMMENT |
| MEDIUM | …n/samples/02-agents/security/email_security_example.py | 167 | # ============================================================================= | COMMENT |
| MEDIUM | …n/samples/02-agents/security/email_security_example.py | 169 | # ============================================================================= | COMMENT |
| MEDIUM | …n/samples/02-agents/security/email_security_example.py | 249 | # ============================================================================= | COMMENT |
| MEDIUM | …n/samples/02-agents/security/email_security_example.py | 251 | # ============================================================================= | COMMENT |
| MEDIUM | …les/02-agents/security/repo_confidentiality_example.py | 69 | # ============================================================================= | COMMENT |
| MEDIUM | …les/02-agents/security/repo_confidentiality_example.py | 71 | # ============================================================================= | COMMENT |
| MEDIUM | …les/02-agents/security/repo_confidentiality_example.py | 102 | # ============================================================================= | COMMENT |
| MEDIUM | …les/02-agents/security/repo_confidentiality_example.py | 104 | # ============================================================================= | COMMENT |
| MEDIUM | …les/02-agents/security/repo_confidentiality_example.py | 135 | # ========================================================================= | COMMENT |
| MEDIUM | …les/02-agents/security/repo_confidentiality_example.py | 139 | # ========================================================================= | COMMENT |
| MEDIUM | …les/02-agents/security/repo_confidentiality_example.py | 161 | # ===================================================================== | COMMENT |
| MEDIUM | …les/02-agents/security/repo_confidentiality_example.py | 164 | # ===================================================================== | COMMENT |
| MEDIUM | …les/02-agents/security/repo_confidentiality_example.py | 194 | # ============================================================================= | COMMENT |
| MEDIUM | …les/02-agents/security/repo_confidentiality_example.py | 196 | # ============================================================================= | COMMENT |
| MEDIUM | python/samples/02-agents/mcp/mcp_long_running_task.py | 42 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | python/samples/02-agents/mcp/mcp_long_running_task.py | 44 | # --------------------------------------------------------------------------- | COMMENT |
| 890 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …n-migration/single_agent/03_agent_thread_and_stream.py | 1 | # /// script | COMMENT |
| LOW | …s/autogen-migration/single_agent/02_agent_with_tool.py | 1 | # /// script | COMMENT |
| LOW | …mples/autogen-migration/single_agent/01_basic_agent.py | 1 | # /// script | COMMENT |
| LOW | …c-kernel-migration/processes/fan_out_fan_in_process.py | 1 | # /// script | COMMENT |
| LOW | …/semantic-kernel-migration/processes/nested_process.py | 1 | # /// script | COMMENT |
| LOW | …hat_completion/03_chat_completion_thread_and_stream.py | 1 | # /// script | COMMENT |
| LOW | …-migration/chat_completion/01_basic_chat_completion.py | 1 | # /// script | COMMENT |
| LOW | …ration/chat_completion/02_chat_completion_with_tool.py | 1 | # /// script | COMMENT |
| LOW | …es/semantic-kernel-migration/orchestrations/handoff.py | 1 | # /// script | COMMENT |
| LOW | …semantic-kernel-migration/orchestrations/sequential.py | 1 | # /// script | COMMENT |
| LOW | …semantic-kernel-migration/orchestrations/group_chat.py | 1 | # /// script | COMMENT |
| LOW | …ic-kernel-migration/orchestrations/concurrent_basic.py | 1 | # /// script | COMMENT |
| LOW | …s/semantic-kernel-migration/orchestrations/magentic.py | 1 | # /// script | COMMENT |
| LOW | …igration/copilot_studio/02_copilot_studio_streaming.py | 1 | # /// script | COMMENT |
| LOW | …ration/copilot_studio/01_basic_copilot_studio_agent.py | 1 | # /// script | COMMENT |
| LOW | …enai_responses/03_responses_agent_structured_output.py | 1 | # /// script | COMMENT |
| LOW | …migration/openai_responses/01_basic_responses_agent.py | 1 | # /// script | COMMENT |
| LOW | …ation/openai_responses/02_responses_agent_with_tool.py | 1 | # /// script | COMMENT |
| LOW | python/samples/04-hosting/mcp/manual_app.py | 1 | # /// script | COMMENT |
| LOW | python/samples/04-hosting/mcp/session_app.py | 1 | # /// script | COMMENT |
| LOW | python/samples/04-hosting/mcp/agent_app.py | 1 | # /// script | COMMENT |
| LOW | python/samples/04-hosting/mcp/fastmcp_app.py | 1 | # /// script | COMMENT |
| LOW | python/samples/04-hosting/mcp/workflow_app.py | 1 | # /// script | COMMENT |
| LOW | …ng/foundry-hosted-agents/invocations/basic/workflow.py | 161 | main() | COMMENT |
| LOW | …foundry-hosted-agents/responses/foundry_memory/main.py | 1 | # /// script | COMMENT |
| LOW | …oundry-hosted-agents/responses/foundry_toolbox/main.py | 1 | # /// script | COMMENT |
| LOW | …ses/foundry_toolbox/scripts/list-foundry-connectors.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | …-hosting/foundry-hosted-agents/responses/tools/main.py | 1 | # /// script | COMMENT |
| LOW | …04-hosting/foundry-hosted-agents/responses/mcp/main.py | 1 | # /// script | COMMENT |
| LOW | …/foundry-hosted-agents/responses/observability/main.py | 1 | # /// script | COMMENT |
| LOW | …foundry-hosted-agents/responses/custom_storage/main.py | 1 | # /// script | COMMENT |
| LOW | …/foundry-hosted-agents/responses/monty_codeact/main.py | 1 | # /// script | COMMENT |
| LOW | …-hosting/foundry-hosted-agents/responses/files/main.py | 1 | # /// script | COMMENT |
| LOW | …s/responses/declarative_customer_support/workflow.yaml | 1 | # A multi-turn customer-support triage workflow defined declaratively. | COMMENT |
| LOW | …-agents/responses/declarative_customer_support/main.py | 1 | # /// script | COMMENT |
| LOW | …undry-hosted-agents/responses/azure_search_rag/main.py | 1 | # /// script | COMMENT |
| LOW | …ed-agents/responses/foundry_toolbox_mcp_skills/main.py | 1 | # /// script | COMMENT |
| LOW | …ents/responses/foundry_toolbox_mcp_skills/toolbox.yaml | 1 | # toolbox.yaml | COMMENT |
| LOW | …04-hosting/container/hyperlight_codeact/call_server.py | 1 | # /// script | COMMENT |
| LOW | …-hosting/container/hyperlight_codeact/requirements.txt | 1 | # agent-framework, agent-framework-foundry-hosting, and agent-framework-hyperlight | COMMENT |
| LOW | …s/04-hosting/af-hosting/local_responses_harness/app.py | 241 | # Sample output: | COMMENT |
| LOW | …on/samples/04-hosting/af-hosting/local_telegram/app.py | 1 | # /// script | COMMENT |
| LOW | …es/04-hosting/af-hosting/local_telegram/polling_app.py | 1 | # /// script | COMMENT |
| LOW | python/samples/02-agents/response_stream.py | 501 | # | COMMENT |
| LOW | …ples/02-agents/vector_stores/optimized_data_formats.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 | …d_your_own_claw/claw_step04_production_ready/hosted.py | 1 | # /// script | COMMENT |
| LOW | …ld_your_own_claw/claw_step04_production_ready/evals.py | 1 | # /// script | COMMENT |
| LOW | …ld_your_own_claw/claw_step04_production_ready/agent.py | 1 | # /// script | COMMENT |
| 1567 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | python/CODING_STANDARD.md | 549 | Create a new client with the specified configuration. Args: model: The model ID to use. If not provided, | STRING |
| HIGH | python/CODING_STANDARD.md | 583 | Create a new agent with the specified configuration. Args: name: The name of the agent. client: The | STRING |
| HIGH | …arness/build_your_own_claw/subprocess_script_runner.py | 26 | Run a skill script as a local Python subprocess. Uses ``FileSkillScript.full_path`` as the script path, converts the | STRING |
| HIGH | …aw_step04_production_ready/subprocess_script_runner.py | 26 | Run a skill script as a local Python subprocess. Uses ``FileSkillScript.full_path`` as the script path, converts the | STRING |
| HIGH | …amples/02-agents/harness/console/observers/__init__.py | 64 | Build observers with planning support (structured output in plan mode). Replaces TextOutputObserver with PlanningOu | STRING |
| HIGH | …n/samples/02-agents/skills/subprocess_script_runner.py | 21 | Run a skill script as a local Python subprocess. Uses ``FileSkillScript.full_path`` as the script path, converts the | STRING |
| HIGH | …/05-end-to-end/chatkit-integration/attachment_store.py | 65 | Get the filesystem path for an attachment. Args: attachment_id: Identifier used as the attachment f | STRING |
| HIGH | …osting/agent_framework_foundry_hosting/_state_store.py | 167 | Load a workflow checkpoint from the store. Args: checkpoint_id: The ID of the checkpoint to load. | STRING |
| HIGH | …ry_hosting/agent_framework_foundry_hosting/_toolbox.py | 409 | 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 | 3098 | 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 | 3378 | Converts an OutputItem to a Message. Args: item (OutputItem): The OutputItem to convert. approval_s | STRING |
| HIGH | …_hosting/agent_framework_foundry_hosting/_responses.py | 3408 | Converts an OutputMessageContent to a Content object. Args: content (OutputMessageContent): The OutputMessa | STRING |
| HIGH | …_hosting/agent_framework_foundry_hosting/_responses.py | 3458 | Converts a MessageContent to a Content object. Args: content (MessageContent): The MessageContent to conver | STRING |
| HIGH | …ithub_copilot/agent_framework_github_copilot/_agent.py | 870 | 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 | 1087 | 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 | 1645 | 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 | 188 | 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 | 331 | 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 | 748 | 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 | 239 | 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 | 129 | 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 | 238 | 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 | 266 | 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 | 501 | 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 | 770 | 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 | 846 | 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 | 1843 | 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 | 1874 | 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 | 2150 | 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 | 4798 | Validate and normalize chat options dictionary. Validates numeric constraints and converts types as needed. Ar | STRING |
| HIGH | python/packages/core/agent_framework/_types.py | 4857 | 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 | 4892 | 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 | 4943 | 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 | 5017 | Merge two chat options dictionaries. Values from override take precedence over base. Lists and dicts are combin | STRING |
| HIGH | python/packages/core/agent_framework/_vectors.py | 758 | Decorate a vector store model without arguments. Args: cls: The class to decorate. Returns: Th | STRING |
| HIGH | python/packages/core/agent_framework/_vectors.py | 780 | Create a vector store model decorator with a collection name. Args: cls: The empty decorator target used wh | STRING |
| HIGH | python/packages/core/agent_framework/_vectors.py | 807 | Mark a class as a vector store model. Class fields or constructor parameters use ``Annotated`` metadata to describe | STRING |
| HIGH | python/packages/core/agent_framework/_vectors.py | 1348 | Upsert a batch of records. Dense sequence lengths are checked after optional embedding generation, befo | STRING |
| HIGH | python/packages/core/agent_framework/_vectors.py | 1419 | Get records by keys or list a page of records. Args: keys: A sequence of keys, or ``None`` to list | STRING |
| HIGH | python/packages/core/agent_framework/_vectors.py | 1640 | Search from a value, optionally with a precomputed vector. Materialized dense sequence length must match the se | STRING |
| HIGH | python/packages/core/agent_framework/_vectors.py | 1689 | Search from a required precomputed vector. Dense sequence length must match the selected vector field's dimensi | STRING |
| HIGH | python/packages/core/agent_framework/_vectors.py | 1735 | Search the vector store. Supplied or locally generated dense sequence length is checked against the sel | STRING |
| HIGH | python/packages/core/agent_framework/_vectors.py | 1968 | Search from a value, optionally with a precomputed vector. Args: values: The value to search for or | STRING |
| HIGH | python/packages/core/agent_framework/_vectors.py | 2012 | Search from a required precomputed vector. Args: search_type: The vector search type. v | STRING |
| HIGH | python/packages/core/agent_framework/_vectors.py | 2564 | Create an agent-usable tool backed by vector search. Args: search: The vector search capability invoked by | STRING |
| HIGH | python/packages/core/agent_framework/_serialization.py | 506 | 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 | 676 | Create an instance from a JSON string. This is a convenience method that parses the JSON string using ``json.lo | STRING |
| HIGH | python/packages/core/agent_framework/_sessions.py | 1958 | Return a copy of the stored session, or ``None`` when absent. Args: session_id: Opaque caller-selec | STRING |
| HIGH | python/packages/core/agent_framework/_evaluation.py | 1613 | 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 | 183 | 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 | 327 | 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 | 1004 | 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 | 2033 | Invoke a function call requested by the agent, applying middleware that is defined. Args: function_call_con | STRING |
| HIGH | python/packages/core/agent_framework/_mcp.py | 2801 | Call a tool with the given arguments. Args: tool_name: The name of the tool to call. Keywo | STRING |
| HIGH | python/packages/core/agent_framework/_mcp.py | 3414 | Call a prompt with the given arguments. Args: prompt_name: The name of the prompt to retrieve. | STRING |
| HIGH | python/packages/core/agent_framework/security.py | 343 | Combine multiple labels using the most restrictive policy. The combined label will be: - UNTRUSTED if any input | STRING |
| HIGH | python/packages/core/agent_framework/security.py | 426 | Check if writing data with context_label to a destination with max_allowed confidentiality is permitted. This funct | STRING |
| HIGH | python/packages/core/agent_framework/security.py | 535 | Retrieve content and its label by variable ID. Args: var_id: The variable ID. Returns: | STRING |
| HIGH | python/packages/core/agent_framework/security.py | 3852 | Make an isolated LLM call with labeled data. This tool creates a quarantined LLM context where untrusted content ca | STRING |
| HIGH | python/packages/core/agent_framework/security.py | 4134 | Inspect the content of a stored variable. This tool retrieves content from the ContentVariableStore and adds it to | STRING |
| 167 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | python/devsetup.sh | 2 | # Create a virtual environment with Python 3.10 (you can change this to 3.11, 3.12 or 3.13) | COMMENT |
| MEDIUM | …n-migration/single_agent/03_agent_thread_and_stream.py | 69 | # Create a session to maintain state | COMMENT |
| MEDIUM | …s/autogen-migration/single_agent/02_agent_with_tool.py | 35 | # Define a simple tool function | COMMENT |
| MEDIUM | …les/autogen-migration/single_agent/04_agent_as_tool.py | 25 | # Create a specialized writer agent | COMMENT |
| MEDIUM | …s/semantic-kernel-migration/orchestrations/magentic.py | 159 | # Create a manager agent for orchestration | COMMENT |
| MEDIUM⚡ | python/samples/04-hosting/a2a/a2a_server.py | 163 | # Create the LLM client | COMMENT |
| MEDIUM⚡ | python/samples/04-hosting/a2a/a2a_server.py | 171 | # Create the Agent Framework agent for the chosen type | COMMENT |
| MEDIUM | …/foundry-hosted-agents/invocations/break_glass/main.py | 24 | # Create the agent | COMMENT |
| MEDIUM | …agents/responses/foundry_toolbox_mcp_skills/agent.yaml | 15 | # Create the skills and toolbox from the bundled skills/ folder and | COMMENT |
| MEDIUM | …sponses/foundry_toolbox_mcp_skills/agent.manifest.yaml | 34 | # Create the skills and toolbox from the bundled skills/ folder and | COMMENT |
| MEDIUM | python/samples/02-agents/typed_options.py | 65 | # Create a typed agent for Anthropic - IDE knows Anthropic-specific options! | COMMENT |
| MEDIUM | python/samples/02-agents/typed_options.py | 140 | # Create a typed agent - IDE will autocomplete options! | COMMENT |
| MEDIUM⚡ | python/samples/02-agents/response_stream.py | 221 | # 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 | 41 | # 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 | 299 | # Create the main agent's Foundry chat client using the configured deployment. | COMMENT |
| MEDIUM | …n/samples/02-agents/security/email_security_example.py | 306 | # Create a separate Foundry client for quarantine operations. | COMMENT |
| MEDIUM | …n/samples/02-agents/security/email_security_example.py | 325 | # Create the secure agent - security tools and instructions injected via context provider | COMMENT |
| MEDIUM | python/samples/02-agents/devui/in_memory_mode.py | 108 | # Create a basic workflow: Input -> UpperCase -> AddExclamation -> Output | COMMENT |
| MEDIUM | …on/samples/02-agents/devui/workflow_fanout/workflow.py | 636 | # Create the workflow instance | COMMENT |
| MEDIUM | …thon/samples/02-agents/devui/workflow_spam/workflow.py | 384 | # Create the workflow instance that DevUI can discover | COMMENT |
| MEDIUM | …roviders/github_copilot/github_copilot_with_session.py | 69 | # Create a session to maintain conversation context | COMMENT |
| MEDIUM | …/foundry/foundry_chat_client_code_interpreter_files.py | 71 | # Create the FoundryChatClient | COMMENT |
| MEDIUM | …/providers/foundry/foundry_chat_client_with_session.py | 75 | # Create a new session that will be reused | COMMENT |
| MEDIUM | …/providers/foundry/foundry_chat_client_with_session.py | 126 | # Create a new agent instance but use the existing session with its message history | COMMENT |
| MEDIUM | …rs/azure/openai_chat_completion_client_with_session.py | 75 | # Create a new session that will be reused | COMMENT |
| MEDIUM | …rs/azure/openai_chat_completion_client_with_session.py | 126 | # Create a new agent instance but use the existing session with its message history | COMMENT |
| MEDIUM | …2-agents/providers/azure/openai_client_with_session.py | 73 | # Create a new session that will be reused | COMMENT |
| MEDIUM | …2-agents/providers/azure/openai_client_with_session.py | 133 | # Create a session with the existing ID | COMMENT |
| MEDIUM | …roviders/azure/openai_client_with_structured_output.py | 32 | # Create an Azure OpenAI Chat agent | COMMENT |
| MEDIUM | …roviders/azure/openai_client_with_structured_output.py | 58 | # Create an Azure OpenAI Chat agent | COMMENT |
| MEDIUM | …s/providers/anthropic/anthropic_claude_with_session.py | 76 | # Create a session to maintain conversation context | COMMENT |
| MEDIUM | …ples/02-agents/providers/anthropic/anthropic_skills.py | 41 | # Create an agent with the pptx skill enabled | COMMENT |
| MEDIUM | …ples/02-agents/providers/openai/client_with_session.py | 72 | # Create a new session that will be reused | COMMENT |
| MEDIUM | …ples/02-agents/providers/openai/client_with_session.py | 135 | # Create a session with the existing ID | COMMENT |
| MEDIUM | …/02-agents/providers/openai/client_image_generation.py | 62 | # Create an agent with customized image generation options | COMMENT |
| MEDIUM | …ents/providers/openai/client_with_structured_output.py | 31 | # Create an OpenAI Chat agent | COMMENT |
| MEDIUM | …ents/providers/openai/client_with_structured_output.py | 57 | # Create an OpenAI Chat agent | COMMENT |
| MEDIUM | …roviders/openai/chat_completion_client_with_session.py | 70 | # Create a new session that will be reused | COMMENT |
| MEDIUM | …roviders/openai/chat_completion_client_with_session.py | 119 | # Create a new agent instance but use the existing session with its message history | COMMENT |
| MEDIUM | …amples/02-agents/providers/openai/client_with_shell.py | 35 | # Create a hosted shell tool with the default auto container environment | COMMENT |
| MEDIUM | …2-agents/providers/openai/client_with_agent_as_tool.py | 42 | # Create a specialized writer agent | COMMENT |
| MEDIUM | …n/samples/02-agents/context_providers/todo_provider.py | 64 | # Create the TodoProvider and attach it to the agent as a context provider. The provider | COMMENT |
| MEDIUM⚡ | …02-agents/context_providers/azure_ai_foundry_memory.py | 63 | # Create a memory store | COMMENT |
| MEDIUM⚡ | …02-agents/context_providers/azure_ai_foundry_memory.py | 77 | # Create the chat client | COMMENT |
| MEDIUM⚡ | …02-agents/context_providers/azure_ai_foundry_memory.py | 79 | # Create the Foundry Memory context provider | COMMENT |
| MEDIUM⚡ | …02-agents/context_providers/azure_ai_foundry_memory.py | 89 | # Create an agent with the memory context provider | COMMENT |
| MEDIUM⚡ | …02-agents/context_providers/simple_context_provider.py | 119 | # Create the memory provider | COMMENT |
| MEDIUM⚡ | …02-agents/context_providers/simple_context_provider.py | 122 | # Create the agent with memory | COMMENT |
| MEDIUM⚡ | …02-agents/context_providers/simple_context_provider.py | 128 | # Create a new session for the conversation | COMMENT |
| MEDIUM | …les/02-agents/context_providers/agent_mode_provider.py | 92 | # Create the agent and attach the mode provider as a context provider. | COMMENT |
| MEDIUM | …ples/02-agents/context_providers/redis/redis_basics.py | 121 | # Create a provider with partition scope and OpenAI embeddings | COMMENT |
| MEDIUM | …es/02-agents/context_providers/redis/redis_sessions.py | 94 | # Create a new session - memories should still be accessible due to global scope | COMMENT |
| MEDIUM | …2-agents/context_providers/redis/redis_conversation.py | 85 | # Create a session to manage conversation state | COMMENT |
| 285 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …c-kernel-migration/processes/fan_out_fan_in_process.py | 42 | CODE | |
| LOW | …c-kernel-migration/processes/fan_out_fan_in_process.py | 43 | CODE | |
| LOW | python/samples/04-hosting/a2a/agent_definitions.py | 9 | CODE | |
| LOW | python/samples/04-hosting/mcp/manual_app.py | 23 | CODE | |
| LOW | python/samples/04-hosting/mcp/session_app.py | 33 | CODE | |
| LOW | python/samples/04-hosting/mcp/agent_app.py | 30 | CODE | |
| LOW | python/samples/04-hosting/mcp/fastmcp_app.py | 27 | CODE | |
| LOW | python/samples/04-hosting/mcp/workflow_app.py | 21 | CODE | |
| LOW | …ng/foundry-hosted-agents/invocations/basic/workflow.py | 10 | CODE | |
| LOW | …osting/foundry-hosted-agents/invocations/basic/main.py | 3 | CODE | |
| LOW | …ing/foundry-hosted-agents/invocations/telegram/main.py | 11 | CODE | |
| LOW | …ents/invocations/telegram/tests/test_infrastructure.py | 3 | CODE | |
| LOW | …-hosted-agents/invocations/telegram/tests/test_main.py | 3 | CODE | |
| LOW | …oundry-hosted-agents/responses/using_deployed_agent.py | 3 | CODE | |
| LOW | …foundry-hosted-agents/responses/foundry_memory/main.py | 18 | CODE | |
| LOW | …oundry-hosted-agents/responses/foundry_toolbox/main.py | 17 | CODE | |
| LOW | …-hosting/foundry-hosted-agents/responses/tools/main.py | 17 | CODE | |
| LOW | …04-hosting/foundry-hosted-agents/responses/mcp/main.py | 17 | CODE | |
| LOW | …/foundry-hosted-agents/responses/observability/main.py | 17 | CODE | |
| LOW | …foundry-hosted-agents/responses/custom_storage/main.py | 25 | CODE | |
| LOW | …/foundry-hosted-agents/responses/monty_codeact/main.py | 18 | CODE | |
| LOW | …g/foundry-hosted-agents/responses/files/file_access.py | 5 | CODE | |
| LOW | …g/foundry-hosted-agents/responses/files/upload_file.py | 14 | CODE | |
| LOW | …-hosting/foundry-hosted-agents/responses/files/main.py | 17 | CODE | |
| LOW | …undry-hosted-agents/responses/azure_search_rag/main.py | 18 | CODE | |
| LOW | …ed-agents/responses/foundry_toolbox_mcp_skills/main.py | 17 | CODE | |
| LOW | …ing/af-hosting/local_responses_workflow/call_server.py | 19 | CODE | |
| LOW | …/04-hosting/af-hosting/local_responses_workflow/app.py | 46 | CODE | |
| LOW | …ting/af-hosting/local_responses_harness/call_server.py | 22 | CODE | |
| LOW | …s/04-hosting/af-hosting/local_responses_harness/app.py | 72 | CODE | |
| LOW | …on/samples/04-hosting/af-hosting/local_telegram/app.py | 43 | CODE | |
| LOW | …es/04-hosting/af-hosting/local_telegram/polling_app.py | 26 | CODE | |
| LOW | …4-hosting/af-hosting/local_responses/call_server_af.py | 29 | CODE | |
| LOW | …s/04-hosting/af-hosting/local_responses/call_server.py | 24 | CODE | |
| LOW | …n/samples/04-hosting/af-hosting/local_responses/app.py | 50 | CODE | |
| LOW | …samples/02-agents/vector_stores/vector_store_models.py | 3 | CODE | |
| LOW | …hon/samples/02-agents/vector_stores/azure_ai_search.py | 11 | CODE | |
| LOW | …ples/02-agents/vector_stores/optimized_data_formats.py | 15 | CODE | |
| LOW | …samples/02-agents/tools/function_tool_with_approval.py | 12 | CODE | |
| LOW | …tools/local_code_interpreter/local_code_interpreter.py | 3 | CODE | |
| LOW | …de_interpreter/local_code_interpreter_manual_wiring.py | 3 | CODE | |
| LOW | …tools/monty_code_interpreter/monty_code_interpreter.py | 3 | CODE | |
| LOW | …de_interpreter/monty_code_interpreter_manual_wiring.py | 3 | CODE | |
| LOW | python/samples/02-agents/security/github_mcp_example.py | 23 | CODE | |
| LOW | …thon/samples/02-agents/devui/agent_weather/__init__.py | 5 | CODE | |
| LOW | …2-agents/devui/agent_content_understanding/__init__.py | 4 | CODE | |
| LOW | …ent_understanding_file_search_azure_openai/__init__.py | 4 | CODE | |
| LOW | …mples/02-agents/devui/workflow_with_agents/__init__.py | 5 | CODE | |
| LOW | …thon/samples/02-agents/devui/agent_foundry/__init__.py | 5 | CODE | |
| LOW | …thon/samples/02-agents/devui/workflow_spam/__init__.py | 5 | CODE | |
| LOW | …les/02-agents/providers/foundry/foundry_local_agent.py | 4 | CODE | |
| LOW | …oviders/foundry/foundry_chat_client_with_hosted_mcp.py | 22 | CODE | |
| LOW | …hon/samples/02-agents/providers/custom/custom_agent.py | 4 | CODE | |
| LOW | …s/02-agents/providers/openai/client_with_hosted_mcp.py | 11 | CODE | |
| LOW | …samples/02-agents/compaction/agent_client_overrides.py | 3 | CODE | |
| LOW | …02-agents/context_providers/code_act/monty_code_act.py | 3 | CODE | |
| LOW | …mples/02-agents/context_providers/code_act/code_act.py | 3 | CODE | |
| LOW | …ervability/configure_otel_providers_with_parameters.py | 20 | CODE | |
| LOW | …mples/02-agents/observability/foundry_agent_tracing.py | 13 | CODE | |
| LOW | …/samples/02-agents/observability/advanced_zero_code.py | 17 | CODE | |
| 989 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | python/README.md | 0 | special soup: clam chowder special salad: cobb salad special drink: chai tea | STRING |
| HIGH | python/samples/02-agents/mcp/agent_as_mcp_server.py | 0 | special soup: clam chowder special salad: cobb salad special drink: chai tea | STRING |
| HIGH | python/packages/core/README.md | 0 | special soup: clam chowder special salad: cobb salad special drink: chai tea | STRING |
| HIGH | …/tests/AgentConformance.IntegrationTests/MenuPlugin.cs | 0 | special soup: clam chowder special salad: cobb salad special drink: chai tea | STRING |
| HIGH | python/samples/04-hosting/mcp/manual_app.py | 0 | start and stop native mcp and model-client resources. | STRING |
| HIGH | python/samples/04-hosting/mcp/session_app.py | 0 | start and stop native mcp and model-client resources. | STRING |
| HIGH | python/samples/04-hosting/mcp/agent_app.py | 0 | start and stop native mcp and model-client resources. | STRING |
| HIGH | …ing/foundry-hosted-agents/invocations/telegram/main.py | 0 | handle sample-owned commands and return whether one matched. | STRING |
| HIGH | …on/samples/04-hosting/af-hosting/local_telegram/app.py | 0 | handle sample-owned commands and return whether one matched. | STRING |
| HIGH | …es/04-hosting/af-hosting/local_telegram/polling_app.py | 0 | handle sample-owned commands and return whether one matched. | STRING |
| HIGH | …/04-hosting/af-hosting/local_responses_workflow/app.py | 0 | run the webhook sample with hypercorn for local development. | STRING |
| HIGH | …s/04-hosting/af-hosting/local_responses_harness/app.py | 0 | run the webhook sample with hypercorn for local development. | STRING |
| HIGH | …n/samples/04-hosting/af-hosting/local_responses/app.py | 0 | run the webhook sample with hypercorn for local development. | STRING |
| HIGH | …on/samples/04-hosting/af-hosting/local_telegram/app.py | 0 | run the webhook sample with hypercorn for local development. | STRING |
| HIGH | …gents/providers/github_copilot/github_copilot_basic.py | 0 | example of non-streaming response (get the complete result at once). | STRING |
| HIGH | …les/02-agents/providers/foundry/foundry_chat_client.py | 0 | example of non-streaming response (get the complete result at once). | STRING |
| HIGH | …les/02-agents/providers/foundry/foundry_local_agent.py | 0 | example of non-streaming response (get the complete result at once). | STRING |
| HIGH | …-agents/providers/foundry/foundry_chat_client_basic.py | 0 | example of non-streaming response (get the complete result at once). | STRING |
| HIGH | …providers/azure/openai_chat_completion_client_basic.py | 0 | example of non-streaming response (get the complete result at once). | STRING |
| HIGH | …mples/02-agents/providers/azure/openai_client_basic.py | 0 | example of non-streaming response (get the complete result at once). | STRING |
| HIGH | …mples/02-agents/providers/anthropic/anthropic_basic.py | 0 | example of non-streaming response (get the complete result at once). | STRING |
| HIGH | …mples/02-agents/providers/ollama/ollama_agent_basic.py | 0 | example of non-streaming response (get the complete result at once). | STRING |
| HIGH | …nts/providers/ollama/ollama_with_openai_chat_client.py | 0 | example of non-streaming response (get the complete result at once). | STRING |
| HIGH | …-agents/providers/copilotstudio/copilotstudio_basic.py | 0 | example of non-streaming response (get the complete result at once). | STRING |
| HIGH | …les/02-agents/providers/mistral/mistral_agent_basic.py | 0 | example of non-streaming response (get the complete result at once). | STRING |
| HIGH | …hon/samples/02-agents/providers/openai/client_basic.py | 0 | example of non-streaming response (get the complete result at once). | STRING |
| HIGH | …gents/providers/openai/chat_completion_client_basic.py | 0 | example of non-streaming response (get the complete result at once). | STRING |
| HIGH | …gents/providers/github_copilot/github_copilot_basic.py | 0 | example of streaming response (get results as they are generated). | STRING |
| HIGH | …les/02-agents/providers/foundry/foundry_chat_client.py | 0 | example of streaming response (get results as they are generated). | STRING |
| HIGH | …les/02-agents/providers/foundry/foundry_local_agent.py | 0 | example of streaming response (get results as they are generated). | STRING |
| HIGH | …-agents/providers/foundry/foundry_chat_client_basic.py | 0 | example of streaming response (get results as they are generated). | STRING |
| HIGH | …providers/azure/openai_chat_completion_client_basic.py | 0 | example of streaming response (get results as they are generated). | STRING |
| HIGH | …mples/02-agents/providers/azure/openai_client_basic.py | 0 | example of streaming response (get results as they are generated). | STRING |
| HIGH | …les/02-agents/providers/anthropic/anthropic_foundry.py | 0 | example of streaming response (get results as they are generated). | STRING |
| HIGH | …es/02-agents/providers/anthropic/anthropic_advanced.py | 0 | example of streaming response (get results as they are generated). | STRING |
| HIGH | …ples/02-agents/providers/anthropic/anthropic_skills.py | 0 | example of streaming response (get results as they are generated). | STRING |
| HIGH | …mples/02-agents/providers/anthropic/anthropic_basic.py | 0 | example of streaming response (get results as they are generated). | STRING |
| HIGH | …mples/02-agents/providers/ollama/ollama_agent_basic.py | 0 | example of streaming response (get results as they are generated). | STRING |
| HIGH | …nts/providers/ollama/ollama_with_openai_chat_client.py | 0 | example of streaming response (get results as they are generated). | STRING |
| HIGH | …-agents/providers/copilotstudio/copilotstudio_basic.py | 0 | example of streaming response (get results as they are generated). | STRING |
| HIGH | …les/02-agents/providers/mistral/mistral_agent_basic.py | 0 | example of streaming response (get results as they are generated). | STRING |
| HIGH | …hon/samples/02-agents/providers/openai/client_basic.py | 0 | example of streaming response (get results as they are generated). | STRING |
| HIGH | …gents/providers/openai/chat_completion_client_basic.py | 0 | example of streaming response (get results as they are generated). | STRING |
| HIGH | …/github_copilot/github_copilot_with_file_operations.py | 0 | permission handler that prompts the user for approval. | STRING |
| HIGH | …gents/providers/anthropic/anthropic_claude_with_mcp.py | 0 | permission handler that prompts the user for approval. | STRING |
| HIGH | …nthropic/anthropic_claude_with_multiple_permissions.py | 0 | permission handler that prompts the user for approval. | STRING |
| HIGH | …nts/providers/anthropic/anthropic_claude_with_shell.py | 0 | permission handler that prompts the user for approval. | STRING |
| HIGH | …ers/foundry/foundry_chat_client_with_function_tools.py | 0 | example showing tools defined when creating the agent. | STRING |
| HIGH | …s/providers/azure/openai_client_with_function_tools.py | 0 | example showing tools defined when creating the agent. | STRING |
| HIGH | …e/openai_chat_completion_client_with_function_tools.py | 0 | example showing tools defined when creating the agent. | STRING |
| HIGH | …es/02-agents/providers/openai/client_with_local_mcp.py | 0 | example showing tools defined when creating the agent. | STRING |
| HIGH | …-agents/providers/openai/client_with_function_tools.py | 0 | example showing tools defined when creating the agent. | STRING |
| HIGH | …viders/openai/chat_completion_client_with_local_mcp.py | 0 | example showing tools defined when creating the agent. | STRING |
| HIGH | …s/openai/chat_completion_client_with_function_tools.py | 0 | example showing tools defined when creating the agent. | STRING |
| HIGH | …ers/foundry/foundry_chat_client_with_function_tools.py | 0 | example showing both agent-level tools and run-method tools. | STRING |
| HIGH | …s/providers/azure/openai_client_with_function_tools.py | 0 | example showing both agent-level tools and run-method tools. | STRING |
| HIGH | …e/openai_chat_completion_client_with_function_tools.py | 0 | example showing both agent-level tools and run-method tools. | STRING |
| HIGH | …-agents/providers/openai/client_with_function_tools.py | 0 | example showing both agent-level tools and run-method tools. | STRING |
| HIGH | …s/openai/chat_completion_client_with_function_tools.py | 0 | example showing both agent-level tools and run-method tools. | STRING |
| HIGH | …/providers/foundry/foundry_chat_client_with_session.py | 0 | example showing automatic session creation (service-managed session). | STRING |
| 118 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | python/samples/04-hosting/a2a/a2a_server.py | 119 | except Exception: | CODE |
| MEDIUM⚡ | python/samples/04-hosting/a2a/a2a_server.py | 157 | print("Error: FOUNDRY_PROJECT_ENDPOINT environment variable is not set.") | CODE |
| MEDIUM⚡ | python/samples/04-hosting/a2a/a2a_server.py | 160 | print("Error: FOUNDRY_MODEL environment variable is not set.") | CODE |
| LOW | python/samples/04-hosting/a2a/agent_framework_to_a2a.py | 95 | except Exception: | CODE |
| LOW | …-hosting/foundry-hosted-agents/responses/tools/main.py | 64 | except Exception as e: | CODE |
| LOW | …mples/02-agents/devui/workflow_with_agents/workflow.py | 50 | except Exception: | CODE |
| LOW | …mples/02-agents/devui/workflow_with_agents/workflow.py | 62 | except Exception: | CODE |
| LOW | …/02-agents/providers/anthropic/anthropic_with_shell.py | 48 | except Exception as e: | CODE |
| LOW | …/02-agents/providers/openai/client_image_generation.py | 42 | except Exception: | CODE |
| LOW | …/02-agents/providers/openai/client_image_generation.py | 47 | except Exception: | CODE |
| LOW | …/providers/openai/client_streaming_image_generation.py | 37 | except Exception as e: | CODE |
| LOW⚡ | …02-agents/context_providers/azure_ai_foundry_memory.py | 69 | except Exception as e: | CODE |
| LOW | …02-agents/context_providers/azure_ai_foundry_memory.py | 133 | except Exception as e: | CODE |
| MEDIUM | …02-agents/context_providers/azure_ai_foundry_memory.py | 134 | print(f"An error occurred: {e}") | CODE |
| LOW | …s/azure_content_understanding/04_invoice_processing.py | 162 | except Exception: | CODE |
| LOW | …thon/samples/02-agents/harness/console/agent_runner.py | 212 | except Exception as ex: | CODE |
| LOW | python/samples/02-agents/harness/console/app.py | 484 | except Exception: | CODE |
| LOW | …les/02-agents/harness/console/components/text_input.py | 65 | except Exception: | CODE |
| LOW | …les/02-agents/harness/console/components/text_input.py | 77 | except Exception: | CODE |
| LOW | …/02-agents/harness/console/commands/session_handler.py | 63 | except Exception as ex: | CODE |
| LOW | …/02-agents/harness/console/commands/session_handler.py | 91 | except Exception as ex: | CODE |
| LOW | …ples/02-agents/conversations/redis_history_provider.py | 276 | except Exception as e: | CODE |
| MEDIUM | …ples/02-agents/conversations/redis_history_provider.py | 277 | print(f"Error running examples: {e}") | CODE |
| LOW | …/02-agents/declarative/azure_openai_responses_agent.py | 39 | except Exception: | CODE |
| LOW | python/samples/02-agents/declarative/openai_agent.py | 31 | except Exception: | CODE |
| LOW | …workflows/human-in-the-loop/concurrent_request_info.py | 80 | except Exception: | CODE |
| LOW | …ples/03-workflows/agents/magentic_workflow_as_agent.py | 114 | except Exception as e: | CODE |
| LOW | …es/03-workflows/agents/group_chat_workflow_as_agent.py | 87 | except Exception as e: | CODE |
| LOW | …rkflows/orchestrations/concurrent_custom_aggregator.py | 79 | except Exception as e: | CODE |
| LOW | …3-workflows/declarative/agent_to_function_tool/main.py | 265 | except Exception as e: | CODE |
| LOW | …on/samples/03-workflows/control-flow/edge_condition.py | 97 | except Exception: | CODE |
| LOW⚡ | …es/05-end-to-end/purview_agent/sample_purview_agent.py | 292 | except Exception as ex: # pragma: no cover - demo resilience | CODE |
| LOW⚡ | …es/05-end-to-end/purview_agent/sample_purview_agent.py | 297 | except Exception as ex: # pragma: no cover - demo resilience | CODE |
| LOW⚡ | …es/05-end-to-end/purview_agent/sample_purview_agent.py | 302 | except Exception as ex: # pragma: no cover - demo resilience | CODE |
| LOW⚡ | …es/05-end-to-end/purview_agent/sample_purview_agent.py | 307 | except Exception as ex: # pragma: no cover - demo resilience | CODE |
| LOW | …es/05-end-to-end/workflow_evaluation/run_evaluation.py | 96 | except Exception as e: | CODE |
| LOW | …s/05-end-to-end/workflow_evaluation/create_workflow.py | 128 | except Exception: | CODE |
| LOW⚡ | …s/05-end-to-end/workflow_evaluation/create_workflow.py | 175 | except Exception as e: | CODE |
| MEDIUM⚡ | …s/05-end-to-end/workflow_evaluation/create_workflow.py | 176 | print(f"Error during workflow execution: {e}") | CODE |
| LOW | …05-end-to-end/ag_ui_workflow_handoff/backend/server.py | 353 | except Exception as e: | CODE |
| LOW | …d-to-end/evaluation/self_reflection/self_reflection.py | 332 | except Exception as e: | CODE |
| LOW | …d-to-end/evaluation/self_reflection/self_reflection.py | 463 | except Exception as e: | CODE |
| LOW | …to-end/evaluation/red_teaming/red_team_agent_sample.py | 94 | except Exception as e: | STRING |
| MEDIUM | …to-end/evaluation/red_teaming/red_team_agent_sample.py | 95 | print(f"Error calling Azure OpenAI: {e!s}") | STRING |
| LOW | python/samples/05-end-to-end/chatkit-integration/app.py | 240 | except Exception as e: | CODE |
| LOW | python/samples/05-end-to-end/chatkit-integration/app.py | 330 | except Exception as e: | CODE |
| LOW | python/samples/05-end-to-end/chatkit-integration/app.py | 450 | except Exception as e: | CODE |
| LOW | python/samples/05-end-to-end/chatkit-integration/app.py | 578 | except Exception as e: | CODE |
| LOW | python/samples/05-end-to-end/chatkit-integration/app.py | 624 | except Exception as e: | CODE |
| LOW | python/samples/05-end-to-end/chatkit-integration/app.py | 655 | except Exception as e: | CODE |
| LOW | …/sample_validation/create_dynamic_workflow_executor.py | 218 | except Exception as ex: | CODE |
| LOW | …/sample_validation/create_dynamic_workflow_executor.py | 229 | except Exception as restart_ex: | CODE |
| LOW | …/sample_validation/create_dynamic_workflow_executor.py | 296 | except Exception as ex: # pragma: no cover - defensive; never fail validation over caching | CODE |
| LOW | python/scripts/sample_validation/playbook.py | 143 | except Exception as ex: | CODE |
| LOW | python/scripts/sample_validation/playbook.py | 317 | except Exception: # pragma: no cover - defensive | CODE |
| LOW | python/scripts/sample_validation/discovery.py | 46 | except Exception: | CODE |
| LOW | python/scripts/sample_validation/discovery.py | 121 | except Exception as e: | CODE |
| LOW | …validation/run_dynamic_validation_workflow_executor.py | 24 | except Exception: | CODE |
| LOW | …/scripts/dependencies/_dependency_bounds_upper_impl.py | 1273 | except Exception as exc: | CODE |
| LOW | …/scripts/dependencies/_dependency_bounds_lower_impl.py | 1048 | except Exception as exc: | CODE |
| 424 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …les/autogen-migration/single_agent/04_agent_as_tool.py | 56 | CODE | |
| LOW | …es/autogen-migration/orchestrations/04_magentic_one.py | 73 | CODE | |
| LOW | …n/samples/autogen-migration/orchestrations/03_swarm.py | 105 | CODE | |
| LOW | …-migration/orchestrations/01_round_robin_group_chat.py | 102 | CODE | |
| LOW | …ing/foundry-hosted-agents/invocations/telegram/main.py | 219 | CODE | |
| LOW | …on/samples/04-hosting/af-hosting/local_telegram/app.py | 149 | CODE | |
| LOW | …es/04-hosting/af-hosting/local_telegram/polling_app.py | 121 | CODE | |
| LOW | python/samples/02-agents/middleware/chat_middleware.py | 108 | CODE | |
| LOW | …samples/02-agents/tools/function_tool_with_approval.py | 90 | CODE | |
| LOW | python/samples/02-agents/devui/agent_weather/agent.py | 44 | CODE | |
| LOW | …oviders/foundry/foundry_chat_client_with_hosted_mcp.py | 77 | CODE | |
| LOW | …samples/02-agents/providers/openai/client_reasoning.py | 36 | CODE | |
| LOW | …samples/02-agents/providers/openai/client_reasoning.py | 56 | CODE | |
| LOW | …/02-agents/providers/openai/client_with_local_shell.py | 33 | CODE | |
| LOW | …/02-agents/providers/openai/client_image_generation.py | 59 | CODE | |
| LOW | …s/02-agents/providers/openai/client_with_hosted_mcp.py | 76 | CODE | |
| LOW | …/providers/openai/client_streaming_image_generation.py | 41 | CODE | |
| LOW | …gents/providers/openai/client_with_code_interpreter.py | 23 | CODE | |
| LOW | …amples/02-agents/providers/openai/client_with_shell.py | 26 | CODE | |
| LOW | …on/samples/02-agents/compaction/compaction_provider.py | 72 | CODE | |
| LOW | …02-agents/context_providers/simple_context_provider.py | 48 | CODE | |
| LOW | …02-agents/context_providers/code_act/monty_code_act.py | 61 | CODE | |
| LOW | …mples/02-agents/context_providers/code_act/code_act.py | 48 | CODE | |
| LOW | …d_your_own_claw/claw_step04_production_ready/hosted.py | 105 | CODE | |
| LOW | …d_your_own_claw/claw_step04_production_ready/hosted.py | 158 | CODE | |
| LOW | python/samples/02-agents/harness/console/formatters.py | 174 | CODE | |
| LOW | python/samples/02-agents/harness/console/app.py | 436 | CODE | |
| LOW | …client/require_per_service_call_history_persistence.py | 68 | CODE | |
| LOW | …workflows/human-in-the-loop/sequential_request_info.py | 45 | CODE | |
| LOW | …les/03-workflows/human-in-the-loop/agents_with_HITL.py | 129 | CODE | |
| LOW | …workflows/human-in-the-loop/group_chat_request_info.py | 46 | CODE | |
| LOW | …ws/human-in-the-loop/guessing_game_with_human_input.py | 159 | CODE | |
| LOW | …workflows/human-in-the-loop/concurrent_request_info.py | 48 | CODE | |
| LOW | …workflows/human-in-the-loop/concurrent_request_info.py | 102 | CODE | |
| LOW | …mples/03-workflows/parallelism/fan_out_fan_in_edges.py | 112 | CODE | |
| LOW | …kflows/checkpoint/checkpoint_with_human_in_the_loop.py | 227 | CODE | |
| LOW | …amples/03-workflows/composition/sub_workflow_kwargs.py | 79 | CODE | |
| LOW | …orkflows/composition/sub_workflow_parallel_requests.py | 96 | CODE | |
| LOW | …orkflows/composition/sub_workflow_parallel_requests.py | 289 | CODE | |
| LOW | …orkflows/composition/sub_workflow_parallel_requests.py | 101 | CODE | |
| LOW | …3-workflows/orchestrations/group_chat_agent_manager.py | 44 | CODE | |
| LOW | …03-workflows/orchestrations/magentic_custom_prompts.py | 133 | CODE | |
| LOW | …lows/orchestrations/group_chat_philosophical_debate.py | 59 | CODE | |
| LOW | …s/orchestrations/handoff_with_code_interpreter_file.py | 46 | CODE | |
| LOW | …ations/handoff_with_tool_approval_checkpoint_resume.py | 158 | CODE | |
| LOW | …workflows/orchestrations/magentic_human_plan_review.py | 49 | CODE | |
| LOW | …workflows/orchestrations/group_chat_simple_selector.py | 41 | CODE | |
| LOW | …/samples/03-workflows/orchestrations/handoff_simple.py | 116 | CODE | |
| LOW | python/samples/03-workflows/orchestrations/magentic.py | 55 | CODE | |
| LOW | …ples/03-workflows/orchestrations/handoff_autonomous.py | 86 | CODE | |
| LOW | …3-workflows/state-management/workflow_kwargs_global.py | 94 | CODE | |
| LOW | …orkflows/state-management/workflow_kwargs_per_agent.py | 92 | CODE | |
| LOW | …ples/03-workflows/declarative/customer_support/main.py | 168 | CODE | |
| LOW | …s/05-end-to-end/workflow_evaluation/create_workflow.py | 133 | CODE | |
| LOW | …05-end-to-end/ag_ui_workflow_handoff/backend/server.py | 256 | CODE | |
| LOW | …d-to-end/evaluation/self_reflection/self_reflection.py | 216 | CODE | |
| LOW | python/samples/05-end-to-end/chatkit-integration/app.py | 262 | CODE | |
| LOW | python/samples/05-end-to-end/chatkit-integration/app.py | 341 | CODE | |
| LOW | python/samples/05-end-to-end/chatkit-integration/app.py | 453 | CODE | |
| LOW | python/samples/05-end-to-end/chatkit-integration/app.py | 390 | CODE | |
| 509 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 | 1809 | For more information, see the [announcement blog post](https://devblogs.microsoft.com/foundry/introducing-microsoft-agen | CODE |
| MEDIUM | python/samples/AGENTS.md | 18 | │ ├── orchestrations/ # Multi-agent orchestration patterns | CODE |
| MEDIUM | …es/semantic-kernel-migration/orchestrations/handoff.py | 53 | # Semantic Kernel orchestration path | COMMENT |
| MEDIUM | …es/semantic-kernel-migration/orchestrations/handoff.py | 186 | # Agent Framework orchestration path | COMMENT |
| MEDIUM | …semantic-kernel-migration/orchestrations/sequential.py | 39 | # Semantic Kernel orchestration path | COMMENT |
| MEDIUM | …semantic-kernel-migration/orchestrations/sequential.py | 77 | # Agent Framework orchestration path | COMMENT |
| MEDIUM | …semantic-kernel-migration/orchestrations/group_chat.py | 56 | # Semantic Kernel orchestration path | COMMENT |
| MEDIUM | …semantic-kernel-migration/orchestrations/group_chat.py | 226 | # Agent Framework orchestration path | COMMENT |
| MEDIUM | …ic-kernel-migration/orchestrations/concurrent_basic.py | 38 | # Semantic Kernel orchestration path | COMMENT |
| MEDIUM | …ic-kernel-migration/orchestrations/concurrent_basic.py | 90 | # Agent Framework orchestration path | COMMENT |
| MEDIUM | …s/semantic-kernel-migration/orchestrations/magentic.py | 49 | # Semantic Kernel orchestration path | COMMENT |
| MEDIUM | …s/semantic-kernel-migration/orchestrations/magentic.py | 133 | # Agent Framework orchestration path | COMMENT |
| MEDIUM | …s/semantic-kernel-migration/orchestrations/magentic.py | 159 | # Create a manager agent for orchestration | COMMENT |
| MEDIUM | …dry-hosted-agents/responses/azure_search_rag/README.md | 11 | ### RAG via Azure AI Search | COMMENT |
| MEDIUM | …dry-hosted-agents/responses/azure_search_rag/README.md | 176 | ## How RAG works in this sample | COMMENT |
| MEDIUM | …s/function_tool_from_dict_with_dependency_injection.py | 54 | # Create the FunctionTool using dependency injection | COMMENT |
| MEDIUM | …xt_providers/azure_ai_search/search_context_agentic.py | 24 | - See: https://techcommunity.microsoft.com/blog/azure-ai-foundry-blog/foundry-iq-boost-response-relevance-by-36-with-age | STRING |
| MEDIUM | …xt_providers/azure_ai_search/search_context_agentic.py | 47 | # Sample queries to demonstrate agentic RAG | COMMENT |
| MEDIUM | …xt_providers/azure_ai_search/search_context_agentic.py | 47 | # Sample queries to demonstrate agentic RAG | COMMENT |
| MEDIUM | …xt_providers/azure_ai_search/search_context_agentic.py | 71 | # Create Azure AI Search context provider with agentic mode (recommended for accuracy) | COMMENT |
| MEDIUM | …t_providers/azure_ai_search/search_context_semantic.py | 39 | # Sample queries to demonstrate RAG | COMMENT |
| MEDIUM | …/02-agents/context_providers/azure_ai_search/README.md | 11 | | [`search_context_agentic.py`](search_context_agentic.py) | **Agentic mode** (recommended for most scenarios): Uses Kno | CODE |
| MEDIUM | …/02-agents/context_providers/azure_ai_search/README.md | 177 | # Create search provider with agentic mode | COMMENT |
| MEDIUM | …/02-agents/context_providers/azure_ai_search/README.md | 182 | mode="agentic", # Enable agentic retrieval | CODE |
| MEDIUM | …/02-agents/context_providers/azure_ai_search/README.md | 284 | - [Agentic Retrieval in Azure AI Search](https://learn.microsoft.com/azure/search/agentic-retrieval-overview) | CODE |
| MEDIUM | …roviders/azure_content_understanding/01_document_qa.py | 49 | analyzer_id="prebuilt-documentSearch", # RAG-optimized document analyzer | CODE |
| MEDIUM | …s/azure_content_understanding/04_invoice_processing.py | 83 | # Default analyzer is prebuilt-documentSearch (RAG-optimized). | COMMENT |
| MEDIUM | python/samples/02-agents/harness/console/README.md | 27 | ├── agent_runner.py # HarnessAgentRunner (streaming orchestration) | CODE |
| MEDIUM | python/samples/03-workflows/README.md | 121 | ### orchestration | COMMENT |
| MEDIUM | …ples/03-workflows/agents/magentic_workflow_as_agent.py | 61 | # Create a manager agent for orchestration | COMMENT |
| MEDIUM | …mples/03-workflows/agents/handoff_workflow_as_agent.py | 172 | # it receives all user input first and orchestrates handoffs to specialists | COMMENT |
| MEDIUM | …/samples/03-workflows/orchestrations/handoff_simple.py | 218 | # it receives all user input first and orchestrates handoffs to specialists | COMMENT |
| MEDIUM | python/samples/03-workflows/orchestrations/magentic.py | 82 | # Create a manager agent for orchestration | COMMENT |
| MEDIUM | …les/03-workflows/orchestrations/magentic_checkpoint.py | 61 | # Two vanilla ChatAgents act as participants in the orchestration. They do not need | COMMENT |
| MEDIUM | …les/03-workflows/orchestrations/magentic_checkpoint.py | 85 | # Create a manager agent for orchestration | COMMENT |
| MEDIUM | …les/03-workflows/orchestrations/magentic_checkpoint.py | 180 | # Final sanity check: display the assistant's answer as proof the orchestration reached | COMMENT |
| MEDIUM | …n/samples/03-workflows/functional/parallel_pipeline.py | 39 | # @workflow defines the orchestration logic. Build the definition to get a | COMMENT |
| MEDIUM | …es/05-end-to-end/purview_agent/sample_purview_agent.py | 48 | # Sequential prompts to demonstrate good -> block -> good orchestration. | COMMENT |
| MEDIUM | …05-end-to-end/ag_ui_workflow_handoff/backend/server.py | 192 | # Explicit handoff topology (instead of default mesh) so routing is enforced in orchestration, | COMMENT |
| MEDIUM | …samples/05-end-to-end/evaluation/red_teaming/README.md | 95 | # After: Specific safety guardrails | COMMENT |
| MEDIUM | python/packages/core/AGENTS.md | 23 | ├── _workflows/ # Workflow orchestration (sequential, concurrent, handoff, etc.) | CODE |
| MEDIUM | …on/packages/core/tests/core/test_serializable_mixin.py | 194 | # Deserialize with dependency injection | COMMENT |
| MEDIUM | …ore/tests/workflow/test_workflow_agent_intermediate.py | 317 | # Construct typed orchestration-internal events directly to assert they get | COMMENT |
| MEDIUM | python/packages/core/agent_framework/_evaluation.py | 1596 | # region Public orchestration functions | COMMENT |
| MEDIUM | python/packages/core/agent_framework/_tools.py | 2295 | # must abort the run (enforcement layers, guardrails) raises it instead of | COMMENT |
| MEDIUM | …hon/packages/core/agent_framework/_workflows/_const.py | 16 | # Used by all orchestration patterns (Sequential, Concurrent, GroupChat, Handoff, Magentic) | COMMENT |
| MEDIUM | …on/packages/core/agent_framework/_workflows/_events.py | 34 | FRAMEWORK = "FRAMEWORK" # Framework-owned orchestration, regardless of module location | CODE |
| MEDIUM | …on/packages/core/agent_framework/_workflows/_events.py | 126 | # Includes both framework lifecycle types and well-known orchestration types. | COMMENT |
| MEDIUM | …on/packages/core/agent_framework/_workflows/_events.py | 158 | # orchestration-internal events (``group_chat``, ``handoff_sent``, | COMMENT |
| MEDIUM | …hon/packages/lab/lightning/samples/train_tau2_agent.py | 75 | # - Agent filtering (training only specific agents in multi-agent setup) | COMMENT |
| MEDIUM | …hon/packages/lab/lightning/samples/train_tau2_agent.py | 120 | # Run the multi-agent conversation | COMMENT |
| MEDIUM | …n/packages/lab/tau2/agent_framework_lab_tau2/runner.py | 299 | # Each executor wraps an agent or function for workflow orchestration | COMMENT |
| MEDIUM | …n/packages/lab/tau2/agent_framework_lab_tau2/runner.py | 430 | # solo_mode=False: indicates multi-agent conversation (assistant + user simulator) | COMMENT |
| MEDIUM | …hon/packages/ag-ui/agent_framework_ag_ui/_agent_run.py | 149 | # Keys that are internal to AG-UI orchestration and should not be passed to chat clients | COMMENT |
| MEDIUM | …hon/packages/ag-ui/agent_framework_ag_ui/_agent_run.py | 3259 | # Inject metadata for AG-UI orchestration (Feature #2: Azure-safe truncation) | COMMENT |
| MEDIUM | …hon/packages/ag-ui/agent_framework_ag_ui/_agent_run.py | 3285 | # These are used internally for orchestration and should not be sent to the LLM provider | COMMENT |
| MEDIUM | …/packages/ag-ui/agent_framework_ag_ui/_workflow_run.py | 1559 | # Fall back to custom events for diagnostics, orchestration events, and custom workflow events. | COMMENT |
| MEDIUM | python/packages/mongodb/samples/mongodb_agent_rag.py | 106 | # and cannot write to it, which is the usual shape for RAG. | COMMENT |
| 72 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | python/README.md | 224 | # Step 1: Writer creates initial slogan | STRING |
| LOW⚡ | python/README.md | 228 | # Step 2: Reviewer provides feedback | STRING |
| LOW⚡ | python/README.md | 233 | # Step 3: Writer refines based on feedback | STRING |
| LOW | …/foundry-hosted-agents/invocations/break_glass/main.py | 21 | # WARNING: This is lost on restart. Use durable storage in production. | COMMENT |
| LOW | …ents/tools/function_tool_with_approval_and_sessions.py | 43 | # Step 1: Agent requests to call the tool | COMMENT |
| LOW | …ents/tools/function_tool_with_approval_and_sessions.py | 61 | # Step 2: Send approval response | COMMENT |
| LOW⚡ | …ples/02-agents/observability/workflow_observability.py | 77 | # Step 1: Create the executors. | COMMENT |
| LOW⚡ | …ples/02-agents/observability/workflow_observability.py | 81 | # Step 2: Build the workflow with the defined edges. | COMMENT |
| LOW⚡ | …ples/02-agents/observability/workflow_observability.py | 86 | # Step 3: Run the workflow with an initial message. | COMMENT |
| LOW⚡ | …es/02-agents/skills/script_approval/script_approval.py | 90 | # Step 1: Send the user request — the agent will try to call the script | COMMENT |
| LOW⚡ | …es/02-agents/skills/script_approval/script_approval.py | 95 | # Step 2: Handle approval requests (with sessions, context is | COMMENT |
| LOW | …-workflows/parallelism/map_reduce_and_visualization.py | 260 | # Step 1: Create executor instances. | COMMENT |
| LOW | …-workflows/parallelism/map_reduce_and_visualization.py | 278 | # Step 2: Build the workflow graph using fan out and fan in edges. | COMMENT |
| LOW⚡ | …-workflows/parallelism/map_reduce_and_visualization.py | 306 | # Step 3: Open the text file and read its content. | COMMENT |
| LOW⚡ | …-workflows/parallelism/map_reduce_and_visualization.py | 310 | # Step 4: Run the workflow with the raw text as input. | COMMENT |
| LOW⚡ | …amples/03-workflows/composition/sub_workflow_basics.py | 152 | # Step 1: Create the parent workflow | COMMENT |
| LOW⚡ | …amples/03-workflows/composition/sub_workflow_basics.py | 162 | # Step 2: Test data - various text strings | COMMENT |
| LOW⚡ | …amples/03-workflows/composition/sub_workflow_basics.py | 175 | # Step 3: Run the workflow | COMMENT |
| LOW⚡ | …amples/03-workflows/composition/sub_workflow_basics.py | 178 | # Step 4: Display results | COMMENT |
| LOW | …amples/03-workflows/composition/sub_workflow_basics.py | 192 | # Step 6: Display summary | COMMENT |
| LOW | python/samples/03-workflows/control-flow/simple_loop.py | 139 | # Step 1: Build the workflow with the defined edges. | COMMENT |
| LOW | python/samples/03-workflows/control-flow/simple_loop.py | 155 | # Step 2: Run the workflow with concise streaming output. | COMMENT |
| LOW⚡ | …ples/03-workflows/control-flow/sequential_executors.py | 63 | # Step 1: Build the workflow graph. | COMMENT |
| LOW⚡ | …ples/03-workflows/control-flow/sequential_executors.py | 72 | # Step 2: Stream events for a single input. | COMMENT |
| LOW | …ples/03-workflows/control-flow/sequential_streaming.py | 25 | # Step 1: Define methods using the executor decorator. | COMMENT |
| LOW⚡ | …ples/03-workflows/control-flow/sequential_streaming.py | 56 | # Step 1: Build the workflow with the defined edges. | COMMENT |
| LOW⚡ | …ples/03-workflows/control-flow/sequential_streaming.py | 60 | # Step 2: Run the workflow and stream events in real time. | COMMENT |
| LOW⚡ | python/packages/core/README.md | 213 | # Step 1: Writer creates initial slogan | STRING |
| LOW⚡ | python/packages/core/README.md | 217 | # Step 2: Reviewer provides feedback | STRING |
| LOW⚡ | python/packages/core/README.md | 222 | # Step 3: Writer refines based on feedback | STRING |
| LOW⚡ | python/packages/core/tests/workflow/test_workflow.py | 1211 | # 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 | 1216 | # Step 2: drop stream A; GC invalidates the weakref and schedules | COMMENT |
| LOW⚡ | python/packages/core/tests/workflow/test_workflow.py | 1222 | # Step 3: synchronously start stream B *before* yielding to the loop, | COMMENT |
| LOW⚡ | python/packages/core/tests/workflow/test_workflow.py | 1228 | # Step 4: yield enough times for stream A's scheduled aclose to drive | COMMENT |
| LOW⚡ | python/packages/core/tests/workflow/test_workflow.py | 1300 | # 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 | 1306 | # Step 2: drop stream A; the weakref dies and async-gen close is scheduled | COMMENT |
| LOW⚡ | python/packages/core/tests/workflow/test_workflow.py | 1312 | # Step 3: synchronously start stream B with its own storage and drive it to | COMMENT |
| LOW⚡ | python/packages/core/tests/workflow/test_workflow.py | 1319 | # Step 4: yield enough for stream A's scheduled aclose to drive its body | COMMENT |
| LOW⚡ | …re/tests/workflow/test_request_info_event_rehydrate.py | 263 | # Step 3: Verify the pending request info event was properly serialized | COMMENT |
| LOW⚡ | …re/tests/workflow/test_request_info_event_rehydrate.py | 270 | # Step 4: Create a fresh workflow and restore from checkpoint | COMMENT |
| LOW⚡ | …re/tests/workflow/test_request_info_event_rehydrate.py | 274 | # Step 5: Resume from checkpoint and verify the request can be continued | COMMENT |
| LOW⚡ | …re/tests/workflow/test_request_info_event_rehydrate.py | 306 | # Step 7: Verify the executor state was properly restored and response was processed | COMMENT |
| LOW⚡ | …re/tests/workflow/test_request_info_event_rehydrate.py | 343 | # Step 1: Run workflow until it emits a request_info event | COMMENT |
| LOW⚡ | …re/tests/workflow/test_request_info_event_rehydrate.py | 352 | # Step 2: Find the checkpoint with the pending request | COMMENT |
| LOW⚡ | …re/tests/workflow/test_request_info_event_rehydrate.py | 362 | # Step 3: Create a fresh workflow and restore from checkpoint WITH responses in one call | COMMENT |
| LOW⚡ | …re/tests/workflow/test_request_info_event_rehydrate.py | 375 | # Step 4: Verify the request_info event was NOT re-emitted to the caller | COMMENT |
| LOW⚡ | …re/tests/workflow/test_request_info_event_rehydrate.py | 384 | # Step 5: Verify the response was processed by checking executor state | COMMENT |
| LOW⚡ | …re/tests/workflow/test_request_info_event_rehydrate.py | 454 | # Step 4: Verify the approval request_info was NOT re-emitted | COMMENT |
| LOW⚡ | …re/tests/workflow/test_request_info_event_rehydrate.py | 462 | # Step 5: Verify the calculation request_info WAS re-emitted (no response provided) | COMMENT |
| LOW⚡ | …re/tests/workflow/test_request_info_event_rehydrate.py | 470 | # Step 6: Verify workflow is in IDLE_WITH_PENDING_REQUESTS state (calc still pending) | COMMENT |
| LOW | …re/tests/workflow/test_request_info_event_rehydrate.py | 238 | # Step 1: Run workflow to completion to ensure checkpoints are created | COMMENT |
| LOW | …re/tests/workflow/test_request_info_event_rehydrate.py | 250 | # Step 2: List checkpoints to find the one with our pending request | COMMENT |
| LOW | …re/tests/workflow/test_request_info_event_rehydrate.py | 293 | # Step 6: Provide response to the restored request and complete the workflow | COMMENT |
| LOW | …re/tests/workflow/test_request_info_event_rehydrate.py | 416 | # Step 1: Run workflow until it emits multiple request_info events | COMMENT |
| LOW | …re/tests/workflow/test_request_info_event_rehydrate.py | 430 | # Step 2: Find the checkpoint with pending requests | COMMENT |
| LOW | …re/tests/workflow/test_request_info_event_rehydrate.py | 442 | # Step 3: Restore from checkpoint with ONLY the approval response (not the calculation) | COMMENT |
| LOW⚡ | …thon/packages/core/tests/workflow/test_sub_workflow.py | 726 | # Step 1: run until the first request. | COMMENT |
| LOW⚡ | …thon/packages/core/tests/workflow/test_sub_workflow.py | 734 | # Step 2: answer the first request so the sub-workflow accumulates internal state | COMMENT |
| LOW | …thon/packages/core/tests/workflow/test_sub_workflow.py | 679 | # Step 1: Run workflow until first request | COMMENT |
| LOW | …thon/packages/core/tests/workflow/test_sub_workflow.py | 693 | # Step 2: Resume workflow from checkpoint | COMMENT |
| 137 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | …nts/responses/foundry_memory/provision_memory_store.py | 65 | except ResourceNotFoundError: | CODE |
| HIGH | …foundry-hosted-agents/responses/custom_storage/main.py | 137 | except CosmosResourceNotFoundError: | CODE |
| HIGH | …/providers/foundry/foundry_chat_client_with_toolbox.py | 60 | except ResourceNotFoundError: | CODE |
| HIGH | …thon/samples/02-agents/harness/console/agent_runner.py | 348 | except (AttributeError, TypeError): | CODE |
| HIGH | python/samples/02-agents/harness/console/app.py | 272 | except NoMatches: | CODE |
| HIGH | python/samples/02-agents/harness/console/app.py | 519 | except NoMatches: | CODE |
| HIGH | python/samples/02-agents/harness/console/app.py | 525 | except NoMatches: | CODE |
| HIGH | python/samples/02-agents/harness/console/app.py | 452 | except NoMatches: | CODE |
| HIGH | python/samples/02-agents/harness/console/app.py | 484 | except Exception: | CODE |
| HIGH | python/samples/02-agents/harness/console/app.py | 465 | except NoMatches: | CODE |
| HIGH | …les/02-agents/harness/console/components/text_input.py | 65 | except Exception: | CODE |
| HIGH | …les/02-agents/harness/console/components/text_input.py | 77 | except Exception: | CODE |
| HIGH | …02-agents/harness/console/components/list_selection.py | 183 | except NoMatches: | CODE |
| HIGH | …02-agents/harness/console/components/list_selection.py | 206 | except NoMatches: | CODE |
| HIGH | …02-agents/harness/console/components/list_selection.py | 218 | except NoMatches: | CODE |
| HIGH | …02-agents/harness/console/components/list_selection.py | 259 | except NoMatches: | CODE |
| HIGH | …02-agents/harness/console/components/list_selection.py | 268 | except NoMatches: | CODE |
| HIGH | …s/02-agents/harness/console/observers/tool_approval.py | 148 | except (AttributeError, TypeError): | CODE |
| HIGH | …ive/invoke_foundry_toolbox_mcp/toolbox_provisioning.py | 39 | except ResourceNotFoundError: | CODE |
| HIGH | python/scripts/sample_validation/playbook.py | 236 | except OSError: | CODE |
| HIGH | python/scripts/sample_validation/playbook.py | 327 | except OSError: # pragma: no cover - defensive | CODE |
| HIGH | python/scripts/sample_validation/playbook.py | 317 | except Exception: # pragma: no cover - defensive | CODE |
| HIGH | …n/packages/foundry_hosting/tests/test_responses_int.py | 1092 | except httpx.HTTPError: | CODE |
| HIGH | …packages/tools/agent_framework_tools/shell/_session.py | 434 | except (ProcessLookupError, PermissionError, OSError): | CODE |
| HIGH | …packages/tools/agent_framework_tools/shell/_session.py | 171 | except Exception: # nosec B110 - best-effort shutdown; falls through to forced kill in finally | CODE |
| HIGH | …packages/tools/agent_framework_tools/shell/_session.py | 182 | except (asyncio.CancelledError, Exception): | CODE |
| HIGH | …packages/tools/agent_framework_tools/shell/_session.py | 261 | except asyncio.TimeoutError: | CODE |
| HIGH | …packages/tools/agent_framework_tools/shell/_session.py | 165 | except (ConnectionResetError, BrokenPipeError): | CODE |
| HIGH | …packages/tools/agent_framework_tools/shell/_session.py | 249 | except asyncio.TimeoutError: | CODE |
| HIGH | …ackages/tools/agent_framework_tools/shell/_killtree.py | 131 | except (ProcessLookupError, PermissionError): | CODE |
| HIGH | …ackages/tools/agent_framework_tools/shell/_killtree.py | 120 | except (FileNotFoundError, OSError): | CODE |
| HIGH | python/packages/core/tests/core/test_middleware.py | 1780 | except ValueError: | CODE |
| HIGH | python/packages/core/tests/workflow/test_workflow.py | 552 | except Exception: | CODE |
| HIGH | python/packages/core/agent_framework/_types.py | 2406 | except (AdditionItemMismatch, ContentError): | CODE |
| HIGH | python/packages/core/agent_framework/_serialization.py | 762 | except TypeError: | CODE |
| HIGH | python/packages/core/agent_framework/_serialization.py | 767 | except TypeError: | CODE |
| HIGH | python/packages/core/agent_framework/_serialization.py | 772 | except TypeError: | CODE |
| HIGH | python/packages/core/agent_framework/_evaluation.py | 1135 | except (json.JSONDecodeError, TypeError): | CODE |
| HIGH | python/packages/core/agent_framework/_tools.py | 2172 | except _FunctionArgumentValidationError: | CODE |
| HIGH | python/packages/core/agent_framework/observability.py | 3798 | except (ValueError, TypeError, AttributeError): | CODE |
| HIGH | python/packages/core/agent_framework/_settings.py | 205 | except (ValueError, TypeError): | CODE |
| HIGH | python/packages/core/agent_framework/_harness/_mode.py | 165 | except ValueError: | CODE |
| HIGH | …packages/gemini/agent_framework_gemini/_chat_client.py | 825 | except (json.JSONDecodeError, ValueError): | CODE |
| HIGH | python/packages/devui/agent_framework_devui/__init__.py | 190 | except (http.client.HTTPException, OSError, TimeoutError): | CODE |
| HIGH | …hon/packages/devui/agent_framework_devui/_discovery.py | 777 | except (TypeError, AttributeError): | CODE |
| HIGH | …hon/packages/devui/agent_framework_devui/_discovery.py | 768 | except ImportError: | CODE |
| HIGH | …thon/packages/devui/agent_framework_devui/_executor.py | 990 | except (json.JSONDecodeError, TypeError): | CODE |
| HIGH | python/packages/devui/agent_framework_devui/_server.py | 901 | except (asyncio.CancelledError, asyncio.TimeoutError): | CODE |
| HIGH | …kages/devui/tests/devui/test_openai_sdk_integration.py | 87 | except Exception: | CODE |
| HIGH | …n/packages/devui/tests/devui/test_schema_generation.py | 151 | except (TypeError, ValueError, AttributeError): | CODE |
| HIGH | python/packages/devui/tests/devui/test_cleanup_hooks.py | 240 | except Exception: | CODE |
| HIGH | python/packages/oracle/tests/oracle/test_settings.py | 179 | except ValueError: | CODE |
| HIGH | …hon/packages/lab/lightning/samples/train_math_agent.py | 97 | except Exception: # ruff:ignore[try-except-pass] | CODE |
| HIGH | …hon/packages/ag-ui/agent_framework_ag_ui/_agent_run.py | 1338 | except KeyError: | CODE |
| HIGH | …hon/packages/ag-ui/agent_framework_ag_ui/_agent_run.py | 1396 | except KeyError: | CODE |
| HIGH | python/packages/ag-ui/agent_framework_ag_ui/_utils.py | 77 | except json.JSONDecodeError: | CODE |
| HIGH | python/packages/orchestrations/tests/test_magentic.py | 122 | except Exception: # pragma: no cover - defensive | CODE |
| HIGH | …ges/declarative/agent_framework_declarative/_models.py | 28 | except (ImportError, RuntimeError): | CODE |
| HIGH | …ative/agent_framework_declarative/_workflows/_state.py | 580 | except ValueError: | CODE |
| HIGH | …_framework_declarative/_workflows/_executors_agents.py | 290 | except json.JSONDecodeError: | CODE |
| 3 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 |
| 251 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | python/agent_framework_meta/__init__.py | 31 | __all__ = ["__version__"] | CODE |
| LOW | python/samples/04-hosting/a2a/a2a_server.py | 30 | logger = logging.getLogger(__name__) | CODE |
| LOW | python/samples/04-hosting/a2a/agent_framework_to_a2a.py | 30 | logger = logging.getLogger(__name__) | CODE |
| LOW | …/04-hosting/af-hosting/local_responses_workflow/app.py | 111 | def set_many(self, cursors: Mapping[str, CheckpointCursor]) -> None: | CODE |
| LOW⚡ | python/samples/02-agents/auto_retry.py | 61 | logger = logging.getLogger(__name__) | CODE |
| LOW | …ples/02-agents/middleware/atr_validation_middleware.py | 49 | logger = logging.getLogger(__name__) | CODE |
| LOW | …thon/samples/02-agents/devui/agent_weather/__init__.py | 7 | __all__ = ["agent"] | CODE |
| LOW | python/samples/02-agents/devui/agent_weather/agent.py | 31 | logger = logging.getLogger(__name__) | CODE |
| LOW | …2-agents/devui/agent_content_understanding/__init__.py | 6 | __all__ = ["agent"] | CODE |
| LOW | …ent_understanding_file_search_azure_openai/__init__.py | 6 | __all__ = ["agent"] | CODE |
| LOW | …mples/02-agents/devui/workflow_with_agents/__init__.py | 7 | __all__ = ["workflow"] | CODE |
| LOW | …thon/samples/02-agents/devui/agent_foundry/__init__.py | 7 | __all__ = ["agent"] | CODE |
| LOW | …thon/samples/02-agents/devui/workflow_spam/__init__.py | 7 | __all__ = ["workflow"] | CODE |
| LOW | …ples/02-agents/providers/anthropic/anthropic_skills.py | 16 | logger = logging.getLogger(__name__) | CODE |
| LOW | …hon/samples/02-agents/observability/foundry_tracing.py | 48 | logger = logging.getLogger(__name__) | CODE |
| LOW | …d_your_own_claw/claw_step04_production_ready/hosted.py | 72 | logger = logging.getLogger(__name__) | CODE |
| LOW | …ld_your_own_claw/claw_step04_production_ready/agent.py | 87 | logger = logging.getLogger(__name__) | CODE |
| LOW | …ples/02-agents/harness/console/textual_state_driver.py | 134 | def set_show_spinner(self, show: bool) -> None: | CODE |
| LOW | …ples/02-agents/harness/console/textual_state_driver.py | 220 | def update_streaming_text(self, accumulated_text: str) -> None: | CODE |
| LOW | …ples/02-agents/harness/console/textual_state_driver.py | 262 | def set_usage_text(self, usage_text: str | None) -> None: | CODE |
| LOW | …ples/02-agents/harness/console/textual_state_driver.py | 267 | def set_mode(self, mode: str | None, mode_color: str | None = None) -> None: | CODE |
| LOW | …ples/02-agents/harness/console/textual_state_driver.py | 347 | def set_queued_messages(self, pending: list[str]) -> None: | CODE |
| LOW | …thon/samples/02-agents/harness/console/state_driver.py | 61 | def update_streaming_text(self, accumulated_text: str) -> None: | CODE |
| LOW | …thon/samples/02-agents/harness/console/state_driver.py | 133 | def set_mode(self, mode: str | None, mode_color: str | None = None) -> None: | CODE |
| LOW | …thon/samples/02-agents/harness/console/state_driver.py | 145 | def set_show_spinner(self, show: bool) -> None: | CODE |
| LOW | …thon/samples/02-agents/harness/console/state_driver.py | 155 | def set_usage_text(self, usage_text: str | None) -> None: | CODE |
| LOW | …thon/samples/02-agents/harness/console/state_driver.py | 194 | def set_queued_messages(self, pending: list[str]) -> None: | CODE |
| LOW | …thon/samples/02-agents/harness/console/state_driver.py | 266 | def update_streaming_text(self, text: str) -> None: | CODE |
| LOW | …thon/samples/02-agents/harness/console/state_driver.py | 285 | def set_show_spinner(self, show: bool) -> None: | CODE |
| LOW | …thon/samples/02-agents/harness/console/state_driver.py | 291 | def set_mode(self, mode: str | None, mode_color: str | None = None) -> None: | CODE |
| LOW | …thon/samples/02-agents/harness/console/state_driver.py | 302 | def set_usage_text(self, usage_text: str | None) -> None: | CODE |
| LOW | …thon/samples/02-agents/harness/console/state_driver.py | 329 | def update_last_entry(self, entry_type, new_text: str) -> None: | CODE |
| LOW | …thon/samples/02-agents/harness/console/state_driver.py | 340 | def set_queued_messages(self, pending: list[str]) -> None: | CODE |
| LOW | python/samples/02-agents/harness/console/__init__.py | 19 | __all__ = [ | CODE |
| LOW | …s/02-agents/harness/console/components/scroll_panel.py | 56 | def set_streaming_entry(self, entry: OutputEntry) -> None: | CODE |
| LOW | …mples/02-agents/harness/console/components/__init__.py | 16 | __all__ = [ | CODE |
| LOW | …02-agents/harness/console/components/list_selection.py | 209 | def _update_options(self) -> None: | CODE |
| LOW | …samples/02-agents/harness/console/commands/__init__.py | 22 | __all__ = [ | CODE |
| LOW | …amples/02-agents/harness/console/observers/__init__.py | 114 | __all__ = [ | CODE |
| LOW | …orkflows/composition/sub_workflow_parallel_requests.py | 157 | async def set_request_count(self, count: int, ctx: WorkflowContext) -> None: | CODE |
| LOW | python/samples/03-workflows/orchestrations/magentic.py | 22 | logger = logging.getLogger(__name__) | CODE |
| LOW | …05-end-to-end/ag_ui_workflow_handoff/backend/server.py | 41 | logger = logging.getLogger(__name__) | CODE |
| LOW⚡ | python/samples/05-end-to-end/chatkit-integration/app.py | 105 | logger = logging.getLogger(__name__) | CODE |
| LOW | …les/05-end-to-end/ag_ui_single_agent/backend/server.py | 49 | logger = logging.getLogger(__name__) | CODE |
| LOW | python/scripts/check_md_code_blocks.py | 17 | logger = logging.getLogger(__name__) | CODE |
| LOW | …/sample_validation/create_dynamic_workflow_executor.py | 40 | logger = logging.getLogger(__name__) | CODE |
| LOW | python/scripts/sample_validation/playbook.py | 36 | logger = logging.getLogger(__name__) | CODE |
| LOW | python/scripts/sample_validation/__init__.py | 20 | __all__ = [ | CODE |
| LOW | python/scripts/sample_validation/replay_executor.py | 19 | logger = logging.getLogger(__name__) | CODE |
| LOW | python/scripts/sample_validation/workflow.py | 50 | __all__ = ["ValidationConfig", "create_validation_workflow"] | CODE |
| LOW | …/scripts/dependencies/_dependency_bounds_upper_impl.py | 39 | logger = logging.getLogger(__name__) | CODE |
| LOW | python/scripts/dependencies/upgrade_dev_dependencies.py | 23 | logger = logging.getLogger(__name__) | CODE |
| LOW | …hon/packages/foundry_hosting/tests/test_invocations.py | 343 | def update_session(session: AgentSession) -> None: | CODE |
| LOW | …hon/packages/foundry_hosting/tests/test_invocations.py | 377 | def update_session(session: AgentSession) -> None: | CODE |
| LOW | …hon/packages/foundry_hosting/tests/test_invocations.py | 583 | def update_session(session: AgentSession) -> None: | CODE |
| LOW | …hon/packages/foundry_hosting/tests/test_invocations.py | 1967 | def update_session(session: AgentSession) -> None: | CODE |
| LOW | …hon/packages/foundry_hosting/tests/test_invocations.py | 2002 | def update_session(session: AgentSession) -> None: | CODE |
| LOW | …hosting/tests/foundry_hosting/test_native_responses.py | 925 | async def update_response(self, response: Any, **kwargs: Any) -> None: | CODE |
| LOW | …osting/agent_framework_foundry_hosting/_invocations.py | 67 | logger = logging.getLogger(__name__) | CODE |
| LOW | …ry_hosting/agent_framework_foundry_hosting/_toolbox.py | 45 | logger = logging.getLogger(__name__) | CODE |
| 214 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | …s/04-hosting/af-hosting/local_responses_harness/app.py | 95 | # Token budget for the harness compaction feature. | COMMENT |
| MEDIUM | …es/02-agents/middleware/agent_loop_middleware_judge.py | 69 | # boundaries (robust to function calling, where one iteration may issue several model calls). | COMMENT |
| MEDIUM | …es/02-agents/middleware/agent_loop_middleware_todos.py | 64 | # those boundaries — robust to the function calling this loop relies on (the todo tools issue | COMMENT |
| MEDIUM | …-agents/middleware/agent_loop_middleware_refinement.py | 77 | # those boundaries (robust to function calling, where one iteration may issue several model | COMMENT |
| MEDIUM | …thon/samples/02-agents/devui/workflow_spam/workflow.py | 394 | # Build the comprehensive 4-step workflow with branching logic and HIL support | COMMENT |
| MEDIUM | …es/02-agents/context_providers/redis/redis_sessions.py | 160 | # Test comprehensive memory retrieval | COMMENT |
| MEDIUM | python/samples/02-agents/harness/harness_research.py | 11 | # uv run samples/02-agents/harness/harness_research.py | COMMENT |
| MEDIUM⚡ | python/samples/02-agents/harness/harness_research.py | 101 | # Create a harness agent with research-specific instructions. | STRING |
| MEDIUM⚡ | python/samples/02-agents/harness/harness_research.py | 111 | # Enable harness looping: while the agent is in "execute" mode and still has open todos, | STRING |
| MEDIUM⚡ | python/samples/02-agents/harness/harness_research.py | 120 | # Run the harness console with the research agent. | STRING |
| MEDIUM | …n/samples/02-agents/harness/harness_data_processing.py | 11 | # uv run samples/02-agents/harness/harness_data_processing.py | COMMENT |
| MEDIUM⚡ | …n/samples/02-agents/harness/harness_data_processing.py | 108 | # Create a harness agent with data-analyst instructions. Unused features are | STRING |
| MEDIUM | …n/samples/02-agents/harness/harness_data_processing.py | 125 | # Run the harness console. This sample has no plan/execute mode, so it uses | STRING |
| MEDIUM | …ness/build_your_own_claw/claw_step01_meet_your_claw.py | 11 | # uv run python/samples/02-agents/harness/build_your_own_claw/claw_step01_meet_your_claw.py | COMMENT |
| MEDIUM | …ness/build_your_own_claw/claw_step01_meet_your_claw.py | 49 | # Reuse the shared harness console that lives in the parent ``harness/`` directory. | COMMENT |
| MEDIUM⚡ | …ness/build_your_own_claw/claw_step01_meet_your_claw.py | 118 | # credential). The harness works with ANY chat client — see the providers samples for OpenAI, | COMMENT |
| MEDIUM⚡ | …ness/build_your_own_claw/claw_step01_meet_your_claw.py | 124 | # Turn the chat client into a harness agent with finance instructions and our custom | COMMENT |
| MEDIUM⚡ | …ness/build_your_own_claw/claw_step01_meet_your_claw.py | 134 | # Run the interactive console session using the shared harness console helper. | COMMENT |
| MEDIUM | …s/build_your_own_claw/claw_step02_working_with_data.py | 12 | # uv run python/samples/02-agents/harness/build_your_own_claw/claw_step02_working_with_data.py | COMMENT |
| MEDIUM | …s/build_your_own_claw/claw_step02_working_with_data.py | 70 | # Reuse the shared harness console that lives in the parent ``harness/`` directory. | COMMENT |
| MEDIUM | …s/build_your_own_claw/claw_step02_working_with_data.py | 248 | # Turn the chat client into a harness agent. On top of Post 1's defaults we point file | COMMENT |
| MEDIUM | …uild_your_own_claw/claw_step03_scaling_capabilities.py | 15 | # uv run python/samples/02-agents/harness/build_your_own_claw/claw_step03_scaling_capabilities.py | COMMENT |
| MEDIUM | …uild_your_own_claw/claw_step03_scaling_capabilities.py | 82 | # Reuse the shared harness console that lives in the parent ``harness/`` directory, and the local | COMMENT |
| MEDIUM | …uild_your_own_claw/claw_step03_scaling_capabilities.py | 240 | # This sub-agent doesn't need any harness machinery - it's a plain chat agent with a single | COMMENT |
| MEDIUM | …uild_your_own_claw/claw_step03_scaling_capabilities.py | 241 | # tool: the same hosted web search the harness would have added. The parent still exposes the | COMMENT |
| MEDIUM | …uild_your_own_claw/claw_step03_scaling_capabilities.py | 311 | # Turn the chat client into a harness agent. On top of Post 2's file access and approvals we | COMMENT |
| MEDIUM | …ld_your_own_claw/claw_step04_production_ready/evals.py | 114 | # store=False keeps chat history client-side (managed by the harness InMemoryHistoryProvider) | COMMENT |
| MEDIUM | …thon/samples/02-agents/harness/console/agent_runner.py | 408 | """Format token counts matching C# harness style: 📊 Tokens — input: X | output: Y | total: Z.""" | STRING |
| MEDIUM | …s/05-end-to-end/workflow_evaluation/create_workflow.py | 105 | # Generate comprehensive travel plan summary | COMMENT |
| MEDIUM | …foundry_hosting/tests/foundry_hosting/test_conftest.py | 67 | # Isolate only the child harness, which needs pytest-retry but no application plugins. | STRING |
| 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 | 3435 | # 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 | 517 | # A more comprehensive integration test would require the manager to select an agent. | COMMENT |
| MEDIUM | python/packages/core/agent_framework/_serialization.py | 270 | """Mixin class providing comprehensive serialization and deserialization capabilities. | STRING |
| MEDIUM | python/packages/core/agent_framework/observability.py | 3712 | # This is a simplified approach - in production you'd want more robust parsing | COMMENT |
| MEDIUM | python/packages/core/agent_framework/observability.py | 3782 | # This is a simplified approach - in production you'd want more robust parsing | COMMENT |
| MEDIUM | python/packages/core/agent_framework/_harness/_agent.py | 562 | # Warn when opting into harness features that are still experimental. create_harness_agent | COMMENT |
| MEDIUM | python/packages/core/agent_framework/_harness/_agent.py | 659 | # Assemble middleware. Tool approval is enabled by default (like the .NET harness) and is | COMMENT |
| MEDIUM | …packages/core/agent_framework/_harness/_file_memory.py | 90 | # from the other harness prefixes so the same value under a different component | COMMENT |
| MEDIUM | …ges/core/agent_framework/_workflows/_agent_executor.py | 394 | """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 | 1405 | # 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(vd,``)}function bd(e,t){return t=yd(t),yd(e)===t}function xd(){}function Sd(e,t,n,r,a,o){switch(n){case`child | CODE |
| MEDIUM | python/packages/lab/tau2/samples/run_benchmark.py | 47 | """Run comprehensive tau2 benchmark evaluation using agent framework. | STRING |
| MEDIUM | python/packages/lab/tau2/samples/run_benchmark.py | 150 | # Evaluate performance using tau2's comprehensive metrics | COMMENT |
| MEDIUM | python/packages/lab/tau2/samples/run_benchmark.py | 200 | # Evaluate performance using tau2's comprehensive metrics | COMMENT |
| MEDIUM | …n/packages/lab/tau2/agent_framework_lab_tau2/runner.py | 394 | """Evaluate agent performance using tau2's comprehensive evaluation system. | STRING |
| MEDIUM | …n/packages/lab/tau2/agent_framework_lab_tau2/runner.py | 428 | # Run comprehensive multi-dimensional evaluation | COMMENT |
| MEDIUM | …work_ag_ui_examples/agents/research_assistant_agent.py | 14 | """Research a topic and generate a comprehensive report. | STRING |
| MEDIUM | python/packages/ag-ui/tests/ag_ui/test_endpoint.py | 12071 | # Pause: the harness surfaces the provider-injected tool for approval, nothing executes yet. | COMMENT |
| MEDIUM | …n/packages/ag-ui/agent_framework_ag_ui/_a2ui/_agent.py | 827 | # the first that parses — robust whether or not a coalesced fragment arrives, | COMMENT |
| MEDIUM⚡ | python/packages/ag-ui/getting_started/server.py | 41 | # In production, you should use a more robust authentication mechanism such as: | COMMENT |
| LOW | …t_framework_declarative/_workflows/_executors_basic.py | 434 | # No key field - just add | COMMENT |
| MEDIUM | …light/agent_framework_hyperlight/_execute_code_tool.py | 360 | # needed and we want dispose to remain robust during teardown. | COMMENT |
| LOW | …packages/ollama/agent_framework_ollama/_chat_client.py | 338 | # we can just pass in None for the host, the default is set by the Ollama package. | COMMENT |
| MEDIUM⚡ | …ackages/openai/tests/openai/test_openai_chat_client.py | 392 | """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 |
| 30 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | python/packages/core/tests/test_security.py | 2608 | # 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 | 229 | // actual AI-generated tool calls and would be rejected by the API. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| 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 | 1211 | # 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 | 1216 | # Step 2: drop stream A; GC invalidates the weakref and schedules | COMMENT |
| LOW⚡ | python/packages/core/tests/workflow/test_workflow.py | 1222 | # Step 3: synchronously start stream B *before* yielding to the loop, | COMMENT |
| LOW⚡ | python/packages/core/tests/workflow/test_workflow.py | 1228 | # Step 4: yield enough times for stream A's scheduled aclose to drive | COMMENT |
| LOW⚡ | python/packages/core/tests/workflow/test_workflow.py | 1300 | # 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 | 1306 | # Step 2: drop stream A; the weakref dies and async-gen close is scheduled | COMMENT |
| LOW⚡ | python/packages/core/tests/workflow/test_workflow.py | 1312 | # Step 3: synchronously start stream B with its own storage and drive it to | COMMENT |
| LOW⚡ | python/packages/core/tests/workflow/test_workflow.py | 1319 | # Step 4: yield enough for stream A's scheduled aclose to drive its body | COMMENT |
| LOW⚡ | …re/tests/workflow/test_request_info_event_rehydrate.py | 263 | # Step 3: Verify the pending request info event was properly serialized | COMMENT |
| LOW⚡ | …re/tests/workflow/test_request_info_event_rehydrate.py | 270 | # Step 4: Create a fresh workflow and restore from checkpoint | COMMENT |
| LOW⚡ | …re/tests/workflow/test_request_info_event_rehydrate.py | 274 | # Step 5: Resume from checkpoint and verify the request can be continued | COMMENT |
| LOW⚡ | …re/tests/workflow/test_request_info_event_rehydrate.py | 306 | # Step 7: Verify the executor state was properly restored and response was processed | COMMENT |
| LOW⚡ | …re/tests/workflow/test_request_info_event_rehydrate.py | 343 | # Step 1: Run workflow until it emits a request_info event | COMMENT |
| LOW⚡ | …re/tests/workflow/test_request_info_event_rehydrate.py | 352 | # Step 2: Find the checkpoint with the pending request | COMMENT |
| LOW⚡ | …re/tests/workflow/test_request_info_event_rehydrate.py | 362 | # Step 3: Create a fresh workflow and restore from checkpoint WITH responses in one call | COMMENT |
| LOW⚡ | …re/tests/workflow/test_request_info_event_rehydrate.py | 375 | # Step 4: Verify the request_info event was NOT re-emitted to the caller | COMMENT |
| LOW⚡ | …re/tests/workflow/test_request_info_event_rehydrate.py | 384 | # Step 5: Verify the response was processed by checking executor state | COMMENT |
| LOW⚡ | …re/tests/workflow/test_request_info_event_rehydrate.py | 454 | # Step 4: Verify the approval request_info was NOT re-emitted | COMMENT |
| LOW⚡ | …re/tests/workflow/test_request_info_event_rehydrate.py | 462 | # Step 5: Verify the calculation request_info WAS re-emitted (no response provided) | COMMENT |
| LOW⚡ | …re/tests/workflow/test_request_info_event_rehydrate.py | 470 | # Step 6: Verify workflow is in IDLE_WITH_PENDING_REQUESTS state (calc still pending) | COMMENT |
| LOW | …re/tests/workflow/test_request_info_event_rehydrate.py | 238 | # Step 1: Run workflow to completion to ensure checkpoints are created | COMMENT |
| LOW | …re/tests/workflow/test_request_info_event_rehydrate.py | 250 | # Step 2: List checkpoints to find the one with our pending request | COMMENT |
| LOW | …re/tests/workflow/test_request_info_event_rehydrate.py | 293 | # Step 6: Provide response to the restored request and complete the workflow | COMMENT |
| LOW | …re/tests/workflow/test_request_info_event_rehydrate.py | 416 | # Step 1: Run workflow until it emits multiple request_info events | COMMENT |
| LOW | …re/tests/workflow/test_request_info_event_rehydrate.py | 430 | # Step 2: Find the checkpoint with pending requests | COMMENT |
| LOW | …re/tests/workflow/test_request_info_event_rehydrate.py | 442 | # Step 3: Restore from checkpoint with ONLY the approval response (not the calculation) | COMMENT |
| LOW⚡ | …thon/packages/core/tests/workflow/test_sub_workflow.py | 726 | # Step 1: run until the first request. | COMMENT |
| LOW⚡ | …thon/packages/core/tests/workflow/test_sub_workflow.py | 734 | # Step 2: answer the first request so the sub-workflow accumulates internal state | COMMENT |
| LOW | …thon/packages/core/tests/workflow/test_sub_workflow.py | 679 | # Step 1: Run workflow until first request | COMMENT |
| LOW | …thon/packages/core/tests/workflow/test_sub_workflow.py | 693 | # Step 2: Resume workflow from checkpoint | COMMENT |
| LOW | …thon/packages/core/tests/workflow/test_sub_workflow.py | 756 | # Step 3: answer the second request. With the sub-workflow's state restored, the two-step | COMMENT |
| LOW | python/packages/core/agent_framework/security.py | 1945 | # 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 |
| LOW⚡ | …on/packages/devui/agent_framework_devui/_deployment.py | 74 | # Step 5: Build and deploy with Azure CLI | COMMENT |
| 48 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …04-hosting/container/hyperlight_codeact/call_server.py | 19 | # Set FOUNDRY_AGENT_ENDPOINT to your deployed agent endpoint, e.g. | COMMENT |
| LOW | …samples/02-agents/middleware/middleware_termination.py | 61 | # Check if the user message contains any blocked words | COMMENT |
| LOW | …samples/02-agents/middleware/middleware_termination.py | 104 | # Check if we should terminate before processing | COMMENT |
| LOW | python/samples/02-agents/devui/agent_weather/agent.py | 95 | # Check if location parameter is "atlantis" | COMMENT |
| LOW | …on/samples/02-agents/devui/workflow_fanout/workflow.py | 206 | # Check if schema validation is enabled | COMMENT |
| LOW | …on/samples/02-agents/devui/workflow_fanout/workflow.py | 242 | # Check if quality validation is enabled | COMMENT |
| LOW | …on/samples/02-agents/devui/workflow_fanout/workflow.py | 284 | # Check if security validation is enabled | COMMENT |
| LOW | …on/samples/02-agents/devui/workflow_fanout/workflow.py | 380 | # Check if normalization is enabled | COMMENT |
| LOW | …on/samples/02-agents/devui/workflow_fanout/workflow.py | 425 | # Check if enrichment is enabled | COMMENT |
| LOW | …on/samples/02-agents/devui/workflow_fanout/workflow.py | 469 | # Check if aggregation is enabled | COMMENT |
| LOW | …02-agents/context_providers/simple_context_provider.py | 59 | # Check if we need to extract user info from user messages | COMMENT |
| LOW | …thon/samples/02-agents/harness/console/agent_runner.py | 237 | # Check if there are pending questions (UI needs user input) | COMMENT |
| LOW | …s/02-agents/harness/console/observers/error_display.py | 38 | # Check if this is an error content type | COMMENT |
| LOW | …amples/03-workflows/composition/sub_workflow_basics.py | 117 | # Check if all results are collected | COMMENT |
| LOW | …rkflows/declarative/invoke_function_tool/workflow.yaml | 41 | # Output the result | COMMENT |
| LOW | …3-workflows/declarative/customer_support/workflow.yaml | 118 | # Check if the issue was resolved by support. | COMMENT |
| LOW | …ples/03-workflows/declarative/customer_support/main.py | 286 | # Check if this is a SendActivity output (activity text from log_ticket, log_route, etc.) | COMMENT |
| LOW | …3-workflows/control-flow/multi_selection_edge_group.py | 287 | # Print outputs and database events from streaming | COMMENT |
| LOW | …to-end/evaluation/red_teaming/red_team_agent_sample.py | 140 | # Display results | STRING |
| LOW⚡ | python/samples/05-end-to-end/chatkit-integration/app.py | 399 | # Check if it's a WeatherResponse (string subclass with weather_data attribute) | COMMENT |
| LOW⚡ | python/samples/05-end-to-end/chatkit-integration/app.py | 405 | # Check if it's the city selector marker | COMMENT |
| LOW⚡ | python/samples/05-end-to-end/chatkit-integration/app.py | 496 | # Check if it's a WeatherResponse (string subclass with weather_data attribute) | COMMENT |
| LOW | python/samples/05-end-to-end/chatkit-integration/app.py | 607 | # Read file contents | COMMENT |
| LOW | python/scripts/task_runner.py | 72 | # Check if there is an include too | COMMENT |
| LOW | python/scripts/run_tasks_in_changed_packages.py | 41 | # Check if the file is within this project directory | COMMENT |
| LOW | …es/foundry/agent_framework_foundry/_memory_provider.py | 192 | # Check if there are any non-empty input messages | COMMENT |
| LOW | …packages/core/tests/core/test_middleware_with_agent.py | 1335 | # Set metadata to pass information to run middleware | COMMENT |
| LOW | …ages/core/tests/core/test_function_invocation_logic.py | 2820 | # Set max_iterations to 1 in additional_properties | COMMENT |
| LOW | …ages/core/tests/core/test_function_invocation_logic.py | 3431 | # Set max_consecutive_errors to 2 | COMMENT |
| LOW | …ages/core/tests/core/test_function_invocation_logic.py | 3508 | # Set terminate_on_unknown_calls to False (default) | COMMENT |
| LOW | …ages/core/tests/core/test_function_invocation_logic.py | 3544 | # Set terminate_on_unknown_calls to True | COMMENT |
| LOW | …ages/core/tests/core/test_function_invocation_logic.py | 5276 | # Set include_detailed_errors to False (default) | COMMENT |
| LOW | …ages/core/tests/core/test_function_invocation_logic.py | 5314 | # Set include_detailed_errors to True | COMMENT |
| LOW | …ages/core/tests/core/test_function_invocation_logic.py | 5414 | # Set include_detailed_errors to True | COMMENT |
| LOW | …ages/core/tests/core/test_function_invocation_logic.py | 5450 | # Set include_detailed_errors to False (default) | COMMENT |
| LOW | …ages/core/tests/core/test_function_invocation_logic.py | 6936 | # Set include_detailed_errors to False (default) | COMMENT |
| LOW | …ages/core/tests/core/test_function_invocation_logic.py | 7009 | # Set include_detailed_errors to True | COMMENT |
| LOW | …ages/core/tests/core/test_function_invocation_logic.py | 7082 | # Set include_detailed_errors to True to see validation details | COMMENT |
| LOW | …ages/core/tests/core/test_function_invocation_logic.py | 8228 | # Set max_iterations to 1 in additional_properties | COMMENT |
| LOW | …ages/core/tests/core/test_function_invocation_logic.py | 8797 | # Set max_consecutive_errors to 2 | COMMENT |
| LOW | …ages/core/tests/core/test_function_invocation_logic.py | 8884 | # Set terminate_on_unknown_calls to False (default) | COMMENT |
| LOW | …ages/core/tests/core/test_function_invocation_logic.py | 8928 | # Set terminate_on_unknown_calls to True | COMMENT |
| LOW | …ages/core/tests/core/test_function_invocation_logic.py | 8965 | # Set include_detailed_errors to True | COMMENT |
| LOW | …ages/core/tests/core/test_function_invocation_logic.py | 9008 | # Set include_detailed_errors to False (default) | COMMENT |
| LOW | …ages/core/tests/core/test_function_invocation_logic.py | 9050 | # Set include_detailed_errors to True | COMMENT |
| LOW | …ages/core/tests/core/test_function_invocation_logic.py | 9090 | # Set include_detailed_errors to False (default) | COMMENT |
| LOW | …ages/core/tests/core/test_function_invocation_logic.py | 9264 | # Set result to a simple value - the framework will wrap it in FunctionResultContent | COMMENT |
| LOW | …ages/core/tests/core/test_function_invocation_logic.py | 9740 | # 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 | 3901 | # Check if this is a list of objects that were created from dicts | COMMENT |
| LOW | python/packages/core/agent_framework/_serialization.py | 637 | # Check if this is an instance-specific dependency (field:name format) | COMMENT |
| LOW | python/packages/core/agent_framework/_tools.py | 751 | # Check if the wrapped function is a method (has 'self' parameter) | COMMENT |
| LOW | python/packages/core/agent_framework/_mcp.py | 523 | # Check if 'arguments' is missing or empty | COMMENT |
| LOW | python/packages/core/agent_framework/_mcp.py | 2513 | # Check if there are more pages | COMMENT |
| LOW | python/packages/core/agent_framework/_mcp.py | 2669 | # Check if there are more pages | COMMENT |
| LOW | …/core/agent_framework/_workflows/_function_executor.py | 380 | # Check if there's a context parameter | COMMENT |
| LOW | …s/core/agent_framework/_workflows/_workflow_context.py | 190 | # Check if it's a union type and validate each member | COMMENT |
| LOW | …s/core/agent_framework/_workflows/_workflow_context.py | 202 | # Check if it's a valid type | COMMENT |
| LOW | …core/agent_framework/_workflows/_request_info_mixin.py | 221 | # Check if ANY explicit type parameter was provided - if so, use ONLY explicit params. | COMMENT |
| LOW | …ckages/core/agent_framework/_workflows/_edge_runner.py | 462 | # Check if target can handle list of message data (fan-in aggregates multiple messages) | COMMENT |
| 56 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …ld_your_own_claw/claw_step04_production_ready/agent.py | 292 | CODE | |
| LOW | …n/samples/02-agents/harness/console/harness_console.py | 23 | CODE | |
| LOW | python/samples/02-agents/harness/console/app.py | 143 | CODE | |
| LOW | python/packages/foundry_hosting/tests/test_responses.py | 694 | CODE | |
| LOW | …osting/agent_framework_foundry_hosting/_invocations.py | 332 | CODE | |
| LOW | …ry_hosting/agent_framework_foundry_hosting/_toolbox.py | 393 | CODE | |
| LOW | …_hosting/agent_framework_foundry_hosting/_responses.py | 749 | CODE | |
| LOW | …ing/agent_framework_foundry_hosting/_workflow_state.py | 386 | CODE | |
| LOW | …ithub_copilot/agent_framework_github_copilot/_agent.py | 652 | CODE | |
| LOW | …ithub_copilot/agent_framework_github_copilot/_agent.py | 1906 | CODE | |
| LOW | …on/packages/tools/agent_framework_tools/shell/_tool.py | 148 | CODE | |
| LOW | …/packages/tools/agent_framework_tools/shell/_docker.py | 432 | CODE | |
| LOW | …ages/foundry/agent_framework_foundry/_foundry_evals.py | 1057 | CODE | |
| LOW | …s/foundry/agent_framework_foundry/_embedding_client.py | 155 | CODE | |
| LOW | …s/foundry/agent_framework_foundry/_embedding_client.py | 564 | CODE | |
| LOW | …ckages/foundry/agent_framework_foundry/_chat_client.py | 173 | CODE | |
| LOW | …ckages/foundry/agent_framework_foundry/_chat_client.py | 696 | CODE | |
| LOW | …ckages/foundry/agent_framework_foundry/_chat_client.py | 1095 | CODE | |
| LOW | …hon/packages/foundry/agent_framework_foundry/_agent.py | 192 | CODE | |
| LOW | …hon/packages/foundry/agent_framework_foundry/_agent.py | 298 | CODE | |
| LOW | …hon/packages/foundry/agent_framework_foundry/_agent.py | 575 | CODE | |
| LOW | …hon/packages/foundry/agent_framework_foundry/_agent.py | 696 | CODE | |
| LOW | …hon/packages/foundry/agent_framework_foundry/_agent.py | 992 | CODE | |
| LOW | …es/foundry/agent_framework_foundry/_memory_provider.py | 70 | CODE | |
| LOW | …os/agent_framework_azure_cosmos/_checkpoint_storage.py | 117 | CODE | |
| LOW | …e-cosmos/agent_framework_azure_cosmos/_vector_store.py | 696 | CODE | |
| LOW | …e-cosmos/agent_framework_azure_cosmos/_vector_store.py | 1191 | CODE | |
| LOW | …e-cosmos/agent_framework_azure_cosmos/_vector_store.py | 1296 | CODE | |
| LOW | …smos/agent_framework_azure_cosmos/_history_provider.py | 57 | CODE | |
| LOW | python/packages/core/tests/core/test_vectors.py | 202 | CODE | |
| LOW | python/packages/core/tests/core/test_vectors.py | 1332 | CODE | |
| LOW | python/packages/core/tests/core/test_vectors.py | 1601 | CODE | |
| LOW | python/packages/core/agent_framework/_types.py | 562 | CODE | |
| LOW | python/packages/core/agent_framework/_types.py | 1218 | CODE | |
| LOW | python/packages/core/agent_framework/_types.py | 2762 | CODE | |
| LOW | python/packages/core/agent_framework/_types.py | 3095 | CODE | |
| LOW | python/packages/core/agent_framework/_types.py | 3240 | CODE | |
| LOW | python/packages/core/agent_framework/_types.py | 3573 | CODE | |
| LOW | python/packages/core/agent_framework/_types.py | 3703 | CODE | |
| LOW | python/packages/core/agent_framework/_vectors.py | 2295 | CODE | |
| LOW | python/packages/core/agent_framework/_vectors.py | 2551 | CODE | |
| LOW | python/packages/core/agent_framework/_vectors.py | 287 | CODE | |
| LOW | python/packages/core/agent_framework/_vectors.py | 1588 | CODE | |
| LOW | python/packages/core/agent_framework/_vectors.py | 1624 | CODE | |
| LOW | python/packages/core/agent_framework/_vectors.py | 1674 | CODE | |
| LOW | python/packages/core/agent_framework/_vectors.py | 1719 | CODE | |
| LOW | python/packages/core/agent_framework/_vectors.py | 1952 | CODE | |
| LOW | python/packages/core/agent_framework/_vectors.py | 1997 | CODE | |
| LOW | python/packages/core/agent_framework/_vectors.py | 2865 | CODE | |
| LOW | python/packages/core/agent_framework/_vectors.py | 3272 | CODE | |
| LOW | python/packages/core/agent_framework/_sessions.py | 538 | CODE | |
| LOW | python/packages/core/agent_framework/_sessions.py | 2333 | CODE | |
| LOW | python/packages/core/agent_framework/_evaluation.py | 1600 | CODE | |
| LOW | python/packages/core/agent_framework/_evaluation.py | 1804 | CODE | |
| LOW | python/packages/core/agent_framework/_evaluation.py | 416 | CODE | |
| LOW | python/packages/core/agent_framework/_tools.py | 1564 | CODE | |
| LOW | python/packages/core/agent_framework/_tools.py | 1580 | CODE | |
| LOW | python/packages/core/agent_framework/_tools.py | 1595 | CODE | |
| LOW | python/packages/core/agent_framework/_tools.py | 571 | CODE | |
| LOW | python/packages/core/agent_framework/_mcp.py | 890 | CODE | |
| 157 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | …s/02-agents/tools/function_tool_with_max_exceptions.py | 100 | if (b === 0) return undefined; // or throw | STRING |
| HIGH | …s/02-agents/tools/function_tool_with_max_exceptions.py | 159 | if (b === 0) return undefined; // or throw | STRING |
| HIGH | …on/packages/tools/agent_framework_tools/shell/_tool.py | 116 | ``cd /tmp && rm -rf .`` in one call can still touch ``/tmp``. | CODE |
| HIGH⚡ | python/packages/tools/tests/test_docker_shell_tool.py | 771 | r = await shell.run("wget -q -T 2 -O- http://example.com || echo NOACCESS") | CODE |
| HIGH | python/packages/core/tests/core/test_tools.py | 475 | arguments='{"location": "Seattle", "unit": null}', | CODE |
| HIGH | python/packages/core/tests/core/test_tools.py | 436 | Regression for #5934: exclude_none dropped the explicit null, so the required | STRING |
| HIGH | python/packages/core/agent_framework/_tools.py | 852 | # explicitly provided even when their value is null, and drop | COMMENT |
| HIGH | python/packages/core/agent_framework/_tools.py | 855 | # parameter the model deliberately set to null, failing the | COMMENT |
| HIGH | …/packages/redis/agent_framework_redis/_vector_store.py | 303 | # Portable membership never matches an actual null, including when None is in the supplied sequence. | COMMENT |
| HIGH | …ackages/devui/tests/devui/test_ui_memory_regression.py | 462 | jsHeapBytes: performance.memory ? performance.memory.usedJSHeapSize : null, | STRING |
| HIGH | python/packages/orchestrations/tests/test_group_chat.py | 102 | '"next_speaker": "agent", "final_message": null}' | CODE |
| HIGH | python/packages/orchestrations/tests/test_group_chat.py | 125 | '"next_speaker": null, "final_message": "agent manager final"}' | CODE |
| HIGH | python/packages/orchestrations/tests/test_group_chat.py | 160 | '"next_speaker": "unknown", "final_message": null} ' | CODE |
| HIGH | python/packages/orchestrations/tests/test_group_chat.py | 162 | '"next_speaker": "agent", "final_message": null}' | CODE |
| HIGH | python/packages/orchestrations/tests/test_group_chat.py | 177 | '"next_speaker": null, "final_message": "concatenated manager final"}' | CODE |
| HIGH | python/packages/orchestrations/tests/test_group_chat.py | 204 | '{"terminate": false, "reason": "delegate", "next_speaker": "agent", "final_message": null}\n' | CODE |
| HIGH | python/packages/orchestrations/tests/test_group_chat.py | 1271 | '"next_speaker": "alpha", "final_message": null}' | CODE |
| HIGH | python/packages/orchestrations/tests/test_group_chat.py | 1293 | '"next_speaker": null, "final_message": "dynamic manager final"}' | CODE |
| HIGH | python/packages/monty/tests/monty/test_monty_codeact.py | 474 | "- `empty` (null, optional) Default: null.", | CODE |
| HIGH | …ent_framework_declarative/_workflows/_executors_mcp.py | 139 | This avoids surprising ``"[42]"`` / ``"[true]"`` / ``"[null]"`` when | STRING |
| HIGH⚡ | …thon/packages/declarative/tests/test_workflow_state.py | 273 | assert state._eval_simple("Local.x || Local.y") is True | CODE |
| HIGH⚡ | …thon/packages/declarative/tests/test_workflow_state.py | 269 | """Test || operator.""" | STRING |
| HIGH | …nai/tests/openai/test_openai_chat_completion_client.py | 2756 | The OpenAI spec sends ``"delta": {}`` (not null) on finish chunks. These | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | python/samples/README.md | 166 | | `agent-framework-gemini` | `GeminiChatClient / GeminiEmbeddingClient` | `GOOGLE_API_KEY` | `your-api-key` | | CODE |
| HIGH | python/samples/README.md | 178 | | `agent-framework-mistral` | `MistralChatClient / MistralEmbeddingClient` | `MISTRAL_API_KEY` | `your-api-key` | | CODE |
| HIGH | …/02-agents/context_providers/azure_ai_search/README.md | 205 | -H "api-key: YOUR_API_KEY" | CODE |
| HIGH | python/samples/02-agents/mcp/mcp_api_key_auth.py | 22 | python mcp_api_key_auth.py <your_api_key> | STRING |
| HIGH | python/packages/core/agent_framework/_serialization.py | 551 | openai_client = AsyncOpenAI(api_key="your-api-key") | STRING |
| HIGH | python/packages/core/agent_framework/_tools.py | 1839 | client = OpenAIChatClient(api_key="your_api_key") | STRING |
| HIGH | python/packages/gemini/README.md | 100 | export GOOGLE_API_KEY="your-api-key" | CODE |
| HIGH | python/packages/devui/dev.md | 35 | OPENAI_API_KEY="your-api-key-here" | CODE |
| HIGH | python/packages/lab/lightning/README.md | 55 | api_key="your-api-key", | CODE |
| HIGH | python/packages/lab/tau2/README.md | 69 | api_key="your-api-key", | CODE |
| HIGH | python/packages/lab/tau2/README.md | 74 | api_key="your-api-key", | CODE |
| HIGH | python/packages/lab/tau2/README.md | 131 | export OPENAI_API_KEY="your-api-key" | CODE |
| HIGH | python/packages/ag-ui/README.md | 28 | api_key="your-api-key", | CODE |
| HIGH | python/packages/ag-ui/getting_started/README.md | 280 | # export AZURE_OPENAI_API_KEY="your-api-key" | COMMENT |
| HIGH | python/packages/mistral/README.md | 27 | # MistralChatClient(model="mistral-large-latest", api_key="your-api-key") | COMMENT |
| HIGH | python/packages/mistral/README.md | 65 | # MistralEmbeddingClient(model="mistral-embed", api_key="your-api-key") | COMMENT |
| HIGH | …s/mistral/agent_framework_mistral/_embedding_client.py | 317 | api_key="your-api-key", | STRING |
| HIGH | …ckages/mistral/agent_framework_mistral/_chat_client.py | 938 | api_key="your-api-key", | STRING |
| HIGH | …github-copilot/Agent_With_GitHubCopilot_BYOK/README.md | 64 | ApiKey = "your-api-key", | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | python/devsetup.sh | 2 | # Create a virtual environment with Python 3.10 (you can change this to 3.11, 3.12 or 3.13) | COMMENT |
| MEDIUM | …mples/02-agents/tools/control_total_tool_executions.py | 329 | Response: I'm unable to use the analysis tool right now as it has reached its limit... | STRING |
| LOW | …02-agents/context_providers/simple_context_provider.py | 30 | # In order for the State to be serialized well, we need to make sure to register | COMMENT |
| MEDIUM | …arness/build_your_own_claw/subprocess_script_runner.py | 5 | This is provided for demonstration purposes only. | STRING |
| MEDIUM | …aw_step04_production_ready/subprocess_script_runner.py | 5 | This is provided for demonstration purposes only. | STRING |
| MEDIUM | …n/samples/02-agents/skills/subprocess_script_runner.py | 5 | This is provided for demonstration purposes only. | STRING |
| MEDIUM | …ws/human-in-the-loop/guessing_game_with_human_input.py | 188 | # If desired, you can add more guidance here, but keep it concise. | COMMENT |
| MEDIUM | …ows/human-in-the-loop/agents_with_approval_requests.py | 41 | 5. The sample automatically approves the request for demonstration purposes. | STRING |
| MEDIUM⚡ | …ows/human-in-the-loop/agents_with_approval_requests.py | 69 | # For demonstration purposes, we return a fixed date. | COMMENT |
| MEDIUM | …ows/human-in-the-loop/agents_with_approval_requests.py | 340 | Please let me know if you need more detailed information or have any questions. | STRING |
| MEDIUM | …orkflows/agents/workflow_as_agent_human_in_the_loop.py | 148 | # Mock a human response approval for demonstration purposes. | COMMENT |
| MEDIUM | …on/samples/05-end-to-end/workflow_evaluation/_tools.py | 11 | # Note: These are mock tools for demonstration purposes. They return simulated data | COMMENT |
| MEDIUM | …hon/samples/05-end-to-end/chatkit-integration/store.py | 53 | Note: This is for demonstration purposes. In production, you should | STRING |
| MEDIUM | …/05-end-to-end/chatkit-integration/attachment_store.py | 40 | Note: This is for demonstration purposes. In production, use cloud storage | STRING |
| MEDIUM | python/packages/core/tests/core/test_types.py | 180 | "I cannot provide a result.", | CODE |
| MEDIUM | …ackages/openai/tests/openai/test_openai_chat_client.py | 1643 | mock_refusal_content.refusal = "I cannot provide that information." | CODE |
| MEDIUM | …ackages/openai/tests/openai/test_openai_chat_client.py | 1655 | assert response.messages[0].contents[0].text == "I cannot provide that information." | CODE |
| MEDIUM | …nai/tests/openai/test_openai_chat_completion_client.py | 1584 | refusal="I cannot provide that information.", | CODE |
| MEDIUM | …nai/tests/openai/test_openai_chat_completion_client.py | 1598 | assert message.contents[0].text == "I cannot provide that information." | CODE |
| MEDIUM | …ts/responses/Using-E2E-Resilience/IdempotentService.cs | 14 | /// For demonstration purposes only. This service and its client should not be used as-is in production. | COMMENT |
| MEDIUM | …ed_Shared_Contributor_Setup/IdempotentServiceClient.cs | 13 | /// For demonstration purposes only. This sample client and its backing service should not be used as-is in production. | COMMENT |
| MEDIUM | …nses/Hosted-Workflow-Resilient-Long-Running/Program.cs | 122 | /// For demonstration purposes only. The workflow and its backing service should not be used as-is in production. | 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 |
|---|---|---|---|---|
| MEDIUM | …-hosted-agents/invocations/telegram/tests/test_main.py | 54 | CODE | |
| MEDIUM | …packages/core/tests/core/test_middleware_with_agent.py | 170 | CODE | |
| MEDIUM | …packages/core/tests/core/test_middleware_with_agent.py | 171 | CODE | |
| MEDIUM | …packages/core/tests/core/test_middleware_with_agent.py | 2096 | CODE | |
| MEDIUM | …packages/core/tests/core/test_middleware_with_agent.py | 2097 | CODE | |
| MEDIUM | …ages/core/tests/core/test_function_invocation_logic.py | 1218 | CODE | |
| MEDIUM | python/packages/core/tests/core/test_mcp_http_auth.py | 296 | CODE | |
| MEDIUM | python/packages/core/tests/core/test_types.py | 6331 | CODE | |
| MEDIUM | python/packages/core/tests/core/test_types.py | 6350 | CODE | |
| MEDIUM | python/packages/core/tests/core/test_types.py | 6372 | CODE | |
| MEDIUM | python/packages/core/tests/core/test_agent_hooks.py | 2252 | 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 | 3248 | CODE | |
| MEDIUM | python/packages/ag-ui/tests/ag_ui/test_a2ui.py | 311 | CODE | |
| MEDIUM | python/packages/ag-ui/tests/ag_ui/test_a2ui.py | 325 | CODE | |
| MEDIUM | …ges/ag-ui/tests/ag_ui/golden/test_scenario_workflow.py | 481 | CODE | |
| MEDIUM | …ting-telegram/tests/hosting_telegram/test_rendering.py | 211 | CODE | |
| MEDIUM | python/packages/chatkit/tests/test_streaming.py | 29 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | python/samples/02-agents/compaction/basics.py | 104 | # plus matching tool result messages). In this example, setting to 0 removes | COMMENT |
| HIGH | …samples/02-agents/context_providers/mem0/mem0_basic.py | 35 | # In this example, we associate Mem0 records with user_id. | COMMENT |
| HIGH | …n/samples/02-agents/context_providers/mem0/mem0_oss.py | 36 | # In this example, we associate Mem0 records with user_id. | COMMENT |
| HIGH | python/packages/ag-ui/getting_started/server.py | 113 | # In this example: | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …uction_ready/skills/risk-scoring/scripts/risk_score.py | 8 | # Usage: | COMMENT |
| LOW | …on_ready/skills/valuation/scripts/valuation_metrics.py | 8 | # Usage: | COMMENT |
| LOW | …our_own_claw/skills/risk-scoring/scripts/risk_score.py | 8 | # Usage: | COMMENT |
| LOW | …own_claw/skills/valuation/scripts/valuation_metrics.py | 8 | # Usage: | COMMENT |
| LOW | …/mixed_skills/skills/unit-converter/scripts/convert.py | 4 | # Usage: | COMMENT |
| LOW | …e_based_skill/skills/unit-converter/scripts/convert.py | 4 | # Usage: | COMMENT |
| LOW | …oundryHostedAgents/scripts/add-local-framework-feed.sh | 30 | # Usage: | COMMENT |
| LOW | …dy/ClawAgent/skills/risk-scoring/scripts/risk_score.py | 8 | # Usage: | COMMENT |
| LOW | …lawAgent/skills/valuation/scripts/valuation_metrics.py | 8 | # Usage: | COMMENT |
| LOW | …Capabilities/skills/risk-scoring/scripts/risk_score.py | 8 | # Usage: | COMMENT |
| LOW | …bilities/skills/valuation/scripts/valuation_metrics.py | 8 | # Usage: | COMMENT |
| LOW | …sAutoApproval/skills/unit-converter/scripts/convert.py | 4 | # Usage: | COMMENT |
| LOW | …dSkills/skills/unit-converter/scripts/convert-units.py | 4 | # Usage: | COMMENT |
| LOW | …leBasedSkills/skills/unit-converter/scripts/convert.py | 4 | # Usage: | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | python/packages/foundry_hosting/tests/test_responses.py | 1761 | def handle_request(request: Any) -> Any: | CODE |
| LOW | …ages/github_copilot/tests/test_github_copilot_agent.py | 2808 | def my_function(arg: str) -> str: | CODE |
| LOW | …ages/foundry/tests/foundry/test_foundry_chat_client.py | 1054 | def handle_request(request: Any) -> Any: | CODE |
| LOW⚡ | python/packages/core/tests/core/test_skills.py | 5529 | def my_function(key: str = "") -> str: | CODE |
| LOW | python/packages/core/tests/core/test_feature_stage.py | 109 | def my_function(value: int) -> int: | CODE |
| LOW | python/packages/core/tests/core/test_feature_stage.py | 455 | 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 | 248 | def process_data(data: str): | STRING |
| LOW | python/packages/a2a/tests/test_a2a_agent.py | 521 | def handle_request(request: httpx.Request) -> httpx.Response: | CODE |
| LOW⚡ | python/packages/lab/gaia/samples/gaia_sample.py | 148 | async def run_task(task: Task) -> Prediction: | CODE |
| LOW | …n/packages/typesafe/tests/typesafe/test_chat_client.py | 258 | def handle_request(request: httpx2.Request) -> httpx2.Response: | CODE |
| LOW | …/packages/declarative/tests/test_declarative_loader.py | 1429 | def my_function(): | STRING |
| LOW | …on/packages/declarative/tests/test_workflow_factory.py | 631 | def my_function(x): | CODE |
| LOW | …es/ollama/tests/ollama/test_ollama_embedding_client.py | 129 | def handle_request(request: httpx.Request) -> httpx.Response: | CODE |
| LOW | …ackages/openai/tests/openai/test_openai_chat_client.py | 6424 | def handle_request(request: Any) -> Any: | CODE |
| LOW | …nai/tests/openai/test_openai_chat_completion_client.py | 363 | def test_function(query: str) -> str: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | …ackages/devui/agent_framework_devui/ui/assets/index.js | 126 | print(response) | CODE |
| HIGH | …mponents/features/gallery/setup-instructions-modal.tsx | 175 | print(response) | CODE |