n4nAI

Topic

AutoGen Code-Executing Agents

12 posts on autogen code-executing agents — part of framework tutorials on the n4n AI blog.

Framework tutorialsHow-to

Using AutoGen's LocalCommandLineCodeExecutor safely

Learn to run AutoGen's LocalCommandLineCodeExecutor securely with sandboxing, allowlists, resource limits, and monitoring — production-ready patterns for code-executing agents.

4 min read
Framework tutorialsGuide

Self-correcting AutoGen agents that debug their own code

Build AutoGen agents that execute code, catch errors, and iterate until the output works — with practical patterns for production use.

4 min read
Framework tutorialsHow-to

Sandboxing AutoGen code execution with Docker containers

A step-by-step guide to sandboxing AutoGen code execution with Docker containers, including container setup, agent configuration, and verification.

4 min read
Framework tutorialsHow-to

Route AutoGen code execution to GPT-5.1 via n4n.ai

Route AutoGen code-executing agents to GPT-5.1 through n4n.ai with automatic fallback and per-token metering.

4 min read
Framework tutorialsHow-to

Handling timeouts in AutoGen code execution agents

Learn how to configure and handle timeouts in AutoGen code execution agents with practical steps, code examples, and verification methods.

4 min read
Framework tutorialsHow-to

Generate matplotlib charts with AutoGen code agents

A step-by-step guide to building AutoGen agents that write, execute, and iterate on matplotlib visualization code with Docker sandboxing.

4 min read
Framework tutorialsHow-to

Build code-executing AutoGen agents with n4n.ai

Build code-executing AutoGen agents with n4n.ai as the LLM gateway: install, configure, run Python via UserProxyAgent, and verify execution.

3 min read
Framework tutorialsHow-to

Build a data analysis agent with AutoGen code execution

Learn how to build an autogen data analysis agent code execution workflow that generates and runs Python to explore CSV data with guarded local execution.

4 min read
Framework tutorialsHow-to

AutoGen Docker code executor: a secure setup guide

Step-by-step guide to a hardened AutoGen Docker code executor setup: isolate agent-generated Python in a container, with runnable configs and verification.

3 min read
Framework tutorialsComparison

AutoGen code execution vs function calling explained

A practical head-to-head comparison of AutoGen code execution vs function calling across cost, latency, ergonomics, and limits, with a verdict.

1 min read
Framework tutorialsTutorial

AutoGen code execution tutorial: prompt to Python

Step-by-step autogen code execution tutorial python: build AutoGen agents that generate, run, and debug Python code locally with full runnable examples.

3 min read
Framework tutorialsHow-to

AutoGen AssistantAgent plus code executor, step by step

Step-by-step autogen assistantagent code executor tutorial: configure AssistantAgent with a local code executor, run multi-turn coding tasks safely.

4 min read