← Back to Leaderboard
Hshiwenwen

shiwenwen/hope-agent

A local-first Rust agent for work that continues across sessions and devices

View on GitHub ↗
Engineering Health (Methodology)
A+ · 92/100
Maintenance Activity
● Updated yesterday
Latest Release
v0.77.0
Commercial License Check
MIT · Commercial Friendly

Automated SPDX check for reference only — not legal advice. Disclaimer

Maintenance35/35
Fork Adoption17/25
Release Cadence20/20
License Clarity20/20
DockerSelf-HostedLocal AIMCP
Total Stars
★ 1,949
24h Growth
+0
7d Growth
+13
Forks
189

GitHub Star History

Full-history star trajectory from GitHub official history. Switch ranges or hover any point for exact counts.

shiwenwen/hope-agent Star History (2026-04-20 - 2026-12-03) ALL-TIME STAR HISTORY (2026-04 – 2026-12) +1.9k in 227d · avg +9/day 2.1k 1k 0 2026-04-20: ★ 12026-05-09: ★ 4062026-05-23: ★ 7582026-06-06: ★ 9012026-06-20: ★ 9772026-07-04: ★ 1,0552026-07-18: ★ 1,1692026-08-01: ★ 1,2532026-08-15: ★ 1,3712026-08-29: ★ 1,4932026-09-12: ★ 1,5562026-09-26: ★ 1,6072026-10-10: ★ 1,7362026-10-24: ★ 1,8452026-11-07: ★ 1,8502026-11-21: ★ 1,8712026-12-03: ★ 1,949 ★ 1.9k 2026-04 2026-08 2026-12

Evidence-Backed Technical Brief

AI Deep Review

Architecture & Core Mechanics

Hope Agent is an MIT-licensed end-user application built around a Rust Cargo workspace. The src-tauri desktop entry point uses the Tauri frontend API, and the frontend toolchain includes TypeScript and Vite. The workspace separates responsibilities into crates such as ha-agent-runtime, ha-agent-loop, ha-goal, ha-workflow, ha-memory, and ha-server. The desktop app, headless hope-agent server with its embedded web UI, and hope-agent acp for IDEs share the same core.

Goal defines an outcome and its completion criteria, Workflow executes a concrete run and keeps a durable trace, and Loop determines when to advance again. Task exposes progress, while Mode controls execution autonomy. These pieces can be used independently. For integrations, the built-in MCP client supports OAuth 2.1, and lifecycle hooks can invoke commands, HTTP endpoints, MCP tools, prompts, or agents. Cross-device continuity is a property of a shared instance and its session store, not replication between installations.

Key Capabilities & Differentiators

The execution model is designed for work that outlasts a chat turn. Goals have budgets, pause and resume controls, and a completion check that requires evidence of results. Workflows can coordinate parallel sub-agents, reviews, and verification, with a durable trace for pause, cancellation, or restart recovery. Loops can wake on schedules, conditions, or events, with backoff and safeguards against repeated runs that make no progress. Memory is scoped to Global, Project, or Agent, with a compact Core kept in context and fuller records retrieved on demand through full-text or vector search.

Hosted model requests go directly to the configured provider; Ollama is the local option for generation and embeddings. Knowledge Space edits real Markdown, can attach an existing Obsidian vault, and retains traceable sources. Design Space covers more than ten artifact types, with visual editing, version history, and exports such as HTML, PDF, and PPTX. Browser control includes a live mirror; full desktop control is available on macOS with permissions, and tools that cause side effects use a common approval flow.

Trade-offs & Limitations

Compared with a chat-only model frontend, Hope Agent adds durable task state, scheduled continuation, and cross-device review. Those features justify the extra setup when work spans days or devices; for stateless Q&A, an ordinary chat client has fewer settings and permissions to manage. An IDE-first assistant is more direct when all work stays in the editor. Hope Agent offers ACP for IDE access, but its main advantage is keeping work accessible from desktop, web, and configured IM channels on the same running instance.

Local-first storage does not make hosted inference private to the machine: request context still goes to the selected provider. Ollama moves inference onto hardware you manage, so model choice and concurrent agents change resource needs. Unified approvals and optional Docker sandboxing reduce exposure from side effects, but neither makes broad file access or unattended execution safe by default. Start with limited permissions and budgets, and expand only after checking task traces and results. Headless deployment also does not substitute for macOS desktop control.

Hardware & Deployment Guide

Choose the desktop installer for interactive use or the standalone server for an always-on NAS, home server, or VM. macOS offers the complete desktop experience; regular packages target Apple Silicon, so check the release assets before planning an Intel installation. Linux and Windows desktop support is experimental. The Docker Compose example pulls ghcr.io/shiwenwen/hope-agent:latest, binds 127.0.0.1:8420 by default, and exposes the generated owner token through docker compose exec hope-agent hope-agent server token show. Browser login exchanges it for an HttpOnly session. For public access, use a TLS-terminating reverse proxy and keep the owner token out of URLs.

