Open History to see the last commit
1{
2 "name": "TanStack Chat",
3 "description": "A chat example that uses TanStack Start and TanStack Store. Features chat with Anthropic Sonnet, chat history and custom prompts.",
4 "aiDescription": "TanStack Chat is a fully-featured AI chat example built with @tanstack/ai that you can use as a starting point for your own AI-powered applications. It demonstrates: streaming chat with Anthropic Claude (Sonnet), persistent chat history, custom system prompts, a polished chat UI with message bubbles, an AI assistant button in the header, and integration with TanStack Store for state management. This example shows best practices for building AI chat interfaces including proper streaming SSE handling, message rendering with Markdown, loading states, and error handling. Choose this example when you want to add AI chat capabilities to your app—it provides production-ready patterns for @tanstack/ai integration that you can customize for your specific LLM and use case.",
5 "phase": "example",
6 "modes": ["file-router"],
7 "type": "example",
8 "priority": 10,
9 "link": "",
10 "routes": [
11 {
12 "icon": "MessagesSquare",
13 "url": "/demo/tanchat",
14 "name": "Chat",
15 "path": "src/routes/demo.tanchat.tsx",
16 "jsName": "ChatDemo"
17 },
18 {
19 "icon": "Guitar",
20 "url": "/example/guitars",
21 "name": "Guitar Demo",
22 "path": "src/routes/example.guitars.tsx",
23 "jsName": "GuitarDemo"
24 },
25 {
26 "path": "src/routes/example.guitars/$guitarId.tsx",
27 "jsName": "GuitarById"
28 }
29 ],
30 "integrations": [
31 {
32 "type": "header-user",
33 "path": "src/components/example-AIAssistant.tsx",
34 "jsName": "TanChatAIAssistant"
35 },
36 {
37 "type": "devtools",
38 "path": "src/lib/ai-devtools.tsx",
39 "jsName": "AiDevtools"
40 }
41 ],
42 "dependsOn": ["start", "store"],
43 "variables": []
44}