# agentvivekkumar/dontbemichael architecture

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

- Interactive diagram: https://gitdiagram.com/agentvivekkumar/dontbemichael
- Repository: https://github.com/agentvivekkumar/dontbemichael

## Overview

Don't Be Michael is an Electron desktop AI office: the owner sets up a business team, gives Michael work, and receives routed tasks or decisions requiring attention. The renderer presents onboarding, the office, agent details and the Needs you board; the main process coordinates team activity and local capabilities across the preload IPC boundary. The graph preserves documented mail, scheduling, research, memory and integration capabilities. Some subsystem links rely on README descriptions or the source index; unsampled implementation details are not inferred.

Main entry points: [`src/main/hive.ts`](https://github.com/agentvivekkumar/dontbemichael/blob/main/src/main/hive.ts) (Team orchestration), [`src/main/index.ts`](https://github.com/agentvivekkumar/dontbemichael/blob/main/src/main/index.ts) (Desktop coordinator), [`src/renderer/src/App.tsx`](https://github.com/agentvivekkumar/dontbemichael/blob/main/src/renderer/src/App.tsx) (Office UI), [`src/renderer/src/components/OnboardingWizard.tsx`](https://github.com/agentvivekkumar/dontbemichael/blob/main/src/renderer/src/components/OnboardingWizard.tsx) (Team setup)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_desktop["Desktop experience"]
  node_app["Office UI<br/>[App.tsx]"]
  node_onboarding["Team setup"]
  node_needsyou["Needs you board<br/>[NeedsYouBoard.tsx]"]
  node_agentdetail["Agent workspace"]
  node_preload["IPC bridge<br/>[index.ts]"]
end

subgraph group_orchestration["Office orchestration"]
  node_main["Desktop coordinator<br/>[index.ts]"]
  node_hive["Team orchestration<br/>[hive.ts]"]
  node_ownerrequests["Owner requests<br/>[ownerRequests.ts]"]
  node_routing["Ask routing<br/>[askMeRouting.ts]"]
end

subgraph group_team["Agents and team"]
  node_teamsetup["Team profiles<br/>[officePack.ts]"]
  node_providers["Agent providers<br/>[agentProvider.ts]"]
end

subgraph group_workflows["Work capabilities"]
  node_mail["Mailbox workflows<br/>[mailboxes.ts]"]
  node_missions["Scheduled work<br/>[missions.ts]"]
  node_research["Web research<br/>[research.ts]"]
  node_triggers["External triggers<br/>[triggers.ts]"]
  node_webhooks["Webhook server<br/>[webhook.ts]"]
  node_memory["Agent memory<br/>[memory.ts]"]
end

subgraph group_foundation["Shared foundation"]
  node_config[("Office configuration<br/>[config.ts]")]
  node_files["Office files<br/>[fs.ts]"]
  node_integrations["Connected services<br/>[integrations.ts]"]
end

node_owner(("Business owner"))

node_owner -->|"chooses business"| node_onboarding
node_onboarding -->|"selects team"| node_teamsetup
node_owner -->|"asks Michael"| node_app
node_app -->|"shows decisions"| node_needsyou
node_app -->|"opens workspace"| node_agentdetail
node_app -.->|"uses desktop API"| node_preload
node_preload -->|"invokes IPC"| node_main
node_main -->|"reads and writes"| node_config
node_main -.->|"coordinates team"| node_hive
node_hive -.->|"runs agents"| node_providers
node_hive -->|"raises decisions"| node_ownerrequests
node_ownerrequests -->|"routes answers"| node_routing
node_owner -->|"answers requests"| node_needsyou
node_main -->|"starts server"| node_webhooks
node_webhooks -->|"uses trigger schema"| node_triggers
node_hive -.->|"works mailboxes"| node_mail
node_hive -.->|"runs scheduled work"| node_missions
node_hive -->|"requests research"| node_research
node_hive -.->|"retains agent memory"| node_memory
node_main -->|"manages local files"| node_files
node_main -->|"configures services"| node_integrations

click node_app "https://github.com/agentvivekkumar/dontbemichael/blob/main/src/renderer/src/App.tsx"
click node_onboarding "https://github.com/agentvivekkumar/dontbemichael/blob/main/src/renderer/src/components/OnboardingWizard.tsx"
click node_needsyou "https://github.com/agentvivekkumar/dontbemichael/blob/main/src/renderer/src/shell/NeedsYouBoard.tsx"
click node_agentdetail "https://github.com/agentvivekkumar/dontbemichael/blob/main/src/renderer/src/components/AgentDetailPanel.tsx"
click node_preload "https://github.com/agentvivekkumar/dontbemichael/blob/main/src/preload/index.ts"
click node_main "https://github.com/agentvivekkumar/dontbemichael/blob/main/src/main/index.ts"
click node_hive "https://github.com/agentvivekkumar/dontbemichael/blob/main/src/main/hive.ts"
click node_ownerrequests "https://github.com/agentvivekkumar/dontbemichael/blob/main/src/shared/ownerRequests.ts"
click node_routing "https://github.com/agentvivekkumar/dontbemichael/blob/main/src/shared/askMeRouting.ts"
click node_teamsetup "https://github.com/agentvivekkumar/dontbemichael/blob/main/src/shared/officePack.ts"
click node_providers "https://github.com/agentvivekkumar/dontbemichael/blob/main/src/shared/agentProvider.ts"
click node_mail "https://github.com/agentvivekkumar/dontbemichael/blob/main/src/shared/mailboxes.ts"
click node_missions "https://github.com/agentvivekkumar/dontbemichael/blob/main/src/shared/missions.ts"
click node_research "https://github.com/agentvivekkumar/dontbemichael/blob/main/src/shared/research.ts"
click node_triggers "https://github.com/agentvivekkumar/dontbemichael/blob/main/src/shared/triggers.ts"
click node_webhooks "https://github.com/agentvivekkumar/dontbemichael/blob/main/src/main/webhook.ts"
click node_memory "https://github.com/agentvivekkumar/dontbemichael/blob/main/src/main/memory.ts"
click node_config "https://github.com/agentvivekkumar/dontbemichael/blob/main/src/main/config.ts"
click node_files "https://github.com/agentvivekkumar/dontbemichael/blob/main/src/main/fs.ts"
click node_integrations "https://github.com/agentvivekkumar/dontbemichael/blob/main/src/shared/integrations.ts"

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_app,node_onboarding,node_needsyou,node_agentdetail,node_preload toneBlue
class node_main,node_hive,node_ownerrequests,node_routing toneAmber
class node_teamsetup,node_providers toneMint
class node_mail,node_missions,node_research,node_triggers,node_webhooks,node_memory toneRose
class node_config,node_files,node_integrations,node_owner toneIndigo
```

## Components

### Desktop experience

- [Office UI](https://github.com/agentvivekkumar/dontbemichael/blob/main/src/renderer/src/App.tsx): `src/renderer/src/App.tsx`
- [Team setup](https://github.com/agentvivekkumar/dontbemichael/blob/main/src/renderer/src/components/OnboardingWizard.tsx): `src/renderer/src/components/OnboardingWizard.tsx`
- [Needs you board](https://github.com/agentvivekkumar/dontbemichael/blob/main/src/renderer/src/shell/NeedsYouBoard.tsx): `src/renderer/src/shell/NeedsYouBoard.tsx`
- [Agent workspace](https://github.com/agentvivekkumar/dontbemichael/blob/main/src/renderer/src/components/AgentDetailPanel.tsx): `src/renderer/src/components/AgentDetailPanel.tsx`
- [IPC bridge](https://github.com/agentvivekkumar/dontbemichael/blob/main/src/preload/index.ts): `src/preload/index.ts`

### Office orchestration

- [Desktop coordinator](https://github.com/agentvivekkumar/dontbemichael/blob/main/src/main/index.ts): `src/main/index.ts`
- [Team orchestration](https://github.com/agentvivekkumar/dontbemichael/blob/main/src/main/hive.ts): `src/main/hive.ts`
- [Owner requests](https://github.com/agentvivekkumar/dontbemichael/blob/main/src/shared/ownerRequests.ts): `src/shared/ownerRequests.ts`
- [Ask routing](https://github.com/agentvivekkumar/dontbemichael/blob/main/src/shared/askMeRouting.ts): `src/shared/askMeRouting.ts`

### Agents and team

- [Team profiles](https://github.com/agentvivekkumar/dontbemichael/blob/main/src/shared/officePack.ts): `src/shared/officePack.ts`
- [Agent providers](https://github.com/agentvivekkumar/dontbemichael/blob/main/src/shared/agentProvider.ts): `src/shared/agentProvider.ts`

### Work capabilities

- [Mailbox workflows](https://github.com/agentvivekkumar/dontbemichael/blob/main/src/shared/mailboxes.ts): `src/shared/mailboxes.ts`
- [Scheduled work](https://github.com/agentvivekkumar/dontbemichael/blob/main/src/shared/missions.ts): `src/shared/missions.ts`
- [Web research](https://github.com/agentvivekkumar/dontbemichael/blob/main/src/shared/research.ts): `src/shared/research.ts`
- [External triggers](https://github.com/agentvivekkumar/dontbemichael/blob/main/src/shared/triggers.ts): `src/shared/triggers.ts`
- [Webhook server](https://github.com/agentvivekkumar/dontbemichael/blob/main/src/main/webhook.ts): `src/main/webhook.ts`
- [Agent memory](https://github.com/agentvivekkumar/dontbemichael/blob/main/src/main/memory.ts): `src/main/memory.ts`

### Shared foundation

- [Office configuration](https://github.com/agentvivekkumar/dontbemichael/blob/main/src/main/config.ts): `src/main/config.ts`
- [Office files](https://github.com/agentvivekkumar/dontbemichael/blob/main/src/main/fs.ts): `src/main/fs.ts`
- [Connected services](https://github.com/agentvivekkumar/dontbemichael/blob/main/src/shared/integrations.ts): `src/shared/integrations.ts`

### Other components

- **Business owner**

## Connections

- Business owner → Team setup: chooses business (evidence: `README.md`)
- Team setup → Team profiles: selects team (evidence: `README.md`)
- Business owner → Office UI: asks Michael (evidence: `README.md`)
- Office UI → Needs you board: shows decisions (evidence: `src/renderer/src/App.tsx`)
- Office UI → Agent workspace: opens workspace (evidence: `src/renderer/src/App.tsx`)
- Office UI → IPC bridge: uses desktop API
- IPC bridge → Desktop coordinator: invokes IPC (evidence: `src/preload/index.ts`)
- Desktop coordinator → Office configuration: reads and writes (evidence: `src/main/index.ts`)
- Desktop coordinator → Team orchestration: coordinates team (evidence: `src/main/index.ts`)
- Team orchestration → Agent providers: runs agents
- Team orchestration → Owner requests: raises decisions (evidence: `README.md`)
- Owner requests → Ask routing: routes answers (evidence: `src/shared/ownerRequests.ts`)
- Business owner → Needs you board: answers requests (evidence: `README.md`)
- Desktop coordinator → Webhook server: starts server (evidence: `src/main/index.ts`)
- Webhook server → External triggers: uses trigger schema (evidence: `src/main/webhook.ts`)
- Team orchestration → Mailbox workflows: works mailboxes
- Team orchestration → Scheduled work: runs scheduled work
- Team orchestration → Web research: requests research (evidence: `src/shared/research.ts`)
- Team orchestration → Agent memory: retains agent memory
- Desktop coordinator → Office files: manages local files (evidence: `src/main/index.ts`)
- Desktop coordinator → Connected services: configures services
