# mryungceo/infinibot-os architecture

> Architecture diagram of the GitHub repository mryungceo/infinibot-os, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-11-30). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/mryungceo/infinibot-os
- Repository: https://github.com/mryungceo/infinibot-os

## Overview

InfiniBot is a personal AI control room: users interact through desktop, browser, or mobile clients, and a local gateway connects those interfaces to agents and the channels they already use. The wider product includes voice, projects and tasks, a knowledge graph, business CRM, files and local analysis, secure storage, and workflow automation. The principal workflow is documented at product level; sampled source additionally shows concrete community-management, media-analysis, and verification behavior. Many subsystems are represented by their exact enclosing directory because their implementation was not sampled.

Main entry points: [`src/gateway`](https://github.com/mryungceo/infinibot-os/tree/main/src/gateway) (Local gateway), [`src/agents`](https://github.com/mryungceo/infinibot-os/tree/main/src/agents) (Agents and coding agents), [`electron`](https://github.com/mryungceo/infinibot-os/tree/main/electron) (Desktop app), [`ui`](https://github.com/mryungceo/infinibot-os/tree/main/ui) (Browser app)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_clients["User clients"]
  node_desktop["Desktop app"]
  node_browser["Browser app"]
  node_mobile["Mobile companion"]
end

subgraph group_agent_runtime["Gateway and agents"]
  node_gateway["Local gateway"]
  node_agents["Agents and coding agents"]
  node_verification["Agent verification<br/>[pipeline.ts]"]
end

subgraph group_work["Work and knowledge"]
  node_projects["Projects and kanban"]
  node_knowledge["Knowledge graph<br/>[kg-controller.js]"]
  node_business["Business CRM<br/>[pipeline.ts]"]
  node_workflows["Workflow automation<br/>[workflow-engine.ts]"]
  node_content["Content studio"]
end

subgraph group_local_data["Files and privacy"]
  node_files["Files and OCR<br/>[engines.ts]"]
  node_video["Video analysis<br/>[pipeline.ts]"]
  node_secure[("Secure Mode vault")]
end

subgraph group_extensions["Voice and integrations"]
  node_channels["Messaging channels"]
  node_voice["Voice and Robovoice<br/>[pipeline.ts]"]
  node_community["Community manager<br/>[engine.ts]"]
end

node_user(("User"))
node_providers["AI providers and local models"]

node_user -->|"uses"| node_desktop
node_user -->|"uses"| node_browser
node_user -->|"pairs"| node_mobile
node_desktop -->|"connects to"| node_gateway
node_browser -->|"connects to"| node_gateway
node_mobile -->|"sends requests"| node_gateway
node_gateway -->|"runs"| node_agents
node_agents -->|"uses"| node_providers
node_gateway -->|"serves"| node_channels
node_user -->|"talks to"| node_voice
node_gateway -.->|"supports"| node_voice
node_user -->|"manages"| node_projects
node_projects -->|"links records"| node_knowledge
node_user -->|"manages CRM"| node_business
node_user -->|"adds files"| node_files
node_files -->|"analyzes video"| node_video
node_user -->|"uses securely"| node_secure
node_agents -.->|"runs tasks"| node_workflows
node_agents -.->|"is reviewed by"| node_verification
node_community -->|"handles events"| node_community
node_user -.->|"creates content"| node_content

click node_desktop "https://github.com/mryungceo/infinibot-os/tree/main/electron"
click node_browser "https://github.com/mryungceo/infinibot-os/tree/main/ui"
click node_mobile "https://github.com/mryungceo/infinibot-os/tree/main/mobile"
click node_gateway "https://github.com/mryungceo/infinibot-os/tree/main/src/gateway"
click node_agents "https://github.com/mryungceo/infinibot-os/tree/main/src/agents"
click node_channels "https://github.com/mryungceo/infinibot-os/tree/main/src/channels"
click node_voice "https://github.com/mryungceo/infinibot-os/blob/main/extensions/robovoice/src/pipeline.ts"
click node_projects "https://github.com/mryungceo/infinibot-os/tree/main/src"
click node_knowledge "https://github.com/mryungceo/infinibot-os/blob/main/mobile/src/kg/kg-controller.js"
click node_business "https://github.com/mryungceo/infinibot-os/blob/main/src/business-hub/pipeline.ts"
click node_files "https://github.com/mryungceo/infinibot-os/blob/main/src/ocr/engines.ts"
click node_video "https://github.com/mryungceo/infinibot-os/blob/main/src/media/video-analysis/pipeline.ts"
click node_secure "https://github.com/mryungceo/infinibot-os/tree/main/src/vault"
click node_workflows "https://github.com/mryungceo/infinibot-os/blob/main/src/gateway/workflow-engine.ts"
click node_verification "https://github.com/mryungceo/infinibot-os/blob/main/src/verification/pipeline.ts"
click node_community "https://github.com/mryungceo/infinibot-os/blob/main/extensions/community-manager/src/engine.ts"
click node_content "https://github.com/mryungceo/infinibot-os/tree/main/src/content-studio"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_desktop,node_browser,node_mobile,node_user toneBlue
class node_gateway,node_agents,node_verification toneAmber
class node_projects,node_knowledge,node_business,node_workflows,node_content toneMint
class node_files,node_video,node_secure toneRose
class node_channels,node_voice,node_community,node_providers toneIndigo
```

## Components

### User clients

- [Desktop app](https://github.com/mryungceo/infinibot-os/tree/main/electron): `electron`
- [Browser app](https://github.com/mryungceo/infinibot-os/tree/main/ui): `ui`
- [Mobile companion](https://github.com/mryungceo/infinibot-os/tree/main/mobile): `mobile`

### Gateway and agents

- [Local gateway](https://github.com/mryungceo/infinibot-os/tree/main/src/gateway): `src/gateway`
- [Agents and coding agents](https://github.com/mryungceo/infinibot-os/tree/main/src/agents): `src/agents`
- [Agent verification](https://github.com/mryungceo/infinibot-os/blob/main/src/verification/pipeline.ts): `src/verification/pipeline.ts`

### Work and knowledge

- [Projects and kanban](https://github.com/mryungceo/infinibot-os/tree/main/src): `src`
- [Knowledge graph](https://github.com/mryungceo/infinibot-os/blob/main/mobile/src/kg/kg-controller.js): `mobile/src/kg/kg-controller.js`
- [Business CRM](https://github.com/mryungceo/infinibot-os/blob/main/src/business-hub/pipeline.ts): `src/business-hub/pipeline.ts`
- [Workflow automation](https://github.com/mryungceo/infinibot-os/blob/main/src/gateway/workflow-engine.ts): `src/gateway/workflow-engine.ts`
- [Content studio](https://github.com/mryungceo/infinibot-os/tree/main/src/content-studio): `src/content-studio`

### Files and privacy

- [Files and OCR](https://github.com/mryungceo/infinibot-os/blob/main/src/ocr/engines.ts): `src/ocr/engines.ts`
- [Video analysis](https://github.com/mryungceo/infinibot-os/blob/main/src/media/video-analysis/pipeline.ts): `src/media/video-analysis/pipeline.ts`
- [Secure Mode vault](https://github.com/mryungceo/infinibot-os/tree/main/src/vault): `src/vault`

### Voice and integrations

- [Messaging channels](https://github.com/mryungceo/infinibot-os/tree/main/src/channels): `src/channels`
- [Voice and Robovoice](https://github.com/mryungceo/infinibot-os/blob/main/extensions/robovoice/src/pipeline.ts): `extensions/robovoice/src/pipeline.ts`
- [Community manager](https://github.com/mryungceo/infinibot-os/blob/main/extensions/community-manager/src/engine.ts): `extensions/community-manager/src/engine.ts`

### Other components

- **User**
- **AI providers and local models**

## Connections

- User → Desktop app: uses (evidence: `README.md`)
- User → Browser app: uses (evidence: `README.md`)
- User → Mobile companion: pairs (evidence: `README.md`)
- Desktop app → Local gateway: connects to (evidence: `README.md`)
- Browser app → Local gateway: connects to (evidence: `README.md`)
- Mobile companion → Local gateway: sends requests (evidence: `mobile/src/kg/useKgController.js`)
- Local gateway → Agents and coding agents: runs (evidence: `README.md`)
- Agents and coding agents → AI providers and local models: uses (evidence: `README.md`)
- Local gateway → Messaging channels: serves (evidence: `README.md`)
- User → Voice and Robovoice: talks to (evidence: `README.md`)
- Local gateway → Voice and Robovoice: supports
- User → Projects and kanban: manages (evidence: `README.md`)
- Projects and kanban → Knowledge graph: links records (evidence: `README.md`)
- User → Business CRM: manages CRM (evidence: `README.md`)
- User → Files and OCR: adds files (evidence: `README.md`)
- Files and OCR → Video analysis: analyzes video (evidence: `README.md`)
- User → Secure Mode vault: uses securely (evidence: `README.md`)
- Agents and coding agents → Workflow automation: runs tasks
- Agents and coding agents → Agent verification: is reviewed by (evidence: `src/verification/pipeline.ts`)
- Community manager → Community manager: handles events (evidence: `extensions/community-manager/src/engine.ts`)
- User → Content studio: creates content
