ai-agents-for-beginners README

The project's README from github.com/microsoft/ai-agents-for-beginners. As one markdown file: README.md.

AI Agents for Beginners - A Course

AI Agents for Beginners

A course teaching everything you need to know to start building AI Agents

GitHub license GitHub contributors GitHub issues GitHub pull-requests PRs Welcome

🌐 Multi-Language Support

Supported via GitHub Action (Automated & Always Up-to-Date)

Arabic | Bengali | Bulgarian | Burmese (Myanmar) | Chinese (Simplified) | Chinese (Traditional, Hong Kong) | Chinese (Traditional, Macau) | Chinese (Traditional, Taiwan) | Croatian | Czech | Danish | Dutch | Estonian | Finnish | French | German | Greek | Hebrew | Hindi | Hungarian | Indonesian | Italian | Japanese | Kannada | Khmer | Korean | Lithuanian | Malay | Malayalam | Marathi | Nepali | Nigerian Pidgin | Norwegian | Persian (Farsi) | Polish | Portuguese (Brazil) | Portuguese (Portugal) | Punjabi (Gurmukhi) | Romanian | Russian | Serbian (Cyrillic) | Slovak | Slovenian | Spanish | Swahili | Swedish | Tagalog (Filipino) | Tamil | Telugu | Thai | Turkish | Ukrainian | Urdu | Vietnamese

Prefer to Clone Locally?

This repository includes 50+ language translations which significantly increases the download size. To clone without translations, use sparse checkout:

Bash / macOS / Linux:

git clone --filter=blob:none --sparse https://github.com/microsoft/ai-agents-for-beginners.git
cd ai-agents-for-beginners
git sparse-checkout set --no-cone '/*' '!translations' '!translated_images'

CMD (Windows):

git clone --filter=blob:none --sparse https://github.com/microsoft/ai-agents-for-beginners.git
cd ai-agents-for-beginners
git sparse-checkout set --no-cone "/*" "!translations" "!translated_images"

This gives you everything you need to complete the course with a much faster download.

If you wish to have additional translation languages supported, they are listed here.

GitHub watchers GitHub forks GitHub stars

Microsoft Foundry Discord

🌱 Getting Started

This course has lessons covering the fundamentals of building AI Agents. Each lesson covers its own topic so start wherever you like!

There is multi-language support for this course. Go to our available languages here.

If this is your first time building with Generative AI models, check out our Generative AI For Beginners course, which includes 21 lessons on building with GenAI.

Don't forget to star (🌟) this repo and fork this repo to run the code.

Meet Other Learners, Get Your Questions Answered

If you get stuck or have any questions about building AI Agents, join our dedicated Discord Channel in the Microsoft Foundry Discord.

What You Need

Each lesson in this course includes code examples, which can be found in the code_samples folder. You can fork this repo to create your own copy.

The code examples in these exercises utilize Microsoft Agent Framework with Microsoft Foundry Agent Service V2:

This course uses the following AI Agent frameworks and services from Microsoft:

Some code samples also support alternative OpenAI-compatible providers such as MiniMax, which offers large-context models (up to 204K tokens). See the Course Setup for configuration details.

For more information on running the code for this course, go to the Course Setup.

🙏 Want to help?

Do you have suggestions or found spelling or code errors? Raise an issue or Create a pull request

📂 Each lesson includes

🗃️ Lessons

Lesson Text & Code Video Extra Learning
Intro to AI Agents and Agent Use Cases Link Video Link
Exploring AI Agentic Frameworks Link Video Link
Understanding AI Agentic Design Patterns Link Video Link
Tool Use Design Pattern Link Video Link
Agentic RAG Link Video Link
Building Trustworthy AI Agents Link Video Link
Planning Design Pattern Link Video Link
Multi-Agent Design Pattern Link Video Link
Metacognition Design Pattern Link Video Link
AI Agents in Production Link Video Link
Using Agentic Protocols (MCP, A2A and NLWeb) Link Video Link
Context Engineering for AI Agents Link Video Link
Managing Agentic Memory Link Video
Exploring Microsoft Agent Framework Link
Building Computer Use Agents (CUA) Link Link
Deploying Scalable Agents Link Link
Creating Local AI Agents Link Link
Securing AI Agents Link Link

