AI SDK 7: agent uygulamalari once execution contract ister
Vercel AI SDK 7 reasoning control, scoped context, tool approvals, WorkflowAgent, MCP Apps, sandbox ve telemetry ekliyor.
Execution contract read
Risk: provider farklari bitmiyor. Basit chatbot icin fazla olabilir, ama dosya, API ve approval olan urunde net contract gerekir.
What happened
AI SDK 7, 25 Haziran 2026’da agent development, runtime, harness integration ve observability alanlarini genisletti.
Why it matters
Prompt, runtime context ve tool context ayrilmali. Credential ve tenant state model promptuna karismamali.
Community signal
Topluluk sinyali cost, streaming tool output, BYOK, reasoning trace, Guardrails ve multi-agent workflows etrafinda yogunlasiyor.
Checklist
Checklist: tool basina contextSchema, riskli aksiyonlara approval, durable execution, ayrik timeout budget, MCP Apps sandbox ve uctan uca trace.
Risks
Risk: provider farklari bitmiyor. Basit chatbot icin fazla olabilir, ama dosya, API ve approval olan urunde net contract gerekir.
Runtime contract map
| Area | AI SDK 7 surface | Operational question |
|---|---|---|
| Context | runtimeContext, toolsContext, contextSchema | Keep tenant state and credentials out of prompt text. |
| Approval | Tool-level policy and human gates | Revalidate risky tool calls before execution continues. |
| Durability | WorkflowAgent or workflow layer | Survive deploys, restarts, and delayed approvals. |
| UI boundary | MCP Apps plus sandboxed iframe | Separate user review surfaces from model-visible tools. |
| Observability | OpenTelemetry, lifecycle events, usage | Trace steps, tool calls, approvals, errors, and cost together. |
Checklist
• Checklist: tool basina contextSchema, riskli aksiyonlara approval, durable execution, ayrik timeout budget, MCP Apps sandbox ve uctan uca trace.
Kaynaklar
- Vercel Blog: AI SDK 7
- Vercel Changelog: AI SDK 7 is now available
- AI SDK Docs: Migrate AI SDK 6.x to 7.0
- Vercel KB: Pass state to AI SDK tools and agents with context
- AI SDK Docs: Model Context Protocol tools
- AI SDK Docs: MCP Apps
- AI SDK Docs: Getting started with coding agents
- Vercel Community: AI SDK topics