Skip to content
Microsoft BuildFeatureAnnouncement

Announcing: CodeAct pattern and Hyperlight containers in Microsoft Agent Framework

Published
15 Jul 2026
Last modified
15 Jul 2026
Products
Microsoft Foundry
Categories
AI + machine learning
Source
Azure Updates ↗
Advertisement
Microsoft Agent Framework adds the CodeAct pattern in public preview, which lets agents collapse a multi-step plan into a single executable code block rather than chaining one tool call at a time. In representative workloads, CodeAct cut end-to-end latency by roughly 50 percent and token use by more than 60 percent compared with step-by-step orchestration. The framework runs CodeAct programs inside Hyperlight, a Microsoft-built sandboxed container runtime that boots in milliseconds and isolates each execution from the host and from other agents. Developers get the productivity of letting the model write code without giving up the safety properties that enterprises require for production agents. Both capabilities ship through the framework on GitHub in .NET and Python. 

Learn more.
Advertisement

Related Azure Updates

Advertisement