Current
Microsoft Agent Framework Hyperlight CodeAct Support
Microsoft Agent Framework extends agent execution capabilities by integrating Hyperlight CodeAct, providing .NET and Python bindings for secure, isolated code execution within autonomous workflows.
Signal
@aymericw.bsky.social: Hyperlight codeact disponible en #dotnet et en #python dans Microsoft agent framework #ope · github · 2026-05-12
Microsoft Agent Framework exposes Hyperlight CodeAct bindings for .NET and Python, enabling agents to execute code snippets within a lightweight, isolated runtime. This addition provides a secure mechanism for agents to perform programmatic tasks, bridging the gap between high-level orchestration and low-level code execution without requiring full container overhead.
Context
Hyperlight is a micro-virtualization technology designed for secure, low-latency code execution. Its inclusion in the Microsoft Agent Framework signals a move toward native, lightweight isolation for agent actions. The framework, resulting from the consolidation of AutoGen and Semantic Kernel, now supports this execution model across its primary language bindings. This addresses the need for agents to run code safely without the latency and resource cost associated with full containerization.
Relevance
This entry documents the operationalization of code execution as a first-class capability within the Microsoft Agent Framework. By integrating Hyperlight, the framework provides a standardized path for agents to execute code with built-in isolation, reducing the burden on developers to implement custom sandboxing. It reinforces the pattern of treating execution environments as infrastructure rather than ad-hoc script runners, aligning with the broader shift toward inspectable and governable agent operations.
Current State
Hyperlight CodeAct is available via bindings for .NET and Python within the Microsoft Agent Framework repository. The feature is exposed as part of the framework's execution capabilities, allowing agents to invoke code execution endpoints that leverage Hyperlight's micro-virtualization.
Open Questions
- How does Hyperlight CodeAct compare to existing sandboxing solutions like Capsule or OpenSandbox in terms of latency and isolation guarantees?
- Are there plans to expose Hyperlight bindings for other languages or integrate it with the Model Context Protocol (MCP) for tool definition?
- What is the governance model for code execution policies within the framework?
Connections
The integration of Hyperlight positions the Microsoft Agent Framework within the broader ecosystem of agent execution sandboxes. It offers a lighter-weight alternative to Kubernetes-based runtimes like OpenSandbox, while providing a different isolation model compared to WebAssembly-based approaches like Capsule. This entry serves as a concrete implementation of the Agent Execution Sandboxing Infrastructure circuit, demonstrating how micro-virtualization can be embedded directly into agent orchestration frameworks.