// Agentic AI
Agentic AI คืออะไร?
ระดับ Autonomy, Agentic Patterns และทำไมปี 2025 ถึงเป็นยุคของ Agentic AI
// Definition
Agentic AI คืออะไร?
Agentic AI หมายถึง AI ที่มีความสามารถในการทำงานอย่าง อิสระ (Autonomously) ในขั้นตอนที่ยาวและซับซ้อน โดยใช้ เหตุผล, การวางแผน และการใช้ tools เพื่อบรรลุเป้าหมาย
ความแตกต่างสำคัญคือระดับ Human Involvement — AI ทั่วไปต้องการมนุษย์ควบคุมทุกขั้น แต่ Agentic AI สามารถทำงานได้ด้วยตัวเองในหลายขั้นตอน
Anthropic นิยามว่า agentic settings คือ "situations requiring sequences of actions or planning ahead over longer time horizons"
// Autonomy Spectrum
ระดับ Autonomy
L0
No Autonomy
ตอบคำถามครั้งเดียว ไม่มีการกระทำ
L1
Assisted
แนะนำ actions ให้มนุษย์ทำเอง
L2
Partial Auto
ทำงานบางขั้นตอนอัตโนมัติ มีมนุษย์ approve
L3
Conditional Auto
ทำงานอัตโนมัติ แจ้งเมื่อ uncertain
L4
High Auto
ทำงานอิสระเกือบทั้งหมด
L5
Full Autonomy
ทำงานอิสระสมบูรณ์ ตัดสินใจเองทุกอย่าง
// Agentic Patterns
4 Agentic Design Patterns
Anthropic และ Andrew Ng ระบุ 4 patterns หลักที่ทำให้ AI มีความสามารถ agentic
01
🪞
Reflection
Agent ตรวจสอบและวิจารณ์ output ของตัวเองซ้ำๆ เพื่อปรับปรุงคุณภาพ — เหมือนมีผู้ตรวจสอบในตัว เช่น ให้ LLM เขียน code แล้วให้ LLM อีกตัว review
02
🛠️
Tool Use
Agent เรียกใช้ external tools เพื่อดำเนินการในโลกจริง — web search, code execution, API calls, database queries ทำให้ไม่ถูกจำกัดแค่ text generation
03
📋
Planning
แบ่งงานซับซ้อนออกเป็น subtasks ขนาดเล็ก วางลำดับขั้นตอน และ execute ทีละส่วน เช่น Chain-of-Thought, Tree-of-Thoughts, ReAct planning
04
🤝
Multi-Agent
ระบบ agents หลายตัวทำงานร่วมกัน แต่ละตัว specialize ใน role ของตัวเอง เช่น Researcher + Writer + Critic — แก้ปัญหาซับซ้อนได้ดีกว่า single agent
เรียนรู้ Frameworks ที่ implement Agentic AI
LangChain, AutoGen, CrewAI, OpenAI SDK — แต่ละตัวเหมาะกับงานต่างกัน