AI SDK
Application-facing primitives for generating text, streaming, tool use, and provider integration.
// Vercel AI SDK integration
Connect supported model traffic to Punk. It finds recurring tasks, tests whether proven results can safely be reused, and keeps uncertain work with your original model.
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 task. Punk will show what repeats and what should stay with the original model.