Open History to see the last commit
1# TanStack Chat Application
2
3Am example chat application built with TanStack Start, TanStack Store, and Claude AI.
4
5## Sidecar service
6
7This applicaton requires a sidecar microservice to be running. The server is located in the `ai-streaming-service` directory.
8
9In that directory you should edit the `.env.local` file to add your Anthropic API key:
10
11```env
12ANTHROPIC_API_KEY=your_anthropic_api_key
13```
14
15Then run the server:
16
17```bash
18cd ai-streaming-service
19npm install
20npm run dev
21```
22
23## ✨ Features
24
25### AI Capabilities
26
27- 🤖 Powered by Claude 3.5 Sonnet
28- 📝 Rich markdown formatting with syntax highlighting
29- 🎯 Customizable system prompts for tailored AI behavior
30- 🔄 Real-time message updates and streaming responses (coming soon)
31
32### User Experience
33
34- 🎨 Modern UI with Tailwind CSS and Lucide icons
35- 🔍 Conversation management and history
36- 🔐 Secure API key management
37- 📋 Markdown rendering with code highlighting
38
39### Technical Features
40
41- 📦 Centralized state management with TanStack Store
42- 🔌 Extensible architecture for multiple AI providers
43- 🛠️ TypeScript for type safety
44
45## Architecture
46
47### Tech Stack
48
49- **Routing**: TanStack Router
50- **State Management**: TanStack Store
51- **Styling**: Tailwind CSS
52- **AI Integration**: Anthropic's Claude API