🎒 Other Courses

Our team produces other courses! Check out:

LangChain

LangChain4j for Beginners LangChain.js for Beginners LangChain for Beginners

Azure / Edge / MCP / Agents

AZD for Beginners Edge AI for Beginners MCP for Beginners AI Agents for Beginners


Generative AI Series

Generative AI for Beginners Generative AI (.NET) Generative AI (Java) Generative AI (JavaScript)


Core Learning

ML for Beginners Data Science for Beginners AI for Beginners Cybersecurity for Beginners Web Dev for Beginners IoT for Beginners XR Development for Beginners


Copilot Series

Copilot for AI Paired Programming Copilot for C#/.NET Copilot Adventure

🌟 Community Thanks

Thanks to Shivam Goyal for contributing important code samples demonstrating Agentic RAG.

Contributing

This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.opensource.microsoft.com.

When you submit a pull request, a CLA bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., status check, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA.

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact [email protected] with any additional questions or comments.

Trademarks

This project may contain trademarks or logos for projects, products, or services. Authorized use of Microsoft trademarks or logos is subject to and must follow Microsoft's Trademark & Brand Guidelines. Use of Microsoft trademarks or logos in modified versions of this project must not cause confusion or imply Microsoft sponsorship. Any use of third-party trademarks or logos is subject to those third-parties' policies.

Getting Help

If you get stuck or have any questions about building AI apps, join:

[![Microsoft Foundry Discord](https://img.shields.io/badge/Discord-Azure_AI_Foundry_Community_Discord-blue?style=for-the-badge&logo=discord&color=5865f2&log

ai-agents-for-beginners (microsoft/ai-agents-for-beginners)

Searching Database…

这是什么?这是微软提供的一门免费课程,共 18 节课,讲解构建 AI 智能体的基础知识,内容从基本概念到设计模式、多智能体系统,再到生产环境部署。
这是框架还是课程?这是一门课程:每节课都有书面 README、一段简短视频和 Python 代码示例,而不是可以导入到你自己应用中的库。
我该如何开始学习这些课程?克隆或 Fork 仓库,然后按顺序打开任意一节课的文件夹(或直接跳到你感兴趣的主题);每节课的代码示例都放在 codesamples 文件夹中,具体的环境配置说明见 Course Setup 指南。
运行代码示例需要 Azure 账户吗?需要。代码示例使用 Microsoft Agent Framework 和 Microsoft Foundry Agent Service V2,这要求有一个 Microsoft Foundry Azure 账户;部分示例也支持 MiniMax 等兼容 OpenAI 的替代方案。
每节课的内容都同样完整,包括视频和额外资源吗?并非如此。像 'Exploring Microsoft Agent Framework' 和 'Managing Agentic Memory' 这样的后期课程目前还没有视频,部分课程也缺少额外的学习链接。
课程有英语以外的语言版本吗?有。课程通过 GitHub Action 自动翻译成 50 多种语言,包括阿拉伯语、中文、法语、德语、日语等;还支持稀疏检出(sparse-checkout),可以在克隆时不下载额外的翻译文件。
课程除了基础内容,还涵盖哪些主题?课程由智能体基础知识和设计模式(工具使用、规划、多智能体、元认知)循序渐进,延伸到进阶主题,如 Agentic RAG、智能体协议(MCP、A2A、NLWeb)、上下文工程、智能体记忆、计算机操作智能体、可扩展部署、本地智能体以及智能体安全。
有没有配套的生成式 AI 入门课程?有。微软还提供一门包含 21 节课的 'Generative AI For Beginners' 课程,如果你在学习这门智能体课程之前还不熟悉使用生成式 AI 模型开发,建议先学习它。
学习课程时可以在哪里提问?在 Microsoft Foundry Discord 服务器中有一个专门的 Discord 频道,供学习者获取帮助并讨论课程内容。
Creator
microsoft
Size
3.6 GB
Stars
77.4K
Updated
CommitOct 17
Age
1y
Commits · 90 Days