# How to Set Up OpenMousebot for Local AI Agent Teams

> Source: <https://www.mindstudio.ai/blog/openmousebot-local-ai-agent-platform/>
> Published: 2026-11-27 00:00:00+00:00

**Recommendation:** Bind local agent servers to 127.0.0.1, require a mutation header or paired session token for state changes, and give bots narrow per-turn capability tokens instead of standing access.
More in the playbook "Securing agents and AI tools": <https://wpnews.pro/playbooks/agent-security>

# How to Set Up OpenMousebot for Local AI Agent Teams

A practical guide to installing and configuring OpenMousebot, the open-source local-first platform for running teams of specialist AI agents.

## What is OpenMousebot?

OpenMousebot is an open-source desktop and server platform for running multiple specialized AI agents (called bots) on your own machine instead of inside a vendor’s cloud VM. It’s built by Milan Sony and Omar Sapute, hosted on GitHub under milan-sony/open-mousebot, and was formerly called OpenGrokbot. The project has built a sizable following (over 23,000 GitHub stars at time of writing) and ships under an Apache 2.0 license, with a separate proprietary enterprise folder you can delete for a fully open build. Instead of one shared bot handling everything, you get a roster of specialist bots, each with its own instructions, model, tools, and even its own computer.

## TL;DR

- **OpenMousebot runs locally first** , using a two-process architecture where an Electron and React interface talks to a local Node.js server bound to 127.0.0.1, meaning chat data doesn’t pass through a middleman cloud service.
- **It doesn’t mark up AI tokens or proxy model traffic** , so you connect your existing Claude Code, Codex, or Grok subscriptions, or your own API keys and local models, rather than paying for a separate wrapper plan.
- **Each bot gets persistent memory** through a four-layer markdown system (a persona file, a capped memory file, topic notes, and a journal) so context stays organized without bloating every prompt.
- **Bots can get their own isolated computer** , either a cloud sandbox that boots in seconds, a local container built on Docker or Podman, or (with explicit opt-in) control of your actual desktop.
- **Group “rooms” let multiple bots collaborate** , with an auto-routing mode that sends untagged messages to the right specialist bot automatically.
- **Integrations run through Composio** , connecting hundreds of apps including Gmail, Slack, GitHub, Linear, Notion, and Stripe, gated by per-bot permission rules.
- **The desktop app and CLI are free** , though an optional paid cloud tier exists for running bots continuously when your laptop is closed.

**Adjuster**✕ Export PHI

**#4471**

**12,480** users online

## How does OpenMousebot’s architecture work?

OpenMousebot splits into two processes. The frontend is an Electron and React interface. The backend is a local Node.js harness server that listens strictly on 127.0.0.1, with fallback ports if the default is taken. This keeps the app from accidentally exposing itself to the network. Mutating actions (anything that changes state) require either Electron’s internal mutation header or a paired session token, and running bots only get narrow, per-turn capability tokens rather than broad standing access.

Data storage follows the same local-first philosophy. All workspace data sits on your disk with restrictive file permissions. Messages are stored in a SQLite database running in WAL mode with full-text search, while a separate runtime database tracks multi-bot job coordination. API keys aren’t left in plain configuration files: they’re encrypted and backed by your OS’s native credential store (Keychain on macOS, DPAPI on Windows, libsecret on Linux).

## How do you connect models and AI subscriptions?

The core pitch of OpenMousebot is that it doesn’t act as a paid wrapper around AI models. It runs your existing CLI subscriptions (Claude Code, Codex, Grok) directly, or lets you plug in your own API keys and local models. To support that, the harness ships with over 30 built-in drivers across three families:

