Skip to content
Source
Sign inSign up
TanStack/cli

frameworks/solid/examples/tanchat

TanStack AI features
History
Contents of frameworks/solid/examples/tanchat
NameLast commit messageLast commit date
..
assets (directory)
info.json
package.json
README.md

README.md

TanStack Chat Application

Am example chat application built with TanStack Start, TanStack Store, and Claude AI.

Sidecar service

This applicaton requires a sidecar microservice to be running. The server is located in the ai-streaming-service directory.

In that directory you should edit the .env.local file to add your Anthropic API key:

ANTHROPIC_API_KEY=your_anthropic_api_key

Then run the server:

cd ai-streaming-service
npm install
npm run dev

✨ Features

AI Capabilities

  • πŸ€– Powered by Claude 3.5 Sonnet
  • πŸ“ Rich markdown formatting with syntax highlighting
  • 🎯 Customizable system prompts for tailored AI behavior
  • πŸ”„ Real-time message updates and streaming responses (coming soon)

User Experience

  • 🎨 Modern UI with Tailwind CSS and Lucide icons
  • πŸ” Conversation management and history
  • πŸ” Secure API key management
  • πŸ“‹ Markdown rendering with code highlighting

Technical Features

  • πŸ“¦ Centralized state management with TanStack Store
  • πŸ”Œ Extensible architecture for multiple AI providers
  • πŸ› οΈ TypeScript for type safety

Architecture

Tech Stack

  • Routing: TanStack Router
  • State Management: TanStack Store
  • Styling: Tailwind CSS
  • AI Integration: Anthropic's Claude API