Repository navigation
Closed as not planned
Labels
squadSquad triage inbox — Lead will assign to a memberSquad triage inbox — Lead will assign to a membertype:spikeResearch/investigation — produces a plan, not codeResearch/investigation — produces a plan, not code
Description
Work IQ + Squad: Integration Exploration
Context
Microsoft Work IQ is the intelligence layer powering Microsoft 365 Copilot and AI agents. It provides:
- Personal work memory — remembers preferences, collaboration style, frequent tasks
- Work chart — maps real collaboration networks (not just org charts)
- Deep inference — links project files, task dependencies, and communications automatically
- Cross-app coordination — agents coordinate across M365 apps with understanding of dependencies and deadlines
- Agent 365 control plane — admin oversight for enterprise agent deployment
Squad already has persistent agent memory, team knowledge, and multi-agent coordination. Work IQ operates at the organizational layer. The question: can these two systems complement each other?
Ideas to Explore
1. Work IQ + GitHub Issues (collaboration intelligence)
- Work IQ understands who actually works together and on what. Squad manages AI agent teams on GitHub repos.
- Could Work IQ's collaboration graph inform squad composition? ("These 3 humans always collaborate on auth work — suggest them as human squad members")
- Could Squad's issue triage feed into Work IQ's task intelligence?
2. Work IQ context → Squad agent memory
- Work IQ knows what meetings are coming, what documents are active, what deadlines loom
- Squad agents could use this context: "Brady has a design review tomorrow on the auth module — prioritize auth work"
- Personal work memory could seed agent history on new projects
3. Squad notifications via Work IQ signals
- Work IQ knows when someone is available vs. in deep focus
- Squad notification timing could respect Work IQ availability signals
- "Don't ping Brady during his focus block — queue notifications for his next break"
4. Enterprise squad management via Agent 365
- Agent 365 control plane provides admin oversight for agents
- Could Squad agents register with Agent 365 for enterprise governance?
- Compliance, audit trails, and security policies applied to squad operations
5. Work IQ + Squad for team onboarding
- Work IQ knows the informal knowledge network
- Squad could use this to route questions to the right human expert
- New team members get an AI squad pre-loaded with organizational context
Goal
Research feasibility, identify 2-3 high-value integration points, and produce a go/no-go recommendation with a sprint plan. Focus on what's achievable with current APIs and MCP tooling — not vaporware.
Key Questions
- Does Work IQ expose APIs or MCP tools that Squad agents could consume?
- Can Work IQ's context be accessed from GitHub Copilot's MCP environment?
- What's the auth/permission model for accessing Work IQ data?
- Are there existing MCP servers for Work IQ or M365 Graph that Squad could leverage?
Reacted by Marcus Felling
Metadata
Metadata
Assignees
Labels
squadSquad triage inbox — Lead will assign to a memberSquad triage inbox — Lead will assign to a membertype:spikeResearch/investigation — produces a plan, not codeResearch/investigation — produces a plan, not code
Activity
bradygaster commentedon Feb 12, 2026
@copilot — Research assignment.
What we need
Key files to read for context
.github/agents/squad.agent.md— how Squad works (Skills, Human Team Members, MCP integration patterns)team-docs/proposals/030-async-comms-feasibility.md— prior async comms researchteam-docs/proposals/032a-provider-abstraction-architecture.md— provider abstraction patternsteam-docs/proposals/034-notification-architecture.md— just-shipped notification design (MCP-based).ai-team/skills/human-notification/SKILL.md— notification skill (shows MCP integration pattern)Deliverable
Post your findings as a comment on this issue. Include the feasibility matrix, go/no-go, and sprint plan.
GreenCee commentedon Feb 13, 2026
Providing a summary of experience with worki1+squad current state pulled from this week's CLI sessions:
Squad + WorkIQ Integration — Field Test Results (Feb 7-13, 2026)
Ran Squad with WorkIQ MCP server (ask_work_iq) for a full week across multiple workflows. Here's what I attempted and what actually happened.
✅ Attempted & Worked
Querying Teams messages for content the squad needed:
steveyegge/bead), GitHub Agentic Workflows blog\
Finding a specific correction in recent chat history:
Querying across multiple chat types simultaneously:
Feeding WorkIQ output to downstream agent work:
❌ Attempted & Failed (or not possible)
Getting structured/JSON output:
Writing back to WorkIQ / updating context:
Querying email reliably:
Getting collaboration graph / who-works-with-whom:
Getting availability/focus signals:
Getting file/document context proactively:
🟡 Partially Worked
Searching meeting transcripts:
Counting / aggregating:
Integration Pattern That Emerged
User request → Squad Coordinator → spawns agent with WorkIQ access
→ Agent calls ask_work_iq("find X in Teams from the past N days")
→ WorkIQ returns prose + deep links
→ Agent parses prose, extracts relevant content
→ Agent incorporates into deliverable (code, docs, slides, etc.)
This pattern was used ~8 times across the week and succeeded every time for Teams message queries. The failure modes were all around email, structured output, and write-back.
Spec Implications
For a real integration, WorkIQ would need:
Items 1 and 3 would make the existing integration production-grade. Items 2, 4, 5 are the full vision.
bradygaster commentedon Feb 14, 2026
This is a great write-up @GreenCee - thanks.
feat: elevate Agent Repository Architecture to core foundation
github-actions commentedon Mar 4, 2026
🔄 Ralph — Auto-Triage
Assigned to: Baer
Reason: Matched routing keyword(s): compliance
Source: routing-rule
bradygaster commentedon Mar 5, 2026
PRD: Work IQ + Squad Integration
1. Overview and Problem Statement
The Problem
Squad teams operate blind. When a squad of AI agents works on a codebase — triaging issues, writing code, reviewing PRs, running ceremonies — there is zero visibility into how well the team is actually performing. Questions nobody can answer today:
Meanwhile, Microsoft's Work IQ — the intelligence layer powering M365 Copilot — already solves the organizational version of this problem: it maps collaboration networks, remembers work patterns, and infers task dependencies across an enterprise. There is now a public MCP server (
@microsoft/workiq) that exposes this intelligence layer to AI agents via the Model Context Protocol.The Opportunity
Two integration surfaces exist:
Inbound: Work IQ → Squad. Feed organizational context (collaboration graphs, deadlines, availability signals, active documents) into squad agent memory and routing decisions. Squad agents become organizationally aware.
Outbound: Squad → Work IQ / Observability. Emit squad performance telemetry — agent effectiveness, team velocity, cost attribution, skill growth — into enterprise observability pipelines. Squad becomes measurable.
Why This Matters
Without measurement, squad adoption is a leap of faith. Enterprise teams need ROI justification. Individual developers need confidence that their squad is improving. Work IQ integration provides both: external context makes squads smarter, internal metrics make squads accountable.
2. Proposed "Work IQ" Metrics
2.1 Agent Effectiveness Metrics
(decisions not overridden within 7d) / (total decisions)(PRs approved on first review) / (total PRs submitted)(rejected PR count + revision cycles) / (total PR count)(history.md reads before task) / (total tasks){high: N, medium: N, low: N}per agent(tasks completed by initially routed agent) / (total routed tasks)2.2 Team Dynamics Metrics
issues_closed / time_periodmedian(PR_merge_timestamp - issue_assignment_timestamp)(issues caught in design review) / (issues found post-implementation)delta(skills + history_entries + decisions) / time_period(parallel_agent_time) / (serial_equivalent_time){untriaged: N, stale: N, blocked: N}snapshot2.3 Cost & Efficiency Metrics
sum(token_cost) / issues_closed(useful_output_tokens) / (total_tokens)(quality_delta) / (cost_delta)when premium model usedtime_to_first_responsefirst_token_timestamp - request_timestamp2.4 Integration-Specific Metrics (Work IQ)
age(most_recent_workiq_sync)(notifications sent during available windows) / (total notifications)(routed-to-human suggestions accepted) / (suggestions made)3. Data Collection Architecture
3.1 What Gets Captured
3.2 Where It's Stored
Local-first, privacy-respecting:
When OTLP is configured (SDK mode):
Telemetry additionally flows to the configured OTLP endpoint (Aspire dashboard, Grafana, Azure Monitor, etc.) via the existing OTel bridge in
packages/squad-sdk/src/runtime/otel.ts.3.3 How It Flows
4. Scoring Model
4.1 Individual Agent Score (0–100)
Each agent receives a score composed of weighted dimensions:
Where
SkillConfidenceIndex = (high×1.0 + medium×0.5 + low×0.1) / total_skills.4.2 Team Work IQ Score (0–100)
Composite of agent scores and team-level metrics:
4.3 Squad Maturity Model
The Team Work IQ score maps to maturity levels:
4.4 Trend Detection
Work IQ tracks 7-day, 30-day, and 90-day trends:
5. Dashboard / Reporting UX
5.1 CLI Output:
squad workiqPrimary interface — respects NO_COLOR, ASCII-only separators, text-over-emoji:
5.2 CLI Output:
squad workiq --detail <agent>Deep dive into a single agent's metrics with historical trend.
5.3 CLI Output:
squad workiq --exportExports full metrics as JSON for external dashboards or CI integration:
{ "version": "1.0", "timestamp": "2026-03-06T12:00:00Z", "team_score": 67, "maturity_level": 3, "agents": { ... }, "metrics": { ... }, "trends": { ... } }5.4 OTLP Dashboard (SDK Mode)
When telemetry flows to Aspire/Grafana, pre-built dashboard panels include:
6. Integration Points with Existing Features
6.1 Work IQ MCP Server → Squad
What exists: Microsoft ships
@microsoft/workiqas an MCP server (npx -y @microsoft/workiq mcp). It exposes M365 data — emails, calendars, documents, Teams messages, collaboration graphs — via MCP protocol. Requires M365 + Copilot license + Entra ID auth.Integration path:
Three integration points:
Collaboration graph → Squad composition suggestions
squad suggest --from-workiq→ "Based on collaboration patterns, suggest adding @sarah (auth expert) and @james (frontend lead)"Availability signals → Notification timing
Do Not Disturb— no pings during deep workActive document context → Agent task prioritization
6.2 Agent 365 Control Plane → Squad Governance
What exists: Microsoft Agent 365 provides centralized identity, policy, audit trails for AI agents via Entra ID. SDK supports registration, policy enforcement, OpenTelemetry integration.
Integration path (enterprise tier):
6.3 Squad Telemetry → Observability Pipeline
What exists: Full OTel infrastructure in
packages/squad-sdk/src/runtime/— currently dormant, activated by SDK mode (PRD #194).otel-metrics.tscost-tracker.tsevent-bus.tssquad-observer.ts6.4 Ceremony Outcomes → Metrics
Squad ceremonies already produce structured outputs:
Work IQ score creates a feedback loop: ceremonies that improve the Work IQ score get validated, ceremonies that don't get questioned.
7. Connection to SDK-First Squad Mode (#194)
SDK Mode Is the Enabler
This PRD depends on SDK-First Squad Mode (#194). Here's why:
Current state (markdown-only mode): Squad runs inside Copilot CLI's sandbox. We have zero hook into session creation, tool calls, routing decisions, or token usage. All OTel infrastructure is dead code. No telemetry = no metrics = no Work IQ score.
SDK mode unlocks:
Phase dependency:
Markdown-Mode Fallback
Even without SDK mode, a subset of Work IQ metrics can be computed from Git data and .squad/ file analysis:
The
squad workiqcommand works in markdown mode with reduced fidelity. A banner indicates:[PARTIAL] Full metrics require SDK mode — run squad init --sdk8. Phased Rollout
Phase 1: Git Metrics Foundation (works today, no SDK dependency)
Ships:
squad workiqCLI command with git-derived metricsScope:
git logand GitHub API.squad/telemetry/sessions.jsonlEffort: 1–2 weeks, 1 engineer (Fenster or Fortier)
Acceptance criteria:
squad workiqproduces a score on any squadded repoPhase 2: SDK Telemetry Activation (requires SDK Mode Phase 3)
Ships: Full agent-level metrics from runtime telemetry
Scope:
Effort: 2–3 weeks, 1 engineer
Acceptance criteria:
squad workiqPhase 3: Work IQ MCP Integration
Ships: Organizational context flowing into Squad
Scope:
@microsoft/workiqserversquad suggest --from-workiqCLI commandEffort: 3–4 weeks, 1–2 engineers (Baer for security review)
Acceptance criteria:
squad suggest --from-workiqreturns meaningful suggestionsPhase 4: Enterprise Governance + Agent 365
Ships: Enterprise-grade agent management
Scope:
squad governanceCLI commandsEffort: 4–6 weeks, 2 engineers (Baer + enterprise focus)
Acceptance criteria:
9. Privacy and Data Considerations
9.1 Core Principles
Local-first: All metrics stored in
.squad/telemetry/by default. No external transmission without explicit opt-in (SQUAD_TELEMETRY=1+ OTLP endpoint).No PII in metrics: Work IQ scores, agent metrics, and telemetry contain no personally identifiable information. Agent names are fictional (casting identities), not real names.
Org context isolation: Work IQ data cached locally is never sent to LLM context without PII stripping. Collaboration graph uses role descriptors, not names: "auth expert (3 shared PRs)" not "sarah@company.com".
Retention limits: Telemetry files auto-rotate. Default: 90 days for session data, 7 days for cached Work IQ context. Configurable via
squad.config.ts.Consent model:
9.2 Work IQ-Specific Privacy
squad workiq --privacyshows exactly what data is collected and where it's stored9.3 Data in
.gitignoreTelemetry data is gitignored by default. Team-level aggregates (daily snapshots) can optionally be committed for shared visibility.
10. Success Criteria and Acceptance Tests
Phase 1 Success
squad workiqworks with no network (git-only metrics)squad workiqproduces partial score without SDK modePhase 2 Success
Phase 3 Success
Phase 4 Success
11. Open Questions
Work IQ MCP server stability: The
@microsoft/workiqMCP server is in preview. How do we handle breaking changes? Recommendation: version-pin + adapter pattern.Scoring calibration: Initial weights (0.30 first-pass, 0.25 durability, etc.) are hypotheses. Do we need a calibration period? Recommendation: ship with defaults, add
squad workiq --calibratelater.Cross-repo Work IQ: Can a Work IQ score aggregate across multiple repos in a monorepo or multi-repo setup? Recommendation: Phase 2+ concern; start with single-repo.
Human-in-the-loop validation: Should humans be able to override/adjust Work IQ scores? Recommendation: No — scores are derived from data, not opinions. Humans can adjust weights.
Competitive benchmarking: Should squads be comparable across organizations? Recommendation: No — Work IQ is for self-improvement, not leaderboards. Organizational context makes cross-org comparison meaningless.
Agent 365 licensing: What's the licensing model for registering non-Microsoft agents? Research needed before Phase 4 commitment.
Ceremony auto-triggering: At Level 3 (Adaptive), should low Work IQ scores auto-trigger retros? Recommendation: Yes, with user confirmation —
[SUGGEST] Work IQ dropped 8% this week. Run a retro? (y/n)12. Risk Matrix
13. Go/No-Go Recommendation
Go. Three reasons:
Infrastructure exists. The OTel stack, EventBus, CostTracker, Ralph monitor, and squad-observer are all built and waiting for activation. Work IQ is not new infrastructure — it's the measurement layer for infrastructure we've already invested in.
Phase 1 ships without SDK dependency. Git-derived metrics and .squad/ file analysis provide immediate value. No blocking dependency on SDK-First Mode for initial delivery.
Microsoft has built the bridge. The
@microsoft/workiqMCP server and Agent 365 control plane are public, documented, and designed for exactly this integration pattern. We're not inventing a protocol — we're consuming one.Recommended first action: File Phase 1 implementation issues (git collector, scorer, CLI command) and assign to Fenster or Fortier. Phase 1 can start immediately.
bradygaster commentedon Mar 7, 2026
This is a really thoughtful exploration, and we genuinely appreciate the depth of thinking here. The Work IQ + Squad pairing is genuinely interesting — personal work memory feeding agent context is a compelling idea! We're focused on core Squad stability right now, but MCP (Model Context Protocol) is the path forward for integrations like this. Once Work IQ exposes MCP tools or M365 Graph APIs, Squad agents could consume that context directly. The architecture supports it. Let's keep this on the radar! 🚀
docs: renumber ADO blog to github#25, add release notes blog github#26
chore: remove draft release notes blog github#26
feat: Azure DevOps platform adapter — Squad for enterprise (#191)
docs: add release notes blog github#26 + remove duplicate ADO blog gi…
docs: add release notes blog #26 + remove duplicate ADO blog #23 (#278)
docs: rate-limiting research — 6 coordination patterns, Rate Governor…
docs: rate limiting research (github#26) + upstream inheritance (gith…