Skip to content
Β 
Β 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

629 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

βš’οΈ ForgeOS

Fully Local Β· Systems-Thinking Β· Personal Operating System

One vault. Five life stacks. Powered by PAI + Ollama + Qwen 2.5 7B (CPU-only, 32 GB friendly).

Ollama Qwen 2.5 7B DeepSeek R1 7B PAI v5 Obsidian Tests Local-First CPU-Friendly Systems-Thinking License: MIT Setup


Explore: Why This Exists Β· Core Philosophy Β· The Five Stacks Β· Quick Install Β· PAI Pulse Dashboard Β· The Vault β†’


Why This Exists

Most personal knowledge management systems are dead folders β€” they collect notes but never act on them. Most AI tools are cloud-dependent black boxes that own your data and thoughts.

ForgeOS is different. It's a living, queryable, version-controlled second brain that:

  • Runs entirely offline β€” no API keys, no data leaving your machine
  • Thinks in systems β€” five interconnected life stacks with feedback loops, not silos
  • Acts on your behalf β€” local AI agents (Qwen 2.5 7B / DeepSeek R1 7B via Ollama) ingest your daily reports and suggest next actions
  • Grows with you β€” version-controlled via git, queryable via Obsidian Dataview, extensible via the PAI agent framework
  • Visualizes your life β€” the PAI Pulse dashboard (localhost:31337) gives you a real-time Goals β†’ Metrics β†’ Projects β†’ Recommendations view

Inspired by danielmiessler's PAI and the original kache thread, ForgeOS distills the Life Operating System concept into a one-person, one-machine, one-vault implementation that anyone can set up in under 10 minutes.

Core Philosophy

Principle Meaning
πŸ”’ Privacy-first, local-only Every model runs on your machine via Ollama. Zero cloud dependencies. Your thoughts, health data, finances, relationships, and projects never leave your CPU.
🎯 One agent at a time Focus over parallelism. The AI works with you, not for a crowd.
🌱 Antifragile The system gets stronger with use. Every daily report, decision log, and query makes the vault smarter.
πŸ”„ Systems thinking Five interconnected stacks with feedback loops β€” not silos. Cognition directs body. Body resources capital. Capital enables relationships. Relationships drive impact. Impact feeds back into cognition.
πŸ” Queryable by default With Obsidian Dataview, every note is a database row. Ask "what did I weigh when my sleep was best?" or "which projects generated the most impact per hour?"

The Five Stacks

graph TD
    C1[🧠 01_Cognition<br/>Mental Models, Decisions, Daily Reports]
    C2[πŸ’ͺ 02_Body<br/>Health Metrics, Sleep, Bloodwork]
    C3[πŸ’° 03_Capital<br/>Finances, Net Worth, Budget]
    C4[🀝 04_Relationships<br/>People, Commitments, Meetings]
    C5[🌍 05_Impact<br/>Projects, Content, Output]

    C1 -->|directs| C2
    C2 -->|resources| C3
    C3 -->|enables| C4
    C4 -->|collaborates| C5
    C5 -->|learns| C1

    style C1 fill:#4a6cf7,stroke:#fff,color:#fff
    style C2 fill:#10b981,stroke:#fff,color:#fff
    style C3 fill:#f59e0b,stroke:#fff,color:#fff
    style C4 fill:#ec4899,stroke:#fff,color:#fff
    style C5 fill:#8b5cf6,stroke:#fff,color:#fff
Loading
Stack Layer What Goes Here
🧠 01_Cognition Executive Daily Systems Reports, decision logs, chat histories, mental models, Dataview queries
πŸ’ͺ 02_Body Sensory Sleep exports (Oura/Whoop), HRV, workouts, biomarker trends
πŸ’° 03_Capital Resource Budget CSVs, net worth snapshots, investment allocations
🀝 04_Relationships Social Per-person notes, 1:1 logs, promises made, annual reviews
🌍 05_Impact Actuation Active/archived projects, open-source, content, ideas

Each stack feeds the next in a closed-loop system β€” Impact generates lessons that flow back into Cognition.


πŸ–₯️ PAI Pulse Dashboard

ForgeOS includes PAI Pulse β€” a real-time life dashboard served at http://localhost:31337 that visualizes your goals, metrics, projects, budget, team, and recommendations in a single page.

What it shows

