GetNotes Tools
microsoft/ai-agents-for-beginners
Tool นี้คืออะไร
"AI Agents for Beginners" คือคอร์สเรียนสำหรับผู้เริ่มต้นที่ต้องการสร้าง AI Agents โดยมีบทเรียนครอบคลุมพื้นฐานที่จำเป็นและรองรับหลายภาษา
ข้อมูลโปรเจกต์
ดาว
70.6K
Forks
23.4K
License
MIT
อัปเดต GitHub ล่าสุด
22 ก.ค. 2569
เพิ่มใน GetNotes
13 ก.ค. 2569
Repository
microsoft/ai-agents-for-beginners
รูปแบบ
เหมาะกับงาน
เหมาะกับอาชีพ
Ecosystem
Jupyter Notebook
แปลและเรียบเรียงโดย AI
เนื้อหาฉบับภาษาไทย
ใช้อ่านเพื่อทำความเข้าใจเบื้องต้น โปรดตรวจสอบรายละเอียดสำคัญกับเอกสารต้นฉบับด้านล่าง
AI Agents สำหรับผู้เริ่มต้น - คอร์สเรียน
![]()
คอร์สเรียนที่สอนทุกสิ่งที่คุณจำเป็นต้องรู้เพื่อเริ่มต้นสร้าง AI Agents
🌐 รองรับหลายภาษา
รองรับผ่าน GitHub Action (อัตโนมัติและอัปเดตอยู่เสมอ)
อาหรับ | เบงกาลี | บัลแกเรีย | พม่า (เมียนมา) | จีน (ตัวย่อ) | จีน (ตัวเต็ม, ฮ่องกง) | จีน (ตัวเต็ม, มาเก๊า) | จีน (ตัวเต็ม, ไต้หวัน) | โครเอเชีย | เช็ก | เดนมาร์ก | ดัตช์ | เอสโตเนีย | ฟินแลนด์ | ฝรั่งเศส | เยอรมัน | กรีก | ฮิบรู | ฮินดี | ฮังการี | อินโดนีเซีย | อิตาลี | ญี่ปุ่น | กันนาดา | เขมร | เกาหลี | ลิทัวเนีย | มาเลย์ | มาลายาลัม | มราฐี | เนปาล | ไนจีเรีย พิดจิน | นอร์เวย์ | เปอร์เซีย (ฟาร์ซี) | โปแลนด์ | โปรตุเกส (บราซิล) | โปรตุเกส (โปรตุเกส) | ปัญจาบ (คุรมุขี) | โรมาเนีย | รัสเซีย | เซอร์เบีย (ซีริลลิก) | สโลวัก | สโลวีเนีย | สเปน | สวาฮีลี | สวีเดน | ตากาล็อก (ฟิลิปปินส์) | ทมิฬ | เตลูกู | ไทย | ตุรกี | ยูเครน | อูรดู | เวียดนาม
ต้องการโคลนแบบโลคอลใช่ไหม?
รีโพซิโทรีนี้มีไฟล์แปลมากกว่า 50 ภาษา ซึ่งทำให้ขนาดดาวน์โหลดเพิ่มขึ้นอย่างมาก หากต้องการโคลนโดยไม่มีไฟล์แปล ให้ใช้ 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"วิธีนี้จะช่วยให้คุณได้รับทุกสิ่งที่จำเป็นในการเรียนจบคอร์สพร้อมการดาวน์โหลดที่รวดเร็วยิ่งขึ้น
หากคุณต้องการให้รองรับภาษาแปลเพิ่มเติม สามารถดูรายการได้ ที่นี่
🌱 เริ่มต้นใช้งาน
คอร์สเรียนนี้มีบทเรียนที่ครอบคลุมพื้นฐานของการสร้าง AI Agents แต่ละบทเรียนจะครอบคลุมหัวข้อของตัวเอง ดังนั้นคุณสามารถเริ่มต้นจากส่วนไหนก็ได้ที่คุณต้องการ!
คอร์สเรียนนี้รองรับหลายภาษา ไปที่ ภาษาที่รองรับของเราที่นี่
หากนี่เป็นครั้งแรกที่คุณสร้างโมเดลด้วย Generative AI ลองดูคอร์ส Generative AI For Beginners ของเรา ซึ่งมี 21 บทเรียนเกี่ยวกับการสร้างด้วย GenAI
อย่าลืม กดดาว (🌟) ให้ repo นี้ และ fork repo นี้ เพื่อรันโค้ด
พบปะผู้เรียนคนอื่นๆ, รับคำตอบสำหรับคำถามของคุณ
หากคุณติดขัดหรือมีคำถามใดๆ เกี่ยวกับการสร้าง AI Agents เข้าร่วมช่อง Discord เฉพาะของเราใน Microsoft Foundry Discord
สิ่งที่คุณต้องมี
แต่ละบทเรียนในคอร์สนี้มีตัวอย่างโค้ด ซึ่งสามารถพบได้ในโฟลเดอร์ code_samples คุณสามารถ fork repo นี้ เพื่อสร้างสำเนาของคุณเองได้
ตัวอย่างโค้ดในแบบฝึกหัดเหล่านี้ใช้ Microsoft Agent Framework ร่วมกับ Microsoft Foundry Agent Service V2:
- Microsoft Foundry - ต้องมีบัญชี Azure
คอร์สนี้ใช้เฟรมเวิร์กและบริการ AI Agent ต่อไปนี้จาก Microsoft:
ตัวอย่างโค้ดบางส่วนยังรองรับผู้ให้บริการทางเลือกที่เข้ากันได้กับ OpenAI เช่น MiniMax ซึ่งมีโมเดลบริบทขนาดใหญ่ (สูงสุด 204K โทเค็น) ดู Course Setup สำหรับรายละเอียดการกำหนดค่า
สำหรับข้อมูลเพิ่มเติมเกี่ยวกับการรันโค้ดสำหรับคอร์สนี้ ไปที่ Course Setup
🙏 ต้องการช่วยไหม?
คุณมีข้อเสนอแนะ หรือพบข้อผิดพลาดในการสะกดคำหรือโค้ดหรือไม่? แจ้งปัญหา หรือ สร้าง pull request
📂 แต่ละบทเรียนประกอบด้วย
- บทเรียนที่เป็นลายลักษณ์อักษรอยู่ใน README และวิดีโอสั้นๆ
- ตัวอย่างโค้ด Python โดยใช้ Microsoft Agent Framework ร่วมกับ Microsoft Foundry
- ลิงก์ไปยังแหล่งข้อมูลเพิ่มเติมเพื่อเรียนรู้ต่อ
🗃️ บทเรียน
| บทเรียน | ข้อความ & โค้ด | วิดีโอ | การเรียนรู้เพิ่มเติม |
|---|---|---|---|
| บทนำสู่ AI Agents และกรณีการใช้งาน Agent | ลิงก์ | วิดีโอ | ลิงก์ |
| สำรวจ AI Agentic Frameworks | ลิงก์ | วิดีโอ | ลิงก์ |
| ทำความเข้าใจ AI Agentic Design Patterns | ลิงก์ | วิดีโอ | ลิงก์ |
| Tool Use Design Pattern | ลิงก์ | วิดีโอ | ลิงก์ |
| Agentic RAG | ลิงก์ | วิดีโอ | ลิงก์ |
| การสร้าง AI Agents ที่น่าเชื่อถือ | ลิงก์ | วิดีโอ | ลิงก์ |
| Planning Design Pattern | ลิงก์ | วิดีโอ | ลิงก์ |
| Multi-Agent Design Pattern | ลิงก์ | วิดีโอ | ลิงก์ |
| Metacognition Design Pattern | ลิงก์ | วิดีโอ | ลิงก์ |
| AI Agents ในการผลิต | ลิงก์ | วิดีโอ | ลิงก์ |
| การใช้ Agentic Protocols (MCP, A2A และ NLWeb) | ลิงก์ | วิดีโอ | ลิงก์ |
| Context Engineering สำหรับ AI Agents | ลิงก์ | วิดีโอ | ลิงก์ |
| การจัดการ Agentic Memory | ลิงก์ | วิดีโอ | |
| สำรวจ Microsoft Agent Framework | ลิงก์ | ||
| การสร้าง Computer Use Agents (CUA) | ลิงก์ | ลิงก์ | |
| การปรับใช้ Scalable Agents | เร็วๆ นี้ | ||
| การสร้าง Local AI Agents | เร็วๆ นี้ | ||
| การรักษาความปลอดภัย AI Agents | ลิงก์ | ลิงก์ |
🎒 คอร์สอื่นๆ
ทีมของเรามีคอร์สอื่นๆ ด้วย! ลองดู:
LangChain
Azure / Edge / MCP / Agents
Generative AI Series
Core Learning
Copilot Series
🌟 คำขอบคุณจากชุมชน
ขอขอบคุณ Shivam Goyal สำหรับการสนับสนุนตัวอย่างโค้ดที่สำคัญในการสาธิต Agentic RAG
การมีส่วนร่วม (Contributing)
โปรเจกต์นี้ยินดีรับการมีส่วนร่วมและข้อเสนอแนะ การมีส่วนร่วมส่วนใหญ่กำหนดให้คุณต้องยอมรับ Contributor License Agreement (CLA) เพื่อประกาศว่าคุณมีสิทธิ์และยินยอมมอบสิทธิ์ในการใช้ผลงานของคุณให้แก่เรา สำหรับรายละเอียดเพิ่มเติม โปรดไปที่ https://cla.opensource.microsoft.com
เมื่อคุณส่ง pull request บอท CLA จะตรวจสอบโดยอัตโนมัติว่าคุณจำเป็นต้องให้ CLA หรือไม่ และจะระบุใน PR อย่างเหมาะสม (เช่น การตรวจสอบสถานะ, คอมเมนต์) โปรดปฏิบัติตามคำแนะนำของบอท คุณจะต้องทำขั้นตอนนี้เพียงครั้งเดียวสำหรับทุก repo ที่ใช้ CLA ของเรา
โปรเจกต์นี้ใช้ Microsoft Open Source Code of Conduct สำหรับข้อมูลเพิ่มเติม โปรดดูที่ Code of Conduct FAQ หรือติดต่อ opencode@microsoft.com หากมีคำถามหรือข้อเสนอแนะเพิ่มเติม
เครื่องหมายการค้า (Trademarks)
โปรเจกต์นี้อาจมีเครื่องหมายการค้าหรือโลโก้ของโปรเจกต์ ผลิตภัณฑ์ หรือบริการ การใช้เครื่องหมายการค้าหรือโลโก้ของ Microsoft ที่ได้รับอนุญาตจะต้องเป็นไปตาม Microsoft's Trademark & Brand Guidelines การใช้เครื่องหมายการค้าหรือโลโก้ของ Microsoft ในเวอร์ชันที่ดัดแปลงของโปรเจกต์นี้ต้องไม่ทำให้เกิดความสับสนหรือสื่อว่าได้รับการสนับสนุนจาก Microsoft การใช้เครื่องหมายการค้าหรือโลโก้ของบุคคลที่สามจะเป็นไปตามนโยบายของบุคคลที่สามเหล่านั้น
การขอความช่วยเหลือ (Getting Help)
หากคุณติดปัญหาหรือมีคำถามเกี่ยวกับการสร้างแอป AI สามารถเข้าร่วมได้ที่:
หากคุณมีข้อเสนอแนะเกี่ยวกับผลิตภัณฑ์หรือพบข้อผิดพลาดขณะสร้าง โปรดไปที่:
เอกสารโปรเจกต์
อ่านเอกสารต้นฉบับ
README วิธีติดตั้ง วิธีใช้งาน และข้อกำหนดจาก repository ต้นฉบับ
AI Agents for Beginners - A Course
![]()
A course teaching everything you need to know to start building AI Agents
🌐 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?
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.
If you wish to have additional translation languages supported, they are listed here.
🌱 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:
- Microsoft Foundry - Azure Account Required
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
| 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 |
🎒 Other Courses
Our team produces other courses! Check out:
LangChain
Azure / Edge / MCP / Agents
Generative AI Series
Core Learning
Copilot Series
🌟 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 opencode@microsoft.com 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:
If you have product feedback or errors while building visit:
