The Ai Consultancy วิเคราะห์ default architecture ใหม่สำหรับสร้าง Claude Agent ในปี 2026 — Claude Managed Agents (launch 8 เม.ย.) + Advisor Tool (9 เม.ย.) รวมเป็น stack มาตรฐาน. บทความ target dev, technical lead, consultant พร้อม pattern deployment, governance, migration
Stack Default ใหม่
เดิม dev ต้องประกอบเอง: orchestration loop, tool execution env, state mgmt, credential, logging. platform 2026 รวมเป็น 3 ตัวหลัก:
- Claude models (Opus, Sonnet, Haiku)
- Claude Managed Agents = execution platform
- Advisor Tool = decision routing
“Claude Managed Agents handles the orchestration, sandboxing, credential management, session persistence, and end-to-end tracing at the infrastructure level.”
Advisor-Executor Pattern
Pair model เล็ก (Sonnet/Haiku) เป็น executor + Opus เป็น advisor. ตัวเลข performance ที่บทความอ้าง:
“Sonnet with an Opus advisor outperformed Sonnet alone by 2.7 percentage points on SWE-bench Multilingual, while reducing cost per agentic task by 11.9%.”
Haiku ได้เพิ่มมากกว่า:
“Haiku with an Opus advisor scored 41.2% versus 19.7% for Haiku alone, at 85% less cost per task than Sonnet.”
Trigger ที่ effective ต้อง structural ไม่ใช่ contextual. 4 หมวด:
- Task-initiation decisions ที่มี ambiguity จริง
- Anomaly handling สำหรับ input out-of-distribution
- High-consequence branching ที่พลาดแล้วเสียหายเยอะ
- Escalation assessment ตัดสินใจว่าจะให้คนเข้ามา
“Leaving trigger conditions too open, or using natural language instructions like ‘consult the advisor when unsure’, produces unpredictable advisory call rates and makes cost modelling difficult.”
Single-Agent vs Multi-Agent
Default = single-agent สำหรับ SME automation workflow ส่วนใหญ่
“Multi-agent systems introduce coordination overhead, increase the surface area for failures, and complicate debugging significantly.”
Multi-agent ใช้เมื่อ:
- Task ต้อง parallel จริง ๆ
- ต้อง strict permission separation
ตัวอย่างที่ไม่ต้องการ multi-agent: finance processing
ตัวอย่างที่ควรใช้ multi-agent:
- Software development (parallel code gen + test + submit)
- Research synthesis + concurrent info gathering
- Workflow ที่ต้องแยก access control เข้ม
Governance, Responsibility, Observability
เปลี่ยนไปใช้ managed infra ไม่ได้ตัด governance ทิ้ง — เปลี่ยนขอบเขตความรับผิดชอบ:
- Anthropic: sandbox, credential, session durability
- คุณ (deploying org): data processing, access permission, process logic, oversight mechanism
“Anthropic handles the infrastructure layer… The organisation deploying the agent retains responsibility for the data the agent processes, the access permissions granted to it, the process logic encoded in the agent specification, and the oversight mechanisms that determine when and how humans review agent decisions.”
สำคัญมากสำหรับ UK data protection:
“If an agent processes personal data from customers or employees, the data controller obligations remain with the organisation regardless of where the agent runs.”
Observability practices ที่แนะนำ:
- Structured logging ของ advisory call พร้อม question + response
- Alert เมื่อ error rate + session failure สูง
- Review decision output vs expected distribution เป็นประจำ
- Escalation process สำหรับ behavioral deviation
Migration จาก Hand-Rolled Orchestration
Full rewrite ไม่จำเป็นบ่อย. Incremental ดีกว่า — adopt Managed Agents สำหรับ workload ใหม่ หรือตอน rebuild ใหญ่ แล้วค่อย migrate ระบบเก่าเมื่อ maintenance cost คุ้ม
“The lowest-friction migration path is for agents that already use the Claude API directly and have clean separation between agent logic and infrastructure code.”
ระบบที่ coupling แน่นกับ schema/logging pipeline เฉพาะ = ต้องวางแผนดี. Advisor Tool adopt แยกได้โดยไม่ต้อง migrate เข้า hosted platform = “low-risk, high-return improvement” สำหรับ agent production อยู่แล้ว
Architecture Decision Checklist
- Workflow ได้ประโยชน์จาก advisor-executor pairing มั้ย? ระบุ decision point ที่ stake สูงกว่า routine execution
- Multi-agent coordination เพิ่ม value จริงมั้ย? Default = “no” ยกเว้นต้อง parallel หรือ permission separation จริง
- Data governance + retention requirement อะไรบ้าง? จบก่อน deploy
- อะไรคือ good behavior + จะ detect degradation ยังไง? นิยาม expected output, error threshold, human review process ก่อน go live
สรุป: infrastructure ก้าวมาไกล แต่ “the design and governance work, however, is as important as it ever was.”
แหล่งที่มา: “Designing Modern Claude Agents: Architecture Patterns with Managed Agents and the Advisor Tool” โดย The Ai Consultancy ตีพิมพ์ 18 เม.ย. 2026 บน Medium · อ่านต้นฉบับ