Example
AutoGen — implementation sample
A real, runnable mini-project. Download it and run with Docker.
June 28, 2026
AutoGen — implementation sampleA tiny AutoGen (AgentChat) sample: a single assistant agent runs one task.
Note: AutoGen is in maintenance mode; Microsoft directs new work to the Microsoft Agent Framework.
Configure
cd samples/autogen_1
cp .env.sample .env
# edit .env: set OPENAI_API_KEY (and optionally MODEL)
Run with Docker
cd samples/autogen_1
docker build -t aas-autogen .
docker run --rm --env-file .env aas-autogen "Say hello in one short sentence."
Run with Docker (in a devcontainer with DooD)
The foreground docker run may print nothing under Docker-outside-of-Docker —
run detached and follow the logs:
docker logs -f "$(docker run -d --env-file .env aas-autogen "Say hello in one short sentence.")"
Run locally
cd samples/autogen_1
pip install -r requirements.txt
python app.py "Say hello in one short sentence."
Example run
Output varies by model and run — LLMs are non-deterministic. One run with
gpt-4o-mini:
Hello!