Skip to content

iannil/aistudio

Repository files navigation

AI Studio Logo

AI Studio

Version License Build Status GitHub stars

Your unified AI workspace — Chat with GPT-4, Claude, and more in one beautiful desktop app.


Table of Contents


About

AI Studio is a high-performance, privacy-focused AI chat desktop application that brings together all your favorite AI models into one unified interface. Built with Tauri 2.0 and Svelte 5, it delivers exceptional performance while maintaining a small footprint.

Whether you're a developer, writer, researcher, or AI enthusiast, AI Studio provides a seamless experience for interacting with multiple AI providers without switching between different apps or browser tabs.


Why AI Studio?

The Problem

Using multiple AI services today means:

  • Fragmented Experience — Switching between ChatGPT, Claude, DeepSeek, and other apps
  • Scattered History — Conversations spread across multiple platforms
  • Privacy Concerns — Cloud-only storage with limited control
  • Resource Heavy — Electron-based apps consuming hundreds of MB of memory

The Solution

AI Studio gives you:

  • One App for All Providers — Unified interface for 10+ AI providers
  • Local-First Storage — All conversations saved locally with SQLite
  • Privacy by Design — API keys secured in system keychain, no cloud dependencies
  • Lightning Fast — 10x smaller bundle, 5x faster startup than Electron apps

Performance Comparison

Metric ChatGPT/Claude Desktop AI Studio
Bundle Size ~150-200MB ~10-20MB
Memory Usage ~200-500MB ~50-100MB
Startup Time ~2-3s ~0.5-1s
Multi-Provider No ✅ Yes
Local Storage Partial ✅ Full
Open Source No ✅ Yes
Cross-Platform Limited ✅ macOS, Windows, Linux

Features

🤖 Multi-Provider Support

Connect with all major AI providers through a single interface:

  • OpenAI — GPT-4o, GPT-4o Mini, GPT-4 Turbo, o1, o1-mini
  • Anthropic — Claude Sonnet 4, Claude 3.5 Sonnet, Claude 3.5 Haiku, Claude 3 Opus
  • DeepSeek — DeepSeek Chat, DeepSeek Coder, DeepSeek Reasoner
  • Groq — Llama 3.3 70B, Llama 3.1 8B, Mixtral 8x7b
  • OpenRouter — Access to 100+ models via single API
  • Together AI — Fast inference for open source models
  • Fireworks AI — High-performance model serving
  • xAI — Grok models
  • Custom Providers — Add your own OpenAI-compatible endpoints

💬 Advanced Chat Experience

  • Real-Time Streaming — Watch responses generate token by token
  • Message Editing — Edit any message and regenerate responses
  • Conversation Branching — Explore different response paths
  • Vision Support — Send images to vision-capable models
  • Token Counting — Track usage across conversations
  • System Prompts — Set custom system instructions per conversation

📁 Smart Organization

  • Tag System — Organize conversations with custom tags
  • Full-Text Search — Find anything in your chat history instantly
  • Archive & Pin — Keep important conversations accessible
  • Import/Export — Save and restore conversations in JSON or Markdown format
  • Conversation Management — Create, edit, delete, and archive conversations

📄 Document Processing

Extract text from popular document formats directly in your chat:

  • PDF (.pdf)
  • Word Documents (.docx)
  • Excel Spreadsheets (.xlsx)
  • PowerPoint Presentations (.pptx)

⚡ Performance

Built on Tauri 2.0 for exceptional performance:

  • 10x smaller than Electron-based applications
  • 5x faster startup time
  • 50% less memory usage
  • Native feel on every platform

🔒 Privacy First

  • Local Storage — All conversations stored locally with SQLite
  • Secure Keychain — API keys encrypted in system keychain
  • No Cloud Dependencies — Full control over your data
  • Open Source — Fully auditable codebase

🎨 Beautiful Design

  • Monochromatic Aesthetic — Unique architectural brutalism design
  • Dark/Light Themes — Switch between appearance modes
  • Responsive Layout — Works on all screen sizes
  • Keyboard Shortcuts — Power user-friendly commands

Screenshots

