Proposal: Handoff agent-workflow builder (agentworkflow.NewHandoffWorkflowBuilder)
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức phù hợp với người mới
- 25/100
Hướng nghiên cứu
Bắt đầu với docs/dotnet-go-sdk-feature-comparison.md và các builder hiện có trong workflow/agentworkflow, sau đó kiểm tra các package agent và workflow để xem phần plumbing hiện tại cho executor-graph và group-chat manager. Xem xét semantics của .NET HandoffBuilder và giải quyết các câu hỏi thiết kế được liệt kê trước khi triển khai. Được xem là hoàn tất khi đã thống nhất API và hành vi để định tuyến các cuộc hội thoại dùng chung giữa các agent, cùng với các test và tài liệu tương ứng.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Gap
docs/dotnet-go-sdk-feature-comparison.md marks the agent-workflow builders as Partial: Go has NewSequentialWorkflowBuilder, NewConcurrentWorkflowBuilder, and NewGroupChatWorkflowBuilder, but the doc notes "Handoff and Magentic builders are not yet implemented." There is no handoff reference anywhere in workflow/ or agent/ today.
Handoff is the missing member of the core orchestration set and the more broadly useful of the two gaps: a triage/router agent hands control to a specialist based on the conversation; the specialist can hand back, or on to another agent.
Proposed shape (seeking design alignment before any code)
A sibling builder in workflow/agentworkflow, matching the existing builders' convention (New…WorkflowBuilder(agents ...*agent.Agent), WithName / WithDescription / WithOutputFrom, Build() (*workflow.Workflow, error)):
agentworkflow.NewHandoffWorkflowBuilder(triage).
WithHandoff(triage, billing, refunds).
WithHandoff(billing, triage).
Build()
Modeled on .NET's HandoffBuilder (Microsoft.Agents.AI.Workflows): each participating agent is given handoff tools (one per allowed target); when the agent calls a handoff tool, the workflow routes the turn to that target carrying the shared conversation. Under the hood it should compose onto the existing executor graph / group-chat manager plumbing rather than introduce a new engine.
Design questions I'd want the team's steer on first
- Handoff surfaced as auto-injected function tools (the .NET approach), vs. an edge condition on the agent's chosen target?
- Reuse the group-chat manager machinery, or a dedicated handoff executor?
- Termination: an explicit end agent, a max-turns cap, or a "no handoff called → done" signal?
- Scope handoff only for this issue; track Magentic separately?
Why I'm asking first
This is a feature, not a bug fix, so I don't want to drop an unsolicited large PR that then rots. If the team is open to it and we can agree on the shape (tools-vs-edges especially), I'm happy to implement it with the same test rigor as the recent fixes, matching the .NET semantics for cross-SDK parity.
- Ngôn ngữ chính
- Go
- Star
- 659
- Fork
- 67
- Merge trung bình
- 18 giờ 54 phút
- Pull request đã merge (30 ngày)
- 75
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của microsoft/agent-framework-go
-
[aw] Upgrade availableĐang mởagentic-workflows
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 45/100
microsoft/agent-framework-go#1328 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
agentic-workflows
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 28/100
microsoft/agent-framework-go#1327 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Add a reusable workflow for dependency upgrade analysis and fixesCó thể đã có người làm @michelle-clayton-work đã nhận 13 ngày trước. Đang mở
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 15/100
microsoft/agent-framework-go#1287 · 3 bình luận · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Add a per-run limit for tool callsCó thể đã có người làm @Lokesh118 đã nhận 6 ngày trước. Đang mở
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 67/100
microsoft/agent-framework-go#1202 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 20/100
microsoft/agent-framework-go#1164 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của microsoft/agent-framework-go
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
limitlessprojects/Go-Hybrid#3342 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
status/ready type/bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
buildpacks/pack#2733 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
-
kind/bug needs-priority needs-triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
konveyor/tackle2-hub#1166 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 4 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
router-for-me/CLIProxyAPI#7209 ·
Maintainer thường phản hồi trong vòng 1 ngày