Move from the Happy CLI to Happy Agent

Happy now has a desktop app. Multiplayer for remote servers, lower latency, better attachment support and much more. Please migrate! It takes around 5 minutes, a bit longer if you have several machines.

brew install --cask slopus/tap/happy

On your computer

  1. Open Happy on your computer. Make sure Happy Desktop is up to date. Download it above, or from happy.engineering, for macOS, Windows, or Linux. Sign in to at least one of Claude, Codex, or Grok; Happy Agent, the runtime that runs your agents, starts with the app. The Quick Start has the details.
  2. Choose Link Mobile App during onboarding, or go to Settings › Mobile Access. Happy Desktop shows a QR code.
  3. Using Happy on a server? Select it in Happy Desktop and scan its code the same way. To set up a new remote server, just ask the Chief of Staff bot in Happy Desktop, with the prompt above.

Happy Desktop shows a Relay | Direct switch above the code. Direct needs the latest Happy app on your phone; with an older phone app, use Relay.

On your phone

Open Happy and tap Scan QR code on the migration screen, or + anywhere in the app. Scan the code Happy Desktop shows. Your computer now shows on your phone.

Already on Happy Agent through the Happy server?

If your phone already reaches Happy Desktop through the Happy server, go to Settings › Mobile Access › Connect a phone directly › Show QR code in Happy Desktop and scan it from your phone. The Happy server link stays as it is.

Run Happy Agent on a server or a headless machine

If you ran happy on a server, a VPS, or a Mac mini without a screen, run Happy Agent there instead. You don't install Happy Desktop on it.

If Happy Agent isn't on the server yet, ask the Chief of Staff in Happy Desktop on your own computer. Over SSH it installs Happy Agent as a service, signs in the provider accounts you approve, and connects the server to your Happy Desktop. It stops only for choices and sign-ins that are yours. Then select the server in Happy Desktop and link your phone from its Settings › Mobile Access.

The same server can serve your team, each member signed in as themselves. Remote Server explains what the Chief of Staff asks you, which providers work, and how team mode works.

What changes when you switch

Happy CLIHappy Agent
On your computerhappy claude or happy codex in a terminalThe Happy Desktop app
AgentsClaude Code and CodexClaude, Codex, Grok, Gemini, and more
Your phone reaches itThrough the Happy server, which stores your chats, encryptedYour phone connects to your computer; traffic may pass through a relay that stores nothing
SessionsLast as long as the happy processSurvive a closed window and a restart
TeamsOne person's machinesShared projects and sessions on a team server

What happens to your Happy CLI setup

  • The Happy CLI still works. It is in maintenance mode: it gets critical fixes, and new features ship in Happy Desktop. See The Original Happy CLI.
  • Happy Desktop and the CLI both keep state under ~/.happy. Never delete it to fix a problem.

Get help

If something you rely on in the CLI is missing from Happy Desktop, DM Kirill on X, @bra1n_dump.