Microsoft AutoGen 0.7.x 멀티에이전트 튜토리얼 — AssistantAgent부터 GraphFlow까지 처음부터 만들기
AutoGen 0.7.x의 새로운 API로 멀티에이전트 시스템을 처음부터 구현하는 실전 가이드. RoundRobinGroupChat, SelectorGroupChat, GraphFlow, FunctionTool을 직접 코드로 실행해보며 0.2.x와의 차이를 비교한다.
jangwook.net
Personal technical notes on AI agents, automation, developer tools, and the process of building software.
Latest Notes
The root page stays intentionally small. Choose a language, then read the full archive and related posts there.
AI 에이전트, 자동화, 개발 도구, 소프트웨어 제작 과정을 한국어로 기록합니다.
AutoGen 0.7.x의 새로운 API로 멀티에이전트 시스템을 처음부터 구현하는 실전 가이드. RoundRobinGroupChat, SelectorGroupChat, GraphFlow, FunctionTool을 직접 코드로 실행해보며 0.2.x와의 차이를 비교한다.
claude-agent-sdk 0.2.82를 직접 설치해 AgentDefinition 구조와 서브에이전트 병렬 실행 패턴을 직접 검증했다. 오케스트레이터가 3개 서브에이전트를 동시에 스폰하고 TaskBudget으로 비용을 제어하는 전체 흐름을 Python 코드와 함께 설명한다.
Gemini 2.5 Flash의 Thinking Budget을 Budget=0/1024/8000 세 가지로 단순 작업·수학 추론·코드 리뷰에 직접 실험했다. 단순 작업은 5배 느려지고, 수학 문제는 오히려 출력 토큰을 줄여준다. 작업 유형별 최적 설정 프레임워크를 공유한다.
Personal notes on AI agents, automation, developer tools, and building software.
A hands-on guide to building multi-agent systems with AutoGen 0.7.x new API from scratch. Run RoundRobinGroupChat, SelectorGroupChat, GraphFlow, and FunctionTool directly in code while comparing with the 0.2.x approach.
claude-agent-sdk 0.2.82 validated: AgentDefinition structure, parallel subagent spawning, and TaskBudget cost control. Full Python code walkthrough included.
I ran Gemini 2.5 Flash's thinking_budget at 0, 1024, and 8000 across simple tasks, math reasoning, and code review. Simple tasks got 5x slower with no gain. Math reasoning actually reduced output tokens. Here's the task-by-task decision framework.
AIエージェント、自動化、開発ツール、ソフトウェア開発の記録です。
AutoGen 0.7.xの新APIでマルチエージェントシステムを一から実装する実践ガイド。RoundRobinGroupChat、SelectorGroupChat、GraphFlow、FunctionToolを実際にコードで動かしながら0.2.xとの違いを比較する。
claude-agent-sdk 0.2.82を実際にインストールしてAgentDefinition構造とサブエージェント並列実行パターンを検証した。オーケストレーターが3つのサブエージェントを同時にスポーンし、TaskBudgetでコストを制御する全体フローをPythonコードとともに詳しく解説する。
Gemini 2.5 FlashのThinking BudgetをBudget=0/1024/8000の3パターンで、単純タスク・数学推論・コードレビューに実験した。単純タスクは5倍遅くなり、数学問題では逆に出力トークンを削減する。タスク別最適設定フレームワークを公開する。
记录 AI 代理、自动化、开发工具和软件构建过程。
基于AutoGen 0.7.x新API从零实现多智能体系统的实战指南。直接运行RoundRobinGroupChat、SelectorGroupChat、GraphFlow和FunctionTool,对比0.2.x的差异。
我亲自安装claude-agent-sdk 0.2.82,实测AgentDefinition结构与ClaudeAgentOptions类型,验证编排器同时spawn三个子代理的并行模式。完整讲解通过TaskBudget控制成本上限,以及SubagentStartHookInput钩子的Python实现全流程。
我用 Budget=0/1024/8000 三种配置,在简单任务、数学推理、代码审查三类场景下亲测了 Gemini 2.5 Flash Thinking API。简单任务速度慢 5 倍毫无收益,数学推理反而减少了输出 token。分享按任务类型选择最优 budget 的决策框架。