ai-agents-for-beginners

AI Agents for Beginners - Course

AI Agents for Beginners

Course wey go teach you everything wey you need sabi to start to build AI Agents

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

🌐 Multiple Language Support

Translations wey Co-op Translator dey maintain

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 | Manipuri (Meitei Mayek) | 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

You prefer to Clone for your computer?

This repository get more than 50 language translations wey make the download size big. 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 one go give you everything you need make you fit finish the course with faster download.

For more language options, go see Co-op Translator’s supported languages.

GitHub watchers GitHub forks GitHub stars

Microsoft Foundry Discord

🌱 How to Start

Dis course get lessons wey dey cover the basics to build AI Agents. Each lesson get e own topic, so start from where you like!

Dis course get multi-language support. Check our available languages here.

If na your first time to build with Generative AI models, try our Generative AI For Beginners course, wey get 21 lessons about how to build with GenAI.

No forget to star (🌟) dis repo and fork dis repo to run the code.

Meet Other Learners, Make Dem Answer Your Questions

If you jam problem or get question about building AI Agents, join our special Discord Channel for Microsoft Foundry Discord.

Wetin You Need

Each lesson for dis course get code samples, wey you fit find for the code_samples folder. You fit fork dis repo to create your own copy.

The code samples for dis exercises dey use Microsoft Agent Framework with Microsoft Foundry Agent Service V2:

Dis course dey use these AI Agent frameworks and services wey come from Microsoft:

Some code samples fit also work with other OpenAI-compatible providers like MiniMax, wey get large-context models (up to 204K tokens). Check the Course Setup to see how to set am.

For more info on how to run the code for dis course, go the Course Setup.

🙏 You wan help?

You get suggestions or you see spelling or code mistakes? Raise an issue or Create pull request

📂 Wetin 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

🎒 Oda Courses

Our team dey produce oda courses! 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

Tenk yu to Shivam Goyal for to put important code samples wey show how to do Agentic RAG.

Contributing

Dis project dey welcome wetin you fit add and suggestions. Plenti times, you go need agree to Contributor License Agreement (CLA) wey go talk say you get right, and tru tru, you gree make we use wetin you put. For details, go https://cla.opensource.microsoft.com.

When you send pull request, CLA bot go automatically check if you need make you provide CLA and e go add wetin suppose dey on top the PR (e.g., status check, comment). Just follow the instructions wey the bot go give. You go only need do am one time for all repos wey dey use our CLA.

Dis project don follow the Microsoft Open Source Code of Conduct. For more info, see the Code of Conduct FAQ or contact opencode@microsoft.com if you get more questions or comments.

Trademarks

Dis project fit get trademarks or logos for projects, products, or services. Authorized use of Microsoft trademarks or logos need make you follow Microsoft’s Trademark & Brand Guidelines. If you use Microsoft trademarks or logos for modified versions of dis project, e no suppose cause confusion or make people think Microsoft dey support am. Any use of third-party trademarks or logos dey follow their own rules.

Getting Help

If you jam problem or get any question about how to build AI apps, join:

Microsoft Foundry Discord

If you get product feedback or error 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.