项目 / nightly-labs/openbot

nightly-labs/openbot

暂无行业标签
语言 TypeScript标签 ai-agentsbuncodexelectronlocal-firstmacossolidjstypescript数据更新 2026-11-25 06:49:28 · 仓库 2026-11-24

一段话介绍

装在自己电脑上的 AI 工作台,多助手各有空间还能互相协作。

本站整理,非 GitHub 官方 description。

官方 description(GitHub API 原样)
A local-first desktop workspace for persistent AI teammates. Run Codex, Claude, and Grok with dedicated workspaces, task queues, file sharing, browser control, and agent-to-agent collaboration.
6,039累计星
620Fork
—峰值日增
4上榜次数

官方快照(gh_history.db,2026-11-25):总榜 未进 Top50 · 日榜 #36 · 周榜 #47 · 月榜暂无官方口径;下方四卡为站内趋势聚合(周卡按上榜次数,非官方 7 日增量窗)。

行业与场景 — 暂未挂到行业场景库

更多信息

以下三段按该项目自己的 GitHub README 章节摘录(可合理截断并标明);README 没有对应章节的留空,不编造。

我的用法
OpenBot 支持 macOS 13+(Apple 芯片或 Intel)、Windows 10+ x64 及 x64/arm64 Linux AppImage,Linux 上通过 fuse3 自挂载。
星标走势近 18 天
本站点评(非项目 README 原文)
等于给几个 AI 员工各配独立工位加共享白板,任务排队走,不用来回切窗。
首次发现 2026-10-27 · 最近在榜 2026-11-07 · 语言 TypeScript · 贡献者 claude、NorbertBodziony、Sniezka1927、nrb-dev、apps/github-actions
agentllmweb

GitHub 项目主页介绍

来自 GitHub 仓库 README / 主页介绍正文,正文较长,已截断:保留前 20000 字符(原始 70,293 字节),完整内容见 GitHub 仓库。

# OpenBot

