microsoft

    microsoft/ai-agents-for-beginners

    #440 this week

    12 Lessons to Get Started Building AI Agents

    ai-agents
    ai
    agentic-ai
    agentic-framework
    agentic-rag
    ai-agents-framework
    autogen
    Jupyter Notebook
    MIT
    60.4K stars
    20.5K forks
    60.4K GitHub watchers
    Updated 5/4/2026
    View on GitHub

    Backblaze Generative Media Hackathon

    Build the next generation of AI media apps with Genblaze, stored on Backblaze B2. $10,000 in prizes.

    Enter the hackathon

    Loading star history...

    Use Cases & Benefits

    • This repository is a comprehensive beginner-friendly course with 11 lessons to learn building AI agents using practical code examples and videos.
    • It leverages Microsoft technologies like Azure AI Foundry, Semantic Kernel, AutoGen, and GitHub Model Catalogs for AI agent development.
    • Strengths include multi-language support, extensive lesson coverage, and active community engagement; limitations include dependency on Azure accounts for some features.
    • Organizations can use this course to train developers on AI agent frameworks and deploy trustworthy, scalable AI agents in production environments.
    • Ideal for learners and teams starting with generative AI agents, exploring agentic design patterns, and integrating AI agents into real-world applications.

    About ai-agents-for-beginners

    AI Agents for Beginners - A Course

    Generative AI 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)

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

    If you wish to have additional translations languages supported are listed here

    GitHub watchers GitHub forks GitHub stars

    Azure AI 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 Azure AI Foundry Community 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 example in these exercises, utilize Azure AI Foundry and GitHub Model Catalogs for interacting with Language Models:

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

    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

    • A written lesson located in the README and a short video
    • Python code samples supporting Azure AI Foundry and Github Models (Free)
    • Links to extra resources to continue your learning

    🗃️ Lessons

    LessonText & CodeVideoExtra Learning
    Intro to AI Agents and Agent Use CasesLinkVideoLink
    Exploring AI Agentic FrameworksLinkVideoLink
    Understanding AI Agentic Design PatternsLinkVideoLink
    Tool Use Design PatternLinkVideoLink
    Agentic RAGLinkVideoLink
    Building Trustworthy AI AgentsLinkVideoLink
    Planning Design PatternLinkVideoLink
    Multi-Agent Design PatternLinkVideoLink
    Metacognition Design PatternLinkVideoLink
    AI Agents in ProductionLinkVideoLink
    Using Agentic Protocols (MCP, A2A and NLWeb)LinkVideoLink
    Context Engineering for AI AgentsLinkVideoLink
    Managing Agentic MemoryComing - September 11th
    Evaluating AI AgentsComing - September 18th
    Building Computer Use Agents (CUA)Coming - September 25th
    Deploying Scalable AgentsComing - September 25th
    Creating Local AI AgentsComing - October 3rd
    Securing AI AgentsComing - October 10th

    🎒 Other Courses

    Our team produces other courses! Check out:

    🌟 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.

    Discover Repositories

    Search across tracked repositories by name or description