macai

RensetApache-2.0活跃维护

原生 macOS 上的全能 AI 聊天客户端,一个界面就能接入 ChatGPT、Claude、Gemini、DeepSeek 等各家大模型服务,省去在多个网页和工具间来回切换。

All-in-one native macOS AI chat application for virtually any AI provider

v2.4.3发布于 2026-08-16 20:03 UTC940star75fork同步于 2026-11-07 07:32 UTC

怎么上手

由 README 提炼,执行前请确认
brew install --cask macai
硬件要求按 README 说明

需要 macOS 14.0 及以上,Intel 与 Apple 芯片均支持;本地模型场景 README 建议在 Apple M1/M2/M3/M4 Mac 上运行 Ollama。README 未说明具体显存要求。

支持 Apple Silicon
下载:源码 zip·GitHub Releases(安装包)本站不镜像安装包

项目说明

由 README 自动翻译提炼

原生 macOS AI 聊天客户端,一个界面接入 ChatGPT、Claude、Gemini、Ollama 等几乎所有主流与兼容 OpenAI 的服务

原生 macOS 上的全能 AI 聊天客户端,一个界面就能接入 ChatGPT、Claude、Gemini、DeepSeek 等各家大模型服务,省去在多个网页和工具间来回切换。

核心能力

  • 统一接入 ChatGPT、Claude、Grok、Gemini、Perplexity、OpenRouter 及任意 OpenAI 兼容 API
  • 支持视觉、图像生成、搜索、推理等能力,并可导入导出对话
  • 通过 iCloud 同步聊天记录、消息与设置到多台设备
  • 原生 Swift 界面,轻量且提供浅色/深色主题
  • 可对接本地 Ollama 运行开源模型,无需付费 API

容易踩的坑

使用商业模型需先自行申请对应厂商的 API token;用 Ollama 需先安装 Ollama 并执行 ollama pull 拉取模型;从源码构建时 Debug 版默认通过 DISABLE_ICLOUD 关闭 iCloud 同步,无开发者账号需改用 macai-no-icloud.entitlements。

内容由模型根据 README 生成,可能不完整或不准确,以官方文档为准。看原文 README

最近发版

5 个版本v2.4.3
  1. v2.4.3最新正式版2026-08-16 · 2026-08-16 20:03 UTC

    What's Changed

    This update is recommended for all users.

  2. v2.4.22026-01-16 · 2026-01-16 20:50 UTC
    查看更新说明
  3. v2.4.02026-01-14 · 2026-01-14 20:37 UTC
    查看更新说明
  4. v2.3.32026-01-08 · 2026-01-08 22:07 UTC
    查看更新说明
  5. v2.3.22026-01-01 · 2026-01-01 19:42 UTC
    查看更新说明

用户点评

