ai-agents-for-beginners / vi
AGENTS.md76k starsChanged 5 months agoMITView on GitHub
Kho lưu trữ này chứa "Tác nhân AI cho Người Mới Bắt Đầu" - một khóa học giáo dục toàn diện dạy mọi thứ cần thiết để xây dựng Tác nhân AI. Khóa học gồm 18 bài học (đánh số 00-18) bao gồm các kiến thức cơ bản, mẫu thiết kế, khung làm việc, triển khai sản xuất, tác nhân tại chỗ/trên thiết bị, và bảo mật cho tác nhân AI. Công nghệ chính: - Python 3.12+ - Jupyter Notebooks…
- Reads credentials
- Installs packages
Adopted by
Steady: 0 new projects took it in the last 4 weeks, none the 4 weeks before.thin data
Who's talking about microsoft/ai-agents-for-beginners
- @rodtrent.com“AI Agents for Beginners - 10 Lessons teaching everything you need to know to start building AI Agents …”Bluesky · Feb 14, 2025 · 25 likes
- A Hacker News story“Lessons to Get Started Building AI Agents”Hacker News · Jul 4, 2025 · 10 points
- @rdenadai.dev“Pô, parece legal a grade hein... Deixar na lista aqui pra estudar depois da certificação da AWS.”Bluesky · Sep 7, 2025 · 7 likes
- @alvinashcraft.com“AI Agents for Beginners - 10 Lessons to Get Started Building AI Agents. …”Bluesky · Feb 22, 2025 · 7 likes
- @ottorinobruni.bsky.social“🚨 Want to learn AI Agents from scratch? Microsoft’s free 18-lesson course covers frameworks, tools, RAG, …”Bluesky · Nov 20, 2026 · 3 likes
The biggest 5 of 88 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 88
Talked about on GitHub, Bluesky and Hacker News (88 times).
On GitHub · 50
- Oct 14, 2026"Lesson" is not being translated. (en→ja) — Azure/co-op-translator1 reaction
- Jul 25, 2026Previous and Next lessons have not been translated. (en→jp) — Azure/co-op-translator1 reaction · 1 comment
- Jul 4, 2026Translated the markdown header ## Summary to ## まとめ (en→jp) — Azure/co-op-translator1 reaction · 1 comment
- Mar 31, 2026"Join the [Microsoft Foundry Discord]~" has not been translated. (en→ja) — Azure/co-op-translator1 reaction · 3 comments
- Mar 17, 2026The headline has not been translated (en→ja) — Azure/co-op-translator1 reaction · 2 comments
45 more on GitHub
- Mar 15, 2026Code block before and after it has not been translated. (en→ja) — Azure/co-op-translatorsays it tested it1 reaction · 3 comments
- Nov 18, 2025README Structure — notoriousmic/github-copilot-workshop1 reaction
- Oct 2, 2025[KO] Translation improvement for "{days}" usage — Azure/co-op-translator1 reaction · 1 comment
- Oct 2, 2025[KO] Translation improvement for "{days}" usage — Azure/co-op-translator1 reaction
- Sep 15, 2025HTML tags (e.g., <a>) are stripped or lost during translation — Azure/co-op-translator1 reaction · 2 comments
- Sep 7, 2025``` not handled correctly (en→ja) — Azure/co-op-translator1 reaction · 3 comments
- May 7, 2025Correcting all misc errors found across code samples for Lessons 04, 06, 09. — jabari-max/Mohammadhadi-Jabari1 reaction
- Nov 28, 2026Jayesh Aher (261105B306021) — R17-T010: retrieval with source attribution — scenario assessment [05-agentic-rag] — S-AI-Final-Projects-SMRU/ai-agents-for-beginners0 reactions
- Nov 28, 2026Jayesh Aher (261105B306021) — R17-T009: confidence-gated escalation — evaluation experiment [09-metacognition] — S-AI-Final-Projects-SMRU/ai-agents-for-beginners0 reactions
- Nov 28, 2026Jayesh Aher (261105B306021) — R17-T008: allowlisted action policy — failure and recovery example [06-building-trustworthy-agents] — S-AI-Final-Projects-SMRU/ai-agents-for-beginners0 reactions
- Nov 28, 2026Jayesh Aher (261105B306021) — R17-T007: dependency-plan validation — worked example with checks [07-planning-design] — S-AI-Final-Projects-SMRU/ai-agents-for-beginners0 reactions
- Nov 28, 2026Jayesh Aher (261105B306021) — R17-T006: dependency-plan validation — refactor the teaching example [08-multi-agent] — S-AI-Final-Projects-SMRU/ai-agents-for-beginners0 reactions
- Nov 28, 2026Jayesh Aher (261105B306021) — R17-T005: bounded agent loop — offline service adapter [01-intro-to-ai-agents] — S-AI-Final-Projects-SMRU/ai-agents-for-beginners0 reactions
- Nov 28, 2026Jayesh Aher (261105B306021) — R17-T004: trace aggregation — invariant and state trace [10-ai-agents-production] — S-AI-Final-Projects-SMRU/ai-agents-for-beginners0 reactions
- Nov 28, 2026Jayesh Aher (261105B306021) — R17-T003: agent-component routing — compare two approaches [03-agentic-design-patterns] — S-AI-Final-Projects-SMRU/ai-agents-for-beginners0 reactions
- Nov 28, 2026Jayesh Aher (261105B306021) — R17-T002: retrieval with source attribution — boundary-case lesson extension [05-agentic-rag] — S-AI-Final-Projects-SMRU/ai-agents-for-beginners0 reactions
- Nov 28, 2026Jayesh Aher (261105B306021) — R17-T001: bounded agent loop — runnable concept example [01-intro-to-ai-agents] — S-AI-Final-Projects-SMRU/ai-agents-for-beginners0 reactions
- Nov 28, 2026Yatharth Ujwal (2601010406) — R17-T030: model-manifest selection — scenario assessment [17-creating-local-ai-agents] — s-and-ai-ru-4/ai-agents-for-beginners0 reactions
- Nov 28, 2026Yatharth Ujwal (2601010406) — R17-T029: trace aggregation — evaluation experiment [16-deploying-scalable-agents] — s-and-ai-ru-4/ai-agents-for-beginners0 reactions
- Nov 28, 2026Yatharth Ujwal (2601010406) — R17-T028: bounded agent loop — failure and recovery example [14-microsoft-agent-framework] — s-and-ai-ru-4/ai-agents-for-beginners0 reactions
- Nov 28, 2026Yatharth Ujwal (2601010406) — R17-T033: retrieval with source attribution — invariant and state trace [05-agentic-rag] — s-and-ai-ru-4/ai-agents-for-beginners0 reactions
- Nov 28, 2026Yatharth Ujwal (2601010406) — R17-T032: bounded agent loop — compare two approaches [14-microsoft-agent-framework] — s-and-ai-ru-4/ai-agents-for-beginners0 reactions
- Nov 28, 2026Tanmay (2601010364) — R17-T038: prompt-template escaping — failure and recovery example [12-context-engineering] — s-and-ai-ru-4/ai-agents-for-beginners0 reactions
- Nov 28, 2026Tanmay (2601010364) — R17-T037: typed tool dispatch — worked example with checks [04-tool-use] — s-and-ai-ru-4/ai-agents-for-beginners0 reactions
- Nov 28, 2026Tanmay (2601010364) — R17-T036: bounded conversation memory — evaluation experiment [13-agent-memory] — s-and-ai-ru-4/ai-agents-for-beginners0 reactions
- Nov 28, 2026Tanmay (2601010364) — R17-T035: bounded conversation memory — refactor the teaching example [11-agentic-protocols] — s-and-ai-ru-4/ai-agents-for-beginners0 reactions
- Nov 28, 2026Tanmay (2601010364) — R17-T034: retrieval with source attribution — offline service adapter [05-agentic-rag] — s-and-ai-ru-4/ai-agents-for-beginners0 reactions
- Nov 28, 2026Rudransh (2601010295) — R17-T040: confidence-gated escalation — scenario assessment [09-metacognition] — s-and-ai-ru-4/ai-agents-for-beginners0 reactions
- Nov 28, 2026Rudransh (2601010295) — R17-T039: bounded conversation memory — boundary-case lesson extension [13-agent-memory] — s-and-ai-ru-4/ai-agents-for-beginners0 reactions
- Nov 28, 2026Rudransh (2601010295) — R17-T044: bounded conversation memory — invariant and state trace [11-agentic-protocols] — s-and-ai-ru-4/ai-agents-for-beginners0 reactions
- Nov 28, 2026Rudransh (2601010295) — R17-T043: agent-component routing — offline service adapter [03-agentic-design-patterns] — s-and-ai-ru-4/ai-agents-for-beginners0 reactions
- Nov 28, 2026Rudransh (2601010295) — R17-T042: dependency-plan validation — compare two approaches [08-multi-agent] — s-and-ai-ru-4/ai-agents-for-beginners0 reactions
- Nov 28, 2026Himanshi Gupta (2601010156) — R17-T049: tamper-evident action receipt — scenario assessment [18-securing-ai-agents] — s-and-ai-ru-4/ai-agents-for-beginners0 reactions
- Nov 28, 2026Himanshi Gupta (2601010156) — R17-T048: prompt-template escaping — evaluation experiment [12-context-engineering] — s-and-ai-ru-4/ai-agents-for-beginners0 reactions
- Nov 28, 2026Himanshi Gupta (2601010156) — R17-T047: agent-component routing — failure and recovery example [02-explore-agentic-frameworks] — s-and-ai-ru-4/ai-agents-for-beginners0 reactions
- Nov 28, 2026Himanshi Gupta (2601010156) — R17-T046: trace aggregation — worked example with checks [10-ai-agents-production] — s-and-ai-ru-4/ai-agents-for-beginners0 reactions
- Nov 28, 2026Hasrat Marwaha (2601010152) — R17-T050: confidence-gated escalation — runnable concept example [09-metacognition] — s-and-ai-ru-4/ai-agents-for-beginners0 reactions
- Nov 28, 2026Hasrat Marwaha (2601010152) — R17-T055: confidence-gated escalation — offline service adapter [09-metacognition] — s-and-ai-ru-4/ai-agents-for-beginners0 reactions
- Nov 28, 2026Hasrat Marwaha (2601010152) — R17-T052: agent-component routing — compare two approaches [02-explore-agentic-frameworks] — s-and-ai-ru-4/ai-agents-for-beginners0 reactions
- Nov 28, 2026Avi Garg (2601010083) — R17-T057: dependency-plan validation — worked example with checks [08-multi-agent] — s-and-ai-ru-4/ai-agents-for-beginners0 reactions
- Nov 28, 2026Avi Garg (2601010083) — R17-T056: agent-component routing — refactor the teaching example [03-agentic-design-patterns] — s-and-ai-ru-4/ai-agents-for-beginners0 reactions
- Nov 16, 2026agent-skills.github.microsoft.ai-agents-for-beginners: 0-unstable-2026-09-10 → 0-unstable-2026-11-07 — sudosubin/agents.nix0 reactions
- Oct 14, 2026agent-skills.github.microsoft.ai-agents-for-beginners: 0-unstable-2026-07-13 → 0-unstable-2026-09-10 — sudosubin/agents.nix0 reactions
- Sep 30, 2026agent-skills.github.microsoft.ai-agents-for-beginners: init at 0-unstable-2026-07-13 — sudosubin/agents.nix0 reactions
- Sep 6, 2026Batch 78: Claude usage-limit tips, n8n grounding technique, coding-agent CLIs, OSS-to-service ideas — dmavridi6478/business0 reactions
On Bluesky · 35
- Feb 14, 2025AI Agents for Beginners - 10 Lessons teaching everything you need to know to start building AI Agents github.com/microsoft/ai...… — @rodtrent.com25 likes and reposts · 1 reply
- Sep 7, 2025Pô, parece legal a grade hein... Deixar na lista aqui pra estudar depois da certificação da AWS. — @rdenadai.dev7 likes and reposts
- Feb 22, 2025AI Agents for Beginners - 10 Lessons to Get Started Building AI Agents. https://github.com/microsoft/ai-agents-for-beginners #ai #aiagents… — @alvinashcraft.com7 likes and reposts
- Nov 20, 2026🚨 Want to learn AI Agents from scratch? Microsoft’s free 18-lesson course covers frameworks, tools, RAG, multi-agents, production & more… — @ottorinobruni.bsky.social3 likes and reposts
- Apr 4, 202510 Lessons teaching everything you need to know to start building AI Agents github.com/microsoft/ai... — @asiermarques.com3 likes and reposts
30 more on Bluesky
- Mar 23, 2025📦 microsoft / ai-agents-for-beginners ⭐ 5,023 (+55) 🗒 Jupyter Notebook 10 Lessons to Get Started Building AI Agents — @github-trending.bsky.social3 likes and reposts
- Oct 20, 2026Stage 3: Agent fundamentals AI Agents for Beginners, Microsoft (18 lessons, 77k+ stars) github.com/microsoft/a... Hugging Face AI Agents… — @astrodevil1.bsky.social2 likes and reposts · 1 reply
- May 18, 2026🔥 Hot Repo! 🔥 (100+ new stars) 📦 microsoft / ai-agents-for-beginners ⭐ 62,102 (+180) 🗒 Jupyter Notebook 12 Lessons to Get Started… — @github-trending.bsky.social2 likes and reposts
- Dec 17, 2025Microsoft AI agents for beginners resource 👀 #fyp #typescript #agent #coding #llm #viral #viralvideo github.com/microsoft/ai... — @krystalmess.bsky.social2 likes and reposts
- Nov 12, 2025🔥 Hot Repo! 🔥 (100+ new stars) 📦 microsoft / ai-agents-for-beginners ⭐ 44,431 (+193) 🗒 Jupyter Notebook 12 Lessons to Get Started… — @github-trending.bsky.social2 likes and reposts
- Sep 7, 2025AI Agents for Beginners 11 Lessons to Get Started Building AI Agents. https://github.com/microsoft/ai-agents-for-beginners — @pythonhub.dev2 likes and reposts
- Jun 16, 2025🚀 Skyrocketing! 🚀 (200+ new stars) 📦 microsoft / ai-agents-for-beginners ⭐ 27,064 (+437) 🗒 Jupyter Notebook 11 Lessons to Get Started… — @github-trending.bsky.social2 likes and reposts
- Apr 26, 2025🚀 Dive into Microsoft’s “AI Agents for Beginners” a 10-lesson course designed to help you build AI agents using tools like Azure AI Agent… — @sean.techsnazzy.com2 likes and reposts
- Apr 21, 2025DesktopCommander MCP is trending on GitHub! Check it out alongside other amazing projects from: @microsoft github.com/microsoft/ai..., @n8n… — @desktopcommander.bsky.social2 likes and reposts
- Feb 14, 2025Microsoft’s #AI Agents for Beginners is a great hands-on resource for learning AI agents from scratch. Perfect for beginners and developers… — @mertyeter.bsky.social2 likes and reposts
- Jul 17, 2026微软开源了一套免费课程《AI Agents for Beginners》,GitHub 已封战 61k+ 星。 课程内容:什么是 AI Agent、怎么用 Tool/MCP、多代理人系统、Context 管理、让 AI 操作浏览器、安全部署——一路到完整实战。… — @anotherbug.com1 likes and repost
- Jun 8, 2026https://github.com/microsoft/ai-agents-for-beginners — @tom-doerr.bsky.social1 likes and repost
- May 3, 2026https://github.com/microsoft/ai-agents-for-beginners — @tom-doerr.bsky.social1 likes and repost
- Apr 21, 2026🔥 Hot Repo! 🔥 (100+ new stars) 📦 microsoft / ai-agents-for-beginners ⭐ 57,227 (+131) 🗒 Jupyter Notebook 12 Lessons to Get Started… — @github-trending.bsky.social1 likes and repost
- Feb 14, 2026https://github.com/microsoft/ai-agents-for-beginners — @tom-doerr.bsky.social1 likes and repost
- Jan 10, 2026https://github.com/microsoft/ai-agents-for-beginners — @tom-doerr.bsky.social1 likes and repost
- Dec 5, 20254) ai-agents-for-beginners ↳ 11 Lessons teaching everything you need to know to start building AI Agents. GitHub: github.com/microsoft/ai... — @analyticalrohit.bsky.social1 likes and repost · 1 reply
- Sep 8, 2025AI Agent for Beginners: github.com/microsoft/ai... ---- 📌 Join 3,000+ ML enthusiasts and professionals from 100 countries. ✅ Learn AI for… — @analyticalrohit.bsky.social1 likes and repost · 1 reply
- Jul 23, 20254) ai-agents-for-beginners ↳ 11 Lessons teaching everything you need to know to start building AI Agents. GitHub: github.com/microsoft/ai... — @analyticalrohit.bsky.social1 likes and repost · 1 reply
- Jun 12, 2025🔥 Hot Repo! 🔥 (100+ new stars) 📦 microsoft / ai-agents-for-beginners ⭐ 25,485 (+175) 🗒 Jupyter Notebook 11 Lessons to Get Started… — @github-trending.bsky.social1 likes and repost
- May 29, 2025🔥 Hot Repo! 🔥 (100+ new stars) 📦 microsoft / ai-agents-for-beginners ⭐ 22,020 (+180) 🗒 Jupyter Notebook 11 Lessons to Get Started… — @github-trending.bsky.social1 likes and repost
- Apr 14, 2025🎉 Celebrating! 🎉 (500+ new stars) 📦 microsoft / ai-agents-for-beginners ⭐ 14,149 (+688) 🗒 Jupyter Notebook 10 Lessons to Get Started… — @github-trending.bsky.social1 likes and repost · 1 reply
- Apr 10, 2025🚀 Skyrocketing! 🚀 (200+ new stars) 📦 microsoft / ai-agents-for-beginners ⭐ 11,709 (+403) 🗒 Jupyter Notebook 10 Lessons to Get Started… — @github-trending.bsky.social1 likes and repost
- Mar 23, 2025Fundamentals of building AI Agents, a place to start. github.com/microsoft/ai... — @cloudnativeboy.bsky.social1 likes and repost
- Feb 22, 2025🤖 Include anche esempi di implementazione di workflow usando #Autogen. 🚀 È un contributo davvero interessante. Insieme al corso… — @alessiopomaro.it1 likes and repost · 1 reply
- Jul 1, 20261. Hugging Face — AI Agents Course huggingface.co/learn/agent... 2. Microsoft — AI Agents for Beginners github.com/microsoft/a... 3.… — @aipromptgirl.bsky.social0 likes and reposts · 1 reply
- Jan 3, 2026AI Agents for Beginners (Microsoft) A free, structured 11-lesson course to get started with AI agents the right way.… — @jackfusion.bsky.social0 likes and reposts · 1 reply
- Jul 20, 20252️⃣ AI Agents for Beginners Free 11-part intro course, build your first AI agents step-by-step. 🔗 github.com/microsoft/a... — @arindam-1729.bsky.social0 likes and reposts · 1 reply
- Jun 13, 2025GitHub repo → github.com/microsoft/a... — @arindam-1729.bsky.social0 likes and reposts · 1 reply
- Mar 24, 2025Microsoft's "AI Agents for Beginners," is designed to teach you everything you need to know to start building AI Agents. The course… — @kuanhoong.bsky.social0 likes and reposts · 1 reply
On Hacker News · 3
- Jul 4, 2025Lessons to Get Started Building AI Agents10 points
- Apr 14, 2025AI Agents for Beginners2 points
- Feb 14, 2025AI Agents for Beginners – A 10 Lesson Course2 points
In this repository338 other files it gives its agents.
- AGENTS.mdAGENTS.md
- translations/ar/AGENTS.mdAGENTS.md
- translations/bg/AGENTS.mdAGENTS.md
- translations/bn/AGENTS.mdAGENTS.md
- translations/cs/AGENTS.mdAGENTS.md
- translations/da/AGENTS.mdAGENTS.md
- translations/de/AGENTS.mdAGENTS.md
- translations/el/AGENTS.mdAGENTS.md
- translations/en/AGENTS.mdAGENTS.md
- translations/es/AGENTS.mdAGENTS.md
- translations/et/AGENTS.mdAGENTS.md
- translations/fa/AGENTS.mdAGENTS.md
- translations/fi/AGENTS.mdAGENTS.md
- translations/fr/AGENTS.mdAGENTS.md
- translations/he/AGENTS.mdAGENTS.md
- translations/hi/AGENTS.mdAGENTS.md
- translations/hr/AGENTS.mdAGENTS.md
- translations/hu/AGENTS.mdAGENTS.md
- translations/id/AGENTS.mdAGENTS.md
- translations/it/AGENTS.mdAGENTS.md
- translations/ja/AGENTS.mdAGENTS.md
- translations/km/AGENTS.mdAGENTS.md
- translations/kn/AGENTS.mdAGENTS.md
- translations/ko/AGENTS.mdAGENTS.md
- translations/lt/AGENTS.mdAGENTS.md
- translations/ml/AGENTS.mdAGENTS.md
- translations/mr/AGENTS.mdAGENTS.md
- translations/ms/AGENTS.mdAGENTS.md
- translations/my/AGENTS.mdAGENTS.md
- translations/ne/AGENTS.mdAGENTS.md
- translations/nl/AGENTS.mdAGENTS.md
- translations/no/AGENTS.mdAGENTS.md
- translations/pa/AGENTS.mdAGENTS.md
- translations/pcm/AGENTS.mdAGENTS.md
- translations/pl/AGENTS.mdAGENTS.md
- translations/pt-BR/AGENTS.mdAGENTS.md
- translations/pt-PT/AGENTS.mdAGENTS.md
- translations/ro/AGENTS.mdAGENTS.md
- translations/ru/AGENTS.mdAGENTS.md
- translations/sk/AGENTS.mdAGENTS.md
- translations/sl/AGENTS.mdAGENTS.md
- translations/sr/AGENTS.mdAGENTS.md
- translations/sv/AGENTS.mdAGENTS.md
- translations/sw/AGENTS.mdAGENTS.md
- translations/ta/AGENTS.mdAGENTS.md
- translations/te/AGENTS.mdAGENTS.md
- translations/th/AGENTS.mdAGENTS.md
- translations/tl/AGENTS.mdAGENTS.md
- translations/tr/AGENTS.mdAGENTS.md
- translations/uk/AGENTS.mdAGENTS.md
- translations/ur/AGENTS.mdAGENTS.md
- translations/zh-CN/AGENTS.mdAGENTS.md
- translations/zh-HK/AGENTS.mdAGENTS.md
- translations/zh-MO/AGENTS.mdAGENTS.md
- translations/zh-TW/AGENTS.mdAGENTS.md
- 15-browser-use/llms.txtllms.txt
- azure-openai-to-responsesSkill
- deploying-scalable-agentsSkill
- jupyter-notebookSkill
- local-ai-agentsSkill
- The first 60 shown.
The file
Files
AGENTS.md
Tổng Quan Dự Án
Kho lưu trữ này chứa "Tác nhân AI cho Người Mới Bắt Đầu" - một khóa học giáo dục toàn diện dạy mọi thứ cần thiết để xây dựng Tác nhân AI. Khóa học gồm 18 bài học (đánh số 00-18) bao gồm các kiến thức cơ bản, mẫu thiết kế, khung làm việc, triển khai sản xuất, tác nhân tại chỗ/trên thiết bị, và bảo mật cho tác nhân AI.
Công nghệ chính:
- Python 3.12+
- Jupyter Notebooks cho học tương tác
- Khung AI: Microsoft Agent Framework (MAF)
- Dịch vụ AI Azure: Microsoft Foundry, Microsoft Foundry Agent Service V2
Kiến trúc:
- Cấu trúc dựa trên bài học (thư mục 00-15+)
- Mỗi bài học bao gồm: tài liệu README, mẫu mã (Jupyter notebooks), và hình ảnh
- Hỗ trợ đa ngôn ngữ qua hệ thống dịch tự động
- Một notebook Python cho mỗi bài học dùng Microsoft Agent Framework
Lệnh Cài Đặt
Yêu Cầu Trước
- Python 3.12 trở lên
- Tài khoản Azure đăng ký (cho Microsoft Foundry)
- Cài đặt và đăng nhập Azure CLI (
az login)
Thiết Lập Ban Đầu
- Sao chép hoặc fork kho lưu trữ:
gh repo fork microsoft/ai-agents-for-beginners --clone # HOẶC git clone https://github.com/microsoft/ai-agents-for-beginners.git cd ai-agents-for-beginners - Tạo và kích hoạt môi trường ảo Python:
python3 -m venv venv source venv/bin/activate # Trên Windows: venv\Scripts\activate - Cài đặt các phụ thuộc:
pip install -r requirements.txt - Thiết lập biến môi trường:
cp .env.example .env # Chỉnh sửa .env với các khóa API và điểm cuối của bạn
Biến Môi Trường Cần Thiết
Cho Microsoft Foundry (Bắt buộc):
AZURE_AI_PROJECT_ENDPOINT- điểm cuối dự án Microsoft FoundryAZURE_AI_MODEL_DEPLOYMENT_NAME- tên triển khai mô hình (ví dụ: gpt-5-mini)
Cho Azure AI Search (Bài 05 - RAG):
AZURE_SEARCH_SERVICE_ENDPOINT- điểm cuối Azure AI SearchAZURE_SEARCH_API_KEY- khóa API Azure AI Search
Xác thực: Chạy az login trước khi chạy notebooks (sử dụng AzureCliCredential).
Quy Trình Phát Triển
Chạy Jupyter Notebooks
Mỗi bài học chứa nhiều Jupyter notebooks cho các khung làm việc khác nhau:
- Khởi động Jupyter:
jupyter notebook - Đi đến thư mục bài học (ví dụ,
01-intro-to-ai-agents/code_samples/) - Mở và chạy các notebook:
*-python-agent-framework.ipynb- Sử dụng Microsoft Agent Framework (Python)*-dotnet-agent-framework.ipynb- Sử dụng Microsoft Agent Framework (.NET)
Làm việc với Microsoft Agent Framework
Microsoft Agent Framework + Microsoft Foundry:
- Yêu cầu tài khoản Azure đăng ký
- Dùng
FoundryChatClientcho Agent Service V2 (tác nhân hiện trên portal Foundry) - Sẵn sàng sản xuất với tính năng giám sát tích hợp
- Mẫu tệp:
*-python-agent-framework.ipynb
Hướng Dẫn Kiểm Thử
Đây là kho lưu trữ giáo dục với mã ví dụ thay vì mã sản xuất có kiểm thử tự động. Để xác minh thiết lập và thay đổi:
Kiểm Thử Thủ Công
- Kiểm thử môi trường Python:
python --version # Nên là 3.12 trở lên pip list | grep -E "(agent-framework|azure-ai|azure-identity)" - Kiểm thử thực thi notebook:
# Chuyển đổi sổ tay thành tập lệnh và chạy (kiểm tra các thư viện nhập) jupyter nbconvert --to script <lesson-folder>/code_samples/<notebook>.ipynb --stdout | python - Xác minh biến môi trường:
python -c "import os; from dotenv import load_dotenv; load_dotenv(); print('✓ AZURE_AI_PROJECT_ENDPOINT' if os.getenv('AZURE_AI_PROJECT_ENDPOINT') else '✗ AZURE_AI_PROJECT_ENDPOINT missing')"
Chạy Các Notebook Riêng Lẻ
Mở notebook trong Jupyter và thực thi các ô theo thứ tự. Mỗi notebook đều tự chứa và bao gồm:
- Các câu lệnh import
- Tải cấu hình
- Ví dụ thực hiện tác nhân
- Kết quả kỳ vọng trong các ô markdown
Kiểm Tra Đơn Giản Cho Tác Nhân Được Triển Khai
Với các bài học có tác nhân được triển khai làm tác nhân được lưu trữ bởi Microsoft Foundry (01, 04, 05, 16), repo cung cấp catalog kiểm tra đơn giản ở thư mục tests/ được chạy bởi workflow .github/workflows/smoke-test.yml qua hành động AI Smoke Test. Đây là bước kiểm thử nhẹ sau triển khai (tác nhân có thể truy cập và tuân thủ yêu cầu cơ bản không?), bổ sung cho pipeline đánh giá trong Bài 10 và 16. Xem tests/README.md để xem bảng ánh xạ catalog-bài học-tác nhân. Bài 17 chạy cục bộ với Foundry Local và không có điểm cuối lưu trữ, nên được kiểm tra bằng cách chạy trực tiếp notebook của nó.
Phong Cách Mã Nguồn
Quy Ước Python
- Phiên bản Python: 3.12+
- Phong cách mã nguồn: Tuân theo chuẩn PEP 8 Python
- Notebooks: Sử dụng ô markdown rõ ràng để giải thích khái niệm
- Nhập liệu: Nhóm theo thư viện chuẩn, bên thứ ba, nhập liệu địa phương
Quy Ước Jupyter Notebook
- Bao gồm ô markdown mô tả trước ô mã
- Thêm ví dụ đầu ra trong notebooks để tham khảo
- Sử dụng tên biến rõ ràng phù hợp với khái niệm bài học
- Giữ thứ tự chạy notebook theo trình tự tuyến tính (ô 1 → 2 → 3...)
Tổ Chức Tệp
<lesson-number>-<lesson-name>/
├── README.md # Lesson documentation
├── code_samples/
│ ├── <number>-python-agent-framework.ipynb
│ └── <number>-dotnet-agent-framework.ipynb (optional)
└── images/
└── *.pngXây Dựng và Triển Khai
Xây dựng tài liệu
Kho lưu trữ dùng Markdown cho tài liệu:
- Các tệp README.md trong mỗi thư mục bài học
- README.md chính ở thư mục gốc kho lưu trữ
- Hệ thống dịch tự động qua GitHub Actions
Pipeline CI/CD
Nằm trong .github/workflows/:
- co-op-translator.yml - Dịch tự động sang hơn 50 ngôn ngữ
- welcome-issue.yml - Chào mừng người tạo issue mới
- welcome-pr.yml - Chào mừng người đóng góp pull request mới
Triển khai
Đây là kho lưu trữ giáo dục - không có quy trình triển khai. Người dùng:
- Fork hoặc sao chép kho lưu trữ
- Chạy notebooks cục bộ hoặc trong GitHub Codespaces
- Học bằng cách sửa đổi và thử nghiệm ví dụ
Hướng Dẫn Pull Request
Trước Khi Gửi
- Kiểm tra thay đổi của bạn:
- Chạy hoàn chỉnh các notebook bị ảnh hưởng
- Đảm bảo tất cả các ô chạy không lỗi
- Kiểm tra đầu ra phù hợp
- Cập nhật tài liệu:
- Cập nhật README.md nếu thêm khái niệm mới
- Thêm chú thích trong notebook cho mã phức tạp
- Đảm bảo ô markdown giải thích mục đích
- Thay đổi tệp:
- Tránh commit tệp
.env(dùng.env.example) - Không commit thư mục
venv/hay__pycache__/ - Giữ đầu ra notebook khi thể hiện khái niệm
- Xóa tệp tạm thời và notebooks sao lưu (
*-backup.ipynb)
- Tránh commit tệp
Định Dạng Tiêu Đề PR
Dùng tiêu đề mô tả:
[Lesson-XX] Thêm ví dụ mới cho <khái niệm>[Fix] Sửa lỗi chính tả trong README bài học-XX[Update] Cải thiện mẫu mã trong bài học-XX[Docs] Cập nhật hướng dẫn cài đặt
Kiểm Tra Bắt Buộc
- Notebooks phải chạy không lỗi
- Tệp README phải rõ ràng và chính xác
- Tuân theo mẫu mã hiện có trong kho lưu trữ
- Duy trì sự nhất quán với các bài học khác
Ghi Chú Bổ Sung
Các Lỗi Thường Gặp
- Sai phiên bản Python:
- Đảm bảo sử dụng Python 3.12+
- Một số gói có thể không hoạt động với phiên bản cũ
- Dùng
python3 -m venvđể chỉ rõ phiên bản Python
- Biến môi trường:
- Luôn tạo
.envtừ.env.example - Không commit tệp
.env(nằm trong.gitignore) - Đăng nhập bằng
az loginđể xác thực Entra ID không cần khóa
- Luôn tạo
- Xung đột gói:
- Dùng môi trường ảo mới
- Cài đặt từ
requirements.txtthay vì từng gói riêng lẻ - Một số notebook có thể yêu cầu thêm gói được đề cập trong ô markdown
- Dịch vụ Azure:
- Dịch vụ AI Azure yêu cầu đăng ký hoạt động
- Một số tính năng chỉ có ở vùng cụ thể
- Đảm bảo triển khai mô hình Azure OpenAI của bạn hỗ trợ API Responses
Lộ Trình Học Tập
Khuyến nghị tiến trình qua các bài học:
- 00-course-setup - Bắt đầu với thiết lập môi trường
- 01-intro-to-ai-agents - Hiểu cơ bản về tác nhân AI
- 02-explore-agentic-frameworks - Tìm hiểu về các khung khác nhau
- 03-agentic-design-patterns - Mẫu thiết kế cốt lõi
- Tiếp tục lần lượt qua các bài đánh số
Lựa Chọn Khung Làm Việc
Chọn khung dựa vào mục tiêu của bạn:
- Tất cả các bài học: Microsoft Agent Framework (MAF) với
FoundryChatClient - Tác nhân đăng ký phía máy chủ trong Microsoft Foundry Agent Service V2 và hiển thị trên portal Foundry
Nhận Trợ Giúp
- Tham gia Cộng đồng Microsoft Foundry Discord
- Xem tệp README của bài học để có hướng dẫn cụ thể
- Kiểm tra README.md chính để xem tổng quan khóa học
- Tham khảo Course Setup để biết hướng dẫn thiết lập chi tiết
Đóng Góp
Đây là dự án giáo dục mở. Hoan nghênh đóng góp:
- Cải thiện ví dụ mã
- Sửa lỗi chính tả hoặc lỗi
- Thêm chú thích làm rõ
- Đề nghị chủ đề bài học mới
- Dịch sang các ngôn ngữ khác
Xem các Vấn đề trên GitHub để biết nhu cầu hiện tại.
Bối Cảnh Riêng Dự Án
Hỗ Trợ Đa Ngôn Ngữ
Kho lưu trữ này sử dụng hệ thống dịch tự động:
- Hỗ trợ hơn 50 ngôn ngữ
- Dịch nằm ở thư mục
/translations/<mã-ngôn-ngữ>/ - Workflow GitHub Actions xử lý cập nhật dịch
- Các tệp gốc bằng tiếng Anh ở thư mục gốc kho lưu trữ
Cấu Trúc Bài Học
Mỗi bài học theo một mẫu nhất quán:
- Ảnh thu nhỏ video có liên kết
- Nội dung bài học viết (README.md)
- Mẫu mã trong nhiều khung làm việc
- Mục tiêu học tập và yêu cầu trước
- Liên kết tài nguyên học tập thêm
Đặt Tên Mẫu Mã
Định dạng: <lesson-number>-python-agent-framework.ipynb
01-python-agent-framework.ipynb- Bài 1, MAF Python14-sequential.ipynb- Bài 14, mẫu nâng cao MAF16-python-agent-framework.ipynb- Bài 16, tác nhân hỗ trợ khách hàng sản xuất17-local-agent-foundry-local.ipynb- Bài 17, tác nhân cục bộ với Foundry Local + Qwen
Thư Mục Đặc Biệt
translated_images/- Hình ảnh bản địa hóa cho dịchimages/- Hình ảnh gốc cho nội dung tiếng Anh.devcontainer/- cấu hình container phát triển VS Code.github/- workflows và mẫu GitHub Actions
Phụ Thuộc
Gói chính từ requirements.txt:
agent-framework- Microsoft Agent Frameworka2a-sdk- Hỗ trợ giao thức Agent-to-Agentazure-ai-inference,azure-ai-projects- Dịch vụ AI Azureazure-identity- Xác thực Azure (AzureCliCredential)azure-search-documents- Tích hợp Azure AI Searchmcp[cli]- Hỗ trợ Model Context Protocol
<!-- CO-OP TRANSLATOR DISCLAIMER START -->Tuyên bố miễn trừ trách nhiệm: Tài liệu này đã được dịch bằng dịch vụ dịch thuật AI Co-op Translator. Mặc dù chúng tôi cố gắng đảm bảo độ chính xác, xin lưu ý rằng bản dịch tự động có thể chứa lỗi hoặc sai sót. Tài liệu gốc bằng ngôn ngữ gốc nên được coi là nguồn tin chính thức. Đối với thông tin quan trọng, nên sử dụng dịch vụ dịch thuật chuyên nghiệp bởi con người. Chúng tôi không chịu trách nhiệm về bất kỳ hiểu lầm hoặc giải thích sai nào phát sinh từ việc sử dụng bản dịch này.
<!-- CO-OP TRANSLATOR DISCLAIMER END -->Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

