
Personal AI Infrastructure (PAI)
github.com/danielmiessler/personal_ai_infrastructure- Category
- AI Agents
- Rank
- No. 67Tools index
- Type
- APP
- Builder
- danielmiessler
- GitHub
- 19.0k stars
- Latest release
- v7.40.4
- Date
About
Daniel Miessler's agentic AI infrastructure for magnifying human capability — a personal framework of agents, context, and automations.
What it does
LifeOS turns an AI coding harness into a persistent personal workspace. It stores goals, identity, contacts, preferences, decisions, and learned context, then routes requests through bundled skills and hooks. Installation scaffolds private user data separately from the runtime, adds configuration without replacing existing values, and can activate optional services such as dashboards and background jobs.
Why it's ranked here
The project shows unusually serious installation engineering for a personal AI setup. Dry runs, conflict scans, backups, atomic configuration writes, and explicit permission gates reduce common setup risks. The verdict is still mixed for casual users because it depends on another capable AI harness, requires Bun, and treats several valuable capabilities as optional components or future work.
What's good
Existing user files win during setup, while settings and hooks merge additively. Installers refuse known development trees, report missing payloads as blockers, and detect case-insensitive skill collisions before mixing directories. Security hooks scan outgoing tool data for credential patterns and frame attacker-writable web, mail, drive, calendar, inbox, and Dropbox content as untrusted data.
Tradeoffs
This is infrastructure around an AI harness, not a standalone assistant or model runtime. Claude Code is the most-tested path despite broader harness detection. Local-model support, granular model routing, remote access, outbound calling, and external notifications remain roadmap items. Some background components rely on launchd, and the documented one-line terminal installer is limited to macOS and Linux.
How to use it well
It best suits people already living in a capable coding harness who want durable personal context, repeatable skills, safety hooks, and automated maintenance across many sessions. Start with core installation and version-controlled backups, then opt into services only when their operational value is clear. It does not replace the underlying harness, provide current local-model execution, or serve as a simple prompt collection.
Technical notes+
LifeOS/Tools/DetectEnv.ts emits JSON describing OS, harness, display, SSH, Bun, Git, and prior-install state. LifeOS/Tools/ScanConflicts.ts reports existing hooks, populated user context, skill-name collisions, and API-key provider names without emitting values. LifeOS/Tools/DeployCore.ts performs additive deployment, scaffolds runtime memory directories, installs shared and nested Bun dependencies, and avoids overwriting populated targets. LifeOS/Tools/InstallSettings.ts and LifeOS/Tools/InstallHooks.ts back up configuration before atomic writes through LifeOS/Tools/lib/atomic-write.ts. LifeOS/install/hooks/Safety.hook.ts classifies permission requests, scans MCP payloads for secret shapes, annotates attacker-writable responses, and fails open on internal errors.
Observed
- License
- MIT License
- Primary language
- TypeScript, with Bash also used by the project
- Runtime requirement
- Requires Bun and a capable AI coding harness
- Packaging
- Installs as one self-contained skill bundling the broader library
- Install surface
- AI-guided prompt installation, plus a one-line terminal shortcut for Claude Code on macOS and Linux
- Harness detection
- Detects Claude Code, OpenCode, Hermes, Cursor, and OpenClaw
- Tool interface
- Bun CLI entry points use dry-run and apply modes and emit JSON reports
- Platform detection
- Environment detection recognizes macOS, Linux, and Windows
Read from README.md, LifeOS/Tools/LinkUser.ts, LifeOS/Tools/DetectEnv.ts, LifeOS/Tools/SeedPulse.ts, LifeOS/Tools/DeployCore.ts, LifeOS/Tools/InstallHooks.ts, LifeOS/Tools/ScaffoldUser.ts, LifeOS/Tools/InstallEngine.ts, LifeOS/Tools/ScanConflicts.ts, LifeOS/Tools/ActivateImports.ts, LifeOS/Tools/InstallSettings.ts, LifeOS/Tools/DeployComponents.ts, LifeOS/Tools/lib/atomic-write.ts, LifeOS/install/hooks/Safety.hook.ts.
Comments (0)
No comments yet
Editorially curated, with community endorsements as a secondary signal. Corrections welcome.