Vercel AI SDK v5 Integration
NEW
v5.0
Modern streaming AI capabilities with Vercel AI SDK v5 for enhanced performance and developer experience.
Quick Setup: The AI SDK is now integrated into Rodger.ai. Check your connection status in the sidebar to ensure AI SDK v5 is available.
What's New in AI SDK v5
Native Streaming
Server-Sent Events (SSE) for real-time token streaming with built-in backpressure handling.
Type Safety
Full TypeScript support with UIMessage and ModelMessage types for better DX.
Multi-Provider
Support for OpenAI and Grok with easy provider switching via model IDs.
MCP Tools
Model Context Protocol integration for advanced tool calling capabilities.
Available Endpoints
Core Endpoints
POST /api/ai-sdk/agents/:id/chatStream chat with an agent using Vercel AI SDK
POST /api/ai-sdk/business/agents/:id/chatBusiness agent chat with MCP tool support
Ready to Get Started?
The AI SDK v5 is available now. Check your API status in the sidebar.