How milind-soni/openmausbot works
OpenMausBot is a local-first desktop chat application for a roster of AI agents, each configured with its own model, computer, and connected apps. The main user flow is chatting with a bot, whose agent runs through a local harness and can use computer or app integrations; users can also configure engine accounts and synchronize cloud files. The graph includes documented product capabilities and substantial runtime areas from the tree. Some relationships are documented only at a high level; unsampled source is not treated as inspected.
Main entry points: App.tsx Chat app · main.ts Local harness · EngineSetup.tsx Engine setup · routes.ts Companion routes
Components 21
Desktop chat
- Chat app
src/App.tsx - App state
src/state/store.tsx - Engine setup
src/components/EngineSetup.tsx - Install state
src/state/engine-install.ts
Agents and engines
- Local harness
server/headless/main.ts - Task routes
server/routes/tasks.ts - Engine contracts
server/contracts.ts - Engine homes
server/engine-homes/engine-homes.ts - Standalone engines
server/engine-standalone.ts
Computer access
- Browser engine
server/browser-engine.ts - Browser routing
server/browser/engines.ts - Computer routes
server/data/routes.ts - Composio broker
cloudflare/composio-broker/src/index.ts - Companion routes
companion/src/routes.ts
Cloud and sharing
- Cloud sync
electron/cloud-sync-engine.mjs - Cloud API client
electron/cloud-sync-client.mjs - Control plane
cloudflare/control-plane/src/index.ts
Supporting services
- Relay server
relay/src/server.ts - Atomic writes
server/atomic.ts - Workspace access
enterprise/server/workspace-access.ts
Other components
- Person
Connections 16
- Person → Chat app: chats with
- Chat app → App state: uses state
src/App.tsx - Person → Engine setup: configures engines
- Engine setup → Install state: updates install status
src/components/EngineSetup.tsx - Chat app → Local harness: sends agent work
- Local harness → Task routes: routes tasks
- Local harness → Engine contracts: uses contracts
- Engine homes → Engine contracts: uses contracts
server/engine-homes/engine-homes.ts - Browser routing → Browser engine: routes Chrome sessions
server/browser/engines.ts - Person → Computer routes: uses bot computer
- Person → Composio broker: connects apps
- Person → Companion routes: uses companion
- Cloud sync → Cloud API client: transfers files
electron/cloud-sync-engine.mjs - Person → Cloud sync: syncs cloud files
- Companion routes → Control plane: uses control plane
- Relay server → Control plane: uses control plane