Skip to content

Fraud Intelligence: end-to-end verification and fixes - #641

Merged
Digvijay (Digvijay) merged 1 commit into
microsoft:mainfrom
Digvijay:fastlane/07-fraud-intelligence
Nov 30, 2026
Merged

Digvijay (Digvijay) merged 1 commit into
microsoft:mainfrom
Digvijay:fastlane/07-fraud-intelligence

Conversation

@Digvijay

@Digvijay Digvijay (Digvijay) commented Nov 29, 2026 •

Copy link
Copy Markdown
Collaborator

I deployed the Fraud Intelligence lab and worked through all six challenges in a Codespace.

Draft for content-owner review: dsanchor Marco Weber (@qxsch).

What was verified

  • Challenges 1 to 4: Cosmos load, MCP deploy and tool calls, knowledge base, the three agents and the local orchestration.
  • Challenge 5 on the now generally available Azure AI Gateway: both MCP servers through the gateway, AlertManagerAgent creates alerts, the four-agent orchestration runs.
  • The Challenge 6 orchestration deployed as a hosted agent and invoked end to end; run-tests.sh completes against it. All the custom fraud.* metrics arrive in Application Insights (3 transactions processed for 3 requests sent). The Grafana import is a UI step on the same metrics and was not repeated.

What changed

  • Challenge 2 (portal re-walked live): new agents can default to model-router, so every agent step now says to pick gpt-5.6-luna under Deployments (C2-C5). Project details tab is now Connections, the tool menu item is Edit, and the nav says Models. Replaced 4 screenshots (foundry-new-agent, foundry-blank-agent, foundry-configure-mcp-tool-menu, foundry-connected-resources) with fresh captures, identifiers blurred, green callouts matching the hack's style.
  • Challenges 3 to 6 re-walked live in the portal on a fresh lab (knowledge base with 3 sources, all four agents, hosted orchestration via azd, AI Gateway MCPs, alert creation, App Insights, Grafana import):
    • C3: knowledge-base model, reasoning effort and retrieval instructions are now under Improve retrieval; Output mode no longer exists. Replaced the knowledge-base and Add sources screenshots.
    • C4: agents-versions.png showed hard-coded versions in code, contradicting the "latest version" text; replaced with the portal Agents list.
    • C5: the Tools page opens on Toolboxes; added the step to select the Tools tab.
    • C6: run-tests.sh returned empty responses for about 1 in 3 requests because back-to-back runs (about 80K tokens each) hit the model's per-minute quota. hosted_agent_client.py now waits 30 s between requests (--delay) and retries empty responses; 6 of 6 succeeded after the change. Updated the Agents dashboard, View traces and Explore in Grafana text and screenshots, and made the Grafana Application Insights selector step explicit (the imported dashboard opens on another resource and shows No data).
    • Lab automation registers Microsoft.Web (C2 Function App) and Microsoft.Dashboard (C6 Grafana dashboard save), which were missing.- Challenge 5: Azure AI Gateway became a standalone GA product at Ignite (no longer an APIM preview tier). Gateway, MCP proxy and OpenAPI-based MCP are now created with the az aigateway CLI, with the portal as an alternative. Removed the preview-portal screenshots. Note: tool names now carry the server prefix (financial-evidence-mcp_get_bank_information); agents handle it.
  • azure.yaml (Challenges 4 to 6): the current agents tooling rejects value: true; it must be the string 'true', otherwise the hosted deploy fails validation.
  • Challenge 4: the hosted orchestration's managed identity needs Foundry User on the Foundry account, otherwise the container cannot read the agents at startup and the playground returns 424 session_not_ready. Added the step and a troubleshooting entry.
  • Orchestration main.py (Challenges 4 to 6) finds agents by name and uses the latest version by default, with .env overrides; the hard-coded versions and a lowercase agent name returned 404.
  • Dev container on Python 3.13 (azure-functions>=2.2.0b3 needs it), knowledge base model name, CLI option for the MCP system key, shell scripts executable in git, walkthrough navigation links, Markdown preview in the Codespace.

Worth a look

  • The Foundry Toolkit (VS Code) deploy flow itself; I deployed with azd ai agent, which the toolkit uses underneath.
  • Time estimates for Challenges 4 and 5 (45 min each) look tight.

How it was tested

The lab was deployed with this hack's own labautomation into a test subscription (all test resources have since been deleted) and every challenge was run as a participant would. Links and the repository structure check pass.

@Digvijay
Digvijay (Digvijay) force-pushed the fastlane/07-fraud-intelligence branch 2 times, most recently from 214a7ea to cedde97 Compare November 29, 2026 19:28
@Digvijay Digvijay (Digvijay) changed the title Fraud Intelligence: verified end to end for the December FASTLANE events Fraud Intelligence: end-to-end verification and fixes Nov 29, 2026
@Digvijay
Digvijay (Digvijay) force-pushed the fastlane/07-fraud-intelligence branch from cedde97 to 84d6b0f Compare November 29, 2026 22:01
I deployed the Fraud Intelligence lab and worked through all six challenges in a Codespace.

### What was verified
- Challenges 1 to 4: Cosmos load, MCP deploy and tool calls, knowledge base, the three agents and the local orchestration.
- Challenge 5 on the now generally available Azure AI Gateway: both MCP servers through the gateway, AlertManagerAgent creates alerts, the four-agent orchestration runs.
- The Challenge 6 orchestration deployed as a hosted agent and invoked end to end; `run-tests.sh` completes against it. All the custom `fraud.*` metrics arrive in Application Insights (3 transactions processed for 3 requests sent). The Grafana import is a UI step on the same metrics and was not repeated.

### What changed
- Challenge 5: Azure AI Gateway became a standalone GA product at Ignite (no longer an APIM preview tier). Gateway, MCP proxy and OpenAPI-based MCP are now created with the `az aigateway` CLI, with the portal as an alternative. Removed the preview-portal screenshots. Note: tool names now carry the server prefix (`financial-evidence-mcp_get_bank_information`); agents handle it.
- `azure.yaml` (Challenges 4 to 6): the current agents tooling rejects `value: true`; it must be the string `'true'`, otherwise the hosted deploy fails validation.
- Challenge 4: the hosted orchestration's managed identity needs Foundry User on the Foundry account, otherwise the container cannot read the agents at startup and the playground returns `424 session_not_ready`. Added the step and a troubleshooting entry.
- Orchestration `main.py` (Challenges 4 to 6) finds agents by name and uses the latest version by default, with `.env` overrides; the hard-coded versions and a lowercase agent name returned 404.
- Dev container on Python 3.13 (`azure-functions>=2.2.0b3` needs it), knowledge base model name, CLI option for the MCP system key, shell scripts executable in git, walkthrough navigation links, Markdown preview in the Codespace.

### Worth a look
- The Foundry Toolkit (VS Code) deploy flow itself; I deployed with `azd ai agent`, which the toolkit uses underneath.
- Time estimates for Challenges 4 and 5 (45 min each) look tight.

### How it was tested
The lab was deployed with this hack's own `labautomation` into a test subscription (all test resources have since been deleted) and every challenge was run as a participant would. Links and the repository structure check pass.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@Digvijay
Digvijay (Digvijay) marked this pull request as ready for review November 29, 2026 22:51
@Digvijay
Digvijay (Digvijay) merged commit 7d69952 into microsoft:main Nov 30, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants