Native Haiku GUI launcher for Claude Code (the Anthropic CLI).
- Cloud mode — launches Claude Code using OAuth or your existing
ANTHROPIC_API_KEYenvironment variable.- Model selection — choose between Opus, Sonnet, or Haiku; selector appears under Cloud and hides when API mode is active
- API mode — launches Claude Code with a custom API configuration:
- API URL — defaults to Anthropic's API, but can be changed for proxies or alternative endpoints
- API Key — your Anthropic API key (input is masked)
- Remember key — opt-in checkbox to save the API key to disk
- Model overrides — optionally override the default Opus, Sonnet, and Haiku model versions
- Current model override — force a specific model via
--model
- Working directory picker — persistent text field with a Browse… button; Claude Code starts in the chosen directory
- Persistent settings — all settings (mode, model, directory, API configuration) are saved across sessions; defaults to Cloud mode on first run
- Haiku R1β5 or later
- 64-bit Haiku required for the installer (npm packages are 64-bit only)
- The launcher itself works on 32-bit Haiku if Claude Code is already installed
- GCC 13+ required when building for 32-bit
make # build both launcher and installerOr build individually:
make haiclaude # build launcher only
make haiclaude-installer # build installer onlyLinks against: -lbe -lroot -ltracker
After building, run the installer which will automatically check for and install Claude Code if needed:
./haiclaude-installerThe installer will:
- Check if npm is available
- Install npm if needed (via
pkgman install npm nodejs20) - Check if Claude Code is already installed (looks for
~/.npm-global/bin/claude) - Install Claude Code globally via npm if needed
- Set up the
claudebinary at~/.npm-global/bin/claude
If you prefer to install Claude Code manually:
- Install npm:
pkgman install npm - Install Claude Code:
npm install -g @anthropic-ai/claude-code
Run the launcher:
./haiclaudeSelect your preferred mode (Cloud or API), choose a model, pick a working directory, and click Launch.
- API key storage is opt-in — the key is only saved to disk if you check "Remember key"
- Shell injection protection — all user input is properly escaped before use in shell commands
- Input validation — working directory must exist; API fields cannot be empty
- Credentials backup — in API mode, existing credentials are backed up and restored automatically (using shell
trapto guarantee restoration even on crash)
MIT — see LICENSE.