A hosted provider does not require local model inference. To run models locally in Compose, enable the with-ollama profile and size the host for the chosen models, context lengths, and concurrency, including embeddings if used. The default application data directory is ~/.hope-agent/; preserve instance state when replacing or moving a host if session continuity matters. Version 0.75.0 introduced bounded background follow-up and opt-in research on explicitly shared local text. Version 0.76.0 patched formula rendering and URL parsing and updated scheduled-expression parsing; 0.77.0 fixed a security issue in translation-resource merging.

Execution controls: Goal sets the outcome and budget, Workflow records a concrete run, and Loop schedules the next attempt with backoff and no-progress protection.
Memory retrieval: Global, Project, and Agent scopes pair a compact in-context Core with on-demand full-text and vector retrieval.
Shared-instance handoff: Desktop, web, and configured IM channels can continue the same server-side conversation without synchronizing separate installations.
Integration boundaries: ACP exposes the agent backend to IDEs, while the built-in MCP client connects tools and supports OAuth 2.1.
Editable artifacts: Knowledge Space works with Markdown and existing Obsidian vaults; Design Space maintains version history and exports formats including HTML, PDF, and PPTX.
Service bootstrap: Docker Compose defaults to 127.0.0.1:8420, supports an owner-token login, and offers an optional Ollama sidecar.
Best For

Independent developers, research and document workflows, and self-hosters who need persistent context, reviewable background work, and access to the same instance from multiple devices.

Skip If

You only need ad hoc chat, all your work stays in the IDE, or you require full desktop control on Linux or Windows or automatic synchronization between independent installations.

Reviewed on 2026-12-02 · Grounded in GitHub README, root file tree & releasesMethodology

Quick Start & Installation

DockerSelf-HostedLocal AIMCP
brew tap shiwenwen/hope-agent
brew install --cask hope-agent

Comparison vs. Top Agents & Frameworks Alternatives

Full comparison →
RepositoryStars7d TrendStackLicenseCore Positioning
hope-agent ★1.9k+13RustMITA local-first Rust agent for work that continues across sessions and devices
AstrBot47.9k+298PythonAGPL-3.0A self-hosted Python agent hub that connects chat platforms to model providers
cua34.1k+973RustMITRust-backed sandboxes and cross-OS desktop controls for computer-use agents
QwenPaw38.5k+246PythonApache-2.0Self-hosted agent workspace for scheduled tasks and chat across apps

AI Context Briefing (for Claude / Cursor / Windsurf)

Standardized architecture summary & quickstart commands ready to paste into coding agents.

Raw .md ↗
curl -sL https://repoforai.com/repo/shiwenwen/hope-agent.md

Embed Star History Chart & Badges in README.md

Full-history Star History SVGs and velocity cards on GitHub Camo: drop-in replacement for OSSInsight and Star History widgets.

shiwenwen/hope-agent Star History on RepoForAI

Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).

Frequently Asked Questions about hope-agent

How do handoff, ACP, and MCP fit together?

Handoff works through one running instance and its session store. Configure browser access or an IM channel on that instance to continue the same conversation; independent installations do not automatically synchronize. The ACP entry point is for connecting an IDE to the agent backend, while the built-in MCP client connects Hope Agent to tools.

Can I run it on a NAS without a dedicated GPU?

There is no single hardware or VRAM requirement for every setup. A hosted provider moves model inference off the self-hosted machine; with Ollama, size the host for the selected model, context length, and concurrent work. Local embeddings add load if enabled. Test a representative workflow, including parallel tasks if you plan to use them, before choosing hardware.

Can a business self-host or redistribute it?

The repository uses the MIT license, which permits commercial use and self-hosting. Preserve the applicable copyright and license notices when distributing copies or substantial portions of the software. Review THIRD_PARTY_NOTICES.md and the separate terms for any model or hosted provider you choose. Self-hosting the agent does not change the provider’s terms or data handling.

When is Hope Agent preferable to a chat client or an IDE assistant?

Choose a chat-only app if you mainly need ad hoc conversations and model switching, or an IDE assistant if the editor is the only place work needs to happen. Hope Agent is a better fit when the same task must persist across sessions, advance in the background, and remain reviewable from desktop, web, or a configured IM channel. That flexibility adds configuration and oversight.

Upstream README & Documentation

This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.

Maintaining shiwenwen/hope-agent? Pin to Homepage + competitor /alternatives pages with a custom Cloud/Demo CTA.Feature shiwenwen/hope-agent on Homepage & Alternatives ($19)
WEEKLY BREAKOUT DIGEST

Top 10 Breakout Open-Source AI Repos, Every Thursday

Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.

Zero spam · 1-click unsubscribe · Privacy Policy

Saved in your browser · Export Markdown RFC tables or jump into /vs compare