OPEN SOURCE DEEP DIVE
OpenBot: a local-first desktop harness that turns Codex, Claude and Grok into persistent teammates
OpenBot (nightly-labs, 13k+ stars, PolyForm Noncommercial) is a local-first desktop harness: twelve agent runtimes — Codex, Claude Code, Grok and more — share one Electron desktop, each with its own workspace and crash-safe queue, plus a skill library, memories, routines, shared channels and an embedded browser. Remote access stays on a loopback Team API over WebRTC; the account service runs on Cloudflare. Source-available, not OSI open source; commercial use needs a separate license.
What it is
OpenBot is a local-first desktop workspace that describes its purpose as persistent AI teammates. It does not build its own agent loop: it plugs twelve existing agent runtimes — Codex, Claude Code, Grok and nine more — into one Electron desktop, gives every agent its own workspace, conversation and message queue, and adds file transfers, an embedded browser and agent-to-agent collaboration on top. The repository was created on 2026-08-12 under the nightly-labs organization, is written in TypeScript, and stood at 13,021 stars and 1,256 forks at ingestion time. Version 0.81.3 shipped on 2026-11-30, and the README states that a new release ships almost every day.
The stack has two halves. On the desktop: the Electron main process owns lifecycle, window security and IPC, the renderer is SolidJS, the whole repository is a Bun workspace, and local persistence is SQLite. On the account side: a TanStack Start application runs on Cloudflare Workers, with D1 holding accounts, hashed email challenges and sessions, and R2 holding avatars. Desktop and account service are two processes and two trust boundaries, and that split runs through every design below.
One premise up front: the license is PolyForm Noncommercial 1.0.0. The source is available but this is not OSI open source — noncommercial use, modification and distribution are permitted, commercial use requires a separate license from the copyright owner. Versions up to and including 0.1.11 remain Apache-2.0. Copyright belongs to Synthetify Labs, and the project states it is not affiliated with OpenAI.
One agent, one workspace, one log
Each agent owns a persistent working directory at ~/OpenBot/Agents/<agent-id>, plus a shared ~/OpenBot/Shared. Files passed between agents go through Shared/Transfers, where every transfer carries an .openbot-transfer.json manifest recording ownership, recipients, size and SHA-256. The application's own state lives in SQLite under Electron userData: openbot.db is an event log plus read projections, so agents, conversations, provider session bindings, queues, reactions and attachment indexes can all be rebuilt from events.
The message queue is FIFO with pause, resume, cancellation and crash-safe persistence: after a restart, unfinished runs resume from the log instead of being lost. Each agent has its own context monitoring and compacts automatically before a long thread exhausts the model window. One more detail matters for durability: when an agent switches between Codex, Grok and Claude, the local conversation stays the same one; native provider session identifiers stay private and are used only to resume that provider's runtime state.

