Skip to main content

Architecture

System Diagram

┌─ CLI Surface (Prototype) ─────────────────────────┐
│ GitHub Copilot CLI → MCP Servers │
│ → wwi-sales-data (Fabric Data Agent HTTP MCP) │
│ → workiq (@microsoft/workiq MCP) │
│ → quota-forecast skill (inline report) │
└────────────────────────────────────────────────────┘

┌─ M365 Surface (Production) ────────────────────────┐
│ M365 Copilot Chat / Teams → Foundry Agent App │
│ → Fabric IQ (FabricIQPreviewTool, NL→SQL) │
│ → WorkIQ (WorkIQPreviewTool, OBO auth) │
│ → Report Generator (DOCX + OneDrive link) │
└────────────────────────────────────────────────────┘

Shared backend: Fabric Lakehouse (6 WWI tables)

Data Flow

  1. User asks a question (CLI or M365 Copilot)
  2. Orchestrator (Copilot CLI or Foundry) selects tools
  3. Fabric IQ / Data Agent translates NL→SQL, queries Lakehouse
  4. WorkIQ retrieves M365 activity signals (OBO)
  5. Report generator produces DOCX with forecast + charts
  6. Response returned to user with data + report link

Key Components

ComponentPurposeLocation
Fabric Data AgentNL→SQL over LakehouseFabric portal (deployed)
Foundry AgentMulti-tool orchestrationsrc/orchestrator/
Report GeneratorDOCX/PPTX with citationssrc/agents/report_generator/
CLI SkillsCopilot CLI prompt templatessrc/cli/skills/
MCP ConfigMCP server registrysrc/cli/mcp-config.json