hope-agent is a free, open source ai interaction & interfaces project written in Rust and released under MIT. It has 1,864 GitHub stars, 168 forks and 18 open issues, and was last pushed 9 hours ago. On this registry it ranks #109 of 156 tracked projects in AI Interaction & Interfaces, with 5 head-to-head comparisons available. It gained 177 stars over the last 30 tracked days.

What is hope-agent?

Hope Agent is a local-first, cross-device desktop AI agent written in Rust that keeps long-term memory, pursues goals autonomously, dynamically orchestrates multiple agents, and can also run headlessly as a resident service, for individuals and teams who want an assistant that works on their own desktop, NAS, or cloud host.

What it is

Hope Agent is a personal AI agent built desktop-first and local-first, with a native GUI on macOS and a service mode for Linux and Windows (both currently experimental). Configuration, sessions, memory, attachments, skills, and logs default to ~/.hope-agent/, and API keys connect directly to model providers. The same core powers four entry points — Desktop, Server, Web, and ACP — so one set of sessions, memory, and task state follows the user across desktop, browser, and IM channels. The project ships provider templates, preset models, and one-click local model installation through Ollama, including local embeddings.

The concrete problem it solves is that a chat box is a poor place to hold long work. The README states the assistant must leave the chat window and become personal software that can be entrusted with work over time. Hope Agent replaces the single-turn assistant that forgets context every session and the setup ritual of building an environment, learning a CLI, and maintaining complex configuration before anything runs. Instead of answering and stopping, it defines a result, organizes execution, decides when to continue, and keeps working after the user walks away, inside the desktop AI agent ecosystem and alongside model providers such as Anthropic, Claude, Codex, and Gemini.

Key capabilities

  • Autonomous progress: Goal defines the final result and completion criteria, Workflow organizes phases, conditions, parallelism, multi-agent steps, Diff, Review, and verification, Loop resumes on fixed intervals, conditions, internal events, or model-chosen wake times, and Task shows live progress with budgets, pause, resume, and conservative recovery after abnormal exit.
  • Layered long-term memory: memory is organized by global, project, and Agent scope, with a compact Core that stays in context and detailed content retrieved through full-text and vector search, plus Fast / Deep Recall, idle-time consolidation, a Dream Diary, and incognito sessions that disable persistent memory.
  • Design space: one sentence or a reference image produces web pages, mobile prototypes, presentations, dashboards, posters, documents, emails, images, motion, audio, and interactive components, with export to HTML / PNG / PDF / PPTX / MP4 / ZIP and brand Design Token extraction from screenshots, URLs, Figma, or existing repositories.
  • Knowledge space: the user and the agent read and write real Markdown, with full-text and vector retrieval, backlinks, graph, atomic notes, reviewable AI cleanup suggestions, and binding to an existing Obsidian vault that syncs external changes.
  • Execution and connection: authorized control of the computer and browser on macOS, a controlled browser with live mirror, approval for side-effecting actions, a built-in MCP client covering major transports and OAuth 2.1, and Hooks on 20+ lifecycle events with command, HTTP, MCP, prompt, and agent handlers, layered configuration, and hot reload.
  • Cross-device handoff: sessions can be taken over or handed off between desktop, browser, and IM channels including Telegram, Discord, Slack, and Feishu, with images, voice, and files entering multimodal context and running replies mirrored in a stream.
  • Reliability boundaries: Docker sandboxing for high-risk commands and file writes, local configuration snapshots with one-click rollback, Guardian plus system service and subsystem watchdog for restart, diagnosis, and reconnect, and Bearer Token authentication with SSRF protection in server mode.

Who uses it and how

  • macOS users who want the full desktop experience, including desktop, window, menu, keyboard, and mouse control after authorization; Linux and Windows remain experimental.
  • Users without an account, API key, or terminal who pick a model matching their hardware and let the app complete Ollama installation, model download, provider registration, and switching.
  • Homelab and NAS owners who run hope-agent server on a NAS, home server, or cloud host, receiving an embedded Web GUI and reaching it under Bearer Token authentication.
  • Teams living in IM: Telegram, Discord, Slack, and Feishu carry conversations, with a Feishu workspace exposing 40+ tools across documents, multi-dimensional tables, cloud drive, wiki, approval, calendar, contacts, and recruiting.
  • Developers who attach the agent to an IDE through hope-agent acp, bind design projects to real repositories, or reuse skills compatible with the agentskills.io standard. Heavy users can configure multiple API keys per provider for automatic rotation.

