{"id":47281652,"url":"https://github.com/kawayiyokami/p-ai","last_synced_at":"2026-05-31T07:02:26.977Z","repository":{"id":337831494,"uuid":"1155372026","full_name":"kawayiYokami/P-ai","owner":"kawayiYokami","description":"A ready-to-use self-growing desktop AI assistant for long-running tasks, memory, agents, tool reviews, MCP, and high-concurrency workspace automation. / 开箱即用的自我成长型桌面 AI 助理，面向长期任务、记忆、部门协作、工具审查、MCP 与高并发工作区自动化。","archived":false,"fork":false,"pushed_at":"2026-05-24T09:43:09.000Z","size":15660,"stargazers_count":48,"open_issues_count":0,"forks_count":11,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-05-24T11:27:02.807Z","etag":null,"topics":["agent","ai-agent","ai-agents","ai-assistant","desktop-ai-assistant","desktop-app","mcp","pai","productivity","rust","tauri","vue","windows"],"latest_commit_sha":null,"homepage":"https://github.com/kawayiYokami/P-ai","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kawayiYokami.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":"AGENTS.md","dco":null,"cla":null}},"created_at":"2026-02-11T12:45:43.000Z","updated_at":"2026-05-24T09:43:13.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/kawayiYokami/P-ai","commit_stats":null,"previous_names":["kawayiyokami/easy-call-ai","kawayiyokami/p-ai"],"tags_count":147,"template":false,"template_full_name":null,"purl":"pkg:github/kawayiYokami/P-ai","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kawayiYokami%2FP-ai","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kawayiYokami%2FP-ai/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kawayiYokami%2FP-ai/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kawayiYokami%2FP-ai/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kawayiYokami","download_url":"https://codeload.github.com/kawayiYokami/P-ai/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kawayiYokami%2FP-ai/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33722156,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-05-31T02:00:06.040Z","response_time":95,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["agent","ai-agent","ai-agents","ai-assistant","desktop-ai-assistant","desktop-app","mcp","pai","productivity","rust","tauri","vue","windows"],"created_at":"2026-03-16T01:23:34.084Z","updated_at":"2026-05-31T07:02:26.948Z","avatar_url":"https://github.com/kawayiYokami.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# P-ai（PAI）\n\n[![License: GPL v3](https://img.shields.io/badge/License-GPLv3-blue.svg)](LICENSE)\n[![Tauri 2](https://img.shields.io/badge/Tauri-2-24C8D8?logo=tauri)](https://tauri.app)\n[![Vue 3](https://img.shields.io/badge/Vue-3-4FC08D?logo=vue.js)](https://vuejs.org)\n[![Rust](https://img.shields.io/badge/Rust-000000?logo=rust)](https://www.rust-lang.org)\n[![Release](https://img.shields.io/badge/Release-0.9.69-6366f1)](https://github.com/kawayiYokami/P-ai/releases)\n\n**Languages / 语言**\n[简体中文](README.md) | [繁體中文](docs/readme/README.zh-TW.md) | [English](docs/readme/README.en-US.md) | [日本語](docs/readme/README.ja-JP.md)\n\n---\n\n\u003e **A self-growing desktop AI work system — ready-to-use, long-running, with agent delegation, memory, tool review, MCP, and high-concurrency workspace automation.**\n\u003e\n\u003e **开箱即用的自我成长型桌面 AI 工作系统 — 部门委派、长期记忆、工具审查、MCP、高并发工作区自动化。**\n\n---\n\nPAI 是一个持续演进中的桌面 AI 工作系统。它不是一个聊天客户端，而是一套围绕会话、任务、记忆、部门、工具、审查、远程消息组织起来的完整桌面系统。底层用 Rust 异步并发和流式架构保证响应速度，前端用 Vue 3 + DaisyUI 保持简洁界面。所有数据本地存储，不经过中间服务器。\n\n### 入口与效率\n\n快捷键呼出、语音唤醒、后台语音输入、快速截图——PAI 把桌面 AI 的入口做到了「随时呼出、随时处理、随时继续」。支持本地会话、远程会话、多会话并行，快捷指令可以一键触发常用操作。\n\n### 组织与人格\n\n多种部门和人格可以独立配置，每套人格带头像、带私有记忆。任务和会话按部门、身份、职责分开，本地会话支持多 Agent 同时群聊，远程会话支持微信、飞书、钉钉、OneBot 等协议。\n\n### 界面与交互\n\nUI、对话样式、配色、字体都可以自定义，多窗口并行展开。响应速度快，界面干净但不简陋。\n\n### 能力与工具\n\n预设了完整的能力集：LLM 可以执行操作脚本控制电脑、主动发表情；常见 Skill 已经内置；支持全面图转文、PDF 和 Office 原生阅读；工具修改可回退；工具执行和代码修改可以多角度 AI 审查。API 供应商接入做了简化，开箱即用。\n\n### 记忆与上下文\n\n长对话会动态精简归档，单会话可以长期延续，上下文通过持续压缩和整理保持有效。记忆系统成本低、覆盖面全，AI 会越用越懂你。\n\n### 工程与可靠性\n\n高性能、支持并发、响应快。本地会话支持消息投送、会话分支、人工发起委托；远程会话支持收发文件和图片。内置主动计划模式、委托系统、人物系统，LLM 可以自主管理 MCP、技能、人格和部门。工具执行有审查链，代码修改可以多角度校验。\n\n---\n\n### 真实使用场景\n\n以下不是假设，是实际发生的事：\n\n- 从 v0.8 开始，PAI 被用来开发 PAI 自身超过 1 个月，期间产生了 407 次提交、496 个文件变更\n- 有用户持续用 PAI 处理财经问题和新闻舆论监督，超过 3 个月\n- 有用户通过微信远程联系人，用 PAI 生产小红书文案，超过 3 个月，累计更新上千条发布\n- 有用户用 PAI 分析研究论文超过 2 个月，并在此基础上发表了多篇论文\n- 有用户用 PAI 定时爬取网络资料，累计超过 500M\n- 有用户让 PAI 连续工作 20 小时执行一个编程任务，自行审查、自行解决、自行查阅网络资料，最终通过\n- 有用户长期用 PAI 制作游戏攻略\n- 有用户长期用 PAI 操作游戏完成日常任务\n- 有用户同时开启数十个会话，用 PAI 同时监控多个网络频道\n- 长期使用后，用户普遍反馈越用越顺，AI 越来越懂自己\n\n---\n\n### 项目数据\n\n- 872 次提交，116 个版本发布\n- 79 份计划文档\n- 前后端跨 Vue、Rust、Tauri 2 持续演进\n- 本地会话、远程会话、记忆、审查、委派、多窗口、工作区能力均已落地\n\n---\n\n## 技术栈\n\n- 桌面壳：Tauri 2\n- 后端：Rust（异步，tokio）\n- 前端：Vue 3 + TypeScript + Vite\n- UI：DaisyUI + Tailwind CSS\n- 包管理：pnpm\n\n## 平台与更新\n\n当前发布策略：\n\n- Windows：NSIS 安装版 + zip 便携版（`PORTABLE` 标记），应用内自动更新\n- Linux：`.deb` / `AppImage`，保留发布链路\n\n## 数据与隐私\n\n- API Key 保存在本地，不经过任何中间服务器\n- 对话、任务、归档、记忆、媒体全部本地存储\n- 便携版数据在可执行文件同级 `data/`，U 盘即插即用\n- 你可以自行管理、导出、清理所有数据\n\n## 适合谁\n\n- 想把 AI 真正放进桌面工作流的开发者\n- 不满足于\"只会聊天\"的 AI 工具的人\n- 需要长期任务推进、而不是一次一清的人\n- 希望 AI 有审查能力、不是盲目放权的人\n- 对 AI 组织化协作有想象力的人\n\n## 快速开始\n\n从 [Releases](https://github.com/kawayiYokami/P-ai/releases) 下载安装版或便携版。\n\n安装后主要文件位置：\n\n- 可执行文件：`/usr/bin/p-ai`\n- 桌面启动项：`/usr/share/applications/p-ai.desktop`\n- 图标：`/usr/share/pixmaps/p-ai.png`\n- 默认数据目录：`~/.config/p-ai/`\n\n## 致谢\n\n这个项目能走到今天，依赖这些优秀的上游项目与社区：[Tauri](https://tauri.app/) · [Vue 3](https://vuejs.org/) · [DaisyUI](https://daisyui.com/) · [Tailwind CSS](https://tailwindcss.com/) · [rust-genai](https://github.com/jeremychone/rust-genai) · [rmcp](https://github.com/modelcontextprotocol/rust-sdk) · [Shiki](https://shiki.style/) · [Mermaid](https://mermaid.js.org/) · [KaTeX](https://katex.org/) · [markstream-vue](https://www.npmjs.com/package/markstream-vue) · [tokio](https://tokio.rs/) · [reqwest](https://github.com/seanmonstar/reqwest) · [rusqlite](https://github.com/rusqlite/rusqlite) · [tantivy](https://github.com/quickwit-oss/tantivy) · [Linux.do](https://linux.do/) · [AstrBot](https://github.com/AstrBotDevs/AstrBot)\n\n项目作者还为 AstrBot 生态开发了三款插件：[AngelHeart](https://github.com/kawayiYokami/astrbot_plugin_angel_heart)（智能群聊交互） · [AngelMemory](https://github.com/kawayiYokami/astrbot_plugin_angel_memory)（层级记忆检索） · [AngelSmile](https://github.com/kawayiYokami/astrbot_plugin_angel_smile)（表情包管理）\n\n也感谢所有为本项目贡献想法、测试、反馈和代码的人。\n\n## 许可证\n\n本项目采用 [GNU General Public License v3.0](LICENSE)。","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkawayiyokami%2Fp-ai","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkawayiyokami%2Fp-ai","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkawayiyokami%2Fp-ai/lists"}