Refacto Agents

Industry story

Microsoft Agent Framework adds CodeAct pattern and Hyperlight containers

agent-framework coding-agents tool-use

Microsoft's Agent Framework update is quietly solving the two problems that actually block enterprise agent deployment: speed and trust. The CodeAct pattern collapses multi-step plans into a single executable block instead of chaining tool calls. Less round-tripping, meaningfully lower latency. Hyperlight containers handle the other half: sandboxed execution so agent-generated code can't blow up your infrastructure. Builders who've been waiting on both before going to production just lost their excuse.

Full analysis

Microsoft has announced two new capabilities in its Agent Framework, now in public preview. The CodeAct pattern allows AI agents to collapse a multi-step plan into a single executable code block, rather than chaining tool calls one at a time. That shift reportedly cuts end-to-end latency in representative workloads. The announcement also references Hyperlight containers, a lightweight virtualization technology for securely running agent-generated code. Together, these additions target two core agent-builder pain points: execution efficiency and sandboxed code safety.

Comments