explaingit

danielmiessler/personal_ai_infrastructure

13,334TypeScriptAudience · generalComplexity · 3/5Setup · moderate

TLDR

A personal setup that gives an AI assistant persistent knowledge about your goals, skills, and projects so every conversation is context-aware rather than starting from scratch, built on top of Anthropic's Claude.

Mindmap

mindmap
  root((Personal AI Infra))
    Core Layers
      PAI skills
      Pulse dashboard
      Digital assistant
    Key Concepts
      Ideal State Artifact
      Algorithm framework
      Goal gap analysis
    Content
      40+ skills
      170+ workflows
      Hooks and memory
    Setup
      Claude required
      Single curl install
      Plain text storage
Click or tap to explore — scroll the page freely

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

Things people build with this

USE CASE 1

Give an AI assistant a persistent profile of your goals and projects so it gives advice tailored to your specific situation rather than generic answers.

USE CASE 2

Use the Ideal State Artifact framework to define what 'done' looks like for a creative or writing project, then let the AI help you work toward each criterion.

USE CASE 3

Run a local Pulse dashboard that shows all your goals and in-progress work in one place, updated by your AI assistant.

Tech stack

TypeScriptMarkdown

Getting it running

Difficulty · moderate Time to first run · 1h+

Requires Anthropic's Claude as the AI backend, upgrading from older versions requires reading a migration guide due to substantial architecture changes in version 5.

In plain English

Personal AI Infrastructure (PAI) is a configuration and tooling system that the author describes as a "Life Operating System." The idea is to give an AI assistant persistent knowledge about who you are, what you care about, and what you are trying to accomplish, so that AI interactions become more useful and personalized over time rather than starting fresh every conversation. The system has three layers. The first is PAI itself: a collection of skills, memory files, configuration files, and a framework called the Algorithm that structures how the AI approaches your goals. The Algorithm works by capturing your current state and your ideal state, then breaking down the gap between them into phases and discrete steps. The second layer is Pulse, a local dashboard that runs at localhost:31337 and shows your goals, ongoing work, and daily life information in one place. The third is the Digital Assistant (DA), which is the voice and personality layer you actually talk to. A central concept is the ISA, or Ideal State Artifact. This is a structured document that captures what "done" looks like for any creative or intellectual task, similar to a product requirements document in software but general enough to apply to design, writing, strategy, or any other kind of work. The system breaks the ideal state into discrete criteria that can be checked off as the AI helps move toward completion. PAI is designed to run on top of Claude (the AI from Anthropic) and is installed by running a setup script. The repository ships with over 40 skills, more than 170 workflows, and dozens of hooks. It stores everything in plain text and Markdown files rather than databases, so your data stays readable and portable. The project is built in TypeScript and is open source. It is primarily a personal tool for individuals, though the author notes the same architecture could work for teams or organizations. Installation is a single curl command for new users, though upgrading from older versions requires reading a migration guide because version 5 changed the architecture substantially.

Copy-paste prompts

Prompt 1
I've installed Personal AI Infrastructure. Help me create an Ideal State Artifact for launching a side project, listing the discrete criteria that define it as complete.
Prompt 2
Using PAI's Algorithm framework, analyze the gap between my current state and my ideal state as a freelance consultant and break it down into phases and steps.
Prompt 3
Create a new PAI skill that tracks my weekly reading goals and surfaces missed sessions at the start of each conversation.
Open on GitHub → Explain another repo

← danielmiessler on gitmyhub — every repo by this author, as a profile.

Verify against the repo before relying on details.