Personal AI Infrastructure

Magnify what
you're capable of.

PAI is an open-source comprehensive life management system. A dedicated Digital Assistant that knows who you are, what you're working toward, and moves you from your current state to your desired state — continuously, on hardware you own.

You at the center of a radial network. Inner ring: PAI primitives (TELOS, MEMORY, SKILLS, HOOKS, AGENTS, VOICE). Outer ring: twelve specialist agents (Engineer, Architect, Researcher, Analyst, Writer, Designer, Strategist, Advisor, Critic, Operator, Security, Coach) orchestrated on your behalf. Capabilities radiating outward: code, content, plans, research, designs, insights, decisions, automations.
01Where PAI sits

The context layer between you and the engines.

Bottom: AI agent systems like Claude Code, OpenCode, and Pi — the engines. Top: you — your life, work, and goals. PAI sits in between as the context-based life operating system that knows who you are and translates what you want into what the engines should do.

The harness fades into infrastructure. The DA becomes the interface.

Three-layer PAI architecture: AI agent systems (Claude Code, OpenCode, Pi) at the bottom, PAI context-based life operating system 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, quantified across five dimensions. Every minute.

PAI runs a statusline at the top of every terminal window. Real-time temperature, the five Life OS dimensions (Health, Creativity, Freedom, Relationships, Finances), loaded context files, token burn rate, learning histograms across 6m / 1d / 1mo, and a rotating aphorism. This is what your AI sees when it helps you — and what you see when 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, 60s 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 — signal captured
you › Stop asking me — just pick the obvious path.
kai › Sentiment hook works - captured your message just now as rating 3.
kai › Added mandatory immediate feedback to algorithm spec. No more silent hangs.
→ feedback rule saved · 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
Task — parallel research
you › Do extensive research on Claude Code team members on X.
[Task] Claude · Gemini · Perplexity · Grok — all in parallel
kai › Found thirteen Claude Code team members on X. Boris, Cat, and Ado are most active.
kai › Grok found Erik Schluntz and Jeremy Fox. Total fifteen handles confirmed.
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 — Kai speaking
[voice] Removed text-cleaner layer. Voice server handles all sanitization now.
[voice] Design gallery ready with 80 concepts. Want me to open it?
[voice] Cognitive Progress Loop diagram complete. Ten stages with central insight callout.
[voice] The Last Algorithm is now live on your blog.
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 (10 files)
  • USER/SYSTEM separation
  • upgrade-safe customization
Execution
  • Skills (63+)
  • Hooks (21)
  • Agents (14+)
  • Workflows (180+)
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