AI SDK 7: Agent-Apps brauchen zuerst einen Ausführungsvertrag
Vercel AI SDK 7 bringt Reasoning Control, scoped Context, Tool Approvals, WorkflowAgent, MCP Apps, Sandbox und Telemetry. Entscheidend ist der Betrieb, nicht die Demo.
Execution contract read
Risiko: Provider bleiben unterschiedlich. Für einfache Bots ist das viel, aber bei Dateien, externen APIs und Genehmigungen ist ein klarer Vertrag günstiger als spätere Schadensbegrenzung.
What happened
AI SDK 7 wurde am 25. Juni 2026 veröffentlicht und erweitert Agent-Entwicklung, Laufzeit, Harness-Integration und Observability.
Why it matters
Teams sollten Prompt, Runtime Context und Tool Context trennen. Credentials gehören nicht in den Prompt, und jedes Tool sollte nur den Kontext sehen, den es braucht.
Community signal
Community-Fragen drehen sich weniger um den ersten Chatbot und mehr um Kosten, Streaming, BYOK, Reasoning traces, Guardrails und Multi-Agent-Flows.
Checklist
Praxis: contextSchema pro Tool, Approval für riskante Aktionen, durable Runs für Human-in-the-loop, Timeout-Budgets, MCP-App-Sandboxing und durchgängige Traces.
Risks
Risiko: Provider bleiben unterschiedlich. Für einfache Bots ist das viel, aber bei Dateien, externen APIs und Genehmigungen ist ein klarer Vertrag günstiger als spätere Schadensbegrenzung.
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. |
Praxis
• Praxis: contextSchema pro Tool, Approval für riskante Aktionen, durable Runs für Human-in-the-loop, Timeout-Budgets, MCP-App-Sandboxing und durchgängige Traces.
Quellen
- 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