In AI SDK 6, agents can accept type-safe options to configure behavior per request. https://lnkd.in/dha3TgiH
Would be nice to support Code Mode or writing code to call tools (e.g., via Vercel Sandbox)