tanstack-ai - Build type-safe streaming AI chats
Build provider-agnostic, type-safe streaming chat applications with server and client tools, approvals, agent loops, and multimodal inputs.
Tags
Updated: 2026-09-29TanStack AILLM SDKstreaming chatprovider adapterstype safetytool callingagent loopsmultimodal AIReactSolid
Capabilities
Typical Inputs
What this skill does
- Create streaming chat endpoints
- Connect provider adapters
- Define typed tools
- Implement server tools
- Implement client tools
- Handle tool approvals
- Configure agent loops
- Connect React clients
- Connect Solid clients
- Validate tool schemas
- Troubleshoot streaming issues
- Validate model options
Inputs
- Chat messages
- Conversation identifiers
- Provider API keys
- Model names
- Tool definitions
- User approvals
- Multimodal content
- External API responses
Outputs
- Streaming chat responses
- Tool execution results
- Tool approval prompts
- Client UI updates
- Structured error payloads
- Server-sent events
Requirements
- Node.js 18 or later
- TypeScript 5 or later
- Provider adapter package
- Provider API access
- React 18 for React bindings
- Solid 1.8 for Solid bindings
