Personal AI Infrastructure

Magnify what
you're capable of.

PAI is an open-source Life Operating System — a framework on top of Claude Code. A dedicated Digital Assistant that knows who you are, what you're working toward, and moves you from your current state toward your ideal state. Continuously.

You at the center of a radial PAI network. Inner ring: PAI primitives (TELOS, MEMORY, SKILLS, HOOKS, AGENTS, VOICE). Outer ring: twelve specialist agents. Capabilities radiating outward.
01Where PAI sits

The context layer between you and the engines.

Bottom: Claude Code — the engine. Top: you — your life, work, and goals. PAI sits between them as the context layer that knows who you are and translates what you want into what the engine should do.

Claude Code is the engine. PAI is everything else that makes it yours.

Three-layer PAI architecture: Claude Code engine at the bottom, PAI context layer in the middle, and You (life, work, health, goals, relationships, creative, finances, learning) at the top, with context beams flowing upward through all three layers
02TELOS

Know who you are. Write it down. Pursue it.

TELOS is the context engine that captures the whole of you and translates it into action — your identity, your pursuit, and what you're learning. It reconciles where you are today with where you're trying to go, continuously, file by file. Your Digital Assistant reads TELOS before it does anything else.

The whole game: current state → desired state. Everything else is figuring out how to close the gap.

TELOS framework diagram — Current State (activity, consumption, financial, signals, snapshot, social) flowing through the TELOS engine (Identity / Pursuit / Learning columns) to Ideal State (health, creative, freedom, money, relationships, rhythms)
TELOS framework — Current State → Identity / Pursuit / Learning → Ideal State
IDENTITY
mission · beliefs · wisdom · models · narratives · frames
PURSUIT
goals · projects · strategies · challenges · problems · status
LEARNING
books · authors · ideas · sparks · predictions · learned
CURRENT STATE
activity · consumption · financial · signals · social · snapshot
IDEAL STATE
health · creative · freedom · money · relationships · rhythms
CONTEXT
meetups · restaurants · food · movies · bands · civic
50+ filesacross identity · pursuit · learning · current · ideal · context
03The Statusline

Your life, always on-screen.

PAI renders a live statusline at the top of every terminal — refreshed every second. Five Life OS dimensions tracked toward your Ideal State. Context loaded, token spend, git state, rating sparklines across 15m / 1h / today / week / month.

The same picture your DA sees when it helps you — visible to you the moment you open a shell.

HEALTH
sleep · movement
CREATIVE
writing · building
FREEDOM
autonomy · time
RELATIONS
family · friends
FIN
income · runway
PAI statusline showing live health/creative/freedom/relations/fin percentages, context bar, loaded files, usage burn, learning histograms, and a rotating aphorism
pai statusline — live refresh · terminal-native · always on
04Memory

Continuous learning. Not stateless chat.

A well-designed system with a mediocre model will outperform a brilliant model with poor scaffolding. Every time. PAI's memory is the scaffolding. Three tiers (hot / warm / cold), signals captured from every interaction, corrections that become rules, preferences that become defaults. The system stops asking the same questions because it writes down your answers.

3 tiershot · warm · cold · phase-based learning
memory — feedback captured
you › Stop asking me — just pick the obvious path.
kai › Rating captured as 3. Pattern: permission-asking on reversible actions.
kai › Added rule to feedback memory. Next session will consult it on PLAN.
→ feedback_stop_asking_just_build.md · MEMORY.md indexed
05Agents

A team of a thousand. Working on your life.

The aspiration: a team of 1,000 or 10,000 people working for you on your personal and business goals. The reality: persistent assistant plus parallel specialists. Your DA is a friend, coach, mentor — not a stateless agent. When depth is needed it dispatches specialists in parallel, each with its own personality and voice, each scoped, each background.

persistentfriend · coach · mentor — not stateless
agents — parallel dispatch
you › Research this topic deeply. Four angles, independent sources.
TeamCreate → 4 researchers | claude · gemini · perplexity · grok
kai › Dispatched four researchers in parallel. Each in its own worktree, each scoped.
→ 4/4 returned · cross-checked · conflicts surfaced · synthesis ready
06Voice

Ambient awareness. Your DA has a voice.

ElevenLabs TTS on every response. Prosody enhancement so speech sounds natural — not the default robot. Named character voices per agent. You don't look at a chat window. You work, and your system tells you when something's done, when something's off, when a decision needs you.

ElevenLabsprosody-enhanced · per-agent voices
voice lane — live
[voice] Entering the Plan phase.
[voice] Design gallery ready — 80 concepts. Open it?
[voice] Deploy succeeded. ourpai.ai live.
[voice] Rating logged. Trending up across week.
07Primitives

What PAI is made of.

A small set of composable primitives, each you can read, fork, or replace. No black boxes. No vendor lock.

Foundation
  • Claude Code
  • TypeScript
  • Bun
  • Bash
Identity
  • TELOS (30+ files)
  • USER/SYSTEM separation
  • upgrade-safe customization
Execution
  • Skills (63)
  • Hooks (21)
  • Workflows (338)
  • Algorithm v3.6.0
Memory
  • 3-tier hot/warm/cold
  • phase-based learning
  • continuous signal capture
Surfaces
  • CLI
  • Terminal statusline
  • Voice (ElevenLabs)
  • Notifications (ntfy · Discord)
Security
  • policy hooks
  • no --dangerously-skip-permissions
  • containment zones
Installation
  • AI-based GUI installer
  • platform detection
  • identity wizard
License
  • MIT
  • open-source
  • self-hosted
08Install

Clone it. Run the installer. You're running PAI.

The GUI installer detects your system, installs prerequisites (Bun, Git, Claude Code), asks for your identity and preferences, and configures the repo into ~/.claude/. USER/ files are preserved on every upgrade.

install — v4.0.3
$ git clone https://github.com/danielmiessler/Personal_AI_Infrastructure.git
$ cd Personal_AI_Infrastructure/Releases/v4.0.3
$ cp -r .claude ~/ && cd ~/.claude && bash install.sh
$ source ~/.zshrc && pai

Upgrading from an earlier version? The installer auto-detects existing installs, merges settings non-destructively, and never overwrites your USER/ files or custom hooks.

09Community

People are building this with us.

PAI is open-source on GitHub. Star it, fork it, open an issue, send a PR. The list below is live — pulled from the repo right now.

Stars
Forks
Open issues