AI SDK by Vercel
Vercel AI SDK RSC Runtime
Overview
Integration with the Vercel AI SDK React Server Components. It allows streaming React components directly from the server.
Integrates with OpenAI, Anthropic, Mistral, Perplexity, AWS Bedrock, Azure, Google Gemini, Hugging Face, Fireworks, Cohere, LangChain, Replicate, Ollama, and more.
Example
Getting Started
Accessing AI SDK Messages
You can use the getExternalStoreMessages
utility to convert ThreadMessage
s back to your message format.