<p align="center">
<picture>
<source media="(prefers-color-scheme: dark)" srcset=".github/assets/serein-mark-dark.svg">
<img src=".github/assets/serein-mark-light.svg" alt="Serein" width="96" height="96">
</picture>
</p>
<h1 align="center">Meet Serein</h1>
<p align="center">The open source Grok Bot alternative, but it’s $0.</p>
<p align="center">
<a href="LICENSE"><img src="https://img.shields.io/badge/license-MIT-615FFF" alt="License: MIT"></a>
<img src="https://img.shields.io/badge/macOS-14%2B-1C1C1C?logo=apple&logoColor=white" alt="macOS 14 or later">
<img src="https://img.shields.io/badge/Apple%20Silicon%20%7C%20Intel-1C1C1C" alt="Apple Silicon and Intel">
</p>
<p align="center">
<picture>
<source media="(prefers-color-scheme: dark)" srcset=".github/assets/demo-dark.gif">
<img src=".github/assets/demo-light.gif" alt="Serein plans Friday from notes and Safari tabs, sets a reminder, switches model, approves an Inbox reply and opens Settings. Made-up data." width="840">
</picture>
</p>
<p align="center"><b>Works with</b></p>
<p align="center">
<img src=".github/assets/agents/claude-code.svg" alt="Claude Code" title="Claude Code" width="32" height="32">
<img src=".github/assets/agents/codex-mark.svg" alt="Codex" title="Codex" width="32" height="32">
<img src=".github/assets/agents/cursor-agent.svg" alt="Cursor" title="Cursor" width="32" height="32">
<img src=".github/assets/agents/gemini-cli.svg" alt="Gemini CLI" title="Gemini CLI" width="32" height="32">
<picture><source media="(prefers-color-scheme: dark)" srcset=".github/assets/agents/opencode-dark.svg"><img src=".github/assets/agents/opencode-light.svg" alt="OpenCode" title="OpenCode" width="32" height="32"></picture>
<picture><source media="(prefers-color-scheme: dark)" srcset=".github/assets/agents/grok-dark.svg"><img src=".github/assets/agents/grok-light.svg" alt="Grok" title="Grok" width="32" height="32"></picture>
<picture><source media="(prefers-color-scheme: dark)" srcset=".github/assets/agents/ollama-dark.svg"><img src=".github/assets/agents/ollama-light.svg" alt="Ollama" title="Ollama" width="32" height="32"></picture>
<picture><source media="(prefers-color-scheme: dark)" srcset=".github/assets/agents/lm-studio-dark.svg"><img src=".github/assets/agents/lm-studio-light.svg" alt="LM Studio" title="LM Studio" width="32" height="32"></picture>
<picture><source media="(prefers-color-scheme: dark)" srcset=".github/assets/agents/pi-dark.svg"><img src=".github/assets/agents/pi-light.svg" alt="Pi" title="Pi" width="32" height="32"></picture>
</p>
<p align="center"><sub>Claude Code · Codex · Cursor · Gemini CLI · OpenCode · Grok · Ollama · LM Studio · Pi</sub></p>
Serein is a personal assistant for your Mac. It runs the AI apps you already use, each signed in with its own account. It's free and needs no Serein account.
## Features
- **Ask in your own words.** Press <kbd>⌘E</kbd> and type. Pick the model and how much it thinks.
- **Use the AI plan you have.** Claude Code, Codex, Cursor Agent, OpenCode, Gemini CLI, Grok, Pi and Oh My Pi, or a local model through Ollama or LM Studio.
- **Three concurrent tasks at once.** You can create as many assistants and teams as you need, while up to three tasks run concurrently, each in its own process with its own permissions.
- **Undo any turn.** Serein snapshots each turn of a project in a private Git ref, so Undo puts the turn back.
- **You set what it asks about.** New installs start on Allow all, or choose Only risky steps or Every step. At Allow all, Serein only pays sites you named unless you add a rule to ask.
- **Stays on your Mac.** History, projects and conversations are stored in your Library folder.
- **Plugins.** Add a skill or a tool. See the [plugin guide](docs/PLUGINS-GUIDE.md).
## Install
Download Serein for Mac from [serein.pro](https://serein.pro/#download). The build there is signed and notarized, runs on macOS 14 or later, and supports Apple Silicon and Intel.
Release builds update themselves from the newest [release](https://github.com/codejunkie99/Serein-Bot/releases). A build from source does not.
Or [build it from source](#build-from-source).
## Quick start
1. Open Serein. On **Connect an AI app**, pick an app and follow its sign-in, or choose **Set up later**.
2. On **Let Serein work in your apps**, grant the Mac access you want, or select **Open Serein** to skip it.
3. Ask **“Remind me at 5 pm to stretch.”** Or open a page and ask **“Summarize this page in three bullets.”**
More in [Getting started](docs/getting-started.md) and [Agents and models](docs/agents-and-models.md).
## Privacy and safety
- Your history, projects and conversations stay in `~/Library/Application Support/Serein/Library`.
- When you give a task to an agent, Serein passes the task and its context to that agent's app. The app sends them to its provider under your account, and that provider's charges apply.
- Clicking and typing on sites and acting in Mac apps are off until you turn them on.
- Turn snapshots stay in your repository under `refs/serein/turns/`. Serein never commits or pushes them.
Details in [Permissions and safety](docs/permissions-and-safety.md).
## Build from source
You need macOS 14 or later, the Xcode command-line tools, Swift and Python 3.
```sh
git clone https://github.com/codejunkie99/Serein-Bot.git
cd Serein-Bot
bash scripts/build.sh
python3 scripts/verify_package.py
open dist/Serein.app
```
The build writes `Serein.app` and a ZIP for your Mac's chip to `dist/`. See [Building from source](docs/building-from-source.md).
## Contributing
Issues and pull requests are welcome. Before you open a pull request, build the app and run `python3 scripts/verify_package.py`.
Agent names and logos belong to their owners and only show which tools Serein works with. Serein is not affiliated with or endorsed by them.