登录 注册

agent-framework

去点 Star
AI 应用与 AI Agent开发者工具网络与基础设施 agent-frameworkagentic-aiagentsaidotnetmulti-agent
14,627
Stars
2,606
Forks
113
Watchers
911
Open Issues
MIT
许可证
Python
语言
2025-04-28
创建时间
2026-11-10
最近更新

项目能做什么

用于构建、编排和部署 AI Agent 及多 Agent 工作流的框架,支持 Python 和 .NET。
来源:AI 基于仓库事实生成 · 内容以仓库实际 README 为准

使用说明 查看原始 README 原仓库文档

中文使用说明暂未生成。下面保留原仓库 README 摘录,命令与配置均以原文为准。
原始 README 摘录(英文原文,节选前 3000 字符)
![Microsoft Agent Framework](docs/assets/readme-banner.png)

# Welcome to Microsoft Agent Framework!

[![Microsoft Foundry Discord](https://dcbadge.limes.pink/api/server/b5zjErwbQM?style=flat)](https://discord.gg/b5zjErwbQM)
[![MS Learn Documentation](https://img.shields.io/badge/MS%20Learn-Documentation-blue)](https://learn.microsoft.com/en-us/agent-framework/)
[![PyPI](https://img.shields.io/pypi/v/agent-framework)](https://pypi.org/project/agent-framework/)
[![NuGet](https://img.shields.io/nuget/v/Microsoft.Agents.AI)](https://www.nuget.org/profiles/MicrosoftAgentFramework/)
[![GitHub stars](https://img.shields.io/github/stars/microsoft/agent-framework?style=social)](https://github.com/microsoft/agent-framework)


Microsoft Agent Framework (MAF) is an open, multi-language framework for building **production-grade AI agents and multi-agent workflows** in **.NET and Python**.

Microsoft Agent Framework is built for teams taking agents from prototype to production. It provides a consistent foundation for building, orchestrating, and operating agent systems across Python, .NET and Go, while keeping architecture choices open as requirements evolve, and supports a broad ecosystem including Microsoft Foundry, Azure OpenAI, OpenAI, and the GitHub Copilot SDK, with samples and hosting patterns for both local development and cloud deployment.

> [!NOTE]
> For the Go SDK, including its documentation, samples, contribution guidance, and issue tracker, visit [microsoft/agent-framework-go](https://github.com/microsoft/agent-framework-go/).

<p align="center">
  <a href="https://www.youtube.com/watch?v=AAgdMhftj8w" title="Watch the full Agent Framework introduction (30 min)">
    <img src="https://img.youtube.com/vi/AAgdMhftj8w/hqdefault.jpg"
         alt="Watch the full Agent Framework introduction (30 min)" width="480">
  </a>
</p>
<p align="center">
  <a href="https://www.youtube.com/watch?v=AAgdMhftj8w">
    Watch the full Agent Framework introduction (30 min)
  </a>
</p>

## Is this the right framework for you?

MAF is a strong fit if you:
- are building agents and workflows you expect to run in production,
- need orchestration beyond a single prompt or stateless chat loop,
- want graph-based patterns such as sequential, concurrent, handoff, and group collaboration,
- care about durability, restartability, observability, governance, or human-in-the-loop control,
- need provider flexibility so your architecture can evolve without major rewrites.

## Key Features
Explore new MAF capabilities and real implementation patterns on the [official blog](https://devblogs.microsoft.com/agent-framework/).

- **Python and C#/.NET Support**: Full framework support for both Python and C#/.NET implementations with consistent APIs
  - [Python packages](./python/packages/) | [.NET source](./dotnet/src/)
- **Go Support**: For the Go SDK, including its documentation, samples, contribution guidance, and issue tracker, visit [microsoft/agent-framework-go](https://github.com/
阅读完整原文

商业机会分析 AI 生成

AgentFlow Studio:面向该框架的可视化调试与链路追踪UI

产品构想针对该框架主要依赖代码编排的现状,开发轻量级Web UI工具,提供Agent交互图谱可视化、单步调试、消息回溯与状态检查功能。
核心功能多Agent通信拓扑图实时绘制、对话状态单步回放、Prompt与工具调用断点调试、一键导出调试日志。
目标用户使用 agent-framework 开发复杂业务流的研发人员与测试人员。
难度/周期中等 · 4-6周 · 成本:开发机器 + 基础云服务器(< $100/月)
收费模式核心开源,高级团队协作、云端历史存储与审计功能采用Freemium订阅制(SaaS/私有部署License)。
竞争风险官方未来可能推出官方可视化工具(如Copilot Studio联动)导致功能重叠(推测)。
依据 已验证事实(高Star、无自带可视化面板) + 数据支持的判断(多Agent调试复杂性是普遍痛点)

.NET企业生态集成加速包与行业模板库

产品构想利用该框架支持.NET的稀缺特性,专攻微软技术栈企业客户,提供连接Dynamics 365、SharePoint、SQL Server等成熟系统的预制Agent插件与业务模板。
核心功能微软企业生态标准化Tool/Connector集合、权限透传中间件、预置客服/内控/报表生成等多Agent业务模板、商用级代码示例与文档。
目标用户传统.NET企业IT团队、微软系ISV与解决方案集成商。
难度/周期中等 · 3-5周 · 成本:极低(主要是开发时间与Azure测试环境订阅)
收费模式源码/组件商业授权(按项目/按年)、企业级架构咨询与定制实施服务。
竞争风险目标受众决策周期较长,且对供应商资质有一定要求(推测)。
依据 已验证事实(明确支持.NET) + AI推测(.NET开发者在AI Agent领域适配组件稀缺)

AgentGuard:多Agent协同死循环检测与合规网关

产品构想作为插件或独立代理层,嵌入该框架构建的运行时中,防止多Agent互锁死循环、失控Token消耗、敏感信息泄漏和越权调用。
核心功能循环调用模式实时阻断、Token预算熔断器、敏感数据动态脱敏、多Agent执行合规性审计日志。
目标用户将多Agent系统部署至生产环境的企业客户、金融/医疗等合规敏感行业团队。
难度/周期较高 · 6-8周 · 成本:基础测试与托管服务器(< $200/月)
收费模式按受保护Agent节点数或监控调用量计费的订阅制(SaaS或本地代理形态)。
竞争风险框架底层频繁迭代可能导致中间件适配维护成本高。
依据 AI推测(多Agent自主协作天然存在循环与不可控风险) + 尚需验证的假设(企业是否愿意为纯防御层独立买单)
AI 基于仓库公开数据分析生成,含推测成分,不构成收益承诺。
报告会保存到 个人中心

竞品与相似项目 GitHub Search 真实检索

项目中文简介Stars语言
obra/superpowers 中文介绍暂未生成
An agentic skills framework & software development methodolo
315,697 Shell
TauricResearch/TradingAgents 中文介绍暂未生成
TradingAgents: Multi-Agents LLM Financial Trading Framework
121,868 Python
FoundationAgents/MetaGPT 中文介绍暂未生成
🌟 The Multi-Agent Framework: First AI Software Company, Towa
71,241 Python
microsoft/autogen 中文介绍暂未生成
A programming framework for agentic AI
61,779 Python
crewAIInc/crewAI 中文介绍暂未生成
Framework for orchestrating role-playing, autonomous AI agen
60,740 Python
HKUDS/nanobot 中文介绍暂未生成
Your lightweight open-source personal agent.
49,995 Python
以上为通过 GitHub 官方 Search API 检索的相似项目,功能差异与优劣势需进一步人工确认,配置 AI 后可生成对比分析。

项目优势与风险

技术成熟度创建于 2025-04-28,近 30 天仍在推送,发布过 100 个 Release
社区活跃Star 14,627 / Fork 2,606 / Issue 911(数据支持,可自行核实)
许可证MIT
主要风险上游项目方向可能变化;同赛道竞争者较多(见竞品表);热度与需求不完全等价

安装与使用

快速开始(以仓库 README 为准)
git clone https://github.com/microsoft/agent-framework.git
cd agent-framework
# 请阅读仓库 README 获取确切安装步骤(依赖、配置、启动命令)
阅读原仓库文档
术语说明:Docker=应用容器(把程序和依赖打包运行);API Key=调用外部服务的密钥;Git Clone=把仓库代码下载到本地。常见错误:API Key 未配置 / 端口占用 / 数据库连接失败,多数项目在 README 的 Troubleshooting 章节有说明。