Chat SDK include AI SDK Tools: gli agenti richiedono prima il design dei permessi
L’integrazione riduce il codice necessario per collegare strumenti e interfaccia chat. Ma quando è più facile esporre azioni reali, permessi, approvazioni e audit diventano la parte più importante.
Le discussioni nelle community tecniche mostrano dubbi operativi: quali tool aprire, quando chiedere conferma, come spiegare e recuperare un errore.
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.