feat: Add AutoGen Multi-Agent Code Editing Workflow - #6
Open
nteverysome wants to merge 1 commit into
Open
nteverysome wants to merge 1 commit into
nteverysome wants to merge 1 commit into
Conversation
- Implement three workflow patterns: Basic, Advanced, and Swarm - Basic workflow: Linear execution (coder → reviewer → refactor) - Advanced workflow: Conditional loops with iterative improvement - Swarm workflow: Dynamic handoff and flexible collaboration - Include comprehensive Chinese documentation and examples - Add interactive demo script with multiple task examples - Support for OpenAI GPT-4o and other models - Error handling and state management - Based on AutoGen v0.4+ latest APIs and best practices Files added: - code_editing_workflow_basic.py: Simple linear workflow - code_editing_workflow_advanced.py: Advanced conditional workflow - code_editing_workflow_swarm.py: Swarm-based workflow - run_example.py: Interactive demo script - AutoGen_Workflow_README.md: Complete documentation - requirements_autogen.txt: Dependencies list
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
nteverysome
force-pushed
the
master
branch
2 times, most recently
from
September 24, 2025 07:26
47f0f5b to
b339a17
Compare
nteverysome
force-pushed
the
master
branch
3 times, most recently
from
October 2, 2025 10:05
2a370be to
11c7c02
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🚀 AutoGen 編輯工作流
本 PR 添加了一個完整的 AutoGen 多 Agent 代碼編輯工作流系統,實現了三個核心 Agent 的協作:
📁 新增文件
code_editing_workflow_basic.py- 基礎線性工作流code_editing_workflow_advanced.py- 高級條件循環工作流code_editing_workflow_swarm.py- Swarm 模式工作流run_example.py- 交互式演示腳本AutoGen_Workflow_README.md- 完整使用文檔requirements_autogen.txt- 依賴包列表✨ 主要特性
🔄 工作流類型
🎯 使用方法
pip install -r requirements_autogen.txtexport OPENAI_API_KEY="your-key"python run_example.py🧪 測試
📚 技術實現
AssistantAgent、GraphFlow、Swarm等模式這個實現展示了 AutoGen 框架在多 Agent 協作方面的強大能力,為 EduCreate 平台增加了 AI Agent 協作的功能模塊。
Pull Request opened by Augment Code with guidance from the PR author