- **Native subprocess drivers** that run CLIs like Claude Code with shell execution, keeping a persistent connection open so follow-up turns can reuse prompt caching instead of starting cold.
- **Agent client protocol drivers** covering a wide range of engines including Grok, Cursor, Gemini, and others, communicating over standard input/output rather than scraping terminal text.
- **OpenAI-compatible HTTP drivers** for[local models run through tools like Ollama or LM Studio](https://goremy.ai/blog/articles/how-to-run-local-ai-coding-agents-with-open-source-tools) , giving them the same access to computer control, memory, and MCP tools as hosted models.

Setup happens in the AI and model providers settings, which scans your disk for executable binaries and lets you add manual paths. When you save a path, OpenMousebot probes the executable to confirm it responds and reads its version before accepting it, flagging a warning if the probe fails. From any chat, you can switch a bot’s model or reasoning effort mid-conversation.

## How does bot memory and persona work?

Each bot in OpenMousebot carries a persistent identity stored in markdown files on disk. A “soul” file holds persona instructions and is watched for changes by file hash. A separate memory file loads into every turn but is capped in size (by line count and file size) so context doesn’t grow unbounded. Beyond that, each bot can maintain up to roughly 200 topic notes, searched using a hybrid of keyword relevance and recency.

After a conversation turn settles, background processing extracts durable facts into these files without slowing down the live chat. Every memory write is also logged in an append-only journal folder that sits outside the bot’s own workspace, so a bot cannot delete its own history. Edits can be reverted with one click if a memory update goes wrong.

## How do bot sandboxes and computer control work?

*mission-critical*enterprise applications.

**911 Dispatch Console** Harbor County Emergency Services

One of OpenMousebot’s more distinctive features is giving bots their own computer to operate. Clicking into a chat’s “screen” view opens a split pane with tabs for desktop, browser, files, and a data tab for querying per-bot tables.

There are several ways to provision that computer:

- **Cloud sandboxes** boot an isolated Linux desktop environment in a couple of seconds, streamed live over a websocket connection, with a time-to-live measured in hours. If a site needs a login, you can take manual control of the mouse and keyboard, then hand it back to the bot.
- **Bring-your-own server** mode connects to your own Linux machine over SSH with no open public ports required.
- **Local VM mode** builds hardened containers (rather than full virtual machines) with capped resources, running on Docker, Podman, or Apple’s container tooling.
- **Host control mode** lets a bot drive your actual physical machine, but only behind an explicit double opt-in, and with platform caveats: it works on macOS, Windows, and Ubuntu, but GNOME under Wayland currently blocks input for security reasons, allowing view-only access instead.

For tasks that only need a browser rather than a full desktop, there’s a lighter three-tier browser stack: a built-in browser view, a mode that attaches to your actual signed-in Chrome profile for sites that block automation, and a headless fallback for Linux systems.

## How do bot rooms and team collaboration work?

Instead of one bot doing everything, OpenMousebot organizes specialists into group chats called rooms. You might put a “chief of staff” bot in a room alongside a coder, a researcher, and an operations bot. Drop a question into the room without tagging anyone, and an auto-routing mode sends it to the right specialist automatically, typically within a few hundred milliseconds, showing which bot was picked and how confident the system was.

The chief-of-staff style bot can delegate background tasks to other bots in the room, and the system tracks assignment trees and inbox events so you can see who’s doing what. Departments (collections of bots) can be paused entirely, stopping active work and skipping scheduled jobs until resumed, which is useful when you want to halt an automation without deleting it.

## What integrations and automation does it support?

OpenMousebot connects to external apps through Composio, supporting several hundred OAuth-based apps with a curated set of defaults like Gmail, Calendar, Slack, GitHub, Linear, Notion, and Stripe. A managed broker handles one-click OAuth for common cases, while supplying your own Composio API key enables multi-account setups.

Automation triggers come in three forms: scheduled runs (one-time, daily, interval, or cron-based), app event watchers (for services like Gmail, Slack, GitHub, and Stripe), and an isolated webhook server that runs on a separate port from the main app, exposing only health checks and authenticated hook routes.

Permissions matter here. Approval modes range from fully autonomous to “ask every time,” and the defaults differ: personal installs default new bots to full access, while shared team workspaces default to requiring approval. Even bots running at full access still pause for things like login prompts or vault-sealed secrets, and messages coming from external webhooks or automated events are flagged so they can’t silently approve their own access.

## Is OpenMousebot worth setting up?

Build an onboarding app for 4,000 new hires.

Build ↵
**Self-hosted**

**SOC 2**

**Role-based access**

**Audit log**

It depends on what you already have. If you’re already paying for Claude Code, Codex, or Grok subscriptions and want a way to run them as a coordinated team of specialist bots, with local-first storage, sandboxed computers, and no added token markup, OpenMousebot is a reasonable platform to try for free. The tradeoff is that it’s a local app: closing your laptop stops scheduled jobs and phone access unless you keep a machine running or pay for the optional cloud tier. Desktop installers are also fairly large, and running local sandboxes requires separately installing container tooling like Docker or Podman with meaningful RAM overhead per container.

It’s less of a fit if you want a zero-setup assistant that works over WhatsApp or iMessage and can call businesses on your behalf while your laptop sleeps. Several closed, cloud-hosted competitors currently handle those consumer-facing cases better, at the cost of being closed source and running on vendor infrastructure.

## Frequently Asked Questions

### What license is OpenMousebot released under?

The core project is Apache 2.0. A separate enterprise folder uses a different, proprietary license, but it can be removed to leave a purely Apache 2.0 build.

### Does OpenMousebot require a subscription to use?

No. The desktop app and CLI are free with no token markup. You connect your own existing AI subscriptions or API keys. An optional paid cloud tier exists only for keeping bots running continuously without a local machine staying on.

### Can OpenMousebot control my actual computer, not just a sandbox?

Yes, through a host control mode, but it requires explicit double opt-in and has platform limitations. It’s supported on macOS, Windows, and Ubuntu, while GNOME under Wayland currently restricts it to view-only access for security reasons.

### How does OpenMousebot avoid sending my data to a cloud server?

Its backend server binds only to your local machine (127.0.0.1), chat and memory data are stored on disk with restrictive permissions, and API keys are encrypted using your operating system’s native credential storage rather than kept in plain text config files.

### What are the main downsides of running OpenMousebot?

It’s a local-first app, so closing your laptop halts scheduled automations unless you pay for cloud hosting or self-host a server. Desktop installers are large, local sandboxing requires separately installed container software, and some permission and platform gaps (like GNOME Wayland support) are still open issues in the project.
