by mrpulor-gh
Nuphus — 本地优先的 AI Agent:真实桌面执行力 + 手机第二块屏幕。Local-first AI agent with real desktop execution and dual-device real-time sync.
# Add to your Claude Code skills
git clone https://github.com/mrpulor-gh/nuphusnuphus is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by mrpulor-gh. Nuphus — 本地优先的 AI Agent:真实桌面执行力 + 手机第二块屏幕。Local-first AI agent with real desktop execution and dual-device real-time sync. It has 50 GitHub stars.
nuphus's catalog security scan is still queued. You can run an instant dependency and prompt-injection check now with the "Scan for vulnerabilities" button above.
Clone the repository with "git clone https://github.com/mrpulor-gh/nuphus" and add it to your Claude Code skills directory (see the Installation section above).
nuphus is primarily written in Rust. It is open-source under mrpulor-gh on GitHub, so you can review or fork the full source.
Yes. SkillsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh nuphus against similar tools.
No comments yet. Be the first to share your thoughts!
Unlocks once the catalog security scan passes (runs nightly).
⚠️ Third-Party Software Notice
This skill is third-party open-source software developed and hosted independently on GitHub. SkillsLLM is an informational directory and does not control or maintain the underlying repository.
Any security checks, ratings, or warnings displayed by SkillsLLM are automated and limited in scope. They do not constitute a security certification or guarantee that the software is safe, error-free, or free from malicious code, vulnerabilities, compromised dependencies, or prompt-injection risks.
Review the source code, permissions, dependencies, and configuration before installing or running any third-party skill. Use is at your own risk. To the maximum extent permitted by applicable law, SkillsLLM is not liable for losses arising from third-party software.
The deep catalog scan for this skill is still queued. Run an instant dependency check now instead.
中文 | English
版本: 0.2.0 · 状态: Alpha(积极开发中) · 平台: Windows / macOS / Linux 技术栈: Tauri v2 · Rust · React 18 · TypeScript
Nuphus 是运行在你电脑上的 AI Agent——本地、私有、拥有真实的桌面执行力,手机是它的第二块屏幕。
它识别屏幕、操作鼠标键盘、控制窗口、读写文件、调度浏览器,把 LLM 的推理变成真实的自动化。数据留在本机,模型由你选择,Agent 替你做事情。
你在桌面发起的每一个会话,手机上都实时同步——同一份记忆、同一个 Agent、同一场对话,随时随地继续。
现有的 Agent 产品都在各自的边界内工作:
| 品类 | 代表 | 边界 |
|---|---|---|
| 编码 Agent | Cursor、Cline | 出不了 IDE |
| 聊天 Agent | OpenClaw | 在聊天软件里遥控 |
| 云端 Agent | Codex Computer Use | 在别人的虚拟机里 |
Nuphus 打破了这些边界。它不只是「帮你写代码」的工具——它是替代你日常工作的 Agent,并且你走到哪里,它跟到哪里。
Agent 的根本矛盾:推理需要智能,但重复执行需要确定性。让 LLM 每次都用 token 解决 85% 相同的任务,是对算力和时间的双重浪费。
Nuphus 的解法——让 LLM 推理一次,编译为工作流,之后零 token 重复执行:
用户意图 → LLM 推理探索一次(编译) → 确定性工作流 → ChatAgent 智能决策点接入 → 引擎重复执行
编译是一次性成本,换来的是确定性、可重复、极低边际成本的自动化。
典型场景:「每天下午 6 点备份我的项目文件夹到桌面」→ Nuphus 编译为工作流 → 此后每天自动执行,零 token、零对话。出门在外,手机上看一眼执行状态即可。
Nuphus 核心引擎用 Rust 构建,工具调用在毫秒级完成。延迟瓶颈在模型推理,不在引擎。
Agent 决策本身就是因果链——每一步依赖上一步的结果,桌面系统操作更应遵循串行逻辑。Nuphus 的并行体现在执行层:通过显式指令传递,它可以同时打开 Cline 修 bug、Claude Code 写测试、浏览器查文档——每个外部 Agent 有多少并行能力,Nuphus 就能调度多少并行。外部 Agent 拥有自己的上下文理解。Nuphus 在之上截图验证、阅读产出、汇总决策。
串行的是思考,并行的是执行。
Nuphus 直接安装在你的操作系统上,拥有原生级的屏幕感知和输入控制能力:
Nuphus 把「执行」和「掌控」分开:桌面是 Agent 的双手,手机是你的遥控器。
双通道自动切换:同一 WiFi 下手机直接连桌面(快、免费);离开局域网自动走中继(稳定、可靠),回来自动切回直连。
| 能力 | 说明 |
|---|---|
| 记忆系统 | 跨会话经验积累,SQLite 持久化 + FTS5 + 向量语义检索,越用越懂你 |
| 零编译扩展 | 知识库、技能、工作流、ui-maps 均为纯文本文件,放入 plugin/ 即生效 |
| 视觉感知三层 | 内置 OCR(零 API 消耗)→ 可配置视觉模型(复杂场景)→ 用户视觉引导(最灵活 fallback) |
一条命令完成安装,自动匹配当前平台的二进制(Windows x64 / macOS arm64 / Linux x64),无需下载安装包、无需 Node.js / Rust 环境:
# 全局安装(提供 nuphus 命令)
npm install -g @nuphus/nuphus-desktop
# 或免安装体验(不写入全局)
npx @nuphus/nuphus-desktop
安装完成后在终端输入 nuphus 即可启动。
首次安装体积较大(桌面应用含本地 OCR / 语音模型),请耐心等待。
面向不熟悉命令行的用户,无需命令行、无需 Node.js / Rust 环境:
.exe(NSIS 安装包,用户级安装,无需管理员权限).dmg.deb / .AppImage前置条件:
| 工具 | 版本 | 用途 |
|---|---|---|
| Rust | ≥ 1.78 | 核心引擎编译 |
| Node.js | ≥ 18 | Tauri 前端构建 |
| Tauri CLI | cargo install tauri-cli --version "^2" |
桌面应用开发 |
git clone https://github.com/mrpulor-gh/nuphus.git
cd nuphus
# 安装依赖(根目录 Tauri CLI + 前端依赖)
npm install
cd frontend && npm install && cd ..
# 启动桌面应用(开发模式,自动编译 Rust + 启动前端)
npx tauri dev
# 生产构建(输出安装包到 src-tauri/target/release/bundle/)
npx tauri build
根目录
npm run dev/npm run build为纯前端命令;桌面应用请使用npx tauri dev/npx tauri build。
首次启动会弹出 2 步引导(以上所有安装方式均适用):
也支持环境变量免配置启动:
QWEN_API_KEY="sk-xxx" npx tauri dev
同一 WiFi 下自动局域网直连;离开局域网自动走中继远程通道,全程免配置。
Nuphus 采用六层架构,自底向上,安全贯穿各层:
┌─────────────────────────────────────────────┐
│ Tauri 壳 │ ← 前端 UI + 系统级能力(通知、托盘、快捷键)
├─────────────────────────────────────────────┤
│ Runtime │ ← 统一主循环,三模式路由(Free / Plan / Workflow)
├─────────────────────────────────────────────┤
│ Agent │ ← Leader 决策 / ExecAgent 执行 / WorkflowAgent 设计
├─────────────────────────────────────────────┤
│ Transport │ ← 多 Provider 抽象层(主流 AI 厂商统一接入)
├─────────────────────────────────────────────┤
│ Tools / Memory / Workflow │ ← 执行基础设施
├─────────────────────────────────────────────┤
│ Security / Permissions │ ← 贯穿所有层的安全链(注入检测 / 权限分级 / 审核)
└─────────────────────────────────────────────┘
双端同步架构:
┌──────────┐ WebSocket 实时事件流 ┌──────────────┐
│ 手机 PWA │ ←──────────────────────→ │ 桌面 mobile │
│ (聊天/遥控)│ POST /message 共享入口 │ server(18772)│
└──────────┘ └──────┬───────┘
↕ 局域网直连(同 WiFi 自动) │ 共享会话/记忆/状态
┌──────────┐ ┌──────┴───────┐
│ 中继服务器 │ ←──── 远程通道(免费)────→ │ Nuphus 桌面 │
│ (不落盘) │ │ Agent 引擎 │
└──────────┘ └──────────────┘
手机端发消息走 submit_user_message(source="mobile"),与桌面共用同一 leader_agent / busy 锁 / 去重逻辑——双端是同一个 Agent 的两个界面,不是两个独立系统。断线自动指数退避重连,重连成功后重拉历史补齐间隙,不会丢消息。
数据流:用户输入 → Tauri 事件 → Runtime 路由 → Leader 决策 → task_dispatch → ExecAgent 执行 → 结果返回 → 前端展示(桌面与手机同步)
Nuphus 使用 TOML 配置文件,src/config/mod.rs::load_registry 按优先级搜索:
| 序号 | 路径 | 适用 |
|---|---|---|
| 1 | <exe_dir>/config.toml |
绿色版 / 便携部署 |
| 2 | ./config.toml |
开发 |
| 3 | ~/.config/nuphus/config.toml |
Linux/macOS 用户级 |
| 4 | ~/.nuphus/config.toml |
兼容旧版 |
| 5 | <AppData>/nuphus/config.toml |
Windows 桌面版首次启动自动生成 |
引导完成后可在「设置 → 模型」面板修改配置。API Key 加密存储:Windows 上经系统级 DPAPI 加密后写入本地 config.toml(
enc:v1:格式,绑定当前用户);macOS/Linux 暂以明文保存(依赖系统文件权限,OS 凭据链接入在路线图中)。请勿分享或提交该文件。
Nuphus 是一个社区驱动的开源项目。除了代码贡献,你还可以通过以下方式参与生态建设:
| 插件类型 | 说明 | 示例 |
|---|---|---|
| ui-maps | 任何软件的界面布局描述(按钮位置、窗口识别特征) | Photoshop 导出面板、企业 ERP 系统布局 |
| workflows | 可复用的工作流模板 | "每日备份项目文件夹"、"批量图片压缩" |
| skills | 领域方法论和操作指南 | "前端 UI 设计规范"、"特定框架的代码模式" |
| knowledge | 项目领域知识文档 | API 参考、配置说明、架构文档 |
所有插件均为纯文本文件(.md / .json),放入 plugin/ 对应目录即可被 Nuphus 加载。
Copyright © 2026 Nuphus Team · Apache License 2.0