HAPI is an app that lets you run and remotely control AI coding agents like Claude Code, Codex, and others through native iOS and Android apps, web interfaces, or Telegram Mini App.
HAPI solves the problem of being tied to a single machine or interface when working with AI coding agents. It wraps your existing agent rather than replacing it, preserving your terminal experience and muscle memory while adding the ability to seamlessly switch between local and remote work. The tool maintains context across handoffs—you can start coding locally, continue on your phone, and return to your desktop without losing session state or restarting. It supports multiple AI agents through a unified workflow and uses WireGuard plus TLS encryption for end-to-end security, with options for self-hosted relay through Cloudflare Tunnel or Tailscale.
HAPI suits developers who want to approve AI requests away from their desk, run terminal commands from their phone, or work across multiple devices without context loss. It works with Claude Code, Codex, Cursor Agent, Grok Build, OpenCode, Kimi, Copilot, Antigravity, Pi, and DeepSeek Harness. The README positions HAPI as a local-first alternative to Happy, with documented key differences. The tool includes native apps with chat, approvals, session creation, file browsing, dictation, and push notifications, plus a web PWA and voice assistant for hands-free control. An optional workspace browser lets you browse scoped file trees and start sessions in allowed subdirectories.
The project maintains active development across multiple platforms, with native clients written in SwiftUI and UIKit for iOS and Kotlin Compose for Android. Documentation covers installation, agent support, voice assistance, and API contracts for client development. The codebase is written in TypeScript and requires Bun for building from source.