Skip to content
Chapter 8 of 8

Advanced use: the daily operating system

You have set it up. Now you run it, and running it well is a few durable habits. First, the DA becomes your primary interface. The target on the PAI Maturity Model is AS3, the Trusted Companion, the top of the Assistants tier (the model climbs from Chatbots CH1 to CH3, to Agents AG1 to AG3, to Assistants AS1 to AS3). This is the lineage of The Real Internet of Things, Miessler's 2016 idea: one DA per person, everything gets an API, the DA builds the interfaces you need, and you define the ideal state while the AI gets you there. You do not operate a dozen apps. You talk to your DA, and it operates them.

Second, route hard work through the Algorithm: seven phases in a fixed order, OBSERVE, THINK, PLAN, BUILD, EXECUTE, VERIFY, LEARN. The Algorithm holds an ISA, an Ideal State Artifact, as the single source of truth for what done looks like (twelve sections), and each ISC, Ideal State Criterion, is binary and testable. The standard behind it is Deutsch's: a good explanation is hard to vary, one you cannot change without breaking. That is why the phases run in order and why the criteria are binary: hard-to-vary work is verifiable work. In this lab you score a sample capability set to a maturity level and prove the seven phases run in the one correct order.

Third, the self-improvement loop. Your ratings and the system's own verification feed back in, so the thing gets better at being your assistant over time. Reason backward from that fixed human endpoint again: a believable day years out, running your life through a DA that knows you, doing work through the Algorithm, surprising you with how right it gets things, that euphoric surprise is the metric. And it does not stop at one person: teams run humans and DAs and Digital Employees on one shared task list, and portable PAI Packs let you install new capabilities. Keep upgrading, always with your AI, always backed up, USER never touched, and read the migration guide when a major version lands, because a major version is a new system, not a patch. That is LifeOS as a daily operating system. You built it, you named it, you gave it your why. Now go live in it.

The lab: read it, then run it

labs/lifeos-mastery/lm8-maturity-and-algorithm.py
#!/usr/bin/env python3
"""
LAB LM8: Maturity self-assessment and the Algorithm's phase order.

Two ideas close the course. First, the PAI Maturity Model: systems climb from
Chatbots (CH1-3) to Agents (AG1-3) to Assistants (AS1-3), and the target is AS3,
the Trusted Companion, a DA you route your whole life through. You can score your
own level from the capabilities you actually have. Second, the Algorithm: the way
LifeOS runs hard work is seven phases in a fixed order, OBSERVE, THINK, PLAN,
BUILD, EXECUTE, VERIFY, LEARN, each producing a hard-to-vary explanation. Run them
out of order and the work breaks. In this lab you score a sample capability set to
a maturity level and prove the seven phases execute in the one correct order.
Sample data only.

Run: python3 modules/academy-content/labs/lifeos-mastery/lm8-maturity-and-algorithm.py
"""
import sys

# STEP 1: score maturity from capabilities. More trusted, autonomous, life-wide
# capabilities lift you from Chatbot toward AS3, the Trusted Companion.
caps = {
    "answers_questions": True,     # CH: a chatbot
    "uses_tools": True,            # AG: an agent that acts
    "runs_loops": True,            # AG
    "knows_your_telos": True,      # AS: it knows YOU
    "acts_across_your_life": True, # AS
    "trusted_with_autonomy": True, # AS3: the trusted companion
}
def maturity(c):
    if c["trusted_with_autonomy"] and c["acts_across_your_life"] and c["knows_your_telos"]:
        return "AS3"
    if c["knows_your_telos"] or c["acts_across_your_life"]:
        return "AS1"
    if c["uses_tools"] or c["runs_loops"]:
        return "AG2"
    return "CH1"
level = maturity(caps)
print("STEP 1: score maturity from capabilities")
for k, v in caps.items():
    print(f"  {k:22} {v}")
print(f"  -> level = {level}  (target is AS3, the Trusted Companion)")

# STEP 2: the Algorithm. Seven phases, one correct order. We execute them and log
# the order they ran, then check it against the canonical sequence.
CANONICAL = ["OBSERVE", "THINK", "PLAN", "BUILD", "EXECUTE", "VERIFY", "LEARN"]
ran = []
def phase(name):
    ran.append(name)
for p in CANONICAL:          # a correct run walks them in order
    phase(p)
print("")
print("STEP 2: run the Algorithm phases")
print(f"  ran: {' -> '.join(ran)}")

# STEP 3: invariants. Maturity scored to AS3 from the capability set, the seven
# phases ran, and they ran in exactly the canonical order (OBSERVE first, LEARN
# last, nothing skipped or swapped).
level_ok = level == "AS3"
order_ok = ran == CANONICAL
count_ok = len(ran) == 7
observe_first = ran[0] == "OBSERVE"
learn_last = ran[-1] == "LEARN"
print("")
print(f"STEP 3: maturity scored to AS3        : {level_ok}")
print(f"        7 phases ran in exact order   : {order_ok and count_ok}")
print(f"        OBSERVE first, LEARN last     : {observe_first and learn_last}")

ok = level_ok and order_ok and count_ok and observe_first and learn_last
print("")
print(f"MATURITY SCORED AND ALGORITHM ORDERED (level from capabilities, 7 phases in order): {'YES' if ok else 'NO'}")
if not ok:
    sys.exit(1)
print("You have set up LifeOS end to end and can run it as a daily operating system. That is the course.")
Runnable lab
lm8-maturity-and-algorithm.py

Score a capability set to a maturity level and prove the seven Algorithm phases run in the correct order.

Proves: MATURITY SCORED AND ALGORITHM ORDERED (level from capabilities, 7 phases in order): YES

Open the notebook

Runs in your browser via Pyodide. First run loads the runtime once; no install, no server.

That is the complete setup, the Miessler way: install by handing the work to your AI, name your DA, give it identity and a quantified personality, capture your TELOS in two parts, run the interview, migrate the rest of you, and run it all through the Algorithm as a daily operating system, upgrading as you go. You started with a placeholder called PAI. You finish with a named companion that knows your why and hill-climbs your life from current state toward ideal state. Everything else, as Miessler says, is mechanics.
Check your understanding
  1. 1. What is the target level on the PAI Maturity Model?

  2. 2. What are the seven phases of the Algorithm, in order?

  3. 3. What standard does an ISC (Ideal State Criterion) meet?