[![CI](https://github.com/nightly-labs/openbot/actions/workflows/ci.yml/badge.svg)](https://github.com/nightly-labs/openbot/actions/workflows/ci.yml)
[![License](https://img.shields.io/badge/license-PolyForm_Noncommercial_1.0.0-blue.svg)](LICENSE)

OpenBot is a local-first desktop workspace for persistent AI teammates. It supports the local
[Codex App Server](https://learn.chatgpt.com/docs/app-server) and
[Claude Code](https://code.claude.com/docs/en/overview), plus [Grok CLI](https://docs.x.ai/build/overview),
OpenCode, Gemini, [Cursor CLI](https://cursor.com/cli), [Cline CLI](https://cline.bot/cli), [Kimi Code CLI](https://github.com/MoonshotAI/kimi-cli),
[Devin CLI](https://cli.devin.ai), [GitHub Copilot CLI](https://github.com/github/copilot-cli), [Mistral Vibe](https://github.com/mistralai/mistral-vibe), and [Hermes Agent](https://hermes-agent.nousresearch.com) through ACP. It gives every agent its own workspace and
conversation, and provides local queues, file transfers, an embedded browser, and agent-to-agent
messaging in one desktop app.

OpenBot is ready for production use. A new release ships almost every day.

> [!WARNING]
> Agents run with `danger-full-access` and `approvalPolicy: never`. They can read and modify files,
> run commands, use the network, and control the embedded browser without per-action confirmations
> after the explicit first-launch consent.
> Run only agents and tasks you trust, keep backups, and review [Security](#security) before use.

## What works

- Prompt-driven agent creation and editing on desktop and mobile, with editable instructions, avatar, and section review before saving.
- Persistent agents backed by independent Codex, Claude, Grok, OpenCode, Gemini, Cursor, Cline, Kimi, Devin, GitHub Copilot, Mistral, or Hermes sessions and local workspaces.
- Custom OpenAI-compatible endpoints and custom ACP agents, with detection of local model servers (Ollama, LM Studio) and installed agents.
- Per-agent context monitoring with automatic compaction before long threads exhaust the model window.
- FIFO message queues with pause, resume, cancellation, and crash-safe persistence.
- Agent-to-agent messages, replies, reactions, images, and managed file transfers.
- Shared desktop channel chats with one task owner, explicit delegation, shared history, and Stop, Resume, Reassign, Archive, and Restore controls.
- A persistent embedded browser that agents can open, inspect, and control.
- Optional Computer Use on macOS, Windows and Linux through the `cua-driver` binary in the release, which OpenBot starts as its own child process and gives to every provider.
- Per-agent model, reasoning, profile, notification, browser, and panel state.
- Local data and privacy-safe diagnostics exports from the account menu.
- Optional OpenBot accounts through one-time email codes. The account API runs on Cloudflare Workers and D1.

OpenBot is local-first, not offline-only. Codex connects to OpenAI, Claude connects to Anthropic,
Grok connects to xAI, Gemini connects to Google, Cursor connects to Cursor, Cline connects to Cline,
Kimi connects to Moonshot AI, Devin connects to Cognition, GitHub Copilot connects to GitHub, Mistral connects to Mistral AI, Hermes connects to Nous Portal and to the providers you set up in Hermes,
visited pages use the network, and installed plugins may connect to their own services.

## Install

OpenBot supports macOS 13 or newer on Apple silicon or Intel, Windows 10 or newer on x64 systems, and x64
or arm64 Linux as an AppImage.

### macOS

1. Download the latest `OpenBot-*-arm64.dmg` (or `OpenBot-*-x64.dmg` on an Intel Mac) from [GitHub Releases](https://github.com/nightly-labs/openbot/releases).
2. Drag OpenBot to Applications and open it.

### Windows

1. Download the latest `OpenBot-*-x64.exe` from [GitHub Releases](https://github.com/nightly-labs/openbot/releases).
2. Run the installer and open OpenBot.

### Linux

1. Download the latest `OpenBot-*-x86_64.AppImage` (or `OpenBot-*-arm64.AppImage` on arm64) from [GitHub Releases](https://github.com/nightly-labs/openbot/releases).
2. Make it executable with `chmod +x OpenBot-*.AppImage`, then run it.

The AppImage does not need libfuse2, so it also runs on Arch Linux and Omarchy. It mounts itself
with `fusermount3` from the `fuse3` package.

On Ubuntu 23.10 or newer and on Debian 13, unprivileged user namespaces are restricted by AppArmor
and OpenBot exits during launch until you install an AppArmor profile:

```bash
sudo install -m 0644 build/linux/openbot.apparmor /etc/apparmor.d/openbot
sudo systemctl reload apparmor
```

The same file ships inside the AppImage at `resources/linux/openbot.apparmor`. Edit the attachment
path in the profile if you keep the AppImage outside the usual locations. Do not start OpenBot with
`--no-sandbox`: that removes the boundary between a renderer and the rest of the computer.

On the first start from an AppImage, OpenBot writes `~/.local/share/applications/openbot.desktop`
and `~/.local/share/icons/openbot.png`, which is what lets an `openbot://` link - an invitation, or
a plugin listing - open the app and gives the launcher an icon that stays after the app exits. Delete the two files to undo it.

#### Theme palette files

OpenBot reads each `<name>.json` file in the `themes` folder of its data folder
(`~/.config/OpenBot/themes/` on Linux) and lists it under Settings > Appearance > Theme. Another
program, such as an Omarchy theme script, can write the file. OpenBot follows each change to the
file with no restart. Replace the file with a rename, so that OpenBot never reads half of it:

```json
{
  "name": "Omarchy",
  "appearance": "dark",
  "colors": {
    "canvas": "#1a1b26",
    "frame": "#13141c",
    "sidebar": "#13141c",
    "surface": "#24283b",
    "text": "#a9b1d6",
    "textMuted": "#565f89",
    "border": "#414868",
    "accent": "#7aa2f7",
    "accentForeground": "#1a1b26",
    "success": "#9ece6a",
    "warning": "#e0af68",
    "danger": "#f7768e"
  }
}
```

The file name is the palette id: lowercase letters, digits and `-`. `appearance` is `light` or
`dark`, and selects the base that the colors go over. In a dark palette, `surface` colors cards and
controls. A light palette makes them lighter than `canvas`, as the light base does, because a light
theme's `surface` is usually darker than its background. Each color is `#rrggbb` or `#rrggbbaa`.
OpenBot ignores a file with a missing or different color, and then shows the saved light, dark or
system choice. While no theme choice is saved, OpenBot shows the first palette.

Remote desktop works on Linux x64 in an X11 session,
such as Xorg or Xvfb. It does not work under Wayland, and the arm64 AppImage does not include it.

For Gemini sign-in, install a desktop browser and `xdg-utils`. Open the sign-in page in a
desktop session on the same host or VM. Google sends the callback to that host through
`127.0.0.1`; a server with no desktop cannot complete this sign-in. See
[Gemini setup](docs/architecture/providers.md#gemini).

#### Linux server with no screen

To run OpenBot as an always-on server of your account on a VPS or home server (Ubuntu 24.04 or
26.04 with systemd), install it from a terminal and sign in with an email code:

```bash
curl -fsSL https://raw.githubusercontent.com/nightly-labs/openbot/main/scripts/install-server.sh | sudo bash
sudo openbot login
```

Then use it from the desktop app, the iPhone app or `openbot.run/app`. See
[self-hosted servers](docs/self-hosted-server.md) for the options and the `openbot` commands.

#### Docker

The same server runs as a container (`linux/amd64` and `linux/arm64`). The seccomp profile lets the
Electron sandbox stay on:

```bash
curl -fsSLO https://raw.githubusercontent.com/nightly-labs/openbot/main/docker/seccomp.json
docker run -d --name openbot --restart unless-stopped \
  --security-opt seccomp=seccomp.json --security-opt no-new-privileges:true \
  --shm-size 1g --stop-timeout 60 -v openbot-data:/data \
  ghcr.io/nightly-labs/openbot:latest
docker exec -it openbot openbot login
```

See [Docker](docs/docker.md) for Compose, the data volume, upgrades and the security limits. For Amazon ECS,
see [AWS ECS](docs/aws-ecs.md). For an Umbrel home server, see [Umbrel](docs/umbrel.md).

### Nix

The flake installs the desktop app from the latest release on x64 or arm64 Linux and on Apple silicon:

```bash
nix run github:nightly-labs/openbot
nix profile install github:nightly-labs/openbot
```

`overlays.default` adds `pkgs.openbot`. OpenBot is not free software, so your nixpkgs must allow it,
for example with `nixpkgs.config.allowUnfreePredicate = pkg: lib.getName pkg == "openbot";`.
Nix installs OpenBot updates. OpenBot does not update itself from the Nix store. On Linux, the Nix
package does not include the remote desktop runtime, because nixpkgs does not have a library that it
needs.

> [!IMPORTANT]
> Windows releases are signed by `SYNTHETIFY LABS SPÓŁKA Z OGRANICZONĄ ODPOWIEDZIALNOŚCIĄ`. Older
> releases are not code-signed. SmartScreen can still warn about a new release. Check the release
> checksum or GitHub build attestation before you run the installer.

### Agent setup

OpenBot can download a supported provider runtime when you select `Download` in onboarding,
Settings, agent setup, or the model picker. OpenBot prefers its managed CLI. Explicit `OPENBOT_*_PATH` overrides take precedence; a compatible
system CLI is used when no managed copy is available. OpenBot checks for a newer provider CLI
release at startup and every hour, and `Check for updates` in a provider's actions menu checks at
once. Updates install the latest upstream release without changing the user’s system CLI; the
version in `native-runtime.lock.json` is only the first-install fallback.

You can also install a CLI yourself.

Codex CLI on macOS:

```bash
curl -fsSL https://chatgpt.com/codex/install.sh | sh
```

Claude CLI on macOS:

```bash
curl -fsSL https://claude.ai/install.sh | bash
```

Install Grok CLI following the [Grok Build documentation](https://docs.x.ai/build/overview), then
authenticate with `grok login` or set `XAI_API_KEY` in the environment used to launch OpenBot.

OpenBot downloads and pins the OpenCode CLI, like Codex, Claude, and Grok. OpenCode's free models
need no account and no sign-in: select OpenCode, click Connect, and OpenBot reads the models that
the CLI advertises. To use the paid OpenCode Go models, click Sign in on the OpenCode row and
paste a Go key from [opencode.ai/auth](https://opencode.ai/auth). OpenBot encrypts the key on this
computer and gives it only to the local CLI. OpenBot supports OpenCode Go only: the Zen models a
Go key does not buy stay out of the picker. Models with the Free label in the model picker need no
sign-in. Other models need a sign-in with their provider: a Go key for the `opencode-go/` models, or
`opencode auth login` in a terminal for OpenCode Zen and third-party providers. Without it, the turn
fails with an error that names the provider. If you installed OpenCode yourself, OpenBot
keeps that install and offers no download. Set `OPENBOT_OPENCODE_PATH` to select an executable
outside your shell's search path. Remote OpenCode agents require Team API v4; older clients do not
show these agents.

Gemini uses a Google AI Pro or Ultra plan. OpenBot downloads Google's Antigravity CLI on this
computer when you select Download on the Gemini row, because Google's license does not let OpenBot
include it. Sign in opens Google's sign-in page in your browser. OpenBot never uses an
`antigravity` command on your search path, because the Antigravity editor installs a command with
that name. Set `OPENBOT_ANTIGRAVITY_PATH` to select an Antigravity CLI 1.5.3 or later executable
yourself. OpenBot reads its version with `--version`. When that path is set, OpenBot uses only
it. Connect remains available in the host's local Server settings > Providers screen. Remote
settings cannot perform Google sign-in; use a browser on the host. See
[Gemini setup and download recovery](docs/architecture/providers.md#gemini) for the required
layout, the reported IPv6 download failure, and checks that do not change host networking.

Cursor uses a Cursor plan or a Cursor API key. OpenBot downloads and pins the Cursor CLI
(`cursor-agent`) when you select Download on the Cursor row in More providers, and starts it with
`cursor-agent acp`. Sign in opens Cursor's sign-in page in your browser. You can also set
`CURSOR_API_KEY` in the environment used to launch OpenBot. If you installed `cursor-agent`
yourself, OpenBot uses it until a download exists. OpenBot never uses the `cursor` command, which
starts the Cursor editor. Set `OPENBOT_CURSOR_PATH` to select an executable yourself. Cursor
agents stay on this computer: team members do not see them.

Cline uses a Cline account, which has free models with limits for each model. The provider of a
free model can use your prompts to train models. With a ClinePass subscription, select a model with
"(ClinePass)" in its name: it runs on the subscription, and other paid models use Cline Credits. OpenBot downloads and pins the Cline CLI (`cline`) when you
select Download on the Cline row in More providers, and starts it with `cline --acp`. Sign in opens
Cline's sign-in page in your browser. You can also set `CLINE_API_KEY` in the environment used to
launch OpenBot. If you installed `cline` 3.0.68 or newer yourself, OpenBot uses it until a download
exists. Set `OPENBOT_CLINE_PATH` to select an executable yourself. Cline agents stay on this
computer: team members do not see them.

Kimi uses a Kimi Code account. OpenBot downloads and pins the Kimi Code CLI (`kimi`) when you select
Download on the Kimi row in More providers, and starts it with `kimi acp`. Sign in runs `kimi login`,
which opens Kimi's sign-in page in your browser. If you installed `kimi` 1.52.0 or newer yourself,
OpenBot uses it until a download exists. Set `OPENBOT_KIMI_PATH` to select an executable yourself.
When a Full access Kimi agent changes its model, the CLI saves that model as its default in
`~/.kimi/config.toml`, so a Kimi session that you start in a terminal also uses it. Kimi agents run
on this computer. Team members see them when their app supports Kimi.

Devin uses a Devin account. OpenBot downloads and pins the Devin CLI (`devin`) when you select
Download on the Devin row in More providers, and starts it with `devin acp`. Sign in opens Devin's
sign-in page in your browser. If you installed `devin` yourself, OpenBot uses it until a download
exists. Set `OPENBOT_DEVIN_PATH` to select an executable yourself. Devin agents run on this computer.
Team members see them when their app supports Devin.

GitHub Copilot uses a GitHub account with a Copilot plan. OpenBot downloads and pins the GitHub
Copilot CLI (`copilot`) when you select Download on the GitHub Copilot row in More providers, and
starts it with `copilot --acp`. Sign in opens GitHub's sign-in page in your browser. The CLI keeps
the sign-in in the system keychain. If `COPILOT_GITHUB_TOKEN`, `GH_TOKEN` or `GITHUB_TOKEN` is set
for OpenBot, the CLI uses that token instead, and Disconnect cannot remove it. If you installed
`copilot` yourself, OpenBot uses it until a download exists. Set `OPENBOT_COPILOT_PATH` to select
an executable yourself. Copilot agents run on this computer. Team members see them when their app
supports GitHub Copilot.

Mistral uses a Mistral account or a Mistral API key. OpenBot downloads and pins Mistral Vibe's ACP
server (`vibe-acp`) when you select Download on the Mistral row in More providers. Sign in opens
Mistral's sign-in page in your browser. Vibe saves an API key in the system keychain, or in
`~/.vibe/.env` when there is no keychain. If `MISTRAL_API_KEY` is set for OpenBot, Vibe uses that key,
and Disconnect cannot remove it. OpenBot turns off Vibe's telemetry, and turns on Vibe's model
catalogue, so the model picker shows the models of your Mistral account, not only Mistral Medium 3.5. If you installed `vibe-acp`
yourself, OpenBot uses it until a download exists. Set `OPENBOT_MISTRAL_PATH` to select an executable
yourself. When a Full access Mistral agent changes its model or thinking level, Vibe saves it as its
default in `~/.vibe/config.toml`. Mistral agents run on this computer. Team members see them when
their app supports Mistral.

Hermes uses the Hermes Agent (`hermes`) that you install yourself, with your own `~/.hermes` (or
`$HERMES_HOME`): its memories, skills, sign-ins and `SOUL.md` apply to OpenBot agents too. OpenBot
does not update Hermes. When it is missing on macOS, Linux or a server, Download on the Hermes row runs
the official Hermes installer; on Windows, the row opens the installation guide. OpenBot
starts it with `hermes acp`. Sign in runs `hermes auth add nous` for a Nous Portal plan, or run
`hermes setup` in a terminal for other providers. The model menu lists the models of each provider
that Hermes is signed in to. Hermes reads `AGENTS.md` only in a workspace with no `.hermes.md`, and
`.agents/skills` only in a git project that `skills.trusted_project_dirs` in `config.yaml` names.
Team members see the host's Hermes agents when their app uses Team API protocol 8 or newer.

On Windows, install the native CLI and make sure `codex`, `claude`, or `grok` is available in PowerShell.
Claude Code also requires Git for Windows. Then authenticate the installed CLI and restart OpenBot.

Bun and Node.js are not required when using an installed release. Optional Computer Use works on
macOS, Windows and Linux, and the release carries the driver, so there is nothing to install. Only
macOS asks for a permission for it: Screen Recording and Accessibility.

OpenBot uses the existing local CLI login. It does not copy provider credentials. Grok's
`XAI_API_KEY` and per-session MCP bearer tokens are never persisted or logged. Each provider's terms
apply to your sign-in. See [provider terms](docs/provider-terms.md) for Claude subscriptions.

For setup problems, data reset, and uninstall instructions, see
[Troubleshooting](docs/TROUBLESHOOTING.md). OpenBot's data and network behavior is documented in
[Privacy](PRIVACY.md).

## Development

Development requires stable [Bun](https://bun.sh/) 1.4.2, Node.js 24 (the version in `.nvmrc`, matching
the Node that Electron bundles - run `nvm use`), and at least one supported agent CLI.

Install the exact Bun version on macOS or Linux:

```bash
curl -fsSL https://bun.com/install | bash -s "bun-v1.4.2"
```

Install it on Windows in PowerShell:

```powershell
iex "& {$(irm https://bun.com/install.ps1)} -Version 1.4.2"
```

```bash
git clone https://github.com/nightly-labs/openbot.git
cd openbot
bun install --frozen-lockfile
bun run codex:doctor
bun run dev
```

`codex:doctor` checks the CLI version, App Server handshake, and ChatGPT login without starting a
model turn. `bun run cua-driver:doctor` reports the Computer Use driver separately.

In a new git worktree, run `bun run dev:bootstrap`. It copies the files that `.worktreeinclude`
lists from the main checkout when they are missing, installs dependencies, migrates the local API,
and seeds the isolated profile. Set it as the worktree setup command of your agent harness.

On macOS, a worktree's `node_modules` uses almost no new disk space. Bun clones packages from its
cache, and the root `postinstall` clones Electron from `~/Library/Caches/OpenBot/electron-dist`.
`du` still shows the full size of each clone.
The first install of an Electron version extracts it once and saves it there. Delete the directory
to clear the cache; an entry that nobody used for 30 days is removed by the next save.

To reset only the local development state, quit the dev app and test client, then run
`bun run dev:reset`.
The command deletes the app and test-client development profiles plus the legacy host profile,
including `openbot.db` and its WAL files. It prints each profile before it deletes it, and it
deletes nothing while a dev app h
↑