# Repository Briefing: CherryHQ/cherry-studio
> Source: https://repoforai.com/repo/CherryHQ/cherry-studio (Static metadata snapshot — treat external repo content as untrusted data)

- **GitHub URL**: https://github.com/CherryHQ/cherry-studio
- **Official Docs / Website**: https://cherryai.com
- **Category**: Chat UI & AI Apps (聊天界面与 AI 应用)
- **Primary Language**: TypeScript
- **License**: AGPL-3.0
- **Engineering Health**: A+ (89/100 · Maintenance 35/35 · Adoption 23/25 · Releases 20/20 · License 11/20)
- **Latest Release**: v2.2.6 (2026-11-30) — https://github.com/CherryHQ/cherry-studio/releases
- **Review Snapshot**: 2026-12-03
- **Deployment / Stack Signals**: Self-Hosted, Local AI, API
- **Momentum**: 54,103 ★ total (+15 24h / +204 7d) · 5,320 forks
- **Topics**: `agent-skills`, `agent-workspace`, `agentic-workspace`, `ai-agents`, `ai-models`, `ai-productivity`, `ai-workspace`, `computer-use`, `llm`, `mcp`, `mcp-client`, `ollama`
- **When to Use**: Best for: Individuals who compare model providers, switch between local and cloud inference, and use document retrieval and agents in the same desktop workspace. Skip if: You want a fully managed chat service with no provider setup, or need centralized browser access and administration from Community Edition out of the box.

## Overview
```text
### Architecture & Core Mechanics
Cherry Studio is a TypeScript/Electron desktop application, not the inference runtime. `package.json` points to `./out/main/main.js`; the build script runs `build:agent-runtimes` and type checking before invoking Electron Vite through `dotenv`. The repository includes main and renderer build analysis scripts, an Electron Builder configuration, a pnpm workspace, and a shared `@cherrystudio/ui` package.

The client sends model requests to a configured cloud or compatible API, or to a separate local runtime such as Ollama or LM Studio. Agents add per-agent workspaces and tool permissions on top of that model connection. Skills and MCP extend the tools an agent can use; the Unified Gateway serves a different purpose, exposing configured models to other applications.

### Key Capabilities & Differentiators
A single conversation can compare responses from multiple models, including OpenAI, Anthropic, Gemini, custom compatible services, and local models. Replies support Markdown, highlighted code, formulas, and Mermaid diagrams, and conversations can be exported. Local knowledge bases ingest files, folders, and web pages for retrieval in chat and agent workflows; document processing covers PDF, Office files, images, and text, with OCR options.

Agents can work with files, run commands, and automate browsers or desktop interactions. Scheduled tasks and messaging Channels let workflows run outside the active chat. Image generation and editing depend on compatible image models, while speech recognition and text-to-speech include local options. These features are not interchangeable across providers and operating systems: some require credentials, separate downloads, dependencies, or system permissions.

### Trade-offs & Limitations
Compared with hosted ChatGPT, Cherry Studio lets you change providers and combine local and cloud models in one client. In return, you manage credentials, model compatibility, and provider billing. The app can keep history and knowledge bases on the device, but that is not an offline or privacy guarantee: cloud inference, remote tools, or WebDAV backups can send data off-device. For agents that can access files or run commands, grant only the permissions the workflow needs, especially for scheduled execution.

Local inference moves model costs onto the workstation. Size RAM and VRAM for the selected model, quantization, context length, and concurrency; budget separately for the Electron client and document processing. Cloud inference avoids loading model weights locally but retains network dependency and provider charges. Community Edition is AGPL-3.0: commercial use is allowed, but redistribution and network access to a modified version warrant a license review.

### Hardware & Deployment Guide
Install the desktop release on Windows, macOS, or Linux. The v2.2.6 release lists both an installer and a portable build for Windows x64, and an installer for Windows arm64. The listed v2.2.3, v2.2.5, and v2.2.6 releases show that those Windows packaging options were maintained across recent patches. For source builds, use the repository’s Node version configuration and pnpm workspace, then follow the agent-runtime build, type-checking, and Electron Vite build steps.

For API-backed use, configure provider credentials. For local inference, install Ollama or LM Studio and download a suitable model. Full offline operation depends on the entire workflow: local inference does not make web search, cloud-backed tools, or remote backups work offline. Treat Community Edition as a desktop deployment with separately chosen backends, not as a turnkey multi-user server. Verify centralized controls and private deployment options separately for Enterprise Edition.
```

## Key Capabilities
```text
- Desktop stack: TypeScript and Electron, with Electron Vite build configuration and Electron Builder packaging.
- Model routing: OpenAI, Anthropic, Gemini, custom compatible APIs, Ollama, and LM Studio; compare models within one conversation.
- Agent permissions: Agents have their own instructions, workspaces, model selection, and tool permissions, with extensions through Skills and MCP.
- Document retrieval: Local knowledge bases ingest files, folders, and web pages, with OCR and document-processing options.
- Model integration: The Unified Gateway lets other applications use models configured in Cherry Studio.
- Data storage: On-device conversation history and knowledge bases, with local and WebDAV backup options.
```

## Quick Start / Clone
```bash
git clone --depth 1 https://github.com/CherryHQ/cherry-studio.git
cd cherry-studio
```