Getting started

Platform installers are published on the Releases page, and self-hosting is documented under Docker. Server deployment uses hope-agent server for a NAS, home server, or cloud host, with hope-agent acp available as an IDE agent backend.

How it compares

The facts do not provide a list of paid products this project replaces, and they name no peer agent product, so Hope Agent stands alone in this registry. The named ecosystem entries — Anthropic, Claude, Codex, and Gemini — are model providers it integrates with rather than competing products.

When to use it — and when not to

A self-hoster must operate the server process or Docker deployment, keep ~/.hope-agent/ storage, and manage Bearer Token authentication, and anyone doing high-risk automation should expect to run the Docker sandbox. Users who want a fully managed hosted assistant, or who are unwilling to store sessions, memory, and skills on their own machine, should not pick it. The README excerpt provided here is truncated inside the installation section, so the download and self-hosting details beyond that point could not be verified.

project readme (upstream, from github) — read inline

Hope Agent

跨端交接、越用越懂你的桌面 AI 助手,也能服务化常驻、跑在云上
会记忆 · 能成长 · 能自主推进目标 · 会动态编排任务 · 在你所有的聊天里随叫随到

CI status macOS Linux (experimental) Windows (experimental) Web GUI Rust Tauri React License: MIT

简体中文 · English

在一个入口中组织项目、目标、工作流与长期任务


Hope Agent 是一个本地优先、桌面优先,也能服务化常驻的个人 AI Agent。它像成熟的桌面软件一样打开即用,又真正具备 Agent 的行动力:理解长期上下文、调用工具完成工作,并在你离开后继续可靠地推进目标。

Hope Agent 很早就开始探索桌面 AI Agent。 在桌面 Agent 还很少见、Codex 尚处早期形态的阶段,我们就已经开始构建这个项目。我们一直专注于产品本身,而不是制造声量。随着桌面 AI Agent 逐渐成为热门方向,越来越多产品开始探索相似路径,也印证了我们最初的判断:AI 助手终将走出聊天框,成为可以长期托付工作的个人软件。

目录

核心能力

🖥️ 开箱即用的桌面 Agent原生 GUI、丰富的 Provider 模板与预设模型,并支持本地模型一键安装。填入 API Key 或登录账号即可开始,不要求先搭环境、学命令行或维护复杂配置。
🧭 持续完成,而不只回答Goal 定义结果,Workflow 动态组织执行,Loop 决定何时继续。复杂任务可以在后台推进,并随时查看、暂停、恢复或调整。
🧠 长期记忆与知识空间跨会话记忆、按需召回、离线整理、用户画像与可复用技能逐步积累;知识空间让你和 AI 共同读写真实 Markdown,形成可追溯的第二大脑。
🎨 从想法到可交付设计设计空间从一句话或参考图生成网页、移动原型、演示文稿等 10+ 类产物,支持可视化微调、版本管理、多格式导出,并能继续交付到真实代码工程。
🛠️ 真正能够操作和执行在授权与审批下控制电脑和浏览器,运行命令、读写文件、调用 MCP、连接工作空间,并通过多 Agent 协作完成复杂工作。
🌐 跨端交接,随时在线Desktop / Server / Web / ACP 共用同一套核心;同一份会话、记忆与任务状态可以在桌面、浏览器和常用 IM 渠道之间继续。
🛡️ 本地优先、可控可靠数据默认保存在本机,模型请求直连 Provider;工具审批、Docker 沙箱、配置回滚、崩溃恢复与后台保活共同守住长期运行边界。

能力全景

🎨 设计与知识

