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.