microsoft/ai-agents-for-beginners
GitHub: microsoft/ai-agents-for-beginners
一套面向初学者的多语言课程,帮助理解并构建基于 Microsoft Agent Framework 的 AI 智能体。
Stars: 57190 | Forks: 19821
# AI Agents 初学者课程 - 入门指南

## 教授构建 AI Agents 所需的一切知识的课程
[](https://github.com/microsoft/ai-agents-for-beginners/blob/master/LICENSE?WT.mc_id=academic-105485-koreyst)
[](https://GitHub.com/microsoft/ai-agents-for-beginners/graphs/contributors/?WT.mc_id=academic-105485-koreyst)
[](https://GitHub.com/microsoft/ai-agents-for-beginners/issues/?WT.mc_id=academic-105485-koreyst)
[](https://GitHub.com/microsoft/ai-agents-for-beginners/pulls/?WT.mc_id=academic-105485-koreyst)
[](http://makeapullrequest.com?WT.mc_id=academic-105485-koreyst)
### 🌐 多语言支持
#### 通过 GitHub Action(自动更新)支持
[Arabic](./translations/ar/README.md) | [Bengali](./translations/bn/README.md) | [Bulgarian](./translations/bg/README.md) | [Burmese (Myanmar)](./translations/my/README.md) | [Chinese (Simplified)](./translations/zh-CN/README.md) | [Chinese (Traditional, Hong Kong)](./translations/zh-HK/README.md) | [Chinese (Traditional, Macau)](./translations/zh-MO/README.md) | [Chinese (Traditional, Taiwan)](./translations/zh-TW/README.md) | [Croatian](./translations/hr/README.md) | [Czech](./translations/cs/README.md) | [Danish](./translations/da/README.md) | [Dutch](./translations/nl/README.md) | [Estonian](./translations/et/README.md) | [Finnish](./translations/fi/README.md) | [French](./translations/fr/README.md) | [German](./translations/de/README.md) | [Greek](./translations/el/README.md) | [Hebrew](./translations/he/README.md) | [Hindi](./translations/hi/README.md) | [Hungarian](./translations/hu/README.md) | [Indonesian](./translations/id/README.md) | [Italian](./translations/it/README.md) | [Japanese](./translations/ja/README.md) | [Kannada](./translations/kn/README.md) | [Khmer](./translations/km/README.md) | [Korean](./translations/ko/README.md) | [Lithuanian](./translations/lt/README.md) | [Malay](./translations/ms/README.md) | [Malayalam](./translations/ml/README.md) | [Marathi](./translations/mr/README.md) | [Nepali](./translations/ne/README.md) | [Nigerian Pidgin](./translations/pcm/README.md) | [Norwegian](./translations/no/README.md) | [Persian (Farsi)](./translations/fa/README.md) | [Polish](./translations/pl/README.md) | [Portuguese (Brazil)](./translations/pt-BR/README.md) | [Portuguese (Portugal)](./translations/pt-PT/README.md) | [Punjabi (Gurmukhi)](./translations/pa/README.md) | [Romanian](./translations/ro/README.md) | [Russian](./translations/ru/README.md) | [Serbian (Cyrillic)](./translations/sr/README.md) | [Slovak](./translations/sk/README.md) | [Slovenian](./translations/sl/README.md) | [Spanish](./translations/es/README.md) | [Swahili](./translations/sw/README.md) | [Swedish](./translations/sv/README.md) | [Tagalog (Filipino)](./translations/tl/README.md) | [Tamil](./translations/ta/README.md) | [Telugu](./translations/te/README.md) | [Thai](./translations/th/README.md) | [Turkish](./translations/tr/README.md) | [Ukrainian](./translations/uk/README.md) | [Urdu](./translations/ur/README.md) | [Vietnamese](./translations/vi/README.md)
**If you wish to have additional translations languages supported are listed [here](https://github.com/Azure/co-op-translator/blob/main/getting_started/supported-languages.md)**
## 🌱 入门指南
本课程包含构建 AI Agents 所需的基础知识课程。每一节课都涵盖独立主题,因此您可以按任意顺序开始学习!
本课程支持多语言。请访问我们的[可用语言页面](#-multi-language-support)了解详情。
如果您是首次使用生成式 AI 模型进行开发,请查看我们的[生成式 AI 初学者课程](https://aka.ms/genai-beginners),其中包含 21 节关于 GenAI 构建的课程。
### 与其他学习者交流、解答问题
### 需要什么
这些练习中的代码示例使用了 Microsoft Agent Framework 和 Azure AI Foundry Agent Service V2:
- [Microsoft Foundry](https://aka.ms/ai-agents-beginners/ai-foundry) - 需要 Azure 账户
本课程使用以下 Microsoft AI Agent 框架和服务:
- [Microsoft Agent Framework (MAF)](https://aka.ms/ai-agents-beginners/agent-framewrok)
- [Azure AI Foundry Agent Service V2](https://aka.ms/ai-agents-beginners/ai-agent-service)
部分代码示例也支持其他 OpenAI 兼容提供程序,例如 [MiniMax](https://platform.minimaxi.com/),它提供大上下文模型(最多 204K 个 token)。请参阅[课程设置](./00-course-setup/README.md)获取配置详情。
如需了解运行本课程代码的更多信息,请访问[课程设置](./00-course-setup/README.md)。
## 🙏 想要帮助?
如果您有建议或发现拼写或代码错误,请[提出问题](https://github.com/microsoft/ai-agents-for-beginners/issues?WT.mc_id=academic-105485-koreyst)或[创建拉取请求](https://github.com/microsoft/ai-agents-for-beginners/pulls?WT.mc_id=academic-105485-koreyst)
## 📂 每节课包含
- 位于 README 中的文字课程和短视频
- 使用 Microsoft Agent Framework 和 Azure AI Foundry 的 Python 代码示例
- 持续学习的额外资源链接
## 🗃️ 课程内容
| **课程** | **文本与代码** | **视频** | **额外学习** |
|----------------------------------------------|----------------------------------------------------|------------------------------------------------------------|----------------------------------------------------------------------------------------|
| 人工智能代理入门与使用案例 | [链接](./01-intro-to-ai-agents/README.md) | [视频](https://youtu.be/3zgm60bXmQk?si=z8QygFvYQv-9WtO1) | [链接](https://aka.ms/ai-agents-beginners/collection?WT.mc_id=academic-105485-koreyst) |
| 探索人工智能代理框架 | [链接](./02-explore-agentic-frameworks/README.md) | [视频](https://youtu.be/ODwF-EZo_O8?si=Vawth4hzVaHv-u0H) | [链接](https://aka.ms/ai-agents-beginners/collection?WT.mc_id=academic-105485-koreyst) |
| 理解人工智能代理设计模式 | [链接](./03-agentic-design-patterns/README.md) | [视频](https://youtu.be/m9lM8qqoOEA?si=BIzHwzstTPL8o9GF) | [链接](https://aka.ms/ai-agents-beginners/collection?WT.mc_id=academic-105485-koreyst) |
| 工具使用设计模式 | [链接](./04-tool-use/README.md) | [视频](https://youtu.be/vieRiPRx-gI?si=2z6O2Xu2cu_Jz46N) | [链接](https://aka.ms/ai-agents-beginners/collection?WT.mc_id=academic-105485-koreyst) |
| 代理式 RAG | [链接](./05-agentic-rag/README.md) | [视频](https://youtu.be/WcjAARvdL7I?si=gKPWsQpKiIlDH9A3) | [链接](https://aka.ms/ai-agents-beginners/collection?WT.mc_id=academic-105485-koreyst) |
| 构建值得信赖的人工智能代理 | [链接](./06-building-trustworthy-agents/README.md) | [视频](https://youtu.be/iZKkMEGBCUQ?si=jZjpiMnGFOE9L8OK ) | [链接](https://aka.ms/ai-agents-beginners/collection?WT.mc_id=academic-105485-koreyst) |
| 规划设计模式 | [链接](./07-planning-design/README.md) | [视频](https://youtu.be/kPfJ2BrBCMY?si=6SC_iv_E5-mzucnC) | [链接](https://aka.ms/ai-agents-beginners/collection?WT.mc_id=academic-105485-koreyst) |
| 多代理设计模式 | [链接](./08-multi-agent/README.md) | [视频](https://youtu.be/V6HpE9hZEx0?si=rMgDhEu7wXo2uo6g) | [](https://aka.ms/ai-agents-beginners/collection?WT.mc_id=academic-105485-koreyst) |
| 元认知设计模式 | [链接](./09-metacognition/README.md) | [视频](https://youtu.be/His9R6gw6Ec?si=8gck6vvdSNCt6OcF) | [链接](https://aka.ms/ai-agents-beginners/collection?WT.mc_id=academic-105485-koreyst) |
| 生产环境中的人工智能代理 | [链接](./10-ai-agents-production/README.md) | [视频](https://youtu.be/l4TP6IyJxmQ?si=31dnhexRo6yLRJDl) | [链接](https://aka.ms/ai-agents-beginners/collection?WT.mc_id=academic-105485-koreyst) |
| 使用代理协议(MCP、A2A 和 NLWeb) | [链接](./11-agentic-protocols/README.md) | [视频](https://youtu.be/X-Dh9R3Opn8) | [链接](https://aka.ms/ai-agents-beginners/collection?WT.mc_id=academic-105485-koreyst) |
| 人工智能代理的上下文工程 | [链接](./12-context-engineering/README.md) | [视频](https://youtu.be/F5zqRV7gEag) | [链接](https://aka.ms/ai-agents-beginners/collection?WT.mc_id=academic-105485-koreyst) |
| 管理代理式记忆 | [链接](./13-agent-memory/README.md) | [视频](https://youtu.be/QrYbHesIxpw?si=vZkVwKrQ4ieCcIPx) | |
| 探索 Microsoft Agent Framework | [链接](./14-microsoft-agent-framework/README.md) | | |
| 构建计算机使用代理 (CUA) | [链接](./15-browser-use/README.md) | | [链接](https://docs.browser-use.com/examples/templates/playwright-integration) |
| 部署可扩展代理 | 即将推出 | | |
| 创建本地人工智能代理 | 即将推出 | | |
| 保护人工智能代理 | 即将推出 | | |
## 🎒 其他课程
我们的团队还制作了其他课程!请查看:
### LangChain
## [](https://aka.ms/langchain4j-for-beginners)
[](https://aka.ms/langchainjs-for-beginners?WT.mc_id=m365-94501-dwahlin)
[](https://github.com/microsoft/langchain-for-beginners?WT.mc_id=m365-94501-dwahlin)
### Azure / Edge / MCP / Agents
[](https://github.com/microsoft/AZD-for-beginners?WT.mc_id=academic-105485-koreyst)
[](https://github.com/microsoft/edgeai-for-beginners?WT.mc_id=academic-105485-koreyst)
[](https://github.com/microsoft/mcp-for-beginners?WT.mc_id=academic-105485-koreyst)
[](https://github.com/microsoft/ai-agents-for-beginners?WT.mc_id=academic-105485-koreyst)
### 生成式 AI 系列
[](https://github.com/microsoft/generative-ai-for-beginners?WT.mc_id=academic-105485-koreyst)
[-9333EA?style=for-the-badge&labelColor=E5E7EB&color=9333EA)](https://github.com/microsoft/Generative-AI-for-beginners-dotnet?WT.mc_id=academic-105485-koreyst)
[-C084FC?style=for-the-badge&labelColor=E5E7EB&color=C084FC)](https://github.com/microsoft/generative-ai-for-beginners-java?WT.mc_id=academic-105485-koreyst)
[-E879F9?style=for-the-badge&labelColor=E5E7EB&color=E879F9)](https://github.com/microsoft/generative-ai-with-javascript?WT.mc_id=academic-105485-koreyst)
### 核心学习
[](https://aka.ms/ml-beginners?WT.mc_id=academic-105485-koreyst)
[](https://aka.ms/datascience-beginners?WT.mc_id=academic-105485-koreyst)
[](https://aka.ms/ai-beginners?WT.mc_id=academic-105485-koreyst)
[](https://github.com/microsoft/Security-101?WT.mc_id=academic-96948-sayoung)
[](https://aka.ms/webdev-beginners?WT.mc_id=academic-105485-koreyst)
[](https://aka.ms/iot-beginners?WT.mc_id=academic-105485-koreyst)
[](https://github.com/microsoft/xr-development-for-beginners?WT.mc_id=academic-105485-koreyst)
### Copilot 系列
[](https://aka.ms/GitHubCopilotAI?WT.mc_id=academic-105485-koreyst)
[](https://github.com/microsoft/mastering-github-copilot-for-dotnet-csharp-developers?WT.mc_id=academic-105485-koreyst)
[](https://github.com/microsoft/CopilotAdventures?WT.mc_id=academic-105485-koreyst)
## 商标
本项目可能包含项目、产品或服务的商标或标识。授权使用 Microsoft
商标或标识需遵循并遵守
[Microsoft 的商标与品牌指南](https://www.microsoft.com/legal/intellectualproperty/trademarks/usage/general)。
对修改版本中使用 Microsoft 商标或标识不得造成混淆或暗示 Microsoft 赞助。
任何使用第三方商标或标识需遵循相应第三方的政策。
## 获取帮助
如果您在构建 AI 应用时遇到问题或有任何疑问,请加入:
[](https://aka.ms/foundry/discord)
如果您有产品反馈或构建过程中出现错误,请访问:
[](https://aka.ms/foundry/forum)
标签:AI Agents, AI 代理, AI 入门, Apex, GitHub Actions, GitHub 教育, 人工智能, 人工智能代理, 入门课程, 多语言支持, 安全测试框架, 开发者教程, 开源框架, 开源课程, 微软开源, 持续集成, 智能体开发, 机器学习, 构建AI代理, 深度学习, 生成式AI, 用户模式Hook绕过, 索引, 翻译自动化, 自动化代理, 自动笔记, 课程, 逆向工具