🎨 设计空间从一句话或参考图生成网页、移动原型、演示文稿、仪表盘、海报、文档、邮件、图像、动效、音频与交互组件。生成过程实时预览,项目内置 AI 对话、元素微调、批注、撤销重做、设备预览、版本历史与产物库,可导出 HTML / PNG / PDF / PPTX / MP4 / ZIP。
🧩 设计系统到代码可从截图、网址、Figma 或现有代码仓库提取品牌设计系统,跨产物复用并导出多平台 Design Token 与代码交付包。设计项目可绑定真实仓库,把选定产物交给主对话实现到代码,并在代码变化后提示回灌设计稿。
🧠 知识空间 · 第二大脑AI 与你共同读写真实 Markdown 笔记,支持资料归档、全文与向量检索、双链、图谱、原子笔记和可审阅的 AI 整理建议。可绑定现有 Obsidian 库,外部改动实时同步;来源与 Evidence 保留回溯。

设计空间 · 从一句话生成可交付设计

知识空间 · AI 与你共同维护第二大脑

🧭 长期任务与自主执行

🎯 Goal · 朝结果持续推进给出最终目标和完成标准后,Agent 会持续拆解、执行、检查和推进。目标支持预算、进度、暂停与恢复;完成前经过保守审计并展示结果证据。
🧩 Workflow · 动态编排模型按任务需要组织阶段、条件、并行、多 Agent、工具、Diff、Review 与验证。每次执行都有持久记录,可暂停、恢复、取消,并在异常退出后保守恢复。
🔁 Loop · 按时间或事件继续支持固定间隔、条件、内部事件和模型自定唤醒时间;每轮既可继续当前会话,也可触发绑定 Goal 的 Workflow,并带预算、退避和无进展保护。
📋 Plan、Task 与后台任务复杂工作可以先形成可修改的计划,再用 Task 展示实时进度。耗时工具和子 Agent 可在后台运行,阶段结果逐步回到主对话,不必阻塞继续交流。

心智模型:Goal 定义最终结果,Workflow 负责一次具体执行,Loop 决定何时再次推进,Task 呈现当前进度,Mode 控制自主执行强度。它们可以组合,也可以独立使用。

🧠 记忆与成长

🧠 跨会话持久记忆记忆按全局、项目与 Agent 分层组织,精简 Core 稳定进入上下文,详细内容通过全文与向量检索按需取回,避免每轮重复塞入全部历史。
🔍 召回、整理与反省模型可按任务主动召回记忆;用户也可开启 Fast / Deep Recall。空闲时可整理重要内容、生成 Dream Diary,并从历史中提炼可审阅的沟通风格、工作习惯和长期偏好。
🛠 会成长的技能系统复杂任务完成后可以沉淀为技能草稿,经你审核后复用。技能支持条件激活、子 Agent 执行与工具白名单,并兼容 agentskills.io 标准。
💾 长对话与无痕模式渐进式上下文压缩保留长对话中的关键事实与工具调用关系;无痕会话则关闭长期记忆、跨会话感知与持久化旁路,结束后不保留会话数据。

🛠 工具与连接

🖱️ 电脑与浏览器控制在 macOS 授权后观察并操作桌面、窗口、菜单、键盘与鼠标;可控浏览器提供实时镜像,让你看到 Agent 正在访问和操作的页面。副作用动作统一经过审批。
👥 多 Agent 与自然语言定时通过预设团队或动态子 Agent 并行协作,结果自动汇总回主对话;也可以用自然语言创建定时任务,并把结果投递到指定 IM 渠道。
📁 Project 项目容器把相关会话、项目指令、记忆与共享文件组织在一起。上传文件自动提取文本,并按内容规模选择目录、内联或按需读取,控制上下文占用。
🔌 MCP 与 Hooks内置 MCP 客户端,覆盖主流 transport 与 OAuth 2.1;Hooks 可在 20+ 生命周期事件上接入 command / HTTP / MCP / prompt / agent 处理器,并支持分层配置与热重载。
🔧 工具箱与工作空间内置 AI 画图、语音与音乐音效生成、Web 搜索、bash、文件操作、Canvas、URL 预览与自诊断;飞书工作空间提供 40+ 工具,覆盖文档、多维表格、云盘、知识库、审批、日历、联系人和招聘。
📊 Dashboard + Recap统一查看成本、Token、活跃度、健康度、Plan 与长期任务状态;Recap 可复盘一段时间内的会话,生成多章节报告并导出独立 HTML。

数据大盘 · 集中查看用量、健康度和长期任务运行状态

