AI SDK
Application-facing primitives for generating text, streaming, tool use, and provider integration.
// Vercel AI SDK integration
Keep the application patterns your team already uses. Route supported model traffic through Punk to measure production work, preserve fallback, and discover which repeated requests deserve deeper testing.
Punk is independent of Vercel. Vercel and AI SDK are trademarks or products of their respective owner.
// division of labor
Application-facing primitives for generating text, streaming, tool use, and provider integration.
Observed execution, policy context, pattern learning, evidence-gated routes, live fallback, and explanations.
Owns user experience, tool implementation, outcome signals, permissions, and the final definition of acceptable behavior.
// adoption path
Follow the current Punk guide for your AI SDK version and chosen provider.
Keep apps and tenants scoped so traces, caches, and learned routes cannot blur across boundaries.
Exercise the features your application relies on and compare behavior before expanding traffic.
Pass relevant feedback or task results when available; model completion alone does not prove task success.
Limitations: framework and provider APIs evolve. Confirm the current integration guide, supported features, and error semantics. A model endpoint connection does not automatically capture client UI state or every server-side tool action.
Choose one measurable path, observe it, and let evidence determine whether any route should change.