| layout | title | nav_order | has_children | format_version |
|---|---|---|---|---|
default |
HAPI Tutorial |
100 |
true |
v2 |
Learn
tiann/hapi, a local-first hub that lets you run Claude Code/Codex/Gemini/OpenCode sessions locally while controlling and approving them remotely.
HAPI solves the remote oversight problem for local AI coding sessions — you can run Claude Code or other agents on your laptop while monitoring, approving, and controlling them from a phone or browser anywhere.
This track focuses on:
- setting up local-first AI coding sessions with remote control capability
- designing safe approval policies for agent tool access
- operating HAPI across multiple machines and networks
- hardening and monitoring HAPI for team usage
HAPI wraps existing coding agents and adds a hub/web control plane so sessions can be handed off between terminal and phone/browser without restarting context.
- repository:
tiann/hapi - stars: about 2.4k
- latest release:
v0.16.1(published 2026-03-08)
- Chapter 1: Getting Started - install HAPI, start hub, and launch first wrapped agent session
- Chapter 2: System Architecture - CLI, hub, web app, and protocol boundaries
- Chapter 3: Session Lifecycle and Handoff - local-to-remote control flow and state continuity
- Chapter 4: Remote Access and Networking - relay mode, tunnels, and secure exposure patterns
- Chapter 5: Permissions and Approval Workflow - mobile approvals, policy boundaries, and safety controls
- Chapter 6: PWA, Telegram, and Extensions - user interfaces, notifications, and ecosystem integration
- Chapter 7: Configuration and Security - tokens, env vars, secrets handling, and access governance
- Chapter 8: Production Operations - observability, scaling, and incident runbooks
- run a local-first AI coding stack with remote control
- design safe approval policies for agent tool access
- operate HAPI across multiple machines and networks
- harden and monitor HAPI for team usage
Ready to begin? Continue to Chapter 1: Getting Started.
- Start Here: Chapter 1: Getting Started
- Back to Main Catalog
- Browse A-Z Tutorial Directory
- Search by Intent
- Explore Category Hubs
- Chapter 1: Getting Started
- Chapter 2: System Architecture
- Chapter 3: Session Lifecycle and Handoff
- Chapter 4: Remote Access and Networking
- Chapter 5: Permissions and Approval Workflow
- Chapter 6: PWA, Telegram, and Extensions
- Chapter 7: Configuration and Security
- Chapter 8: Production Operations
flowchart TD
A[Foundations] --> B[Core Abstractions]
B --> C[Interaction Patterns]
C --> D[Advanced Operations]
D --> E[Production Usage]
Generated by AI Codebase Knowledge Builder