🌐 桌面、服务与跨端

🖥️ 原生 GUI 与模型配置macOS 提供完整桌面体验,Linux / Windows 当前为实验性支持;界面支持多语言。内置主流 Provider 模板与丰富的预设模型,同一 Provider 可配置多把 API Key 自动轮换。
🦙 本地模型一键安装不需要账号、API Key 或终端,在设置中选择适合硬件的模型,即可完成 Ollama 安装、模型下载、Provider 注册与切换;本地 Embedding 使用同一套流程。
🤝 IM 渠道与会话交接接入 Telegram、Discord、Slack、飞书等常用 IM 渠道,图片、语音和文件可直接进入多模态上下文。会话可在桌面、浏览器与 IM 之间接管或交接,运行中的回复也能流式镜像到聊天工具。
🌐 独立服务与多种运行形态hope-agent server 可常驻 NAS、家用服务器或云主机,并内嵌完整 Web GUI;hope-agent acp 可作为 IDE 的 Agent 后端。不同入口共享同一套核心、会话、记忆与配置。

🛡 安全与可靠性

🔒 工具审批 + Docker 沙箱敏感工具调用进入统一审批,高风险命令和文件写入可选择在 Docker 沙箱中执行,降低高权限误操作的影响范围。
🏠 本地优先 · 零第三方中转配置、会话、记忆、附件、技能与日志默认保存在 ~/.hope-agent/,API Key 直连模型 Provider。服务模式提供 Bearer Token 鉴权与 SSRF 防护策略。
🛟 回滚、自愈与保活配置变更自动保存本地快照,可一键回滚;Guardian、系统服务与子系统 watchdog 负责异常重启、诊断和自动重连,让长期任务在故障后以可观察的方式恢复。

更完整的版本变化请查看 CHANGELOG.md,实现细节见 docs/architecture/。

快速开始

下载安装

📦 各平台完整安装包列表:Releases

🌏 访问不了 GitHub? 所有安装包同时镜像在 (Cloudflare R2,与 apt / dnf 软件源同域名),下面每个手动安装入口都给了镜像直链。桌面应用的自动更新也优先走这个镜像,GitHub 作为兜底。历史版本按 https://repo.hopeagent.ai/download/v/ 长期保留。

macOS
Homebrew(推荐)
brew tap shiwenwen/hope-agent
brew install --cask hope-agent

已经手动装过 Hope Agent.app?在 brew install 后面加 --adopt(接管同版本现有应用,不重新下载)或 --force(强制重下覆盖)。

手动安装(DMG)

到 Releases 下载 Hope.Agent_*.dmg,拖到「应用程序」即可。镜像直链:Hope.Agent_aarch64.dmg。

若启动时提示"已损坏"或"无法验证开发者",请在终端执行:

sudo xattr -cr /Applications/Hope\ Agent.app
sudo codesign --force --deep --sign - /Applications/Hope\ Agent.app

常规发布提供 Apple Silicon(arm64)原生构建。Intel Mac(x64)安装包由独立构建流程按需提供,请先确认目标版本的 Release 资产确有 x64 DMG;缺失时 Homebrew 和下载页不能提供该版本的 Intel 安装包。

启动方式
  • 桌面 GUI:Launchpad / 应用程序文件夹(点 Hope Agent 图标),或终端 open -a "Hope Agent" / hope-agent
  • 浏览器 Web GUI:打开桌面应用后访问 ;也可以运行 hope-agent server start,只启动服务、不打开桌面窗口
  • ACP(IDE 集成):hope-agent acp
Windows
Scoop(推荐)
scoop bucket add hope-agent https://github.com/shiwenwen/scoop-hope-agent
scoop install hope-agent
手动安装(installer)

到 Releases 下载 Hope.Agent_*-setup.exe 双击安装。镜像直链:Hope.Agent_x64-setup.exe。Windows 端尚未完成充分测试,欢迎反馈问题。

若启动时提示"由于找不到 MSVCP140_1.dll,无法继续执行代码"或类似缺失 VCRUNTIME140.dll / MSVCP140.dll,请安装 Microsoft Visual C++ 2015–2022 运行库(x64)后重启应用。

当前仅 x64。