Section What you see
🎯 Goals KPIs with progress bars per life dimension (creative, money, health, relationships, freedom)
πŸ“Š Metrics First-class measurements with sparklines β€” sleep, distance, MRR, focus time, and more
🧩 Challenges & Strategies Personal blockers mapped to the strategies that answer them
πŸ“‹ Projects & Work What's moving right now β€” each work item traces to its strategy and goal
πŸ‘₯ Team Humans and agents doing the work, with ownership mapped
πŸ’° Budget Money, time, and attention budgets with progress bars
πŸ’‘ Recommendations Next 2-3 moves with traceability back to primitives

Start the dashboard

# 1. Install Bun (if not installed)
curl -fsSL https://bun.sh/install | bash

# 2. Start Pulse
cd ~/.claude/PAI/PULSE && bun run pulse.ts

Then open http://localhost:31337 in your browser.

Current status: Pulse dashboard is running in this Codespace at localhost:31337 with Observability, Voice, Wiki, Performance, Syslog, and Telegram modules loaded.


Quick Install (<10 minutes)

Prerequisites

  • A computer with 8+ GB RAM (32 GB recommended for Qwen 2.5 7B)
  • Linux, macOS, or WSL2 on Windows

Option A: One-shot bootstrap (recommended)

git clone https://github.com/NullLabTests/ForgeOS.git
cd ForgeOS
./setup.sh        # Installs Ollama + Bun + Pulse + pulls models + starts everything

Option B: Manual step-by-step

Step 1: Clone

git clone https://github.com/NullLabTests/ForgeOS.git
cd ForgeOS

Step 2: Install Ollama

curl -fsSL https://ollama.com/install.sh | sh

Step 3: Pull local LLMs

ollama pull deepseek-r1:1.5b   # 1.1 GB β€” fast, daily queries
ollama pull deepseek-r1:7b     # 4.7 GB β€” full reasoning (optional)
ollama pull nomic-embed-text   # 274 MB β€” RAG embeddings

Step 4: Open vault in Obsidian

  1. Open Obsidian β†’ Open folder as vault β†’ select LIFE-OS-VAULT/
  2. Install Dataview plugin (Community plugins β†’ browse β†’ Dataview β†’ enable)
  3. (Recommended) Periodic Notes, Tasks, Calendar plugins

Step 5: First daily report

./forgeos report          # auto-generates today's report

Step 6: Start everything

./forgeos start           # Ollama API (:11434) + Pulse Dashboard (:31337)

Step 7: Verify

ollama run deepseek-r1:7b "What makes ForgeOS different?"

Step 8: Ask your vault

./Tools/ask-vault.sh "What wins did I log this week?"

Step 9: Chat with the local LLM

Open LIFE-OS-VAULT/Tools/ollama-webui.html in any browser:

./forgeos chat

πŸ› οΈ Tools & Scripts

Tool Purpose Usage
./setup.sh One-shot bootstrap installer ./setup.sh
./forgeos One-command CLI β€” status, start, daily reports, chat ./forgeos status, ./forgeos start, ./forgeos report, ./forgeos chat
./Tools/ask-vault.sh RAG query your vault via Ollama ./Tools/ask-vault.sh "What are my blockers?"
./Tools/test-forgeos.sh Run repo integrity checks ./Tools/test-forgeos.sh
./LIFE-OS-VAULT/01_Cognition/Dataview-Example-Queries.md Ready-to-use Dataview SQL for Obsidian Open in Obsidian with Dataview enabled
./LIFE-OS-VAULT/01_Cognition/Decision-Log/TEMPLATE.md Structured decision documentation Copy, rename, fill
./LIFE-OS-VAULT/01_Cognition/Monthly-Review-Template.md Monthly reflection across all 5 stacks Copy, fill end of month
./LIFE-OS-VAULT/03_Capital/Budget/budget-template.csv Budget tracking CSV template Import into spreadsheet app
./LIFE-OS-VAULT/04_Relationships/People/TEMPLATE.md People notes template Copy per person, fill

Current Status

⚑ Running Qwen 2.5 7B / DeepSeek R1 7B locally on CPU
πŸ–₯️  PAI Pulse dashboard live at localhost:31337
🧠 WebUI ready via PAI interface
πŸ“Š Dataview-ready vault with example queries
πŸ”„ Daily Systems Report flow active
πŸ“¦ All models fit in 32 GB RAM β€” no GPU required

Using Dataview Queries

Open LIFE-OS-VAULT/01_Cognition/Dataview-Example-Queries.md in Obsidian to see live data:

TABLE date as "Date", Wins as "Top Win"
FROM "01_Cognition"
WHERE contains(file.name, "Daily-Systems-Report")
SORT date DESC
LIMIT 10

