shiwenwen/hope-agent
shiwenwen/hope-agent has 1,857 GitHub stars and 170 forks. GitHot measured -1 stars in 24 hours and -1 in 7 days. Last checked 2026-11-11 14:51 UTC. Last push 2026-11-02.
🦭 A cross-device desktop AI agent with memory, autonomous goals, dynamic workflows, and headless deployment | 会记忆、能持续推进目标、会动态编排多 Agent 的跨端桌面 AI 助手,也可服务化常驻 NAS / 云端
What you can do
- 🖥️ A desktop agent that just works - A native GUI, a broad set of provider templates and preset models, and one-click local model setup. Paste an API key or sign in—no runtime setup, CLI learning curve, or config sprawl required.
- 🧭 Completes work, not just replies - Goal defines the outcome, Workflow dynamically organizes execution, and Loop decides when to continue. Complex work can progress in the background while remaining visible, pausable, resumable, and adjustable.
- 🧠 Long-term memory and knowledge - Cross-session memory, on-demand recall, offline consolidation, user profiles, and reusable skills compound over time. Knowledge Space lets you and the AI read and write real Markdown together as a traceable second brain.
- 🎨 From an idea to a deliverable design - Design Space turns a prompt or reference image into 10+ artifact types, including websites, mobile prototypes, and presentations, with visual editing, version history, multi-format export, and handoff into a real codebase.
Measured star growth
- in 24h
- -1
- in 7 days
- -1
- in 15 days
- Collecting history
- in 1 month
- Collecting history
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
docs/user-guide/en/README.md
OriginalHope Agent User Guide
简体中文 · English
This is a complete user-facing manual that covers Hope Agent's installation, getting started, and the usage and settings for every feature. If you want to understand the code architecture and implementation details, see
docs/architecture/; for a quick tour of the product highlights, see the root README.md.
How to read this guide
- First time using it: read in order 01 · Getting Started → 02 · Models & Providers → 03 · Chat & Sessions, and you'll be up and running in ten minutes.
- Want a specific feature: jump straight to the matching chapter—each chapter is self-contained and can be read on its own.
- Want to change a setting: start with the "Settings navigation map" in 13 · Settings & Security; it tells you "which panel to go to for X".
- Ran into an unfamiliar term: see the Core concepts section at the bottom of this page.
Whenever the text mentions a slash command (such as
/goal), you can type it directly in the chat input box; whenever it mentions a settings panel, it lives under "Settings" in the bottom-left corner of the app; whenever it mentions a tool (such asexecornote_*), that is a capability the AI invokes automatically during a conversation—you usually don't need to trigger it by hand, but you can govern it in the permission settings.
What is Hope Agent
Hope Agent is a local-first, desktop-first personal AI assistant that can also run as a resident service. It opens and works like mature desktop software, yet has the real action-taking power of an Agent:
- It remembers—across sessions it remembers your preferences, project context, and long-term habits, understanding you better the more you use it;
- It grows—it distills complex tasks into reusable skills and turns your material into a second brain;
- It advances goals autonomously—you give it a goal, and it keeps breaking it down, executing, checking, and pushing it forward in the background;
- It can truly operate—under your authorization and approval, it runs commands, reads and writes files, controls the browser and your computer, and calls external tools;
- It's always on call—desktop, browser, and common IMs (Telegram / Feishu / Slack, etc.) share one set of sessions, memory, and configuration.
By default all data is stored on your own computer (~/.hope-agent/), and model requests connect directly to the Provider you configured, without passing through any third-party relay.
Chapter navigation
| Chapter | Contents | When to read it |
|---|---|---|
| 01 · Getting Started | Per-platform installation, the first-launch wizard, the three run modes, auto-update, and one-click local model install | You just got the app and want to get running fast |
| 02 · Models & Providers | Adding a Provider and API key, Codex sign-in, primary/fallback models, thinking effort and temperature, automatic failover, speech-to-text, media generation (images, speech, music, sound effects), web search | Configuring or switching models |
| 03 · Chat & Sessions | The chat interface, attachments and multimodal input, session management and search, incognito sessions, working directory, context compaction, and all slash commands | Everyday use of the chat features |
| 04 · Memory | The three memory tiers, auto-memory, on-demand recall, offline consolidation (Dreaming), user profile, and the correction loop | You want the AI to remember / forget certain things |
| 05 · Knowledge Space | Your second brain: creating a knowledge space, binding Obsidian, reading and writing notes, full-text and vector search, the backlink graph, and the AI chat panel | Managing notes and material |
| 06 · Design Space | Generating 10+ kinds of artifacts—web pages, prototypes, presentations, and more—from a sentence, an image, or a URL, with live preview, fine-tuning, versions, export, and handoff to code | Doing design and deliverable artifacts |
| 07 · Tools & Permissions | The built-in toolbox, the three permission modes, the approval dialog, protected paths and dangerous commands, the Docker Sandbox, browser control, and computer control | Governing the AI's operating permissions |
| 08 · Autonomous Tasks | Goals to define results, workflows to orchestrate execution, Loop for continued scheduled progress, Plan Mode, task progress, and execution modes | Letting the AI push work forward in the background over the long term |
| 09 · Multi-Agent & Scheduled Tasks | Sub-Agents, Agent Teams, natural-language / current-chat scheduling, run history, Worktrees, background jobs, and self-wakeup | Parallel collaboration and periodic tasks |
| 10 · IM Channels | Connecting Telegram / Discord / Slack / Feishu and more, multimodal, approvals, streaming mirror, and session handover | Using the AI inside chat tools |
| 11 · Connect & Extend | The MCP client and platform server, Hooks lifecycle hooks, and the skill system | Connecting external tools and customizing behavior |
| 12 · Projects & Insights | Project containers, Agent configuration, Dashboard cost and health, and Recap reports | Organizing work, reviewing, and managing cost |
| 13 · Settings & Security | The settings navigation map, changing settings by conversation (ha-settings), config backup and rollback, and security and reliability | Finding settings and understanding the security boundaries |
| 14 · Capability Evaluation | Run Goal, Workflow, asynchronous-task, and multi-Agent synthetic scenarios with real models; inspect completion, tools, time, tokens, cost, comparisons, and trends | Verifying that a model or core Agent capability remains stable |
Core concepts (all in one place)
Understanding the following groups of concepts will help you quickly make sense of the whole guide:
Three run modes—one core, three entry points:
- Desktop GUI: the most fully featured native app (full support on macOS, experimental on Windows / Linux), ready to use out of the box.
- Server + Web GUI:
hope-agent serverruns resident in the background (NAS / server / cloud host); open a browser to get the full web version, and phones and tablets can connect too. - ACP:
hope-agent acp, using Hope Agent as the AI backend for your IDE.
The five roles of autonomous execution (combine them or use each on its own):
- Goal—defines "what ultimately needs to be achieved and what counts as done".
- Workflow—handles "a single concrete execution", which can include stages, parallelism, multiple Agents, review, and verification.
- Loop—decides "when to push forward again" (on a schedule, a condition, or a time the model sets itself).
- Task—shows "the current progress".
- Execution Mode—controls "how aggressively it executes autonomously".
Three dedicated spaces:
- Memory—remembers important facts across sessions, split into Global / Project / Agent tiers and recalled on demand.
- Knowledge Space—a real Markdown note library that you and the AI read and write together, your "second brain".
- Design Space—a creative space for going from an idea to deliverable design artifacts.
Tools and approval—the AI actually operates your computer, files, browser, and external services through "tools"; sensitive operations enter an approval flow where you can confirm each time, always allow, or reject, and high-risk commands can even run inside a Docker Sandbox. Permissions have three modes: Default, Smart Approval, and YOLO (allow everything).
Local-first—by default, configuration, sessions, memory, attachments, skills, and logs all live in ~/.hope-agent/ on your machine; API keys connect directly to the model Provider; server mode provides Bearer Token authentication and SSRF protection.
Quick task lookup
| I want to… | Where to go |
|---|---|
| Switch to a different model / add a new API key | 02 · Models & Providers |
| Use a local model without internet | 02 · Models & Providers · Local models |
| Have the AI remember my preferences / forget something | 04 · Memory |
| Manage my notes, bind Obsidian | 05 · Knowledge Space |
| Make a web page / poster / slide deck | 06 · Design Space |
| Stop clicking "Allow" every time | 07 · Tools & Permissions · Permission modes |
| Have the AI keep working on something for me in the background | 08 · Autonomous Tasks |
| Schedule work in a new or current chat and send it to WeChat / Feishu | 09 · Multi-Agent & Scheduled Tasks · Scheduled tasks |
| Use it inside Telegram / Feishu | 10 · IM Channels |
| Connect external tools (MCP) | 11 · Connect & Extend |
| See how much money / how many tokens I've spent | 12 · Projects & Insights · Dashboard |
| Test task completion, tool use, and multi-Agent stability with real models | 14 · Capability Evaluation |
| Access Hope Agent on my computer from my phone | 01 · Getting Started · Run modes |
| Back up / restore my settings | 13 · Settings & Security |
This guide is continuously updated alongside the product. If anything here does not match what you see in the app, the actual in-app display takes precedence, and we welcome your feedback on GitHub Issues.
Explore related projects
affaan-m/ECC
The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.
301,112 starsNousResearch/hermes-agent
The agent that grows with you
262,625 starsmultica-ai/andrej-karpathy-skills
A single CLAUDE.md file to improve Claude Code behavior, derived from Andrej Karpathy's observations on LLM coding pitfalls.
232,117 starsfirecrawl/firecrawl
Supercharge your AI agents with data from the web and beyond. Building the library for superintelligence. 🔥
200,444 stars