启动方式
  • 桌面 GUI:Start 菜单点「Hope Agent」启动,或 PowerShell hope-agent
  • 浏览器 Web GUI:打开桌面应用后访问 ;也可以在 PowerShell / cmd 运行 hope-agent server start,只启动服务、不打开桌面窗口
  • ACP(IDE 集成):hope-agent acp
Linux
Arch Linux / Manjaro(AUR)
yay -S hope-agent-bin   # 或 paru / 任意 AUR helper

预编译二进制版(沿用 GitHub Release 的 .deb),不从源码编译。

Debian / Ubuntu(apt)
curl -fsSL https://repo.hopeagent.ai/pubkey.gpg | \
  sudo gpg --dearmor -o /usr/share/keyrings/hope-agent.gpg
echo "deb [signed-by=/usr/share/keyrings/hope-agent.gpg] https://repo.hopeagent.ai/apt stable main" | \
  sudo tee /etc/apt/sources.list.d/hope-agent.list
sudo apt update
sudo apt install hope-agent
Fedora / RHEL / CentOS(dnf / yum)
sudo curl -fsSL https://repo.hopeagent.ai/rpm/hope-agent.repo \
  -o /etc/yum.repos.d/hope-agent.repo
sudo dnf install hope-agent     # 或 sudo yum install hope-agent

历史命令 sudo dnf config-manager --add-repo … 在 dnf5(Fedora 41+)已经废弃,用上面的 curl 写法对 dnf4 / dnf5 / yum / zypper 都兼容。

openSUSE 用户:

sudo zypper addrepo https://repo.hopeagent.ai/rpm/hope-agent.repo
sudo zypper install hope-agent
手动安装(AppImage / deb / rpm)

到 Releases 下载(包名含架构后缀,按你的机器选 _amd64 / _arm64 或 .x86_64 / .aarch64):

  • AppImage:Hope.Agent_*.AppImage —— chmod +x 后直接运行。镜像:amd64 · aarch64
  • Debian / Ubuntu:Hope.Agent_*.deb —— sudo dpkg -i Hope.Agent_*.deb。镜像:amd64 · arm64
  • Fedora / RHEL:Hope.Agent_*.rpm —— sudo rpm -i Hope.Agent_*.rpm。镜像:x86_64 · aarch64

提供 amd64 (x86_64) 与 arm64 (aarch64) 两种原生构建,覆盖普通 PC、树莓派 4/5、Apple Silicon 跑 Asahi Linux、Graviton / Ampere 云主机。apt 与 dnf 都会按 dpkg --print-architecture / $basearch 自动选对版本。

启动方式
  • 桌面 GUI:应用菜单点「Hope Agent」启动,或终端 hope-agent
  • 浏览器 Web GUI:打开桌面应用后访问 ;也可以运行 hope-agent server start,只启动服务、不打开桌面窗口
  • ACP(IDE 集成):hope-agent acp
首次启动 & 自动更新
  1. 首次启动向导:选 Provider 模板 → 填 API Key / Codex OAuth 登录 → 开聊
  2. 桌面应用内置自动更新(优先读 repo.hopeagent.ai 镜像,GitHub Releases 兜底),应用内 设置 → 关于 检查更新并一键安装;或者直接在对话里说「升级」或「检查更新」。自动更新下载的安装包一律经内置公钥验签,镜像与 GitHub 走同一套校验(手动下载的安装包由系统安装,不经这道验签)
  3. 通过 Homebrew / AUR / Scoop 装的版本同样走应用内置 updater;包管理器视角的版本号会保持初装时的,不影响功能

要从手机或另一台电脑访问,在「设置 → 服务器」中设置 API Key,并把监听地址改为 0.0.0.0:8420;重启后访问 http://:8420。不要在没有鉴权的情况下把端口暴露到局域网或公网;公网使用请前置 HTTPS 反向代理,详见 Docker 部署指南。

自托管(Docker)

把 Hope Agent 跑在家用 NAS / VPS / homelab 上、用浏览器访问 Web GUI 的场景:

docker run -d \
  --name hope-agent \
  -p 127.0.0.1:8420:8420 \
  -v hope-data:/data \
  ghcr.io/shiwenwen/hope-agent:latest

