# danielmiessler/lifeos architecture

> Architecture diagram of the GitHub repository danielmiessler/lifeos, 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/danielmiessler/lifeos
- Repository: https://github.com/danielmiessler/lifeos
- Video tour (about a minute): https://gitdiagram.com/danielmiessler/lifeos/video

## Overview

LifeOS is an AI harness layer that equips an agent with personal context, memory, skills, routing, and self-improvement. The principal workflow is an operator asking their AI harness for help: LifeOS supplies context and routes work to an appropriate workflow or skill, with model inference supporting execution. The README documents broad capabilities, but the supplied excerpts do not show most runtime wiring; those relationships are therefore omitted or marked unverified rather than inferred from names. Installer and sampled Assay internals are represented where source evidence is available.

Main entry points: [`LifeOS/Tools/InstallEngine.ts`](https://github.com/danielmiessler/lifeos/blob/main/LifeOS/Tools/InstallEngine.ts) (Installer), [`LifeOS/install/LIFEOS/ROUTER/Router.ts`](https://github.com/danielmiessler/lifeos/blob/main/LifeOS/install/LIFEOS/ROUTER/Router.ts) (Intent routing), [`LifeOS/install/LIFEOS/PULSE`](https://github.com/danielmiessler/lifeos/tree/main/LifeOS/install/LIFEOS/PULSE) (Pulse activity view), [`LifeOS/install/LIFEOS/WORKFLOWS/v1/Workflows/engine.ts`](https://github.com/danielmiessler/lifeos/blob/main/LifeOS/install/LIFEOS/WORKFLOWS/v1/Workflows/engine.ts) (Workflow engine)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_setup["Setup"]
  node_installer["Installer<br/>[InstallEngine.ts]"]
  node_deploy["Component deployment"]
  node_redaction["Install redaction<br/>[Redact.ts]"]
end

subgraph group_context["Personal context"]
  node_telos["TELOS goals"]
  node_people[("People context<br/>[store.ts]")]
  node_memory["Persistent memory<br/>[MemoryRetriever.ts]"]
  node_atlas["System inventory"]
  node_censvs["Situation synthesis"]
end

subgraph group_execution["Work execution"]
  node_router["Intent routing<br/>[Router.ts]"]
  node_workflows["Workflow engine<br/>[engine.ts]"]
  node_skills["Specialized skills"]
  node_inference["Model inference<br/>[Inference.ts]"]
end

subgraph group_learning["Learning"]
  node_assay["Assay evaluation<br/>[Assay.ts]"]
  node_assay_engine["Assay model client<br/>[Engine.ts]"]
  node_assay_judge["Engine judge<br/>[EngineJudge.ts]"]
  node_errata["Self-improvement"]
end

subgraph group_pulse["Pulse"]
  node_pulse["Pulse activity view"]
  node_pulse_desktop["Pulse desktop<br/>[main.ts]"]
  node_observability["Observability dashboard"]
end

node_operator(("Operator"))
node_harness["AI harness"]

node_operator -->|"requests help"| node_harness
node_harness -.->|"routes intent"| node_router
node_router -.->|"triggers workflow"| node_workflows
node_router -.->|"selects skill"| node_skills
node_workflows -.->|"uses models"| node_inference
node_harness -->|"uses goals"| node_telos
node_harness -->|"uses contacts"| node_people
node_harness -->|"recalls history"| node_memory
node_harness -.->|"uses system context"| node_atlas
node_harness -.->|"uses context"| node_censvs
node_assay -->|"calls engine"| node_assay_engine
node_assay_judge -->|"calls engine"| node_assay_engine
node_harness -->|"self-improves"| node_errata
node_harness -->|"shows activity"| node_pulse
node_pulse -.->|"provides desktop"| node_pulse_desktop
node_pulse -.->|"provides dashboard"| node_observability
node_operator -->|"requests install"| node_installer
node_installer -->|"deploys components"| node_deploy
node_installer -->|"uses redaction"| node_redaction

click node_installer "https://github.com/danielmiessler/lifeos/blob/main/LifeOS/Tools/InstallEngine.ts"
click node_deploy "https://github.com/danielmiessler/lifeos/blob/main/LifeOS/Tools/DeployComponents.ts"
click node_redaction "https://github.com/danielmiessler/lifeos/blob/main/LifeOS/Tools/Redact.ts"
click node_telos "https://github.com/danielmiessler/lifeos/tree/main/LifeOS/install/LIFEOS/IDEALSTATE"
click node_people "https://github.com/danielmiessler/lifeos/blob/main/LifeOS/install/LIFEOS/PEOPLE/store.ts"
click node_memory "https://github.com/danielmiessler/lifeos/blob/main/LifeOS/install/LIFEOS/TOOLS/MemoryRetriever.ts"
click node_atlas "https://github.com/danielmiessler/lifeos/tree/main/LifeOS/install/LIFEOS/ATLAS"
click node_censvs "https://github.com/danielmiessler/lifeos/tree/main/LifeOS/install/LIFEOS/CENSVS"
click node_router "https://github.com/danielmiessler/lifeos/blob/main/LifeOS/install/LIFEOS/ROUTER/Router.ts"
click node_workflows "https://github.com/danielmiessler/lifeos/blob/main/LifeOS/install/LIFEOS/WORKFLOWS/v1/Workflows/engine.ts"
click node_skills "https://github.com/danielmiessler/lifeos/tree/main/LifeOS/install/skills"
click node_inference "https://github.com/danielmiessler/lifeos/blob/main/LifeOS/install/LIFEOS/TOOLS/Inference.ts"
click node_assay "https://github.com/danielmiessler/lifeos/blob/main/LifeOS/install/LIFEOS/ASSAY/Assay.ts"
click node_assay_engine "https://github.com/danielmiessler/lifeos/blob/main/LifeOS/install/LIFEOS/ASSAY/Engine.ts"
click node_assay_judge "https://github.com/danielmiessler/lifeos/blob/main/LifeOS/install/LIFEOS/ASSAY/EngineJudge.ts"
click node_errata "https://github.com/danielmiessler/lifeos/tree/main/LifeOS/install/LIFEOS/ERRATA"
click node_pulse "https://github.com/danielmiessler/lifeos/tree/main/LifeOS/install/LIFEOS/PULSE"
click node_pulse_desktop "https://github.com/danielmiessler/lifeos/blob/main/LifeOS/install/LIFEOS/PULSE/Desktop/main.ts"
click node_observability "https://github.com/danielmiessler/lifeos/tree/main/LifeOS/install/LIFEOS/PULSE/Observability"

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_installer,node_deploy,node_redaction toneBlue
class node_telos,node_people,node_memory,node_atlas,node_censvs toneAmber
class node_router,node_workflows,node_skills,node_inference toneMint
class node_assay,node_assay_engine,node_assay_judge,node_errata toneRose
class node_pulse,node_pulse_desktop,node_observability,node_operator,node_harness toneIndigo
```

## Components

### Setup

- [Installer](https://github.com/danielmiessler/lifeos/blob/main/LifeOS/Tools/InstallEngine.ts): `LifeOS/Tools/InstallEngine.ts`
- [Component deployment](https://github.com/danielmiessler/lifeos/blob/main/LifeOS/Tools/DeployComponents.ts): `LifeOS/Tools/DeployComponents.ts`
- [Install redaction](https://github.com/danielmiessler/lifeos/blob/main/LifeOS/Tools/Redact.ts): `LifeOS/Tools/Redact.ts`

### Personal context

- [TELOS goals](https://github.com/danielmiessler/lifeos/tree/main/LifeOS/install/LIFEOS/IDEALSTATE): `LifeOS/install/LIFEOS/IDEALSTATE`
- [People context](https://github.com/danielmiessler/lifeos/blob/main/LifeOS/install/LIFEOS/PEOPLE/store.ts): `LifeOS/install/LIFEOS/PEOPLE/store.ts`
- [Persistent memory](https://github.com/danielmiessler/lifeos/blob/main/LifeOS/install/LIFEOS/TOOLS/MemoryRetriever.ts): `LifeOS/install/LIFEOS/TOOLS/MemoryRetriever.ts`
- [System inventory](https://github.com/danielmiessler/lifeos/tree/main/LifeOS/install/LIFEOS/ATLAS): `LifeOS/install/LIFEOS/ATLAS`
- [Situation synthesis](https://github.com/danielmiessler/lifeos/tree/main/LifeOS/install/LIFEOS/CENSVS): `LifeOS/install/LIFEOS/CENSVS`

### Work execution

- [Intent routing](https://github.com/danielmiessler/lifeos/blob/main/LifeOS/install/LIFEOS/ROUTER/Router.ts): `LifeOS/install/LIFEOS/ROUTER/Router.ts`
- [Workflow engine](https://github.com/danielmiessler/lifeos/blob/main/LifeOS/install/LIFEOS/WORKFLOWS/v1/Workflows/engine.ts): `LifeOS/install/LIFEOS/WORKFLOWS/v1/Workflows/engine.ts`
- [Specialized skills](https://github.com/danielmiessler/lifeos/tree/main/LifeOS/install/skills): `LifeOS/install/skills`
- [Model inference](https://github.com/danielmiessler/lifeos/blob/main/LifeOS/install/LIFEOS/TOOLS/Inference.ts): `LifeOS/install/LIFEOS/TOOLS/Inference.ts`

### Learning

- [Assay evaluation](https://github.com/danielmiessler/lifeos/blob/main/LifeOS/install/LIFEOS/ASSAY/Assay.ts): `LifeOS/install/LIFEOS/ASSAY/Assay.ts`
- [Assay model client](https://github.com/danielmiessler/lifeos/blob/main/LifeOS/install/LIFEOS/ASSAY/Engine.ts): `LifeOS/install/LIFEOS/ASSAY/Engine.ts`
- [Engine judge](https://github.com/danielmiessler/lifeos/blob/main/LifeOS/install/LIFEOS/ASSAY/EngineJudge.ts): `LifeOS/install/LIFEOS/ASSAY/EngineJudge.ts`
- [Self-improvement](https://github.com/danielmiessler/lifeos/tree/main/LifeOS/install/LIFEOS/ERRATA): `LifeOS/install/LIFEOS/ERRATA`

### Pulse

- [Pulse activity view](https://github.com/danielmiessler/lifeos/tree/main/LifeOS/install/LIFEOS/PULSE): `LifeOS/install/LIFEOS/PULSE`
- [Pulse desktop](https://github.com/danielmiessler/lifeos/blob/main/LifeOS/install/LIFEOS/PULSE/Desktop/main.ts): `LifeOS/install/LIFEOS/PULSE/Desktop/main.ts`
- [Observability dashboard](https://github.com/danielmiessler/lifeos/tree/main/LifeOS/install/LIFEOS/PULSE/Observability): `LifeOS/install/LIFEOS/PULSE/Observability`

### Other components

- **Operator**
- **AI harness**

## Connections

- Operator → AI harness: requests help (evidence: `README.md`)
- AI harness → Intent routing: routes intent
- Intent routing → Workflow engine: triggers workflow
- Intent routing → Specialized skills: selects skill
- Workflow engine → Model inference: uses models
- AI harness → TELOS goals: uses goals (evidence: `README.md`)
- AI harness → People context: uses contacts (evidence: `README.md`)
- AI harness → Persistent memory: recalls history (evidence: `README.md`)
- AI harness → System inventory: uses system context
- AI harness → Situation synthesis: uses context
- Assay evaluation → Assay model client: calls engine (evidence: `LifeOS/install/LIFEOS/ASSAY/Assay.ts`)
- Engine judge → Assay model client: calls engine (evidence: `LifeOS/install/LIFEOS/ASSAY/EngineJudge.ts`)
- AI harness → Self-improvement: self-improves (evidence: `README.md`)
- AI harness → Pulse activity view: shows activity (evidence: `README.md`)
- Pulse activity view → Pulse desktop: provides desktop (evidence: `LifeOS/install/LIFEOS/PULSE/Desktop/main.ts`)
- Pulse activity view → Observability dashboard: provides dashboard
- Operator → Installer: requests install (evidence: `README.md`)
- Installer → Component deployment: deploys components (evidence: `LifeOS/Tools/DeployComponents.ts`)
- Installer → Install redaction: uses redaction (evidence: `LifeOS/Tools/Attest.ts`)
