Chat SDK kini memuat AI SDK Tools: fitur agen perlu desain izin lebih dulu
Integrasi ini mengurangi kode penghubung antara chat dan tool agent. Namun semakin mudah sebuah aksi dibuka ke model, semakin penting desain izin, approval, audit log, dan rollback.
Sinyal dari komunitas developer menunjukkan pertanyaan yang sama: tool mana yang aman, kapan pengguna harus menyetujui, dan bagaimana kegagalan dijelaskan.
What changed
Vercel announced on May 20, 2026 that Chat SDK now includes an AI SDK toolset. The important pieces are chat/ai and createChatTools(chat), which make chat state and agent actions easier to connect.
Practical takeaway
- Separate read-only tools from write tools.
- Require approval for actions that change external systems.
- Log inputs, actor, approver, result, and failure reason.
- Design rollback or human escalation before launch.
- Keep hard restrictions in server policy, not only prompts.
Risk
The risk is not tool calling itself. The risk is giving a model product authority without a visible control surface. Good agent UX automates low-risk work and slows down only where trust requires it.