经 AI Skill Hub 精选评估,AI代理框架 获评「强烈推荐」。在 GitHub 上收获超过 11.0k 颗 Star,这款Agent工作流在功能完整性、社区活跃度和易用性方面表现出色,AI 评分 8.5 分,适合有一定技术背景的用户使用。
AI代理框架 是一套完整的 AI Agent 自动化工作流方案。通过可视化的节点编排,将复杂的多步骤任务拆解为清晰的自动化流程,实现全程无人值守的智能处理。支持与数百种外部服务和 API 无缝集成,适合构建数据处理管线、业务自动化和 AI 辅助决策系统。
AI代理框架 是一套完整的 AI Agent 自动化工作流方案。通过可视化的节点编排,将复杂的多步骤任务拆解为清晰的自动化流程,实现全程无人值守的智能处理。支持与数百种外部服务和 API 无缝集成,适合构建数据处理管线、业务自动化和 AI 辅助决策系统。
# 方式一:pip 安装(推荐)
pip install agent-framework
# 方式二:虚拟环境安装(推荐生产环境)
python -m venv .venv
source .venv/bin/activate # Windows: .venv\Scripts\activate
pip install agent-framework
# 方式三:从源码安装(获取最新功能)
git clone https://github.com/microsoft/agent-framework
cd agent-framework
pip install -e .
# 验证安装
python -c "import agent_framework; print('安装成功')"
# 命令行使用
agent-framework --help
# 基本用法
agent-framework input_file -o output_file
# Python 代码中调用
import agent_framework
# 示例
result = agent_framework.process("input")
print(result)
# agent-framework 配置文件示例(config.yml) app: name: "agent-framework" debug: false log_level: "INFO" # 运行时指定配置文件 agent-framework --config config.yml # 或通过环境变量配置 export AGENT_FRAMEWORK_API_KEY="your-key" export AGENT_FRAMEWORK_OUTPUT_DIR="./output"
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 and .NET, 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.
<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>
Explore new MAF capabilities and real implementation patterns on the official blog.
Python
```bash pip install agent-framework
.NET
bash dotnet add package Microsoft.Agents.AI
dotnet add package Microsoft.Agents.AI.Foundry dotnet add package Azure.AI.Projects dotnet add package Azure.Identity ```
Create a simple Azure Responses Agent that writes a haiku about the Microsoft Agent Framework
```python
For environment variable configuration specific to each sample, refer to the README in the sample directory (Python samples | .NET samples).
高质量的AI代理框架,易于使用和扩展
AI Skill Hub 为第三方内容聚合平台,本页面信息基于公开数据整理,不对工具功能和质量作任何法律背书。
建议在沙箱或测试环境中充分验证后,再部署至生产环境,并做好必要的安全评估。
✅ MIT 协议 — 最宽松的开源协议之一,可自由商用、修改、分发,仅需保留版权声明。
AI Skill Hub 点评:AI代理框架 的核心功能完整,质量优秀。对于自动化工程师和运维人员来说,这是一个值得纳入个人工具库的选择。建议先在非生产环境试用,再逐步推广。
| 原始名称 | agent-framework |
| Topics | AIagentworkflowpython |
| GitHub | https://github.com/microsoft/agent-framework |
| License | MIT |
| 语言 | Python |
收录时间:2026-06-03 · 更新时间:2026-06-03 · License:MIT · AI Skill Hub 不对第三方内容的准确性作法律背书。
选择 Agent 类型,复制安装指令后粘贴到对应客户端