# atharvap35/creatoros architecture

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

- Interactive diagram: https://gitdiagram.com/atharvap35/creatoros
- Repository: https://github.com/atharvap35/creatoros

## Overview

Creator OS is a multi-tenant creator-business operating system. Creators enter ideas, content, tasks, deals, and revenue; the app stores account-scoped records, derives priorities and business context, and presents daily decisions, attention, planning, reviews, and grounded copilot answers. The graph combines documented capabilities with sampled runtime structure. Some route and service internals were not excerpted, so links to those subsystems are included only where the README or source index supports them.

Main entry points: [`app/services/brain.py`](https://github.com/atharvap35/creatoros/blob/main/app/services/brain.py) (Creator Brain context), [`app/models/content.py`](https://github.com/atharvap35/creatoros/blob/main/app/models/content.py) (Content pipeline), [`app/main.py`](https://github.com/atharvap35/creatoros/blob/main/app/main.py) (FastAPI app), [`app/models/idea.py`](https://github.com/atharvap35/creatoros/blob/main/app/models/idea.py) (Ideas)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_runtime["Web runtime"]
  node_app["FastAPI app<br/>[main.py]"]
  node_auth["Authentication<br/>[auth.py]"]
  node_security["Sessions and passwords<br/>[security.py]"]
  node_database[("SQLAlchemy database<br/>[database.py]")]
end

subgraph group_records["Creator records"]
  node_content["Content pipeline<br/>[content.py]"]
  node_ideas["Ideas<br/>[idea.py]"]
  node_tasks["Tasks and capacity<br/>[task.py]"]
  node_business_records["Brands, series, activity<br/>[business.py]"]
end

subgraph group_workflow["Daily workflow"]
  node_today["Today decisions<br/>[today.py]"]
  node_attention["Attention Center<br/>[attention.py]"]
  node_week_plan["Weekly plan<br/>[workflow.py]"]
  node_timeline["Business timeline<br/>[activity.py]"]
  node_reviews["Weekly and CEO reviews<br/>[reviews.py]"]
end

subgraph group_business["Business operations"]
  node_deals["Deals and deliverables<br/>[deal.py]"]
  node_money["Revenue and opportunities<br/>[revenue.py]"]
end

subgraph group_assistance["Guidance and assistance"]
  node_brain["Creator Brain context<br/>[brain.py]"]
  node_actions["Action dispatch<br/>[actions.py]"]
  node_copilot["Creator Copilot<br/>[copilot.py]"]
  node_atomize["Content atomization<br/>[atomize.py]"]
  node_ai_writer["Optional AI writer<br/>[ai.py]"]
  node_voice["Voice commands<br/>[voice.js]"]
end

node_creator(("Creator"))
node_provider{{"Configured AI provider"}}

node_creator -->|"uses"| node_app
node_app -->|"registers routes"| node_auth
node_app -->|"initializes"| node_database
node_auth -->|"authenticates"| node_security
node_security -->|"reads sessions"| node_database
node_creator -->|"starts daily loop"| node_today
node_today -->|"gets context"| node_brain
node_attention -->|"gets context"| node_brain
node_reviews -->|"derives review"| node_brain
node_creator -->|"records ideas"| node_ideas
node_ideas -->|"converts to plan"| node_content
node_creator -->|"plans content"| node_content
node_content -->|"organizes production"| node_tasks
node_creator -->|"tracks partnerships"| node_deals
node_creator -->|"records revenue"| node_money
node_creator -->|"proposes week"| node_week_plan
node_creator -->|"reviews progress"| node_reviews
node_brain -->|"reads records"| node_content
node_brain -->|"reads records"| node_deals
node_brain -->|"reads records"| node_ideas
node_brain -->|"reads records"| node_tasks
node_brain -->|"reads records"| node_money
node_brain -->|"reads records"| node_business_records
node_voice -->|"dispatches command"| node_actions
node_creator -->|"asks questions"| node_copilot
node_copilot -.->|"answers from records"| node_brain
node_creator -->|"requests derivatives"| node_atomize
node_atomize -->|"creates draft ideas"| node_content
node_ai_writer -.->|"uses when configured"| node_provider

click node_app "https://github.com/atharvap35/creatoros/blob/main/app/main.py"
click node_auth "https://github.com/atharvap35/creatoros/blob/main/app/routes/auth.py"
click node_security "https://github.com/atharvap35/creatoros/blob/main/app/security.py"
click node_database "https://github.com/atharvap35/creatoros/blob/main/app/database.py"
click node_content "https://github.com/atharvap35/creatoros/blob/main/app/models/content.py"
click node_ideas "https://github.com/atharvap35/creatoros/blob/main/app/models/idea.py"
click node_tasks "https://github.com/atharvap35/creatoros/blob/main/app/models/task.py"
click node_business_records "https://github.com/atharvap35/creatoros/blob/main/app/models/business.py"
click node_deals "https://github.com/atharvap35/creatoros/blob/main/app/models/deal.py"
click node_money "https://github.com/atharvap35/creatoros/blob/main/app/models/revenue.py"
click node_today "https://github.com/atharvap35/creatoros/blob/main/app/routes/today.py"
click node_attention "https://github.com/atharvap35/creatoros/blob/main/app/routes/attention.py"
click node_week_plan "https://github.com/atharvap35/creatoros/blob/main/app/routes/workflow.py"
click node_timeline "https://github.com/atharvap35/creatoros/blob/main/app/services/activity.py"
click node_reviews "https://github.com/atharvap35/creatoros/blob/main/app/services/reviews.py"
click node_brain "https://github.com/atharvap35/creatoros/blob/main/app/services/brain.py"
click node_actions "https://github.com/atharvap35/creatoros/blob/main/app/services/actions.py"
click node_copilot "https://github.com/atharvap35/creatoros/blob/main/app/services/copilot.py"
click node_atomize "https://github.com/atharvap35/creatoros/blob/main/app/services/atomize.py"
click node_ai_writer "https://github.com/atharvap35/creatoros/blob/main/app/services/ai.py"
click node_voice "https://github.com/atharvap35/creatoros/blob/main/app/static/js/voice.js"

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_auth,node_security,node_database toneBlue
class node_content,node_ideas,node_tasks,node_business_records toneAmber
class node_today,node_attention,node_week_plan,node_timeline,node_reviews toneMint
class node_deals,node_money toneRose
class node_brain,node_actions,node_copilot,node_atomize,node_ai_writer,node_voice,node_creator,node_provider toneIndigo
```

## Components

### Web runtime

- [FastAPI app](https://github.com/atharvap35/creatoros/blob/main/app/main.py): `app/main.py`
- [Authentication](https://github.com/atharvap35/creatoros/blob/main/app/routes/auth.py): `app/routes/auth.py`
- [Sessions and passwords](https://github.com/atharvap35/creatoros/blob/main/app/security.py): `app/security.py`
- [SQLAlchemy database](https://github.com/atharvap35/creatoros/blob/main/app/database.py): `app/database.py`

### Creator records

- [Content pipeline](https://github.com/atharvap35/creatoros/blob/main/app/models/content.py): `app/models/content.py`
- [Ideas](https://github.com/atharvap35/creatoros/blob/main/app/models/idea.py): `app/models/idea.py`
- [Tasks and capacity](https://github.com/atharvap35/creatoros/blob/main/app/models/task.py): `app/models/task.py`
- [Brands, series, activity](https://github.com/atharvap35/creatoros/blob/main/app/models/business.py): `app/models/business.py`

### Daily workflow

- [Today decisions](https://github.com/atharvap35/creatoros/blob/main/app/routes/today.py): `app/routes/today.py`
- [Attention Center](https://github.com/atharvap35/creatoros/blob/main/app/routes/attention.py): `app/routes/attention.py`
- [Weekly plan](https://github.com/atharvap35/creatoros/blob/main/app/routes/workflow.py): `app/routes/workflow.py`
- [Business timeline](https://github.com/atharvap35/creatoros/blob/main/app/services/activity.py): `app/services/activity.py`
- [Weekly and CEO reviews](https://github.com/atharvap35/creatoros/blob/main/app/services/reviews.py): `app/services/reviews.py`

### Business operations

- [Deals and deliverables](https://github.com/atharvap35/creatoros/blob/main/app/models/deal.py): `app/models/deal.py`
- [Revenue and opportunities](https://github.com/atharvap35/creatoros/blob/main/app/models/revenue.py): `app/models/revenue.py`

### Guidance and assistance

- [Creator Brain context](https://github.com/atharvap35/creatoros/blob/main/app/services/brain.py): `app/services/brain.py`
- [Action dispatch](https://github.com/atharvap35/creatoros/blob/main/app/services/actions.py): `app/services/actions.py`
- [Creator Copilot](https://github.com/atharvap35/creatoros/blob/main/app/services/copilot.py): `app/services/copilot.py`
- [Content atomization](https://github.com/atharvap35/creatoros/blob/main/app/services/atomize.py): `app/services/atomize.py`
- [Optional AI writer](https://github.com/atharvap35/creatoros/blob/main/app/services/ai.py): `app/services/ai.py`
- [Voice commands](https://github.com/atharvap35/creatoros/blob/main/app/static/js/voice.js): `app/static/js/voice.js`

### Other components

- **Creator**
- **Configured AI provider**

## Connections

- Creator → FastAPI app: uses (evidence: `README.md`)
- FastAPI app → Authentication: registers routes (evidence: `app/main.py`)
- FastAPI app → SQLAlchemy database: initializes (evidence: `app/main.py`)
- Authentication → Sessions and passwords: authenticates (evidence: `app/routes/auth.py`)
- Sessions and passwords → SQLAlchemy database: reads sessions (evidence: `app/security.py`)
- Creator → Today decisions: starts daily loop (evidence: `README.md`)
- Today decisions → Creator Brain context: gets context (evidence: `app/services/brain.py`)
- Attention Center → Creator Brain context: gets context (evidence: `app/services/brain.py`)
- Weekly and CEO reviews → Creator Brain context: derives review (evidence: `app/services/reviews.py`)
- Creator → Ideas: records ideas (evidence: `README.md`)
- Ideas → Content pipeline: converts to plan (evidence: `README.md`)
- Creator → Content pipeline: plans content (evidence: `README.md`)
- Content pipeline → Tasks and capacity: organizes production (evidence: `README.md`)
- Creator → Deals and deliverables: tracks partnerships (evidence: `README.md`)
- Creator → Revenue and opportunities: records revenue (evidence: `README.md`)
- Creator → Weekly plan: proposes week (evidence: `README.md`)
- Creator → Weekly and CEO reviews: reviews progress (evidence: `README.md`)
- Creator Brain context → Content pipeline: reads records (evidence: `app/services/brain.py`)
- Creator Brain context → Deals and deliverables: reads records (evidence: `app/services/brain.py`)
- Creator Brain context → Ideas: reads records (evidence: `app/services/brain.py`)
- Creator Brain context → Tasks and capacity: reads records (evidence: `app/services/brain.py`)
- Creator Brain context → Revenue and opportunities: reads records (evidence: `app/services/brain.py`)
- Creator Brain context → Brands, series, activity: reads records (evidence: `app/services/brain.py`)
- Voice commands → Action dispatch: dispatches command (evidence: `README.md`)
- Creator → Creator Copilot: asks questions (evidence: `README.md`)
- Creator Copilot → Creator Brain context: answers from records
- Creator → Content atomization: requests derivatives (evidence: `README.md`)
- Content atomization → Content pipeline: creates draft ideas (evidence: `README.md`)
- Optional AI writer → Configured AI provider: uses when configured (evidence: `README.md`)