容器跑起来后浏览器打开 ,按 Onboarding 向导配 Provider API Key。镜像覆盖 linux/amd64 + linux/arm64(含 Apple Silicon / 树莓派),随每次 Release Tag 自动构建。

要用 docker compose / 配合 Ollama 本地 LLM / 暴露到 LAN / 反向代理与 TLS / 升级流程,见 docs/deployment/docker.md。

开发者

git clone https://github.com/shiwenwen/hope-agent.git
cd hope-agent
pnpm install
pnpm dev:desktop       # 默认桌面开发(前端 + Rust 热重载)

# 其他常用命令
pnpm typecheck         # 前端类型检查(tsc -b)
pnpm lint              # Lint
pnpm tauri build       # 打生产包

桌面开发按需启用额外二进制,避免普通 UI / 业务开发等待不相关的 Rust crate:

命令 Browser Host Eval Sidecar 用途
pnpm desktop 按选择 按选择 交互选择以下模式
pnpm dev:desktop 不构建 不构建 默认 UI / 业务开发
pnpm dev:desktop:browser 构建 不构建 Chrome 插件联调
pnpm dev:desktop:eval 不构建 构建 评测功能开发
pnpm dev:desktop:full 构建 构建 完整桌面能力验证

默认命令底层执行 pnpm exec tauri dev --config src-tauri/tauri.dev.conf.json;一般使用上面的脚本,避免启动参数与可选组件约定漂移。生产 pnpm tauri build 仍会构建并打包 Browser Host 和 Eval Sidecar。

本地开发时如果想在浏览器里看“网页版”并实时刷新,运行 pnpm dev:desktop 后打开 http://localhost:1420。这是 Vite dev server,和 Tauri 窗口共用前端热更新;http://localhost:8420 是内嵌 HTTP/WS 服务提供的静态 Web GUI(来自 dist/ / embedded bundle),用于模拟打包后的浏览器入口,不会跟随源码 HMR。若本地 Server 开了 API Key,1420 页面请求 8420 可能返回 401,开发时可先在设置里临时清空 Server API Key 后重启。

运行模式

模式 启动方式 场景
桌面 GUI 双击图标 / pnpm dev:desktop 功能最全的入口:完整 GUI 体验,并内嵌 HTTP/WS 服务,桌面在用的同时可对外提供接入
Server + Web GUI(HTTP/WS) 通过 server start 子命令;server install 可注册成 launchd / systemd 开机自启 无 GUI 守护进程,24 小时在线,IM 渠道 / Cron 不断线;前端 React UI 通过 rust-embed 内嵌进 server 二进制,浏览器打开 http://:port 即得完整 Web GUI,手机 / 平板 / 任意电脑都能直连
ACP(stdio) 通过 acp 子命令 IDE 直连,兼容 ACP 协议的编辑器把 Hope Agent 当 agent 后端调

三种模式共用同一套 ha-core 核心逻辑;配置、会话、记忆全部落在 ~/.hope-agent/ 下。

生态一览

📦 模型 Provider 约 50 个模板 · 数百个预设模型
国际 · Anthropic · OpenAI · Codex · GitHub Copilot · Google Gemini · OpenRouter · Azure OpenAI · Groq · Together AI · Fireworks · Novita · Perplexity · xAI Grok · Mistral · Cohere
国内 · DeepSeek · Moonshot (Kimi) · 通义千问 (Qwen) · 豆包 (火山引擎) · 智谱 GLM · MiniMax · 小米 MiMo
本地 · Ollama · 任意 OpenAI 兼容端点
💬 IM 渠道 10+ 个 · Telegram · Discord · Slack · 飞书 · Google Chat · LINE · QQ Bot · Signal · iMessage · IRC · WeChat · WhatsApp
🌐 界面语言 10+ 种 · 简体中文 · 繁體中文 · English · 日本語 · 한국어 · Español · Português · Русский · العربية · Türkçe · Tiếng Việt · Bahasa Melayu

项目结构

Cargo Workspace 分层多 Crate 架构:kernel 能力在 ha-core,独立特征业务在特征 crate(ha-acp / ha-browser / ha-design / ha-mac / ha-mcp / ha-media / ha-pet / ha-updater / ha-vcs / ha-weather,随 crate 拆分继续迁出):

