TanStack
AI
v0
v0
Search...
K
Auto
Log In
Start
RC
Home
Docs
GitHub
Router
Home
Docs
GitHub
Query
Home
Docs
GitHub
Table
Home
Docs
GitHub
DB
beta
Home
Docs
GitHub
AI
alpha
Home
Docs
GitHub
Form
new
Home
Docs
GitHub
Virtual
Home
Docs
GitHub
Pacer
beta
Home
Docs
GitHub
Store
alpha
Home
Docs
GitHub
Devtools
alpha
Home
Docs
GitHub
More Libraries
Feed
Beta
Maintainers
Partners
Blog
Learn
NEW
Support
Stats
Discord
Merch
GitHub
Ethos
Tenets
Brand Guide
Documentation
React
Latest
Search...
K
Menu
Home
Frameworks
Contributors
GitHub
Discord
Getting Started
Overview
Quick Start
Devtools
Guides
Tools
Tool Architecture
Server Tools
Client Tools
Tool Approval Flow
Agentic Cycle
Structured Outputs
Streaming
Multimodal Content
Connection Adapters
Observability
Per-Model Type Safety
Runtime Adapter Switching
Text-to-Speech
Transcription
Image Generation
Video Generation
Tree-Shaking
Migration Guide
API
@tanstack/ai
@tanstack/ai-client
@tanstack/ai-react
@tanstack/ai-solid
Adapters
OpenAI
Anthropic
Google Gemini
Ollama
Community Adapters
Community Adapters Guide
Class References
BaseAdapter
BatchStrategy
CompositeStrategy
ImmediateStrategy
PartialJSONParser
PunctuationStrategy
StreamProcessor
ToolCallManager
WordBoundaryStrategy
Function References
text
textOptions
combineStrategies
convertMessagesToModelMessages
convertZodToJsonSchema
createReplayStream
embedding
generateMessageId
maxIterations
messages
modelMessageToUIMessage
modelMessagesToUIMessages
normalizeToUIMessage
parsePartialJSON
summarize
toServerSentEventsStream
toServerSentEventsResponse
toolDefinition
uiMessageToModelMessages
untilFinishReason
Interface References
AIAdapter
AIAdapterConfig
AgentLoopState
ApprovalRequestedStreamChunk
AudioPart
BaseStreamChunk
TextCompletionChunk
TextOptions
ChunkRecording
ChunkStrategy
ClientTool
ContentPartSource
ContentStreamChunk
DefaultMessageMetadataByModality
DocumentPart
DoneStreamChunk
EmbeddingOptions
EmbeddingResult
ErrorStreamChunk
ImagePart
InternalToolCallState
JSONParser
ModelMessage
ProcessorResult
ProcessorState
ResponseFormat
ServerTool
StreamProcessorEvents
StreamProcessorHandlers
StreamProcessorOptions
SummarizationOptions
SummarizationResult
TextPart
ThinkingPart
ThinkingStreamChunk
Tool
ToolCall
ToolCallPart
ToolCallStreamChunk
ToolConfig
ToolDefinition
ToolDefinitionConfig
ToolDefinitionInstance
ToolInputAvailableStreamChunk
ToolResultPart
ToolResultStreamChunk
UIMessage
VideoPart
Type Alias References
AgentLoopStrategy
AnyClientTool
TextStreamOptionsForModel
TextStreamOptionsUnion
ConstrainedContent
ConstrainedModelMessage
ContentPart
ContentPartForModalities
ExtractModalitiesForModel
ExtractModelsFromAdapter
InferToolInput
InferToolName
InferToolOutput
MessagePart
ModalitiesArrayToUnion
Modality
StreamChunk
StreamChunkType
ToolCallState
ToolResultState
Variable References
aiEventClient
defaultJSONParser
latest
React
Latest
Menu
Home
Frameworks
Contributors
GitHub
Discord
Getting Started
Overview
Quick Start
Devtools
Guides
Tools
Tool Architecture
Server Tools
Client Tools
Tool Approval Flow
Agentic Cycle
Structured Outputs
Streaming
Multimodal Content
Connection Adapters
Observability
Per-Model Type Safety
Runtime Adapter Switching
Text-to-Speech
Transcription
Image Generation
Video Generation
Tree-Shaking
Migration Guide
API
@tanstack/ai
@tanstack/ai-client
@tanstack/ai-react
@tanstack/ai-solid
Adapters
OpenAI
Anthropic
Google Gemini
Ollama
Community Adapters
Community Adapters Guide
Class References