项目简介
PAI 是一款生活操作系统,通过 AI 捕捉用户状态并助力达成理想目标,集成了统一 Pulse 守护进程、数字助理身份层及结构化技能与工作流。
README 预览
\n\n\n \n \n \n\n\n\n\n\n# Personal AI Infrastructure\n\n[](https://github.com/danielmiessler/Personal_AI_Infrastructure)\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n[](#-installation)\n[](Releases/v5.0.0/)\n[](Releases/v5.0.0/.claude/PAI/ALGORITHM/v6.3.0.md)\n[](Releases/v5.0.0/.claude/PAI/PULSE/)\n[](https://github.com/danielmiessler/Personal_AI_Infrastructure/graphs/contributors)\n\n\n[](https://claude.ai)\n[](https://www.typescriptlang.org/)\n[](https://bun.sh)\n[](https://danielmiessler.com/upgrade)\n\n\n\n**Overview:** [What PAI Is](#what-pai-is) · [Principles](#principles) · [Features](#features)\n\n**Get Started:** [Installation](#-installation) · [Releases](Releases/) · [Packs](Packs/)\n\n**Resources:** [FAQ](#-faq) · [Roadmap](#-roadmap) · [Community](#-community) · [Contributing](#-contributing)\n\n\n\n[](https://youtu.be/Le0DLrn7ta0)\n\n**[Watch the full PAI walkthrough](https://youtu.be/Le0DLrn7ta0)** | **[Read: The Real Internet of Things](https://danielmiessler.com/blog/the-real-internet-of-things)**\n\n---\n\n\n\n> [!IMPORTANT]\n> **PAI v5.0.0 — Life Operating System** — the biggest release in PAI history. PAI is no longer "AI scaffolding" — it's a **Life Operating System** with the unified **Pulse** daemon (Life Dashboard at `localhost:31337`), a **DA** (Digital Assistant) identity layer, **Algorithm v6.3.0** (Current State → Ideal State, seven phases, classifier-driven mode + tier), the **ISA** primitive (universal "ideal state" articulation), 45 skills, 171 workflows, 37 hooks, and structural privacy via containment zones.\n>\n> **[v5.0.0 release notes →](Releases/v5.0.0/README.md)** | **[All releases →](Releases/)**\n>\n> **One-line install:** `curl -sSL https://ourpai.ai/install.sh | bash`\n>\n> Upgrading from v4.x? This is a different system, not a patch. Read the [migration guide](Releases/v5.0.0/README.md#migration-guide-from-v4x) first.\n\n\n\n# AI should magnify everyone—not just the top 1%.\n\n\n\n## What PAI Is\n\nPAI is a Life Operatin
常见问题 (5)
故障排除当EvalServer/cli.ts文件丢失时如何运行Evals?
EvalServer 文件夹是一个意图的架构,从未建立过,实际的入口点是 skills/Evals/Tools/AlgorithmBridge.ts. Run: npx ts-node skills/Evals/Tools/AlgorithmBridge.ts -s <suite>。
故障排除为什么在安装 v5.0.0 后在 Claude Code 中没有出现技能?
在 v5.0.0 中,许多技能描述超过了 650 个字符的软限制,导致它们因技能列表代币预算而被默默放弃。 要修复,请打开 Claude Code settings.json 并增加 skillListingBudgetFraction (例如,到 0.02) 和 skillListingMaxDescChars (例如,到 2000)。
故障排除为什么在 PAI v5.0.0 中配置自定义语音后,算法阶段公告仍然使用默认语音?
这是 v5.0.0 中的回归,其中一个硬编码的 voice_id 'fTtv3eikoepIosk8dTZ5' 被重新引入到算法模板的弯曲命令中。 为了修复,请在阶段公告弯曲中从负载中删除 'voice_id',只留下 'voice_enabled': true。
故障排除为什么PAI仪表板显示404或模块无法在Linux/案例敏感文件系统上加载?
这是因为PAI路径字符串如“PAI/Pulse”是用混合案例硬编码的,但实际目录是 uppercase(PAI/PULSE)。在 case-insensitive macOS上它起作用,但在Linux上它破坏了。 修复:升级到解决此问题的版本(PR合并后#1175,#1259,#1273,#1267)。 为了立即解决问题,在PULSE.toml中设置绝对“dashboard_dir”: [可观察性] dashboard_dir =“/home/<user>/.claude/PAI/PULSE/Observability/out”。
security vulnerabilityKitten Tab-setter 锁中是否存在命令注入漏洞,以及如何修复它?
是的,在 v4.0.3 之前的版本中,通过 execSync 在 hooks/lib/tab-setter.ts 中出现了壳注的风险。 升级到 v4.0.3 或更高版本(对于稳定版本)或等待 v5.1.0 (这也解决了即将到来的分支中的问题)。 修复将 execSync(string) 替换为 execFileSync(array) 以避免壳解读。 此外, Socket path 验证和原始 JSON 解析将取代 jq 管道。 例如: execFileSync('kitten', ['@',--to=${socketPath', 'set-title', 标题]。 如果您更新,则无需手动工作