Repository Structure

ForgeOS/
β”œβ”€β”€ forgeos                 # ⚑ One-command CLI (status / start / report / chat)
β”œβ”€β”€ setup.sh                # πŸš€ One-shot bootstrap installer
β”œβ”€β”€ LIFE-OS-VAULT/          # ⭐ The vault β€” star of the repo
β”‚   β”œβ”€β”€ 01_Cognition/       #   Mental models, decisions, daily reports
β”‚   β”‚   β”œβ”€β”€ Decision-Log/   #   Decision templates & records
β”‚   β”‚   β”œβ”€β”€ Dataview-Example-Queries.md
β”‚   β”‚   └── Monthly-Review-Template.md
β”‚   β”œβ”€β”€ 02_Body/            #   Health metrics, sleep, bloodwork
β”‚   β”œβ”€β”€ 03_Capital/         #   Finances, net worth, budget
β”‚   β”œβ”€β”€ 04_Relationships/   #   People, commitments, meetings
β”‚   β”œβ”€β”€ 05_Impact/          #   Projects, content, output
β”‚   └── README.md           #   Vault-specific docs
β”œβ”€β”€ Tools/                  # Utility scripts
β”‚   β”œβ”€β”€ ask-vault.sh        #   RAG query your vault via Ollama
β”‚   └── validate-protected.ts
β”œβ”€β”€ assets/                 # Diagrams and screenshot placeholders
β”œβ”€β”€ Packs/                  # PAI skill packs (45 skills, 171 workflows)
β”œβ”€β”€ Releases/               # PAI versioned releases (v2.3 β†’ v5.0.0)
β”œβ”€β”€ images/                 # PAI architecture diagrams
β”œβ”€β”€ PLATFORM.md
β”œβ”€β”€ SECURITY.md
└── README.md               # ← You are here

Architecture Diagram

A full Mermaid and ASCII diagram is in assets/five-stacks-diagram.md.

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚                     FORGEOS β€” FIVE STACKS                    β”‚
β”‚                    (with feedback loops)                     β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚                                                              β”‚
β”‚  01_Cognition  ──────────────────────────────→  02_Body      β”‚
β”‚  (Mental Models,   ←─────────────────────────  (Health,      β”‚
β”‚   Decisions,        Feedback Loop: Learning     Sleep,       β”‚
β”‚   Daily Reports)     informs all stacks        Bloodwork)   β”‚
β”‚       ↑                                                  ↓   β”‚
β”‚       β”‚                 03_Capital                          β”‚
β”‚       β”‚                 (Finances, Budget,                  β”‚
β”‚       β”‚                  Net Worth)                         β”‚
β”‚       β”‚                     ↓                               β”‚
β”‚       β”‚                 04_Relationships                     β”‚
β”‚       β”‚                 (People, Commitments,               β”‚
β”‚       β”‚                  Meetings)                          β”‚
β”‚       β”‚                     ↓                               β”‚
β”‚       └────────── 05_Impact  β†β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜   β”‚
β”‚                  (Projects, Content, Legacy)                β”‚
β”‚                                                              β”‚
β”‚               β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”                    β”‚
β”‚               β”‚   AI Layer (Local)    β”‚                    β”‚
β”‚               β”‚  Ollama β†’ Qwen 7B    β”‚                    β”‚
β”‚               β”‚  PAI Pulse Dashboard  β”‚                    β”‚
β”‚               β”‚  Dataview Queries    β”‚                    β”‚
β”‚               β””β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜                    β”‚
β”‚                        ↓                                    β”‚
β”‚               Queries all 5 stacks                          β”‚
β”‚                                                              β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

Screenshots

PAI Pulse Dashboard (animated) Vault Tree View
Pulse Dashboard demo Vault Tree
Scrolling through Goals, Metrics, Projects, Budget, Recommendations Obsidian vault with 5-stack hierarchy

Running Tests

Validate repo integrity at any time with:

./Tools/test-forgeos.sh

The test suite checks: repo structure, vault hierarchy, all 5 stack dashboards, template files, Dataview queries, README references, screenshot assets, git health, and optional Ollama liveness. All checks pass on a clean install.

License

MIT β€” see LICENSE.


Made with βš’οΈ by NullLabTests Β· Powered by Ollama Β· Qwen Β· Obsidian Β· PAI

Your life is a system. Start treating it like one.

About

Agentic AI Infrastructure for magnifying HUMAN capabilities.

Resources

Security policy

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages