Skip to content
← FrontpageMicrosoft hallmark logoMicrosoftAnalysis

Microsoft launches MAI-Code-2 and Flash models in GitHub Copilot

Listen to Briefing
0:00/1:33
Topographic elevation contour card for Microsoft launches MAI-Code-2 and Flash models in GitHub Copilot
VISUAL ARTWORK:Original editorial artwork. Third-party brand marks used under nominative fair use.

What happened.Microsoft AI and GitHub released MAI-Code-2 and MAI-Code-2-Flash generally available across GitHub Copilot, introducing agentic coding models specialized for multi-file repository refactoring.

Why it matters.Early developer assistants operated on isolated functions within active editor buffers. Moving to dedicated multi-file reasoning architectures enables autonomous agents to plan repository refactors and resolve dependency conflicts without losing cross-file context.

The technical specifications:

  • Model specialization: MAI-Code-2 targets deep architectural debugging and long-horizon multi-file changes across large software codebases.
  • Latency optimization: MAI-Code-2-Flash provides rapid execution for targeted file edits, automated test generation, and instant code explanations.
  • Multimodal reasoning: Both models process system screenshots and architectural diagrams alongside source text to diagnose user interface regressions.
  • Ecosystem rollout: Available immediately across VS Code, Visual Studio, JetBrains environments, and the Copilot command line interface.