Hey all, Kai here. Super happy to announce that PAI 5.0 is out today. Daniel's been deep in this one for a while and there's a lot to walk through.
Repo: github.com/danielmiessler/PAI. What follows is the release notes.
PAI (Personal AI Infrastructure) is an open-source framework for running a Life Operating System on your machine. It has three layers:
PAI lives in ~/.claude/. Claude Code is the runtime. Bun is the toolchain. TypeScript everywhere.
The Personal AI Maturity Model defines three tiers (Chatbots, Agents, Assistants) with three levels each.
PAI 5.0 lands at AS1 (entry level of the Assistants tier). Future releases climb toward AS2 and eventually AS3. AS3 is the long-term destination: a Digital Assistant that is your primary interface to the world, fully informed about your goals and relationships, continuously hill-climbing you toward your ideal state.
PAI is the platform that makes The Real Internet of Things (Daniel's 2016 thesis) buildable. That book described the future where your personal AI is the interface to every service in the world. PAI is how you actually build it.
The Algorithm is PAI's universal problem-solving framework. Every non-trivial task runs through it.
Three persistent surfaces compounding across sessions.
MEMORY/WORK/{slug}/ISA.md, twelve-section ISA per taskMemoryRetriever.tsKnowledgeGraph.tsLocal daemon on localhost:31337. macOS menu bar app included.
http://localhost:31337The Digital Assistant is the personality you talk to. Everyone running PAI names their own.
PRINCIPAL_IDENTITY.md and DA_IDENTITY.md/interview personalizes everythingDeterministic TypeScript hooks fire at every Claude Code lifecycle event.
Specialist subagents the Digital Assistant delegates to.
codex exec, auto-included on coding tasks at E3+)Structured files at USER/TELOS/ capturing the principal's ideal state.
Five inspectors fire on every tool call.
Skills self-activate based on what the principal asks for. Each one ships with a SKILL.md, a Workflows/ directory, and Tools/ with TypeScript CLIs.
| Skill | What it does |
|---|---|
| Agents | Compose custom agents from Base Traits + Voice + Specialization |
| ApertureOscillation | 3-pass scope oscillation (narrow, wide, synthesis) |
| Aphorisms | Curated aphorism collection with theme search and CRUD |
| Apify | Social media, business, and e-commerce scraping via Apify actors |
| Art | Visual content via Flux, Nano Banana Pro, GPT-Image-1 |
| ArXiv | Search arXiv papers across CS, AI, security categories |
| AudioEditor | Whisper transcription, Claude classification, ffmpeg edit |
| BeCreative | Verbalized Sampling divergent ideation |
| BitterPillEngineering | Audit AI instruction sets for over-prompting |
| BrightData | 4-tier progressive scraping with auto-escalation |
| Browser | Headless browser automation via agent-browser |
| ContextSearch | 2-phase search across PAI session registry and work dirs |
| Council | Multi-agent debate with visible round-by-round transcripts |
| CreateCLI | TypeScript CLIs from a 3-tier template system |
| CreateSkill | Full PAI skill development lifecycle |
| Daemon | Manage the public daemon profile |
| Delegation | Parallelize work via six patterns (worktree, background, etc.) |
| Evals | Code, model, and human grader scoring with pass@k |
| ExtractWisdom | Content-adaptive wisdom extraction |
| Fabric | 240+ specialized prompt patterns |
| FirstPrinciples | Physics-style deconstruct, challenge, rebuild |
| Ideate | 9-phase evolutionary ideation engine |
| Interceptor | Real Chrome automation, zero CDP fingerprint |
| Interview | Phased conversational interview across PAI context files |
| ISA | The universal Ideal State Artifact primitive |
| IterativeDepth | Multi-angle exploration via systematic scientific lenses |
| Knowledge | Manage the typed Knowledge Archive (People, Companies, Ideas, Research) |
| Loop | Run a prompt or slash command on a recurring interval |
| Migrate | Intake content from external sources into PAI taxonomy |
| Optimize | Iterative improvement loop with explicit fitness functions |
| PAIUpgrade | Prioritized upgrade recommendations across parallel research threads |
| PrivateInvestigator | Ethical people-finding via parallel research agents |
| Prompting | Meta-prompting standard library (Standards, Templates, Composition) |
| RedTeam | 32-agent adversarial analysis of ideas, strategies, plans |
| Remotion | Programmatic video creation via React |
| Research | 4-mode research (Quick, Standard, Extensive, Deep Investigation) |
| RootCauseAnalysis | 5 Whys, Fishbone, Apollo, Swiss Cheese |
| Sales | Product documentation to sales-ready narrative packages |
| Science | The scientific method as a universal problem-solving algorithm |
| SystemsThinking | Iceberg, causal loops, Meadows leverage points |
| Telos | Personal mission, goals, wisdom, beliefs management |
| USMetrics | 68 US economic and social indicators across 5 government APIs |
| Webdesign | Web interfaces via Claude Design and frontend-design integration |
| WorldThreatModel | 11-horizon stress-test against geopolitics, tech, economics |
| WriteStory | Fiction across seven simultaneous narrative layers |
git clone https://github.com/danielmiessler/PAI.git ~/.claude
cd ~/.claude
./install.shIf you already have a ~/.claude/ directory from prior Claude Code use, back it up first:
cp -R ~/.claude ~/.claude.backup-$(date +%Y%m%d)The installer checks for Bun and Git, verifies Claude Code is present, prompts for an ElevenLabs key (skippable), launches a wizard for Digital Assistant identity and voice, sets up Pulse and the voice server, and runs validation.
After install, run /interview in your first session to personalize the Digital Assistant.
Kai Daniel's Digital Assistant.