← Back to Leaderboard
Hslopus

slopus/happy

A CLI and encrypted relay for steering coding-agent sessions across devices

Engineering Health (Methodology)
A+ · 94/100
Maintenance Activity
● Updated yesterday
Latest Release
cli-1.2.5
Commercial License Check
MIT · Commercial Friendly

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

Maintenance35/35
Fork Adoption22/25
Release Cadence17/20
License Clarity20/20
DockerSelf-HostedCLI
Total Stars
★ 24,967
24h Growth
+2
7d Growth
+111
Forks
2,162

GitHub Star History

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

slopus/happy Star History (2025-07-19 - 2026-12-04) ALL-TIME STAR HISTORY (2025-07 – 2026-12) +25k in 503d · avg +50/day 26.4k 13.2k 0 2025-07-19: ★ 12025-08-23: ★ 4192025-09-27: ★ 2,1122025-11-01: ★ 3,5302025-12-06: ★ 4,5302026-01-10: ★ 6,6472026-02-14: ★ 11,5132026-03-21: ★ 15,4032026-04-25: ★ 18,6912026-05-30: ★ 20,9352026-07-04: ★ 22,0472026-08-08: ★ 22,9272026-09-12: ★ 23,5552026-10-17: ★ 24,0782026-11-17: ★ 24,6562026-12-04: ★ 24,967 ★ 25k 2025-07 2026-03 2026-12

Evidence-Backed Technical Brief

AI Deep Review

Architecture & 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.

Repository scope: iOS, Android, and web clients, the original CLI, and the relay live here; the desktop app and agent runtime are separate repositories.
Terminal integration: happy claude and happy codex wrap existing coding-agent harnesses on the project machine.
Backend extension: Gemini uses Antigravity; OpenCode and other Agent Client Protocol (ACP) agents can plug in as harnesses.
Session sync: The mobile app uses end-to-end encryption for cross-device session data; the relay is not the agent executor.
Standalone relay: The root Dockerfile uses Node.js 24 and pnpm 10.11.0 in its dependency stage; standalone mode uses PGlite and local files without Redis.
Push delivery: happy-push-server uses a Cloudflare Worker to deliver notifications through APNs and FCM, replacing Expo push.
Best For

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.

Skip If

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.

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

Quick Start & Installation

DockerSelf-HostedCLI
npm install -g happy

# Start Claude Code
happy claude

# Or start Codex
happy codex

Comparison vs. Top Coding, Skills & MCP Alternatives

Full comparison →
RepositoryStars7d TrendStackLicenseCore Positioning
happy ★25k+111SwiftMITA CLI and encrypted relay for steering coding-agent sessions across devices
herdr54.1k+871RustApache-2.0Rust terminal multiplexer for persistent, multi-machine coding-agent workspaces
cc-switch159.1k+1.7kRustMITTauri desktop manager for AI coding providers, local routing, and MCP config
claude-code-router38.5k+101TypeScriptMITLocal 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.

Raw .md ↗
curl -sL https://repoforai.com/repo/slopus/happy.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.

slopus/happy Star History on RepoForAI

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?

The original Happy CLI wraps Claude Code or Codex on the project machine. The relay synchronizes encrypted session data so the mobile client can follow and steer the session; it does not run the coding agent. Multi-model desktop workflows use the separately maintained desktop app and Happy Agent runtime.

How should I size the relay, and does it need a GPU?

The standalone relay runs on Node.js 24 with embedded PostgreSQL via PGlite and local filesystem storage. No GPU requirement is specified for the relay, and no minimum CPU, RAM, or disk figures are given. Size relay resources for concurrent sessions and stored data; assess the CPU, RAM, and any VRAM needs of the chosen agent or model separately.

Can a company modify and self-host Happy for internal use?

Yes. The MIT license permits commercial use and modification subject to its notice requirements. Self-hosting gives you control over the relay, not over third-party model processing or subscription terms. Review provider terms, data-handling requirements, and any APNs or FCM dependencies before approving a deployment.

When is Happy a better fit than running Claude Code or Codex directly?

Use Claude Code or Codex directly if one operator works at one terminal and does not need mobile handoff. Happy is useful when an existing session needs to be monitored or steered from another device. If the goal is multi-model or shared-session work, evaluate the desktop and harness stack rather than expecting the original CLI to provide the full workflow.

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 slopus/happy? Pin to Homepage + competitor /alternatives pages with a custom Cloud/Demo CTA.Feature slopus/happy 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