slopus/happy
A CLI and encrypted relay for steering coding-agent sessions across devices
Automated SPDX check for reference only — not legal advice. Disclaimer
GitHub Star History
Full-history star trajectory from GitHub official history. Switch ranges or hover any point for exact counts.
Evidence-Backed Technical Brief
AI Deep ReviewArchitecture & Core Mechanics
Happy separates agent execution from cross-device access. The original happy-cli wraps Claude Code and Codex on the machine that holds the project; happy-server relays encrypted session updates to clients. The monorepo contains iOS, Android, and web clients, with Swift/UIKit on iOS, Kotlin/Jetpack Compose on Android, and shared JSON translations in happy-i18n.
The relay and CLI sit in a pnpm workspace. The root Dockerfile references happy-wire and a Prisma directory under happy-server; the standalone relay uses PGlite for embedded PostgreSQL. happy-push-server is a separate notification path: a Cloudflare Worker sends through APNs and FCM. The desktop app and its Happy Agent runtime live in slopus/happy-desktop and slopus/happy-agent, respectively. Agent Client Protocol (ACP) is an extension point in the broader harness stack, not a feature to assume in the original Claude and Codex entrypoints.
Key Capabilities & Differentiators
The original CLI provides the shortest route from an existing terminal workflow to mobile handoff: install the happy npm package, start happy claude or happy codex, and continue the same session from the phone. Cross-device session data is end-to-end encrypted. The broader Happy stack supports shared sessions in which collaborators can watch the same agent and either participant can steer it.
For multi-model work and teams, the intended path is the desktop app and Happy Harness. It supports Claude, Codex, and Grok, routes Gemini through Antigravity, and accepts OpenCode or other ACP agents as harnesses. Tasks can be assigned to different models or delegated to subagents. Claude, Codex, and Grok can reuse existing subscriptions, while Antigravity, OpenCode, and ACP agents keep their own logins. Adopting the harness does not consolidate provider authentication into one account.
Trade-offs & Limitations
Direct Claude Code or Codex is the simpler baseline for a single operator at one terminal. Happy is worth the extra moving parts when a running session needs to be followed or steered from a phone, shared with a colleague, or coordinated across providers. Evaluate those workflows separately: the original CLI covers terminal-to-phone handoff, while multi-model and team adoption brings in the desktop app and its runtime as separate components to deploy and keep compatible.
The single-container relay avoids operating separate PostgreSQL and Redis services, but its embedded database and local files still need durable storage and backups. End-to-end encryption covers device synchronization; it does not establish that provider calls are local or subject to the same data boundary. MIT licensing gives teams flexibility to modify and host Happy itself, not permission to bypass provider subscription terms or remove external model and push dependencies.
Hardware & Deployment Guide
For a CLI trial, install with npm install -g happy and launch happy claude or happy codex with the corresponding agent available on the project machine. For relay self-hosting, the root Dockerfile uses Node.js 24 and pins pnpm 10.11.0 in the dependency stage. Its standalone target needs neither an external PostgreSQL instance nor Redis: it uses embedded PGlite and local filesystem storage. Plan persistent storage and test restoration of both database and file data before putting the relay into service.
Stable CLI 1.2.5 improves recovery after daemon state loss, prevents duplicate session ownership on concurrent or cancelled resumes, and recovers transcripts that appear late or after a watcher restart. CLI 1.2.6 beta.0 raises the Claude Agent SDK floor to ^0.3.283 for Opus 5.5 compatibility in app-started sessions. Beta.1 fixes delivery of messages, Stop, and kill after reconnect for ACP, Gemini, agy, and OpenClaw sessions started while the relay was unreachable. That is reconnect recovery, not a guarantee that cloud-backed models work offline.
happy claude and happy codex wrap existing coding-agent harnesses on the project machine.happy-push-server uses a Cloudflare Worker to deliver notifications through APNs and FCM, replacing Expo push.Developers who want to continue Claude Code or Codex sessions from a phone, and teams willing to adopt the separate desktop stack for shared, multi-model work.
A single terminal already meets your needs, or you require an air-gapped, fully local inference stack or a single repository containing the entire desktop runtime.
Quick Start & Installation
npm install -g happy # Start Claude Code happy claude # Or start Codex happy codex
Comparison vs. Top Coding, Skills & MCP Alternatives
Full comparison →| Repository | Stars | 7d Trend | Stack | License | Core Positioning |
|---|---|---|---|---|---|
| happy ★ | 25k | +111 | Swift | MIT | A CLI and encrypted relay for steering coding-agent sessions across devices |
| herdr | 54.1k | +871 | Rust | Apache-2.0 | Rust terminal multiplexer for persistent, multi-machine coding-agent workspaces |
| cc-switch | 159.1k | +1.7k | Rust | MIT | Tauri desktop manager for AI coding providers, local routing, and MCP config |
| claude-code-router | 38.5k | +101 | TypeScript | MIT | Local model gateway for routing coding agents across providers |
AI Context Briefing (for Claude / Cursor / Windsurf)
Standardized architecture summary & quickstart commands ready to paste into coding agents.
curl -sL https://repoforai.com/repo/slopus/happy.md
Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).
Frequently Asked Questions about happy
Where does the coding agent run, and how does the phone connect?
How should I size the relay, and does it need a GPU?
Can a company modify and self-host Happy for internal use?
When is Happy a better fit than running Claude Code or Codex directly?
Upstream README & Documentation
This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.
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