
hapi
App for Claude Code / Codex / Gemini / OpenCode, vibe coding anytime, anywhere
The Lens
Hapi runs a Claude Code, Codex, Gemini, or OpenCode session on your laptop and lets you control it from a phone or browser. The agent stays where it works best (your machine, your file system) and a web/PWA/Telegram app gives you remote eyes and a remote keyboard. End-to-end encrypted via WireGuard plus TLS. AGPL.
Setup is one npx command. You get a URL and QR code, scan it, and you are looking at the active session from anywhere. Workspace browsing is opt-in. Voice control works through a built-in assistant, and Telegram approvals let you sign off on agent actions while away from the keyboard. The relay is provided, but you can self-host with Cloudflare Tunnel or Tailscale.
Solo developers running long agent loops: this is the most polished way to monitor them away from the desk. Small teams: same value, but pair-sharing across teammates is not the use case. Large teams: stick to internal devloop tools. The AGPL license adds friction for enterprise legal reviews.
The catch: it is built around a relay you do not own. Self-hosting is supported, but the easy path uses someone else's WireGuard hub. Read the security model before you point it at production credentials.
Get tools like this every Wednesday
One featured tool, three on the radar. No fluff.
Free vs Self-Hosted vs Paid
fully free### Free Tier The whole tool. AGPL-licensed. No paid tier from the project itself.
### Self-Hosted One npx command starts the hub plus relay. For full self-hosting, route through Cloudflare Tunnel or Tailscale to avoid the default relay. Adds a few minutes of setup but keeps the data path under your control.
### Model Costs Hapi wraps your existing AI agent session. Claude Code, Codex, Gemini, and OpenCode bills land on your existing subscriptions. No additional model spend from the wrapper.
### When the math works Solo developers and indie shops who run multi-hour agent sessions and want to watch them from a phone. The value is in remote approval and observation, not in collaboration features.
Free and open source under AGPL. You pay your AI provider for the model session.
License: GNU Affero General Public License v3.0
Must share source even for SaaS/network use. Strongest copyleft.
Commercial use: ✓ Yes
About
- Owner
- weishu (User)
- Stars
- 3,875
- Forks
- 423
Explore Further
More tools in the directory
everything-claude-code
The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.
175.4k ★hermes-agent
The agent that grows with you
137.9k ★cc-switch
A cross-platform desktop All-in-One assistant tool for Claude Code, Codex, OpenCode, openclaw & Gemini CLI.
62.8k ★