Main Chat Interface

Coming soon

Provider Configuration

Coming soon

Conversation Management

Coming soon


Quick Start

Prerequisites

  • Node.js >= 20
  • pnpm >= 9
  • Rust (latest stable)

Installation

# Clone the repository
git clone https://github.com/yourusername/aistudio.git
cd aistudio

# Install dependencies
pnpm install

# Run development server
pnpm dev

# Build for production
pnpm build

First Run Configuration

  1. Launch AI Studio — Start the application
  2. Add API Keys — Open Settings and add your provider API keys
  3. Select a Model — Choose your preferred model from the dropdown
  4. Start Chatting — Create your first conversation!

Platform-Specific Requirements

macOS

# Install Rust
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh

Windows

# Install Rust via rustup
# https://rustup.rs/

Linux

# Install dependencies (Ubuntu/Debian)
sudo apt update
sudo apt install libwebkit2gtk-4.1-dev \
  build-essential \
  curl \
  wget \
  file \
  libxdo-dev \
  libssl-dev \
  libayatana-appindicator3-dev \
  librsvg2-dev

Documentation

Comprehensive documentation is available in the /docs folder:

User Documentation

Architecture

API Reference

Development

Progress


Tech Stack

Frontend

Backend

  • Rust — Systems programming language
  • Tauri 2.0 — Desktop app framework
  • Sea-ORM — ORM for database operations
  • SQLite — Embedded database

Key Libraries

  • reqwest — HTTP client for API requests
  • tokio — Async runtime
  • serde/serde_json — Serialization
  • tracing — Instrumentation and logging

Roadmap

Current Version: v0.2.0-alpha

Completed ✅

  • Multi-provider chat interface
  • Streaming responses
  • Conversation management (CRUD, archive, pin)
  • Tag system and search
  • Document processing (PDF, DOCX, XLSX, PPTX)
  • Vision support
  • Import/Export functionality
  • System keychain integration

In Progress 🚧

  • Enhanced markdown rendering
  • Code syntax highlighting
  • Custom theme support

Planned 📋

  • Multi-language support (i18n)
  • Plugin system
  • Voice input/output
  • Local model support (Ollama, LM Studio)
  • Collaborative features
  • Mobile apps (iOS, Android)
  • Web version

See the full roadmap for details.


Contributing

We welcome contributions from the community! Here's how you can help:

Reporting Issues

  • Search existing issues before creating new ones
  • Provide detailed reproduction steps
  • Include your OS and app version

Submitting Pull Requests

  1. Fork the repository
  2. Create a feature branch (git checkout -b feature/amazing-feature)
  3. Make your changes
  4. Run tests (pnpm test)
  5. Commit your changes (git commit -m 'Add amazing feature')
  6. Push to the branch (git push origin feature/amazing-feature)
  7. Open a Pull Request

Development Guidelines

  • Follow the existing code style
  • Write meaningful commit messages
  • Add tests for new features
  • Update documentation as needed

Setting Up Development Environment

See the Development Setup Guide for detailed instructions.


Project Structure

aistudio/
├── docs/                    # Documentation
│   ├── PROJECT_STATE.md     # LLM-friendly project reference
│   ├── user-guide.md        # User documentation
│   ├── deployment.md        # Build and deployment guide
│   ├── architecture/        # Architecture docs
│   ├── api/                 # API documentation
│   ├── development/         # Development guides
│   └── progress/            # Status, roadmap, changelog
├── frontend/                # Svelte 5 frontend
│   ├── src/
│   │   ├── components/      # UI components
│   │   ├── stores/          # State management
│   │   └── services/        # API clients
│   └── package.json
├── src-tauri/               # Rust backend
│   ├── src/
│   │   ├── commands/        # Tauri commands
│   │   ├── providers/       # LLM providers
│   │   ├── processors/      # Document processors
│   │   ├── services/        # Business logic
│   │   └── storage/         # Database
│   └── Cargo.toml
└── README.md                # This file

License

This project is licensed under the MIT License - see the LICENSE file for details.


Acknowledgments


Made with ❤️ by the AI Studio community

中文文档

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors