ai-agents-for-beginners

microsoftMIT活跃维护

微软出品的 18 节入门课程,用 Jupyter Notebook 手把手教你搭建 AI Agent,覆盖 AutoGen、Semantic Kernel、Foundry 等主流框架与 Agentic RAG 实践。

18 Lessons to Get Started Building AI Agents

暂无版本79,355star +280 / 7 天25,988fork同步于 2026-11-10 17:18 UTC

怎么上手

由 README 提炼,执行前请确认
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'
硬件要求按 README 说明

README 未说明本地显存或 GPU 要求;代码示例依赖 Azure 账号与 Microsoft Foundry 云服务,部分示例支持 OpenAI 兼容的第三方模型提供商

下载:源码 zip·GitHub Releases(安装包)本站不镜像安装包

项目说明

由 README 自动翻译提炼

微软官方 18 节 AI Agent 入门课程,带 Python 代码示例,帮你从零搭起 Agent

微软出品的 18 节入门课程,用 Jupyter Notebook 手把手教你搭建 AI Agent,覆盖 AutoGen、Semantic Kernel、Foundry 等主流框架与 Agentic RAG 实践。

核心能力

  • 18 节课覆盖 Agent 基础、设计模式与生产落地
  • 每课含 README 讲义、短视频与扩展学习链接
  • 代码示例基于 Microsoft Agent Framework 与 Foundry Agent Service V2
  • 覆盖工具调用、Agentic RAG、多 Agent、记忆与 MCP/A2A 协议
  • 提供 50+ 语言翻译版本,含简体中文

容易踩的坑

仓库含 50+ 语言翻译,直接 clone 体积很大,建议用 sparse checkout 排除 translations 目录;运行代码示例需要 Azure 账号并配置 Microsoft Foundry,具体步骤见 00-course-setup;课程是教学材料而非可直接安装的库,需按各课 README 自行配置环境

内容由模型根据 README 生成,可能不完整或不准确,以官方文档为准。看原文 README

最近发版

0 个版本

暂无 release 数据(可能没有发版,或尚未同步)。

用户点评

登录用户的真实使用记录,可按版本和硬件筛选
共 0 条

    还没有人点评。第一个说出真实体验的人最有价值。

    README 原文

    未翻译

    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

    Translations maintained with Co-op Translator

    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.

    For additional language options, see Co-op Translator's supported languages.

    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

    • A written lesson located in the README and a short video
    • Python code samples using Microsoft Agent Framework with Microsoft Foundry
    • 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 MemoryLinkVideo
    Exploring Microsoft Agent FrameworkLink
    Building Computer Use Agents (CUA)LinkLink
    Deploying Scalable AgentsLinkLink
    Creating Local AI AgentsLinkLink
    Securing AI AgentsLinkLink

    🎒 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

    If you have product feedback or errors while building visit:

    Microsoft Foundry Developer Forum