General
What is HAPI?
What is HAPI?
What does HAPI stand for?
What does HAPI stand for?
Is HAPI free?
Is HAPI free?
What AI agents does HAPI support?
What AI agents does HAPI support?
- Claude Code (recommended)
- OpenAI Codex
- Cursor Agent
- Google Gemini
- OpenCode
Setup & Installation
Do I need a hub?
Do I need a hub?
hapi hub on your machine - no external hub required.hapi server remains supported as an alias.How do I access HAPI from my phone?
How do I access HAPI from my phone?
- If the hub has a public IP, access it directly (use HTTPS via reverse proxy for production)
- If behind NAT, set up a tunnel (Cloudflare Tunnel, Tailscale, or use the built-in relay with
hapi hub --relay)
What's the access token for?
What's the access token for?
CLI_API_TOKEN is a shared secret that authenticates:- CLI connections to the hub
- Web app logins
- Telegram account binding
~/.hapi/settings.json.Do you support multiple accounts?
Do you support multiple accounts?
Can I use HAPI without Telegram?
Can I use HAPI without Telegram?
Usage
How do I approve permissions remotely?
How do I approve permissions remotely?
- When your AI agent requests permission (e.g., to edit a file), you’ll see a notification
- Open HAPI on your phone
- Navigate to the active session
- Approve or deny the pending permission
How do I receive notifications?
How do I receive notifications?
- PWA Push Notifications - Enable when prompted, works even when app is closed
- Telegram Bot - Set up a Telegram bot for instant notifications
Can I start sessions remotely?
Can I start sessions remotely?
- Run
hapi runner starton your computer - Your machine appears in the “Machines” list in the web app
- Tap to spawn new sessions from anywhere
How do I see what files were changed?
How do I see what files were changed?
- Browse project files
- View git status
- See diffs of changed files
Can I send messages to the AI from my phone?
Can I send messages to the AI from my phone?
Can I access a terminal remotely?
Can I access a terminal remotely?
How do I use voice control?
How do I use voice control?
ELEVENLABS_API_KEY, open a session in the web app, and click the microphone button. See the Voice Assistant documentation for details.Security
Is my data safe?
Is my data safe?
- All data stays on your machine
- Nothing is uploaded to external servers
- The database is stored locally in
~/.hapi/
How secure is the token authentication?
How secure is the token authentication?
Can others access my HAPI instance?
Can others access my HAPI instance?
- Use a strong, unique token
- Always use HTTPS for external access
- Consider Tailscale for private networking
Comparison
HAPI vs Happy
HAPI vs Happy
| Aspect | Happy | HAPI |
|---|---|---|
| Design | Cloud-first | Local-first |
| Users | Multi-user | Single user |
| Deployment | Multiple services | Single binary |
| Data | Encrypted on server | Never leaves your machine |
HAPI vs running Claude Code directly
HAPI vs running Claude Code directly
| Feature | Claude Code | HAPI + Claude Code |
|---|---|---|
| Remote access | No | Yes |
| Mobile control | No | Yes |
| Permission approval | Terminal only | Phone/web |
| Session persistence | No | Yes |
| Multi-machine | Manual | Built-in |
Contributing
How can I contribute?
How can I contribute?
- Report issues
- Submit pull requests
- Suggest features
Where do I report bugs?
Where do I report bugs?