Lesson 09.06 · Phase 09 · Frameworks & SDKs
AutoGen conversations
AutoGen models multi-agent work as a conversation. Every agent reads one shared transcript, a team decides who speaks next, and a termination condition decides when the conversation is over. That's three small pieces of code, and the third one is where most runaway bills come from.
Learning objectives
- Implement a shared-transcript agent and explain how each agent "sees" the others.
- Build round-robin and model-selected speaker order, including retries for an invalid selection.
- Compose termination conditions with | and &, and explain why every team needs one.
- Know AutoGen's tool default: an agent returns tool results as its message unless reflectontooluse is on.
You put a writer and a critic in a chat and tell the critic to say APPROVE when the code is right. It works in the demo. In production the critic finds one more nit every round, the conversation never ends, and a weekend of back-and-forth shows up on the bill.
Loading the full lesson…