MAI Code 2 / Code 2 Flash

Microsoft · November 17, 2026

● activeClosedmixture of expertscode
Context Window512K tokens
VariantsMAI Code 2, MAI Code 2 Flash

Description

Microsoft's proprietary in-house agentic software engineering family introduced at Ignite 2026 for repository-wide reasoning, debugging, and high-throughput IDE workflows.

Key Innovations

Code Gen
Code GenAbility to write, debug, and understand programming code across multiple languages.
Agentic
AgenticModels that can autonomously plan, execute multi-step tasks, use tools, and self-correct without human intervention.
Reasoning
ReasoningStructured step-by-step problem solving, often using chain-of-thought or tree-of-thought approaches.
Tool Use
Tool UseAbility to call external tools, APIs, and functions — enabling web browsing, code execution, and real-world actions.

Family Tree

Built On

Lineage

Phi-1→Phi-2→Phi-3→MAI-1→MAI Code 2 / Code 2 Flash

Successors (1)

External Links