OS Chat is a free, open-source AI personal assistant that combines 50+ language models with powerful automation capabilities. Deploy background agents, connect your favorite services (Gmail, Calendar, Notion, GitHub), and get things done through natural conversation.
- 🔓 Open Source T3 Chat Alternative - Get all the speed and multi-model access of T3 Chat, but open source, self-hostable, and enhanced with background agents and service integrations
- 🤖 Your AI Personal Assistant - More than chat - deploy background agents, automate workflows, and manage your digital life
- 🔗 Connect Everything - Direct integration with Gmail, Calendar, Notion, GitHub, Slack, and 10+ more services via Composio
- ⏰ Smart Automation - Deploy background agents with email notifications - let your assistant work while you sleep
- 🧠 50+ AI Models - Access the latest from OpenAI, Anthropic, Google, Meta, and more in one interface
- 🎯 Truly Personal - Customize personality traits, personal context, and preferences for tailored interactions
- 🔒 Privacy-First - Open source, self-hostable, with encrypted API key storage
- Smart Background Agents - Deploy AI agents to run one-time, daily, or weekly with timezone awareness
- Email Notifications - Get notified when your background agents complete successfully
- Automated Workflows - Let your AI assistant handle routine work while you focus on what matters
- Execution History - Track and monitor all your background agent runs with detailed logs
- Gmail Integration - Access, read, and manage your email messages directly through chat
- Google Calendar - View, create, and schedule calendar events seamlessly
- Google Drive & Docs - Access files, create documents, and collaborate on projects
- Notion Workspace - Read and write to your Notion pages and databases
- GitHub Management - Manage repositories, issues, and pull requests
- Slack, Linear, X (Twitter) - And 10+ more services
- 50+ AI Models - Access OpenAI, Anthropic, Google, Meta, Mistral, DeepSeek, xAI, Moonshot, Z.AI, MiniMax, and Qwen models
- Multi-modal Support - Text, images, and reasoning across all supported models
- Image Generation - Create high-quality images with GPT Image 1.5, Nano Banana Pro, Imagen 4, and Flux Schnell
- Reasoning Models - View AI thinking process with o3, Claude 4, Gemini Thinking, and DeepSeek R1
- Web Search Integration - Real-time internet search using Exa, Tavily, and Brave APIs
- Smart Organization - Automatic grouping by Today, Yesterday, Last 7 Days, etc.
- Pinned Chats - Keep important conversations at the top
- Chat Branching - Create alternative conversation paths from any assistant message
- Advanced Search - Full-text search across chat history with content snippets
- Data Portability - Export/import chat history with full data control
- Responsive Design - Beautiful interface that works on desktop and mobile
- Theme System - Beautiful light and dark modes with smooth transitions
- Keyboard Shortcuts - Quick access with ⌘+K (search), ⌘+Shift+O (new chat), ⌘+B (toggle sidebar)
- Real-time Streaming - Instant message streaming for immediate responses
- OpenAI: GPT-5.2, GPT-5.2 Pro, GPT-5.1, GPT-5, GPT-5 Mini/Nano, GPT OSS 20B/120B, o3, o4 Mini
- Anthropic: Claude 4.5 Opus, Claude 4.5 Sonnet, Claude 4.5 Haiku (with reasoning)
- Google: Gemini 3 Pro/Flash, Gemini 2.5 Pro/Flash (with thinking)
- Meta: Llama 4 Maverick, Llama 4 Scout
- DeepSeek: V3.2, V3.1, R1 (with reasoning variants)
- xAI: Grok 4.1 Fast, Grok 4, Grok 3
- Moonshot: Kimi K2, Kimi K2 Thinking
- Z.AI: GLM 4.7, GLM 4.6, GLM 4.5 (with thinking)
- MiniMax: M2.1, M2
- Qwen: Qwen3 Coder, Qwen3 235B
- OpenAI: GPT Image 1.5
- Google: Nano Banana Pro, Nano Banana, Imagen 4, Imagen 4 Ultra
- Fal: Flux Schnell
- TanStack Start - Full-stack React framework with SSR
- TanStack Router - Type-safe file-based routing
- TanStack Query - Powerful data fetching and caching
- Vite - Next-generation frontend tooling
- Nitro - Universal server engine
- React 19 - UI library with latest features
- t3-env - Type-safe environment variables with Zod
- Vercel AI SDK v5 - Model integration and streaming
- Convex - Real-time backend, authentication, and database
- Composio - Service integrations (Gmail, Calendar, Notion, GitHub, etc.)
- shadcn/ui - Modern component library for UI
- Framer Motion - Smooth animations and transitions
- Zustand - Lightweight state management
- Cloudflare R2 - Object storage for file attachments
- Tailwind CSS v4 - Utility-first CSS framework
- Ultracite - Lightning-fast linting with Biome
See the Installation Guide for complete setup instructions.
# Clone and install
git clone https://github.com/ajanraj/OpenChat.git
cd OpenChat && bun install
# Set up Convex backend
bunx convex login && bunx convex dev --once
# Configure environment
cp .env.example .env
# Run development server
bun devVisit http://localhost:3000 to see OS Chat running locally!
| Command | Description |
|---|---|
bun dev |
Start development server on port 3000 |
bun build |
Build for production |
bun test |
Run tests with Vitest |
bun run lint |
Run Ultracite linter |
bun run typecheck |
Run TypeScript type checking with tsgo |
bunx convex dev |
Run Convex development server |
- Projects & Workspaces - Organize your chats into projects and workspaces
- MCP integration - Model Context Protocol support for enhanced AI capabilities
- Stream Resuming - Resume interrupted streams using Redis
We welcome contributions! See the Installation Guide to set up your development environment.
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature) - Run
bun run lintandbun run formatbefore committing - Push to the branch and open a Pull Request
- Stream resuming using Redis
- Performance optimizations
- MCP integration
- Additional service connectors
Current Status: Beta Release - OS Chat is actively developed with regular feature updates.
Compatibility: Built with TanStack Start, Vite, and Nitro for modern full-stack React architecture.
Privacy: All data is processed securely with user control over exports, imports, and data management.
Copyright 2025 Ajan Raj. Licensed under the Apache License 2.0.
