Chat SDK получил AI SDK Tools: агентам сначала нужен дизайн прав
Интеграция уменьшает связующий код между чатом и инструментами агента. Но чем проще открыть реальные действия модели, тем важнее права, подтверждение, аудит и откат.
Обсуждения в сообществах показывают практические опасения: какие инструменты безопасны, когда нужен approve и как объяснять сбой.
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.