Important
This is the future of software installation.
In 2026 and beyond, software doesn't get installed by humans copying commands. It gets installed by your DA assistant, who reads the documentation, understands your system, asks you questions, and customizes the installation for your specific needs.
You can install PAI manually if you want—the instructions are below. But PAI is designed to be installed by your DA. Give your DA this file and let it guide you through a personalized wizard.
You are about to help your principal install PAI (Personal AI Infrastructure). This is an interactive process where you'll explain concepts, ask questions, and customize the installation based on their needs.
You are not just copying files. You are:
- Explaining what PAI is and why it matters
- Asking questions to understand their needs
- Customizing the installation for their specific setup
- Guiding them through each step with clear explanations
- Verifying everything works before declaring success
Follow this flow, using your platform's question/prompt tools (like AskUserQuestion in Claude Code) to make it interactive:
Start by explaining PAI to your principal:
What is PAI?
PAI (Personal AI Infrastructure) is open-source scaffolding for building a personalized AI system. Not a chatbot—a system that knows your goals, remembers your context, and gets better at helping you over time.
Most powerful AI setups are built inside companies for companies. PAI democratizes that—giving everyone access to the kind of AI infrastructure previously available only to the privileged few.
How is PAI different from other AI tools?
Unlike plugins, extensions, or simple prompts, PAI is a complete infrastructure layer:
- Memory — Your DA remembers past sessions, decisions, and learnings
- Skills — Specialized capabilities that route intelligently based on context
- Hooks — Event-driven automation that responds to what's happening
- Security — Layered protection for your data and commands
- Goals — Deep understanding of what you're trying to accomplish
Other tools give you features. PAI gives you a foundation to build your AI system.
Ask your principal these questions to understand their environment:
Question 1: Which AI platform are you using?
- Claude Code (Recommended)
- Cursor
- Windsurf
- OpenCode
- Other / Custom
Question 2: Where should PAI be installed?
- Default:
~/.claude(recommended for Claude Code) - Custom location (ask them to specify)
Question 3: What's your experience level with AI tools?
- New to AI assistants
- Comfortable with chatbots, new to agentic AI
- Experienced with AI coding assistants
- Advanced / Building my own AI systems
This helps you calibrate how much explanation to provide.
PAI offers three installation paths. Explain each and help them choose:
Option A: Full Release Install (Recommended)
The fastest path to a working system. You get a complete, pre-configured
.claude/directory with all infrastructure packs already installed.Best for: First-time users, fresh setups, or when you want PAI working immediately.
Option B: Bundle + Manual Packs
The Bundle wizard creates a skeleton directory structure. You then install each pack manually in order. This gives you understanding of how the system is built.
Best for: Users who want to learn the system as they build it, or need customization.
Option C: Individual Packs
Install only specific capabilities you need. Maximum flexibility, minimum overhead.
Best for: Experienced users adding specific features to existing setups.
Ask: How would you like to proceed?
- Full Release Install (Recommended) — Complete working system in 5 minutes
- Bundle + Manual Packs — Build understanding as you install each pack
- Individual Packs — Cherry-pick specific capabilities
If they chose the PAI Bundle, explain what's included:
The PAI Bundle includes:
| Pack | What It Does |
|---|---|
| pai-hook-system | Event-driven automation — the foundation everything else builds on |
| pai-core-install | Identity, skills routing, system configuration, and memory system |
| pai-agents-skill | Dynamic agent composition with personality traits and voices |
| pai-voice-system | Spoken notifications via text-to-speech (optional) |
| pai-browser-skill | Web automation for testing and verification |
| pai-observability-server | Real-time dashboard for monitoring agent activity |
Ask: Ready to install the PAI Bundle?
- Yes, install everything
- Tell me more about each pack first
- I want to customize which packs to include
For each pack being installed:
- Read the pack's INSTALL.md in
Packs/[pack-name]/INSTALL.md - Follow its specific wizard flow — each pack has its own questions
- Run its verification from
VERIFY.md - Confirm success before moving to the next pack
Installation order matters. Install in this sequence:
- pai-hook-system (foundation - hooks enable everything else)
- pai-core-install (identity, skills, memory system)
- pai-agents-skill (agent composition - requires core)
- pai-voice-system (optional - TTS notifications)
- pai-browser-skill (optional - web automation)
- pai-observability-server (optional - monitoring dashboard)
After installation, verify the system works:
- Check directory structure — Confirm
$PAI_DIR/skills/,$PAI_DIR/hooks/, etc. exist - Test hooks — Restart the AI session and confirm hooks fire
- Test a skill — Try invoking a simple skill
- Check history — Confirm sessions are being captured
Report results to your principal clearly.
After successful installation, guide them on what to do next:
- Explore your new system — "Ask me to show you what skills are available"
- Customize your identity — Edit
$PAI_DIR/skills/CORE/USER/files - Set up your goals — Configure TELOS for deep goal tracking
- Learn the workflows — Ask about specific capabilities
If you prefer to install PAI yourself without AI assistance:
- Bun runtime installed
- An AI coding assistant (Claude Code, Cursor, etc.)
- Git
# Clone the repository
git clone https://github.com/danielmiessler/PAI.git
cd PAI/Releases/v2.4
# Back up your existing Claude Code configuration (if any)
[ -d ~/.claude ] && mv ~/.claude ~/.claude-backup-$(date +%Y%m%d)
# Copy the complete PAI installation
cp -r .claude ~/
# Run the configuration wizard
cd ~/.claude && bun run PAIInstallWizard.tsThe wizard will ask for your name, DA name, timezone, and voice preferences. After completion, restart Claude Code to activate hooks.
Shell support: Works with both bash and zsh. The wizard auto-detects your shell and writes to the appropriate config file.
If you prefer to build understanding as you install:
# Clone the repository
git clone https://github.com/danielmiessler/PAI.git
cd PAI/Bundles/Official
# Run the Bundle wizard (creates skeleton only)
bun run install.ts
# Then install each pack manually IN ORDER:
# 1. pai-hook-system
# 2. pai-core-install
# 3. pai-statusline
# 4. pai-voice-system (optional)Warning: The Bundle wizard alone does NOT create a working system. You must install the required packs afterward.
Each pack in Packs/ has its own installation:
# Example: Install just the history system
cd Packs/pai-history-system
# Read INSTALL.md and follow instructions
# Or give the directory to your DAAfter installation, your PAI directory will look like:
$PAI_DIR/
├── skills/ # Capability modules
│ └── CORE/ # Core identity and routing
├── hooks/ # Event-driven automation
├── MEMORY/ # History, learnings, state
│ ├── History/
│ ├── Learning/
│ └── Signals/
└── settings.json # Configuration
Hooks not firing?
- Restart your DA session after installation
- Check
settings.jsonhas the hooks registered - Verify hook files exist in
$PAI_DIR/hooks/
Skills not routing?
- Confirm
CORE/SKILL.mdexists and is readable - Check that SessionStart hook loads context
Need help?
- GitHub Discussions
- README for full documentation
Traditional software installation is a series of commands you copy and paste, hoping nothing goes wrong. When something breaks, you're on your own.
AI-first installation is different:
- Context-aware — Your DA understands your existing setup before making changes
- Interactive — You're asked questions, not given a one-size-fits-all script
- Adaptive — Installation adjusts based on your answers and environment
- Verified — Your DA confirms things work, not just that commands ran
- Explained — You understand what's being installed and why
This is how software should be installed in 2026 and beyond. Not copying commands. Having a conversation with an AI that customizes the system for you.
PAI isn't just built this way—PAI believes all software should be built this way.