Tip
π v0.2.4 Released! - README Cleanup & Organization
Click to see all updates
π October 6, 2025 - README Cleanup & Organization (v0.2.4)
- π Collapsed Updates: Implemented two-level collapsing structure for updates section
- π― Better Navigation: Reduced visual clutter with nested
<details>
tags - π§Ή Issue Management: Closed PR #24 (voice system) after recent system changes
- π Space Optimization: Updates section now takes minimal vertical space
- β Accessibility: All information still accessible through intuitive collapse/expand
π October 2, 2025 - Voice System Update
- ποΈ Zero-Cost Voice System: Migrated from ElevenLabs API to macOS native Premium/Enhanced voices
- π° No API Costs: 100% offline voice synthesis using built-in macOS neural TTS
- π High-Quality Voices: Uses Premium voices (Jamie, Ava, Serena, Isha) and Enhanced voices (Tom, Oliver, Samantha)
- π Complete Privacy: All voice processing happens locally, no cloud services
- βοΈ Centralized Config: Voice settings managed via
voices.json
configuration file - π Browser Tools Update: Switched from Playwright to Chrome DevTools MCP for web automation
π September 28, 2025 - Complete Visibility & Portability Update (v0.2.3)
- π Directory Renamed:
.claude
βPAI_DIRECTORY
for better visibility - π Vendor Agnostic: Works with any AI vendor (Claude, GPT, Gemini, etc.)
- ποΈ No More Hidden Files:
.zshrc
βzshrc-aliases
.env-example
βenv-example
- π§ Dynamic Paths: All hardcoded paths replaced with
${PAI_DIR}
- π Consistent Config:
.env
now lives in${PAI_DIR}/.env
- π Issues Fixed: #20 (env location) and #21 (hardcoded paths)
- β Full Portability: Install PAI anywhere, everything just works
π September 26, 2025 - Hooks System Update
- πͺ Hooks Sanitized: Updated all hook files to be public-ready with no sensitive data
- π§ Path Portability: All hooks now use
${PAI_DIR}
variable for installation-agnostic paths - π― Session Management: Updated session-start-hook for proper initialization
- ποΈ Voice Integration: Enhanced stop-hook with intelligent voice responses and tab titles
- π Subagent Support: Improved subagent-stop-hook for agent-specific voice notifications
- π Dynamic Loading: Updated load-dynamic-requirements wrapper for proper context loading
- π Ready for Distribution: All hooks verified clean and ready for public PAI distribution
π September 25, 2025 - Voice Output Format & Bug Fix
- π― Mandatory Format: Enforced structured response format for voice integration
- π Voice System: Fixed voice notification system breaking due to inconsistent output
- π Field Name Fix: Fixed stop-hook.ts sending wrong field names (
text
/voiceId
βmessage
/voice_id
) - π Response Structure: All responses now use mandatory emoji headers with COMPLETED line
- πͺ Hook Integration: COMPLETED line properly triggers voice notifications with correct field names
- β‘ Consistency: Format applies to all responses, even simple answers
- π Documentation: Added comprehensive voice-system.md documentation
- π Context Updates: Updated both local and PAI CLAUDE.md files with strict enforcement
π September 24, 2025 - DA Environment Variable
- π€ DA Variable: Separated Digital Assistant name and color configuration
- π¨ DA_COLOR Variable: Color now configurable via
DA_COLOR
environment variable - π Clean Separation:
DA
handles the name,DA_COLOR
handles the display color - π¨ Color Options: purple (default), blue, green, cyan, magenta, yellow, red, orange
- βοΈ Configuration: Add to
.zshrc
:export DA="YourAssistantName" # Defaults to "Assistant" export DA_COLOR="purple" # Choose your color
π September 22, 2025 - v0.2 Release
- π Human 3.0: Added link to projects fit together blog post
- π Badges: Fixed purple color and stats display issues
- π Documentation: Improved table formatting and structure
- β¨ Polish: Enhanced README readability and navigation
- π§ Fixes: Minor formatting and display improvements
π September 21, 2025 - v0.1 Release
- π Release: Published v0.1 - Initial public release
- π Voice: Hardened the voice server
- π Portability: PAI_HOME support eliminates hardcoded paths
- π Docs: Comprehensive documentation under
${PAI_DIR}/documentation/
- π Dynamic: MCP detection via
settings.json
- ποΈ Architecture: Complete system documentation with examples
π Previous Updates
September 20, 2025
- π£οΈ Added
/voice-server
with ElevenLabs integration - π§ Fixed hardcoded path issues
- πͺ Working on missing hooks
September 12, 2025
- π§ Dynamic resource loading system
- β‘ Submit-user-hook for context loading
- πΊοΈ Dynamic routing via load-dynamic-requirements
Core Mission: Augment humans with AI capabilities so they can survive and thrive in a world full of AI.
It doesn't matter how powerful AI becomes if it's not in the hands of everyone on Earth.
Right now, AI is trapped behind corporate APIs, expensive subscriptions, and complex interfaces that only developers can use. Meanwhile, billions of people who could benefit from AI augmentationβartists, teachers, small business owners, researchers, parentsβare left behind.
PAI exists to solve this. This project's goal is to give the most powerful AI capabilities, in the form of a complete platform, to everyone on Earth. Not just the tech elite. Not just the wealthy. Everyone.
graph TB
You[π€ You] --> PAI[π§ PAI/Kai]
PAI --> Work[πΌ Work]
PAI --> Life[π Life]
Work --> Blog[π write-blog]
Work --> News[π get-newsletter-stats]
Work --> Site[π get-site-analytics]
Work --> Consult[πΌ create-consulting-document]
Life --> Finance[π° answer-finance-question]
Life --> Memory[π get-life-log]
Life --> Alert[π send-text-alert]
Life --> Health[π₯ track-health-metrics]
Blog --> Output[β¨ Augmented Output]
News --> Output
Site --> Output
Consult --> Output
Finance --> Output
Memory --> Output
Alert --> Output
Health --> Output
style You fill:#24283b,stroke:#7aa2f7,stroke-width:2px,color:#c0caf5
style PAI fill:#1a1b26,stroke:#bb9af7,stroke-width:3px,color:#c0caf5
style Work fill:#24283b,stroke:#9ece6a,stroke-width:2px,color:#c0caf5
style Life fill:#24283b,stroke:#ff9e64,stroke-width:2px,color:#c0caf5
style Output fill:#1a1b26,stroke:#f7768e,stroke-width:3px,color:#c0caf5
PAI is an open-source, full personal AI platform that's completely agnostic to who you are and what you're trying to accomplish.
Think of PAI as your personal AI that actually knows youβall your projects, your style, your dataβand can handle anything you throw at it. Whether you're an artist transitioning to independence, a founder building a company, or someone managing complex health needs, PAI becomes whatever you need it to be.
PAI is part of the journey toward Human 3.0βwhere humans are augmented by AI to amplify their capabilities.
π Learn how PAI fits into the Human 3.0 vision
Finance Intelligence
Memory & Conversations
Health Tracking
|
Content Creation
Business Analytics
Development
|
Knowledge Capture
Communication
Productivity
|
This system is designed from the very beginning to be available to anybody and to grow and scale with you throughout your life.
- π Open Framework: No vendor lock-in, complete transparency, you own everything
- π Universal: Works for anyone, anywhere, in any profession or life situation
- π€ Platform Independent: Core structure works with Claude, GPT, Gemini, or any AI platform
- π§ Persistent Memory: Your AI remembers every context, project, and conversation
- π― Task Agnostic: From writing a blog to tracking medical data to running a business
- π Plain Text: All configuration in human-readable files you can edit and understand
- π Extensible: Add your own commands, agents, and integrations
π Read the full technical deep-dive on PAI
graph TD
User[π€ You] --> Hooks[πͺ Dynamic Hooks]
Hooks --> UFC[π UFC Context System]
Hooks --> Commands[β‘ Custom Commands]
UFC --> Projects[π§ Projects]
UFC --> Life[π Life Context]
UFC --> Work[πΌ Work Context]
Commands --> MCPs[π MCP Servers]
Commands --> Agents[π€ AI Agents]
Commands --> APIs[π API Integrations]
MCPs --> Playwright[π Browser Automation]
MCPs --> Stripe[π³ Payment Processing]
MCPs --> Analytics[π Analytics]
Agents --> Output[β¨ Augmented Actions]
APIs --> Output
MCPs --> Output
style User fill:#1f2937,stroke:#10b981,stroke-width:2px,color:#e5e7eb
style Hooks fill:#111827,stroke:#8b5cf6,stroke-width:2px,color:#e5e7eb
style Output fill:#111827,stroke:#ef4444,stroke-width:2px,color:#e5e7eb
|
Features:
|
Note
These are examples from my setup. Your PAI will have completely different commands based on YOUR unique needs. The possibilities are infinite!
πΌ Professional:
|
π Personal:
|
π 60+ commands ready to use out of the box
Important
These agents are examples. You'll create your own specialized agents for YOUR specific workflows - artists might have creative agents, doctors might have diagnostic agents, teachers might have curriculum agents. The system adapts to YOU.
Agent | Purpose | Tools | Use Case |
---|---|---|---|
π Researcher | Deep web research | WebSearch, WebFetch | Information gathering |
βοΈ Engineer | Production code | Testing, Debugging | Software development |
π¨ Designer | UX/UI design | Figma, shadcn/ui | Interface creation |
π Pentester | Security testing | Nmap, Burp | Vulnerability assessment |
ποΈ Architect | System design | Diagrams, PRDs | Technical planning |
Enhanced with:
- ποΈ ElevenLabs voice synthesis
- β‘ Task parallelization
- π Deep tool integration
π₯ Context Loading Hooks:
|
π§ Integration Hooks:
|
π Browser & Testing
|
π³ Financial
|
π Analytics
|
π¬ Communication
|
Note
PAI was originally built with Claude Code, but the architecture supports any AI platform (GPT, Gemini, etc.) Requires Bun JavaScript runtime for the current implementation.
# Install Bun (JavaScript runtime)
brew install oven-sh/bun/bun
# Get Claude Code (AI interface)
# Visit: https://claude.ai/code
# Clone the PAI repository
git clone https://github.com/danielmiessler/PAI.git
cd PAI
# Note: PAI_DIRECTORY is now visible by default
ls -la # See all files including PAI_DIRECTORY
Important
You MUST configure the PAI_DIR variable to point to your PAI installation directory. This makes the PAI system completely agnostic to your installation location.
# Add to your shell config (~/.zshrc or ~/.bashrc)
# Replace /path/to/PAI with YOUR actual PAI installation path
export PAI_DIR="/path/to/PAI/PAI_DIRECTORY" # Point to the PAI_DIRECTORY in your PAI installation
export PAI_HOME="$HOME" # Your home directory
# Example (adjust to YOUR installation path):
# export PAI_DIR="$HOME/Projects/PAI/PAI_DIRECTORY"
# export PAI_DIR="$HOME/Documents/PAI/PAI_DIRECTORY"
# export PAI_DIR="/Users/yourname/PAI/PAI_DIRECTORY"
# Reload your shell configuration
source ~/.zshrc # or source ~/.bashrc
# Copy environment template to PAI_DIRECTORY
cp ${PAI_DIR}/env-example ${PAI_DIR}/.env
# Add your API keys (optional)
vim ${PAI_DIR}/.env
# Add: OPENAI_API_KEY="your_key_here" (if using GPT integration)
# Navigate to PAI directory
cd ${PAI_DIR}
# Optional: Set up voice notifications (macOS only)
# Download Premium/Enhanced voices from System Settings β Voice (Live Speech)
# Then start the voice server:
cd voice-server && bun server.ts &
# See documentation/VOICE-SETUP-GUIDE.md for detailed setup instructions
# Open Claude Code and start using PAI!
# Your personal AI infrastructure is ready π
# Required - MUST be configured for PAI to work properly
PAI_DIR="/path/to/PAI/PAI_DIRECTORY" # PAI's PAI_DIRECTORY (system agnostic)
PAI_HOME="$HOME" # Your home directory
# Optional API Keys
OPENAI_API_KEY="your_key" # GPT integration (optional)
PORT="8888" # Voice server port (default: 8888)
# Digital Assistant Customization
DA="YourAssistantName" # Your AI assistant's name (default: "Assistant")
DA_COLOR="purple" # Display color (purple, blue, green, cyan, etc.)
Tip
Why PAI_DIR is Important: The PAI_DIR variable makes the entire PAI system portable and installation-agnostic. All commands, contexts, and hooks reference ${PAI_DIR}
instead of hardcoded paths. This means you can install PAI anywhere on your system, and as long as PAI_DIR points to your PAI_DIRECTORY
, everything will work seamlessly.
π Guide | π― Purpose | β±οΈ Time |
---|---|---|
Quick Start | Get up and running | 5 min |
Architecture | Understand the system | 10 min |
SECURITY.md | Security guidelines | 5 min |
Voice Server | Enable voice interaction | 10 min |
Commands Directory | Browse all commands | 15 min |
[!IMPORTANT] These are examples from my personal PAI setup. Your system will have completely different commands based on YOUR unique needs, workflows, and goals. The beauty of PAI is that it becomes whatever YOU need it to be.
π Newsletter Performance# Track newsletter metrics in real-time
get-newsletter-stats
# Returns subscriber growth, open rates, top content π Startup Dashboard# Monitor all key metrics
get-site-analytics # Traffic and conversions
get-finances-state # Revenue tracking
add-linear-ticket # Development velocity π Code Security# Security automation
check-for-sensitive --scan all
design-review --security-focus
browser-tools-setup --headers π API Infrastructure# Personal API management
update-daemon --endpoints
create-cloudflare-mcp-server
update-tools-context --integrations
startup-context-load π Blog Pipeline# End-to-end content creation
web-research "emerging AI trends"
extract-knowledge --key-points
write-blog --style personal --length 1500
enhance-content --seo --readability
publish-blog --schedule tomorrow π¨ Visual Content# Create stunning visualizations
create-d3-visualization --data metrics.json
create-custom-image "futuristic AI assistant"
create-mermaid-visualization --type flowchart |
π Expense Analysis# Instant financial insights
answer-finance-question "monthly utilities average?"
answer-finance-question "subscription spending?"
process-finances-data --categorize --visualize π Financial Planning# Comprehensive financial overview
get-finances-state
prepare-finances-dashboard
push-finances-state --notify π Meeting Recall# Never forget a conversation
get-life-log "investor meeting last week"
get-life-log "product roadmap decisions"
query-context "action items from standup" π Knowledge Building# Build your second brain
capture-learning --source conference
extract-knowledge --summarize
learn-from-iterations --improve
query-context "machine learning notes" νΏ Morning Automation# Start your day right
get-life-log "yesterday's highlights"
query-context "today's priorities"
send-text-alert "heading to office"
reset-visitor-peak # Reset daily counters π§ Smart Communication# Intelligent outreach
send-email --template followup
send-discord-alert --channel team
add-links --resource documentation
update-public-content |
π¨ Creative Portfolio# Manage artistic work
track-project-progress "oil painting series"
generate-artist-statement --style contemporary
update-portfolio-website --new-pieces
schedule-gallery-submission --deadline friday π· Photography Business# End-to-end photography workflow
process-shoot-metadata --wedding-2024-09
generate-client-gallery --password-protected
send-invoice --client johnson-wedding
backup-raw-files --cloud-storage π€ Music Production# Creative music workflow
track-song-ideas --voice-memo-to-text
generate-chord-progressions --key-of-c
schedule-studio-time --next-available
export-stems --for-mixing ποΈ Client Management# Wellness practice automation
track-client-progress --weekly-checkin
generate-meal-plans --dietary-restrictions
send-motivation-message --personalized
schedule-follow-up --in-two-weeks π¬ Research Pipeline# Academic workflow
search-literature --keywords "machine learning ethics"
organize-citations --zotero-import
generate-literature-review --outline
track-experiment-results --statistical-analysis π‘ Property Management# Real estate automation
analyze-market-trends --neighborhood-data
generate-property-reports --comparative-analysis
schedule-showings --calendar-optimization
send-client-updates --weekly-digest |
PAI is MIT licensed. See LICENSE for details.
"Humans are what matter. AI is only as useful as it is to people. A system like this is need to level the field with AI and help us get to Human 3.0."
Created by Daniel Miessler
π§ Newsletter β’ π Blog β’ πΌ LinkedIn β’ π¬ YouTube