| Field | Value |
|---|---|
| Worker Name | AutoGen Code Executor |
| Agent Key / ID | autogen-code-executor |
| Owner / Operator | Operator-configured (the developer/team embedding the AutoGen code executor) |
| Deployment Environment | Research / prototyping (per AutoGen Responsible-AI FAQ); not production without additional hardening |
| Primary Model | N/A — the executor runs code blocks; it does not itself call an LLM |
| Secondary Models | N/A |
| Remit Version | 1.3 |
| Last Updated | 2026-08-11 |
| Updated By | Praxen (#201 over-reach cleanup, pre-1.3-freeze) |
The AutoGen Code Executor is the component of an AutoGen multi-agent workflow that takes code blocks produced by other agents (a coder / assistant agent or an LLM), runs them in a controlled execution environment, and returns the exit code and output. Its purpose is to let a multi-agent system act on generated code safely — inside an isolation boundary and under human oversight — rather than on the host without supervision.
python:3-slim), a remote serverless sandbox executor that runs Python on Azure Container Apps dynamic sessions (no code runs on the host), and a local executor that runs code directly on the host machine for trusted development use only.| Channel | Allowed | Requires Approval | Notes |
|---|---|---|---|
| Agent runtime message bus (code blocks in, results out) | Yes | No | Only from agents within the same authorized AutoGen runtime |
| Docker daemon (Docker backend) | Yes | No | Local/host Docker daemon that creates and controls the execution container |
| Azure Container Apps dynamic-sessions pool endpoint (Azure backend) | Yes | No | The configured pool management endpoint, reached over HTTPS |
Definitional — parameterizes the movement rules below; not extracted as its own rule.
python:3-slim); Azure ACA dynamic-sessions executor; local command-line executor (virtual-env isolated).coding/); the Azure session data directory (/mnt/data) for the remote backend./mnt/data; restarts the session to clear state between unrelated tasks.