ai-agents-for-beginners

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?

Dis repository get more dan 50 language translation wey go increase di download size well well. To clone without di 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"

Dis one go give you everything wey you need to complete di course wit fast download.

If you want make we support more translation languages, dem dey listed here.

GitHub watchers GitHub forks GitHub stars

Microsoft Foundry Discord

🌱 How to Start

Dis course get lessons wey dey teach di fundamentals to build AI Agents. Each lesson get e own topic, so you fit start anywhere you like!

Dis course get multi-language support. Go check our languages wey dey available here.

If na your first time to build wit Generative AI models, check our Generative AI For Beginners course wey get 21 lessons for building wit GenAI.

No forget to star (🌟) dis repo and fork dis repo make you fit run di code.

Meet Other Learners, Get Your Questions Answered

If you jam any wahala or get question about how to build AI Agents, join our special Discord Channel for Microsoft Foundry Discord.

Wetin You Need

Each lesson for dis course get code examples, wey dey inside code_samples folder. You fit fork dis repo to make your own copy.

Di code examples for these exercises dey use Microsoft Agent Framework wit Microsoft Foundry Agent Service V2:

Dis course dey use dis AI Agent frameworks and services from Microsoft:

Some code examples sef fit use other OpenAI-compatible providers like MiniMax, wey get big-context models (up to 204K tokens). Check di Course Setup for configuration details.

If you want more info on how to run di code for dis course, go Course Setup.

🙏 You Wan Help?

You get suggestion or you see any spelling or code mistake? Raise an issue or Create a pull request

📂 Each Lesson Get

🗃️ 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

🎒 Odas Kọ́s

Our team dey make oda kọns! Check am:

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

Dis project dey welcome contributions and suggestions. Most contributions need say you agree to Contributor License Agreement (CLA) wey talk say you get the right to, and you really dey grant us di rights to use your contribution. For details, visit https://cla.opensource.microsoft.com.

When you submit pull request, CLA bot go automatically check whether you need to provide CLA and fit decorate the PR well (like status check, comment). Just follow di instructions wey di bot give. You go just need to do am once for all repos wey dey use our CLA.

Dis project don adopt Microsoft Open Source Code of Conduct. For more info check Code of Conduct FAQ or contact opencode@microsoft.com if you get any questions or comments.

Trademarks

Dis project fit get trademarks or logos for projects, products, or services. Unauthorized use of Microsoft trademarks or logos no allowed, and you must follow Microsoft’s Trademark & Brand Guidelines. If you modify di project and use Microsoft trademarks or logos, e no suppose cause confusion or make people think say Microsoft dey sponsor am. Any use of third-party trademarks or logos gots follow di third-parties’ rules dem.

Getting Help

If you get stuck or get any question about building AI apps, come join:

Microsoft Foundry Discord

If you get product feedback or find errors while you dey build, visit:

Microsoft Foundry Developer Forum


Disclaimer: Dis document don translate wit AI translation service Co-op Translator. Even tho we dey try make am correct, abeg make you know say automated translation fit get errors or mistakes. Di original document for dia own language na im be di correct source. For important info, make person wey sabi human translation do am. We no go responsible for any misunderstanding or wrong understanding wey fit happen because of dis translation.