Microsoft Agent Framework——工作流教程——工作流编排

Orchestrations are pre-built workflow patterns that allow developers to quickly create complex workflows by simply plugging in their own AI agents.

编排(Orchestrations) 是预构建的工作流模式,开发者只需插入自己的 AI 智能体,即可快速创建复杂的工作流。

Why Multi-Agent?    为什么需要多智能体?

Traditional single-agent systems are limited in their ability to handle complex, multi-faceted tasks. By orchestrating multiple agents, each with specialized skills or roles, we can create systems that are more robust, adaptive, and capable of solving real-world problems collaboratively.

传统的单智能体系统在处理复杂、多方面的任务时能力有限。通过编排多个具备专业化技能或特定角色的智能体,我们可以构建出更强大、更灵活,并能协作解决现实世界问题的系统。

Supported Orchestrations    支持的编排模式

attern

模式

Description

描述

Typical Use Case

典型使用场景

Concurrent

并发

Broadcasts a task to all agents, collects results independently.

将任务广播给所有智能体,独立收集各智能体的结果。

Parallel analysis, independent subtasks, ensemble decision making.

并行分析、独立子任务处理、集成决策。

Sequential

顺序

Passes the result from one agent to the next in a defined order.

按照预定义的顺序,将一个智能体的结果传递给下一个智能体。

Step-by-step workflows, pipelines, multi-stage processing.

分步工作流、流水线处理、多阶段数据处理。

Handoff

移交

Dynamically passes control between agents based on context or rules.

根据上下文或规则,在智能体之间动态传递控制权。

Dynamic workflows, escalation, fallback, or expert handoff scenarios.

动态工作流、问题升级、故障转移或专家接管等场景。

Magentic

磁性

Inspired by MagenticOne.

灵感来源于 MagenticOne。

Complex, generalist multi-agent collaboration.

复杂的通用型多智能体协作。

posted @ 2025-10-26 12:54  菜鸟吊思  阅读(53)  评论(0)    收藏  举报