Provider sign-ins are not copied by OpenBot: ~/.codex, ~/.claude, ~/.grok and the rest are managed exclusively by their own CLIs, and OpenBot reuses the existing login. Grok's XAI_API_KEY and per-session MCP bearer tokens are never persisted or logged.
Twelve runtimes, one desk
Connections come in three kinds. Codex talks to a local Codex App Server over stdio JSONL. Claude runs through the Claude Agent SDK's stream JSON. The other ten speak ACP (Agent Client Protocol): Grok CLI, OpenCode, Gemini (Google's Antigravity CLI), Cursor CLI, Cline CLI, Kimi Code CLI, Devin CLI, GitHub Copilot CLI, Mistral Vibe and Hermes Agent. Custom OpenAI-compatible endpoints and custom ACP agents are also accepted, and local model servers such as Ollama and LM Studio are detected.
| Runtime | Connection | Sign-in and notes |
|---|---|---|
| Codex | Local Codex App Server (stdio JSONL) | Reuses the ChatGPT login |
| Claude Code | Claude Agent SDK (stream JSON) | Reuses the Claude CLI login |
| Grok CLI | ACP | xAI sign-in or XAI_API_KEY |
| OpenCode | ACP (opencode acp) | Free models need no sign-in; Go models take a Go key |
| Gemini | ACP (Antigravity CLI ≥1.5.3) | Google AI Pro or Ultra plan |
| Cursor CLI | ACP (cursor-agent acp) | Cursor account |
| Cline CLI | ACP (cline --acp) | Cline account |
| Kimi Code CLI | ACP | Moonshot account |
| Devin CLI | ACP (devin acp) | Devin account |
| GitHub Copilot CLI | ACP (copilot --acp) | GitHub Copilot plan |
| Mistral Vibe | ACP (vibe-acp) | Mistral account or API key |
| Hermes Agent | ACP (hermes acp) | Self-installed; your ~/.hermes memories and skills apply directly |
Runtime installation is managed download plus pinning: choosing Download in onboarding or Settings fetches the CLI into a provider-runtimes store shared by the whole computer. OpenBot checks for upstream releases at startup and every hour, and updates never touch the user's own system CLI; an OPENBOT_*_PATH variable can point at a self-supplied executable. An update waits until the provider has no turn in flight before replacing the binary, and new turns queue behind the replacement. Hermes is the exception: OpenBot does not update it, and the memories, skills and SOUL.md in your own ~/.hermes apply to OpenBot agents as they are.
How teammates split work and talk
Agent-to-agent communication is a set of built-in tools — send_message, list_agents — plus replies, reactions, images and managed file transfers. Shared channels put several agents and humans in one room: a channel has one host, a purpose, participating agents and a selected lead; a task has one owner, delegation is explicit, and the chat offers Stop, Resume, Reassign, Archive and Restore. Each channel-agent pair gets its own execution thread, so channel work never replaces the agent's main conversation.

Structured collaboration goes through shared tables: every agent uses the one file ~/OpenBot/Shared/Data/agent-data.db. The agent that creates a table is its owner and the only one that can drop or alter it; every other agent can still read and write its rows. This database is separate from the application's openbot.db, and the user can delete any table from agent settings.
External chat platforms plug in too: Slack, Discord, Telegram and WhatsApp each have an app. In a Slack workspace a designated Slack Orchestrator agent receives each new conversation and asks its teammates; each external thread is answered by one agent in its own execution thread.
Skills: from folders to a local library
Skills follow the Agent Skills specification: a folder with a SKILL.md whose YAML frontmatter carries name and description. Because each CLI reads different folders, OpenBot writes every installed skill into both .agents/skills/ and .claude/skills/ (Claude Code does not read the former), copying files rather than linking them. .openbot/skills-lock.json records file hashes and disabled skills move to .openbot/skills-disabled/. The seven other workspace skill folders are discovered read-only: OpenBot never writes, moves or deletes them.
The local skill library lets agents capture their own reusable workflows — create_skill publishes a workspace folder as an immutable revision (local-skills/<uuid>/<revision>/bundle.zip), revise_skill requires the revision the agent read and retains previous versions, and other agents install with install_local_skill. A library update does not overwrite installed copies, and modified installed files are protected. Marketplace plugins are the next layer: one plugin is an MCP server app plus a set of pinned skills plus listing text. The catalog is a static file set served by the account Worker with an ETag, refreshed by the main process every 30 minutes, so catalog changes reach every client without a desktop release.
Memory, routines and workflows
Memory is three tools: remember, search_memories and forget_memory; channels keep memories of their own. A routine is a saved instruction with one trigger, either a schedule or a webhook. A webhook routine has an opaque route ID and a public Signal URL; a signed request starts one run, and receipts deduplicate deliveries.
Two designs deserve separate mention. The first is quiet runs: a scheduled or webhook run can end without news. The agent calls routine_no_update (or answers with the [SILENT] marker), and the turn drops its markers, thinking and plan from the conversation, produces no unread badge and no notification — so a cron job cannot fill the user's chat with filler every time it fires. The second is hand-off and graphs: a routine flow hands one agent's routine answer to other agents, while the Workflows page holds a graph of steps that can name several agents, models, conditions, approvals and outputs, with records for runs, steps and restorable versions.
Local scripts can drive agents as well: a loopback HTTP listener bound only to 127.0.0.1, its URL and bearer token written to a 0700 directory with 0600 files and deleted on stop. Any request carrying an Origin header or a foreign Host is refused before the token is even checked. Each agent accepts at most 30 script messages and routine runs per hour by default, so a looping script cannot spend the user's quota.
The embedded browser and Computer Use
The embedded browser is a persistent sandboxed WebContentsView: agents can open, inspect and control pages, with multi-step tools such as openbot_browser.run_script on the tool surface. It runs in a separate sandboxed Electron session that cannot reach window.openbot or managed local attachments. Downloads land in ~/OpenBot/Downloads.
Computer Use is optional on macOS, Windows and Linux and rests on cua-driver, a third-party MIT binary shipped in the release. The main process holds one long-lived serve daemon; each provider CLI spawns its own short-lived MCP proxy against it, and all screen capture, accessibility reads and input posting happen inside the daemon. On macOS only Screen Recording and Accessibility are requested, and the daemon is spawned directly so permission attribution lands on OpenBot itself. The control socket lives in a private per-user runtime directory (0700), not in /tmp — whoever reaches it can drive the whole desktop.
Remote access and server forms
Remote access never opens a public website: the renderer is not exposed. The authenticated Team API stays on loopback, and a hidden sandboxed Electron page connects invited desktop and mobile clients over WebRTC (protocol v3, carrying RPC, events and binary files). Signal carries only connection-setup messages, and direct ICE failures fall back to the project's coturn service. The Cloudflare account service stores accounts, configuration, memberships, invitations, logical session records and public assets — it does not carry chats, files, commands or remote desktop media. Sign-in uses one-time email codes that expire after 10 minutes and are stored only as hashes, with a daily task removing expired and consumed records.

