HRun
Single Go binary CLI and local web workspace for launching AI coding sessions on a local Mac and remote SSH hosts.
At a Glance
MIT-licensed single Go binary CLI and local web workspace, self-hosted on your own machine.
Engagement
Available On
Alternatives
Listed Dec 2026
About HRun
HRun (Harness Run) is an MIT-licensed, single-binary Go CLI with an embedded local web workspace, created by ice5kysl. It keeps an inventory of projects across a local Mac and remote SSH hosts and launches AI coding harnesses such as agy, claude, codex, gemini, opencode, kimi and aider in a chosen terminal. Data is stored in a local SQLite file at ~/.hrun/hrun.db.
What It Is
HRun is a project launcher and session manager for people who run AI coding CLIs across a laptop and one or more remote dev servers. Running hrun web starts a localhost-only server on 127.0.0.1 protected by a random 256-bit token. From there you configure scan roots and SSH endpoints, scan and import repositories, and launch a project with its preferred harness from the web UI or with hrun <slug> in a terminal.
Launching and session handling
Local launches open in Ghostty, iTerm2, WezTerm, Kitty or Terminal.app. Remote SSH sessions run in an isolated tmux -L hrun session with a screen fallback, so a dropped connection does not end the agent session. A Live Sessions Cockpit captures terminal output from HRun-managed tmux and screen sessions and flags them as waiting for input, running or idle. SSH ControlMaster multiplexing reuses sockets to speed up remote operations, and auto VPN proxy detection injects whichever configured proxy profile (for example Clash or V2Ray) is listening at launch time.
Project organization and context sync
Projects can be grouped, nested as two-level subprojects and tagged, with tech-stack tags detected automatically. A file browser shows Git status badges on local and remote hosts. Non-Git files such as .env can be pushed between hosts over tar | ssh, and repositories can be pulled to another host via git clone or rsync. Analytics dashboards and a Workspace Advisor give hygiene hints. The UI is available in English and Chinese.
Setup path
Install with Homebrew, the install script, go install or a source build, then run hrun web. Adding a new SSH host uses a one-time password to push an Ed25519 key; the password is not saved to disk or SQLite. Custom harness templates can be registered alongside the seven built-in presets.
Collections
Popular collections
- Frameworks
Collection by @joemseifi
- Run YOLO Mode Without Risking Your Laptop
Collection by @reproalex
- Let Your Agents Talk to Each Other
Collection by @leftchannel
- See What Your Agent Is Doing remix
Collection by @joemseifi
Add HRun to one of your collections.
Community Discussions
Be the first to start a conversation about HRun
Share your experience with HRun, ask questions, or help others learn from your insights.
Pricing
Open Source
MIT-licensed single Go binary CLI and local web workspace, self-hosted on your own machine.
- MIT License
- Single Go binary with local web UI
- Local SQLite storage (~/.hrun/hrun.db)
- Supports local Mac and remote SSH hosts
- 7 built-in AI harnesses plus custom CLI templates
Capabilities
Key Features
- Single Go binary with embedded local web workspace
- Launch AI coding harnesses on local Mac and SSH hosts
- Seven built-in harnesses plus custom harness templates
- Multi-terminal support: Ghostty, iTerm2, WezTerm, Kitty, Terminal.app
- Persistent remote sessions via tmux or screen
- Live Sessions Cockpit with waiting-for-input detection
- SSH ControlMaster multiplexing
- One-time password Ed25519 SSH key bootstrap
- Project file browser with Git status badges
- Cross-host non-Git context sync and repo pull
- Groups, subprojects and tags with tech-stack auto-detection
- Auto VPN proxy detection
- Visual analytics and Workspace Advisor
- English and Chinese UI
- Localhost-only token-protected web server