登录用户的真实使用记录,可按版本和硬件筛选
共 0 条

    还没有人点评。第一个说出真实体验的人最有价值。

    README 原文

    未翻译

    macai (macOS AI) is a simple yet powerful native macOS AI chat client that supports most AI providers: ChatGPT, Claude, xAI (Grok), Google Gemini, Perplexity, Ollama, OpenRouter, and almost any OpenAI-compatible APIs.

    Table of Contents

    Downloads

    Manual

    Download latest universal binary, notarized by Apple.

    Homebrew

    Install macai cask with homebrew: brew install --cask macai

    Contributions

    Contributions are welcome. Take a look at Issues page to see already added features/bugs before creating new one. You can also support project by funding. This support is very important for me and allows to focus more on macai development.

    Why macai

    • macOS-native and lightweight
    • User-friendly: simple setup, minimalist light/dark UI
    • Feature-rich: vision, image generation, search, reasoning, import/export and more
    • iCloud Sync: keep chats, messages, and settings in sync across devices
    • Private and secure: no telemetry or usage tracking by macai (Note: Apple may collect anonymized telemetry when iCloud Sync is enabled)

    Run with ChatGPT, Claude, xAI or Google Gemini

    To run macai with ChatGPT or Claude, you need to have an API token. API token is like password. You need to obtain the API token first to use any commercial LLM API. Most API services offer free credits on registering new account, so you can try most of them for free. Here is how to get API token for all supported services:

    If you are new to LLM and don't want to pay for the tokens, take a look Ollama. It supports dozens of OpenSource LLM models that can run locally on Apple M1/M2/M3/M4 Macs.

    Run with Ollama

    Ollama is the open-source back-end for various LLM models. Run macai with Ollama is easy:

    1. Install Ollama from the official website

    2. Follow installation guides

    3. After installation, select model (llama3.1 or llama3.2 are recommended) and pull model using command in terminal: ollama pull <model>

    4. In macai settings, open API Service tab, add new API service (Expert mode) and select type Ollama":

    5. Select model, and default AI Assistant and save

    6. Test and enjoy!

    System requirements

    macOS 14.0 and later (both Intel and Apple chips are supported)

    Project status

    Project is in the active development phase.

    Build from source

    Option 1: With Apple Developer Account (Full Features)

    If you have an Apple Developer account and want to build with iCloud Sync support:

    1. Clone the repository: git clone https://github.com/Renset/macai.git
    2. Open macai.xcodeproj in Xcode
    3. Select your team in Signing & Capabilities
    4. (Optional) To enable iCloud Sync in Debug builds, remove DISABLE_ICLOUD from Build Settings → Swift Compiler → Active Compilation Conditions
    5. Build and run

    Note: By default, Debug builds have iCloud Sync disabled via the DISABLE_ICLOUD flag to simplify contributor setup. Release builds have iCloud Sync enabled.

    Option 2: Without Apple Developer Account (No iCloud Sync)

    If you don't have an Apple Developer account, you can still build and run the app without iCloud Sync:

    Using Xcode:

    1. Clone the repository: git clone https://github.com/Renset/macai.git
    2. Open macai.xcodeproj in Xcode
    3. Select the macai target → Build Settings tab
    4. Search for CODE_SIGN_ENTITLEMENTS
    5. Change the value from macai/macai.entitlements to macai/macai-no-icloud.entitlements
    6. In Signing & Capabilities, set "Signing Certificate" to "Sign to Run Locally"
    7. Build and run

    Using Command Line:

    git clone https://github.com/Renset/macai.git
    cd macai
    xcodebuild -scheme macai \
      -configuration Debug \
      CODE_SIGN_IDENTITY="-" \
      CODE_SIGN_ENTITLEMENTS="macai/macai-no-icloud.entitlements" \
      DEVELOPMENT_TEAM="" \
      CODE_SIGNING_ALLOWED=NO \
      build
    

    Note: The app built without iCloud entitlements will work normally, but the iCloud Sync feature will not be available. All other features (chat, API services, personas, etc.) will work as expected.

    iCloud Sync Configuration

    For Contributors (Debug Builds)

    iCloud Sync is disabled by default in Debug builds via the DISABLE_ICLOUD compiler flag. This simplifies the development setup and avoids CloudKit-related signing issues for contributors without an Apple Developer account.

    To enable iCloud Sync in Debug builds:

    1. Select the macai target → Build Settings tab
    2. Search for SWIFT_ACTIVE_COMPILATION_CONDITIONS (or "Active Compilation Conditions")
    3. Remove DISABLE_ICLOUD from the value (leaving just DEBUG)
    4. Ensure you have proper entitlements and signing configured (see below)
    For Forks / Custom Builds

    If you want iCloud Sync to work in a fork or custom build, you must use your own CloudKit container:

    1. Create a CloudKit container in your Apple Developer account
    2. Enable the iCloud capability for the macai target in Xcode, and add your container
    3. Update the CloudKitContainerIdentifier value in macai/Info.plist to your container ID
    4. Ensure your app's bundle identifier matches the one you registered for the container
    5. Remove DISABLE_ICLOUD from Active Compilation Conditions if present

    If CloudKitContainerIdentifier is missing, the app falls back to the default container.

    License

    Apache-2.0