crates/
  ha-base/           基础设施底层(paths / logging / platform / security)
  ha-config-schema/  AppConfig 配置 wire 类型(纯数据定义)
  ha-core/           Rust 核心库(零 Tauri 依赖)— kernel 与大部分业务逻辑
  ha-acp/            ACP 特征 crate(stdio server 模式 + 外部 agent 控制面)
  ha-browser/        浏览器特征 crate(扩展 backend / CDP / browser 工具)
  ha-design/         设计空间特征 crate(artifacts 存储 + 编译/导出 + 三工具)
  ha-mac/            macOS 控制特征 crate(Accessibility / 截屏 / mac_control 工具)
  ha-mcp/            MCP 客户端特征 crate(McpManager / transport / OAuth / 两工具)
  ha-media/          媒体特征 crate(图/音生成 adapters + STT 引擎 + 两工具)
  ha-pet/            桌面宠物特征 crate(sprite 库 / 导入 / creator / 活动投影)
  ha-updater/        自升级特征 crate(依赖 ha-core,壳层 wire() 装配)
  ha-vcs/            VCS/本地执行特征 crate(git 控制平面操作 + Docker 沙箱机器 + SearxNG 部署)
  ha-weather/        天气特征 crate(依赖 ha-core,壳层 wire() 装配)
  ha-server/         axum HTTP/WS 守护进程(薄壳)
  ha-browser-host/   浏览器辅助进程
  ha-eval-spec/      评测协议(不依赖 ha-core)
  ha-eval/           评测 CLI
src-tauri/       Tauri 桌面 Shell(薄壳)
src/             React 19 + TypeScript 前端
skills/          内置技能(随应用发行)

跨模块约束与开发入口见 AGENTS.md,模块设计见 技术文档索引。

文档

  • 📖 使用手册 —— 面向用户的完整中文文档:安装上手、每项功能的用法与设置(English)
  • 🏗️ 技术文档 —— 架构设计与实现细节(面向开发者)

贡献

主分支处于活跃开发阶段,欢迎 issue / PR。贡献前请先读 AGENTS.md 的全局约束,再按改动范围读取对应文档;前端规范见 src/AGENTS.md。

常用命令:

pnpm dev:desktop                  # 默认桌面开发
cargo check --workspace              # Rust 依赖 / 类型检查
cargo test -p ha-base -p ha-config-schema -p ha-core -p ha-acp -p ha-browser -p ha-design -p ha-mac -p ha-mcp -p ha-media -p ha-pet -p ha-updater -p ha-vcs -p ha-weather -p ha-server   # 核心测试
node scripts/sync-i18n.mjs --check   # 检查翻译缺失

社区

  • 🐛 Issues — Bug 报告、功能请求
  • 💡 Discussions — 用法分享、想法讨论、提问答疑
  • ⭐ 如果 Hope Agent 帮到了你,欢迎在 GitHub 上点个 Star
  • 📮 路线图、正式文档站和更多社区渠道正在筹备中

致谢

  • Ollama:本地大模型一键安装能力建立在 Ollama 的本地运行时与 OpenAI 兼容端点之上;Hope Agent 仅作 GUI 层包装,Qwen / Gemma 等模型由 Ollama 模型库分发
  • ClawHub / SkillHub:为 Hope Agent 提供公开的 skill 搜索与发现来源
  • Tauri、axum、React、shadcn/ui、Streamdown、Radix UI 等开源基础设施
  • 所有为这个项目做过反馈、测试、提交 issue 的朋友

Star History

Star History Chart

License

MIT

Frequently asked questions

Is hope-agent free to use?

hope-agent is open source under the MIT licence. There is no licence fee and no seat count — you can self-host it or, where the project offers one, pay a vendor for a managed version instead.

What does hope-agent do?

🦭 会记忆、能持续推进目标、会动态编排多 Agent 的跨端桌面 AI 助手,也可服务化常驻 NAS / 云端 | A cross-device desktop AI agent with memory, autonomous goals, dynamic workflows, and headless deploy

What is hope-agent written in?

hope-agent is primarily written in Rust. Its source is publicly available at https://github.com/shiwenwen/hope-agent, and it has 1,864 GitHub stars.