https://github.com/microsoft/ai-agents-for-beginners
10 Lessons to Get Started Building AI Agents
https://github.com/microsoft/ai-agents-for-beginners
agentic-ai agentic-framework agentic-rag ai-agents ai-agents-framework autogen generative-ai semantic-kernel
Last synced: 7 days ago
JSON representation
10 Lessons to Get Started Building AI Agents
- Host: GitHub
- URL: https://github.com/microsoft/ai-agents-for-beginners
- Owner: microsoft
- License: mit
- Created: 2024-11-28T10:42:52.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2025-04-11T07:13:10.000Z (9 days ago)
- Last Synced: 2025-04-13T14:56:55.819Z (7 days ago)
- Topics: agentic-ai, agentic-framework, agentic-rag, ai-agents, ai-agents-framework, autogen, generative-ai, semantic-kernel
- Language: Jupyter Notebook
- Homepage: https://microsoft.github.io/ai-agents-for-beginners/
- Size: 556 MB
- Stars: 13,495
- Watchers: 153
- Forks: 3,301
- Open Issues: 10
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
- Security: SECURITY.md
- Support: SUPPORT.md
Awesome Lists containing this project
- AiTreasureBox - microsoft/ai-agents-for-beginners - 04-15_14370_33](https://img.shields.io/github/stars/microsoft/ai-agents-for-beginners.svg)|10 Lessons to Get Started Building AI Agents| (Repos)
- StarryDivineSky - microsoft/ai-agents-for-beginners
- awesome-hacking-lists - microsoft/ai-agents-for-beginners - 10 Lessons to Get Started Building AI Agents (Jupyter Notebook)
README
# AI Agents for Beginners - A Course

## 10 Lessons teaching everything you need to know to start building 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)### Language Support
[](Readme.md)
[](./translations/zh/README.md)
[](./translations/tw/README.md)
[](./translations/hk/README.md)
[](./translations/fr/README.md)
[](./translations/ja/README.md)
[](./translations/ko/README.md)
[](./translations/pt/README.md)
[](./translations/es/README.md)
[](./translations/de/README.md)[](https://GitHub.com/microsoft/ai-agents-for-beginners/watchers/?WT.mc_id=academic-105485-koreyst)
[](https://GitHub.com/microsoft/ai-agents-for-beginners/network/?WT.mc_id=academic-105485-koreyst)
[](https://GitHub.com/microsoft/ai-agents-for-beginners/stargazers/?WT.mc_id=academic-105485-koreyst)[](https://discord.gg/kzRShWzttr)
## 🌱 Getting Started
This course has 10 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](#-multi-language-support).
If this is your first time building with Generative AI models, check out our [Generative AI For Beginners](https://aka.ms/genai-beginners) course, which includes 21 lessons on building with GenAI.
Don't forget to [star (🌟) this repo](https://docs.github.com/en/get-started/exploring-projects-on-github/saving-repositories-with-stars?WT.mc_id=academic-105485-koreyst) and [fork this repo](https://github.com/microsoft/ai-agents-for-beginners/fork) to run the code.
### 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](https://github.com/microsoft/ai-agents-for-beginners/fork) to create your own copy.
The code example in these exercises, utilize Azure AI Foundry and GitHub Model Catalogs for interacting with Language Models:
- [Github Models](https://aka.ms/ai-agents-beginners/github-models) - Free / Limited
- [Azure AI Foundry](https://aka.ms/ai-agents-beginners/ai-foundry) - Azure Account RequiredThis course also uses the following AI Agent frameworks and services from Microsoft:
- [Azure AI Agent Service](https://aka.ms/ai-agents-beginners/ai-agent-service)
- [Semantic Kernel](https://aka.ms/ai-agents-beginners/semantic-kernel)
- [AutoGen](https://aka.ms/ai-agents/autogen)For more information on running the code for this course, go to the [Course Setup](./00-course-setup/README.md).
## 🙏 Want to help?
Do you have suggestions or found spelling or code errors? [Raise an issue](https://github.com/microsoft/ai-agents-for-beginners/issues?WT.mc_id=academic-105485-koreyst) or [Create a pull request](https://github.com/microsoft/ai-agents-for-beginners/pulls?WT.mc_id=academic-105485-koreyst)
If you get stuck or have any questions about building AI Agents, join our [Azure AI Community Discord](https://discord.gg/kzRShWzttr).
## 📂 Each lesson includes
- A written lesson located in the README (Videos Coming March 2025)
- Python code samples supporting Azure AI Foundry and Github Models (Free)
- Links to extra resources to continue your learning## 🗃️ Lessons
| **Lesson** | **Link** |
|----------------------------------------|--------------------------------------------|
| Intro to AI Agents and Use Cases | [Link](./01-intro-to-ai-agents/README.md) |
| Exploring Agentic Frameworks | [Link](./02-explore-agentic-frameworks/README.md) |
| Understanding Agentic Design Patterns | [Link](./03-agentic-design-patterns/README.md) |
| Tool Use Design Pattern | [Link](./04-tool-use/README.md) |
| Agentic RAG | [Link](./05-agentic-rag/README.md) |
| Building Trustworthy AI Agents | [Link](./06-building-trustworthy-agents/README.md) |
| Planning Design Pattern | [Link](./07-planning-design/README.md) |
| Multi-Agent Design Pattern | [Link](./08-multi-agent/README.md) |
| Metacognition Design Pattern | [Link](./09-metacognition/README.md) |
| AI Agents in Production | [Link](./10-ai-agents-production/README.md) |## 🌐 Multi-Language Support
| Language | Code | Link to Translated README | Last Updated |
|----------------------|------|---------------------------------------------------------|--------------|
| Chinese (Simplified) | zh | [Chinese Translation](./translations/zh/README.md) | 2025-02-13 |
| Chinese (Traditional)| tw | [Chinese Translation](./translations/tw/README.md) | 2025-02-13 |
| Chinese (Hong Kong) | hk | [Chinese (Hong Kong) Translation](./translations/hk/README.md) | 2025-02-13 |
| French | fr | [French Translation](./translations/fr/README.md) | 2025-02-13 |
| Japanese | ja | [Japanese Translation](./translations/ja/README.md) | 2025-02-13 |
| Korean | ko | [Korean Translation](./translations/ko/README.md) | 2025-02-13 |
| Portuguese | pt | [Portuguese Translation](./translations/pt/README.md) | 2025-02-13 |
| Spanish | es | [Spanish Translation](./translations/es/README.md) | 2025-02-13 |
| German | de | [German Translation](./translations/de/README.md) | 2025-02-13 |## 🎒 Other Courses
Our team produces other courses! Check out:
- [**NEW** Generative AI for Beginners using .NET](https://github.com/microsoft/Generative-AI-for-beginners-dotnet?WT.mc_id=academic-105485-koreyst)
- [Generative AI for Beginners](https://github.com/microsoft/generative-ai-for-beginners?WT.mc_id=academic-105485-koreyst)
- [ML for Beginners](https://aka.ms/ml-beginners?WT.mc_id=academic-105485-koreyst)
- [Data Science for Beginners](https://aka.ms/datascience-beginners?WT.mc_id=academic-105485-koreyst)
- [AI for Beginners](https://aka.ms/ai-beginners?WT.mc_id=academic-105485-koreyst)
- [Cybersecurity for Beginners](https://github.com/microsoft/Security-101??WT.mc_id=academic-96948-sayoung)
- [Web Dev for Beginners](https://aka.ms/webdev-beginners?WT.mc_id=academic-105485-koreyst)
- [IoT for Beginners](https://aka.ms/iot-beginners?WT.mc_id=academic-105485-koreyst)
- [XR Development for Beginners](https://github.com/microsoft/xr-development-for-beginners?WT.mc_id=academic-105485-koreyst)
- [Mastering GitHub Copilot for AI Paired Programming](https://aka.ms/GitHubCopilotAI?WT.mc_id=academic-105485-koreyst)
- [Mastering GitHub Copilot for C#/.NET Developers](https://github.com/microsoft/mastering-github-copilot-for-dotnet-csharp-developers?WT.mc_id=academic-105485-koreyst)
- [Choose Your Own Copilot Adventure](https://github.com/microsoft/CopilotAdventures?WT.mc_id=academic-105485-koreyst)## 🌟 Community Thanks
Thanks to [Shivam Goyal](https://www.linkedin.com/in/shivam2003/) 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 .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](https://opensource.microsoft.com/codeofconduct/).
For more information see the [Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/) or
contact [[email protected]](mailto:[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](https://www.microsoft.com/legal/intellectualproperty/trademarks/usage/general).
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.