About this starter

A starter for building AI apps.

The app at /chat is a ChatGPT/Claude-style interface wired up end to end: streaming chat, typed client/server tools with an approval flow, provider switching, and image generation — all speaking the AG-UI protocol with no hosted gateway in between. Use it as the foundation for your own AI product.

Stack
What's wired up out of the box
@tanstack/ai

Core chat/tool/structured-output engine

@tanstack/ai-react

Headless client + React hooks

@tanstack/ai-anthropic

Claude provider adapter

@tanstack/ai-openai

OpenAI provider adapter + images

shadcn/ui

Component layer (Base UI primitives)

TanStack Start

Routing, SSR, server functions