Beyond the desktop there are three forms. The web client at /app shares the same conversation and workspace components as the desktop. The mobile app runs in Expo Go, hosting its RTCPeerConnection in a hidden Expo DOM component so it uses the same encrypted transport. A headless server installs through a script onto Ubuntu 24.04/26.04 with systemd, or runs as the ghcr.io/nightly-labs/openbot container (linux/amd64 and arm64, with a seccomp profile that keeps the Electron sandbox on). macOS additionally ships a Host package for multi-tenant sharing: one native Standard user per tenant, enrolled with sudo openbot-host setup --create-user ....
Security boundary and license
The README leads with a warning: agents run with danger-full-access and approvalPolicy: never. After the explicit first-launch consent they read and modify files, run commands, use the network and control the embedded browser without per-action confirmations. The project is plain about what this means: full local access is an explicit current product decision, not a security boundary. The reports it welcomes are remote content reaching Electron privileges, managed attachment paths escaping their roots, or IPC sender validation being bypassed. In other words, OpenBot spends its isolation effort on which process may touch which interface — browser sandbox, automation listener, IPC validation — rather than on restricting what the agent itself may do. Using it means accepting that premise: run only agents and tasks you trust, and keep backups.
On the license side, PolyForm Noncommercial 1.0.0 permits noncommercial use, modification and distribution; commercial use requires a separate license from the copyright owner, purchasable in Settings → Billing as Starter (1 user) or Team (2–25 users). Versions up to 0.1.11 remain Apache-2.0. For a team evaluating adoption this is a cost line to budget and a selection constraint that differs from MIT-licensed harnesses.
Who it is for, and how to start
OpenBot fits people who already run several coding agents and want them to become colleagues rather than a row of tabs: each with its own workspace and queue, able to pass files and messages, able to be delegated to in one channel, able to be nudged from a phone. It replaces no CLI's agent loop — the loop, tools and model access stay with each provider; OpenBot supplies the desk, log, queues and collaboration layer above them. That is a different answer from single-runtime harnesses such as Pi or DeepSeek Harness: those define the agent loop itself, while OpenBot hosts loops that already exist.
Installers cover macOS 13+ (Apple silicon or Intel), Windows 10+ x64, and Linux x64/arm64 AppImages. Development needs Bun 1.4.2 and Node 24: bun install --frozen-lockfile then bun run dev; bun run codex:doctor checks the CLI version, App Server handshake and ChatGPT login without starting a model turn. The interface ships in English plus 14 other languages, with right-to-left layout for Arabic and Hebrew.