slopus/happy: Cross-Platform Client for Claude Code & Codex
AI coding agents like Claude Code and OpenAI's Codex have transformed how developers write software—but they tie you to your terminal. When you step away from your desk, you're blind to what your agent is building, unable to approve permissions or debug failures until you return. That friction kills momentum for anyone managing side projects during commutes, checking deployments at lunch, or collaborating across time zones.
slopus/happy solves this with a mobile and web client that wraps Claude Code and Codex, adding encrypted remote control and push notifications. With 22,631 GitHub stars and an MIT license, it's gained substantial traction among developers who refuse to be desk-bound by their AI tools. This article breaks down how it works, why the architecture matters, and how to integrate it into your workflow.
What is slopus/happy?
slopus/happy is an open-source project maintained by a distributed team of engineers—self-described as "scattered across Bay Area coffee shops and hacker houses." It provides a mobile and web client for Claude Code and Codex with real-time voice, end-to-end encryption, and full feature parity with the native CLI experiences.
The project sits at the intersection of several active technical domains: AI coding agents, cross-platform mobile development (via Expo), and zero-trust security architecture. Its 22,631 stars and 1,904 forks indicate strong community interest, while the TypeScript codebase and MIT license make it accessible for audit and contribution.
Four packages comprise the system:
- Happy App — Web UI and mobile client built with Expo
- Happy CLI — Command-line interface that wraps Claude Code and Codex
- Happy Agent — Remote session control for creating, sending, and monitoring agent sessions
- Happy Server — Backend infrastructure for encrypted synchronization
The project originated from a specific pain point: developers wanting to monitor AI coding progress on pet projects during breaks, without exposing code to unencrypted transit or third-party telemetry. This origin story matters because it explains the design priorities—encryption first, no tracking, and seamless device handoff.
Key Features
Mobile and Desktop Access to Claude Code and Codex
The core value proposition is device flexibility. Run your AI agent on your workstation, then check status, approve tool calls, or review output from iOS, Android, or any web browser. The session persists and synchronizes across endpoints.
End-to-End Encryption
All code and session data travels encrypted between devices. The README explicitly states: "Your code never leaves your devices unencrypted." This is architecturally significant—many remote development tools decrypt at the server, creating a trust boundary. slopus/happy's server appears to handle only encrypted payloads, reducing exposure if the backend is compromised.
Push Notifications
The system alerts you when your agent requires permission (e.g., to execute a shell command or modify files) or encounters runtime errors. This asynchronous model means you can start long-running tasks and intervene only when necessary, rather than babysitting the terminal.
Instant Device Switching
Press any key on your keyboard to reclaim local control; the session transparently migrates back from remote mode. This handoff is designed to be sub-second, eliminating the friction of re-authenticating or re-establishing context.
Zero Telemetry
The project emphasizes "no telemetry, no tracking" alongside its open-source licensing. For developers working with proprietary codebases or in regulated environments, this auditability and data minimization are operational requirements, not nice-to-haves.
Real-Time Voice
Voice interaction support suggests integration with speech-to-text and text-to-speech pipelines, though the README does not detail implementation specifics.
Use Cases
Remote Side Project Management
The project's stated origin—checking AI agent progress "during lunch breaks"—remains its most authentic use case. Start Claude Code on a complex refactoring task at home, receive a push notification when it needs approval to run tests, approve from your phone, and review results before returning to your desk.
On-Call Incident Response
When production issues require AI-assisted debugging, slopus/happy lets you initiate or monitor Codex sessions from mobile without exposing production credentials through unencrypted channels. The encrypted sync layer reduces compliance friction for teams in healthcare, finance, or other regulated sectors.
Pair Programming Across Time Zones
A teammate in another timezone can start a session, and you can review or take over from your device without SSH tunneling or screen sharing. The session state synchronization replaces ad-hoc solutions like tmux over VPN.
Secure Multi-Device Workflows
Developers who split time between a locked-down corporate workstation and personal devices can maintain session continuity without syncing code through consumer cloud storage. The encryption boundary keeps source code off third-party infrastructure in plaintext.
Voice-Driven Coding
For accessibility or hands-free scenarios, the voice integration enables initiating commands or reviewing output without typing on mobile keyboards—a genuine ergonomic improvement for extended sessions.
Installation & Setup
The setup has three steps: install the mobile app, install the CLI wrapper, and replace your existing commands.
Step 1: Download the Mobile App
Native apps are available for both platforms:
- iOS App — App Store distribution
- Android App — Google Play distribution
- Web App — Browser-based fallback
Step 2: Install the CLI
npm install -g happy
Note: This package migrated from happy-coder. The happy npm package name was donated by @franciscop, which simplified installation and reduced typing friction.
Step 3: Replace Your Existing Commands
Instead of invoking claude or codex directly, use the wrapper:
# Instead of claude, use:
happy claude
# or
happy codex
The wrapper intercepts your session and enables the remote control channel. When you want to switch to mobile control, the session restarts in remote mode. To reclaim local control, press any key on your keyboard.
For server deployment or advanced configuration, refer to the documentation site and the contributing guide in the repository.
Real Code Examples
The README provides two primary command examples. These are reproduced exactly with explanatory context.
Basic CLI Invocation
npm install -g happy
This installs the happy binary globally. The -g flag is standard for CLI tools you want available across projects. After installation, happy is in your PATH and can wrap either Claude Code or Codex.
Agent Selection
# Instead of claude, use:
happy claude
# or
happy codex
These are the entry points. The wrapper preserves the underlying agent's full functionality—tool use, file editing, shell command execution—while adding the encrypted remote layer. The comment syntax in the README (# Instead of claude, use:) indicates this is a drop-in replacement, not a separate workflow.
The README does not currently provide additional configuration examples, advanced flag usage, or programmatic API samples. Developers should expect to consult the documentation website or source code for edge cases like custom server endpoints, proxy configuration, or headless operation.
Advanced Usage & Best Practices
Session Lifecycle Awareness
The "press any key" handoff implies the wrapper monitors stdin for activity. In practice, this means avoiding background processes that continuously read from stdin, as they may unintentionally trigger local mode reclamation. Run truly backgrounded processes (nohup, disown) through the agent's own tools rather than the wrapper's shell.
Encryption Verification
Since the project emphasizes "audit the code yourself," security-conscious teams should verify the encryption implementation in packages/happy-server before deploying with sensitive codebases. The MIT license permits this inspection; the TypeScript source is readable without decompilation.
Notification Discipline
Push notifications for every agent action would be overwhelming. The system appears to filter for permission requests and errors—design your agent prompts to require explicit approval for destructive operations, ensuring you actually receive actionable notifications.
Package Name Migration
If you previously installed happy-coder, clean uninstall it before switching to happy to avoid PATH conflicts:
npm uninstall -g happy-coder
npm install -g happy
Self-Hosting Considerations
The happy-server package can theoretically be self-hosted, though the README does not document this explicitly. Teams with strict data residency requirements should open an issue or consult the server package source before committing to the hosted app.happy.engineering endpoint.
Comparison with Alternatives
| Tool | Approach | Encryption | Mobile Client | Open Source |
|---|---|---|---|---|
| slopus/happy | CLI wrapper with remote sync | End-to-end | Native iOS/Android + web | Yes (MIT) |
| Claude Code (native) | Terminal-only | Local only | None | No |
| Codex CLI (native) | Terminal-only | Local only | None | No |
| GitHub Copilot Chat | IDE-integrated | Transits Microsoft infrastructure | None (mobile web for Copilot separately) | No |
The native Claude Code and Codex CLIs offer the most direct agent experience but lock you to a single machine. slopus/happy trades zero-dependency simplicity for cross-device flexibility, with encryption as the critical bridge. GitHub Copilot operates in a different architectural layer—IDE completion versus autonomous agent—making it complementary rather than substitutive.
For developers who never leave their workstations, slopus/happy adds complexity without benefit. For anyone who has lost an hour of agent progress to an unapproved permission request while away from their desk, the trade-off is immediately justified.
FAQ
Is slopus/happy free?
Yes. The MIT license permits commercial and personal use without cost. You still need your own Claude Code or Codex API access.
Does it work with self-hosted Claude Code or local models?
The README specifies Claude Code and Codex, which are cloud-hosted services. Local model support is not documented.
What data does the server see?
Encrypted payloads only, per the README. The server facilitates sync without accessing plaintext code or prompts.
Can I contribute to the project?
Yes. The contributing guide covers PR guidelines and development setup. Documentation improvements are welcomed at the separate slopus.github.io repository.
Is there a Windows version of the CLI?
The npm install -g happy command is cross-platform via Node.js. Mobile apps cover iOS and Android.
How active is development?
The last commit was 2026-07-11, indicating ongoing maintenance at the time of this writing.
Does it replace Claude Code or Codex entirely?
No. It's a wrapper and remote client. The underlying agent functionality remains identical.
Conclusion
slopus/happy addresses a specific, real friction in the AI coding agent workflow: the assumption that you'll always be at your terminal when your agent needs you. With 22,631 GitHub stars, a clear four-package architecture, and a principled stance on encryption and telemetry, it has earned its place in the developer toolkit.
This tool is best suited for: developers managing long-running agent tasks, teams with security requirements that rule out unencrypted remote access, and anyone who has experienced the particular frustration of returning to a stalled agent session. It's not for those who work exclusively at a single workstation or who prefer minimal abstraction over their CLI tools.
The project is actively maintained, genuinely open source, and backed by a team that built it to solve their own problem—a reliable signal of sustained utility. Explore the repository, audit the encryption implementation, and decide if it fits your workflow.
For related tooling in the AI-assisted development space, see [INTERNAL_LINK: ai-coding-agent-security].