π² Download APK from here: π Get Latest Android APKs (Release & Debug) π
Pre-built binaries are ready to install directly on your Android device (Android 8.0+ / API 26+).
An impeccable, modern Android client for Herdr autonomous agent cluster interfacing. Designed with a fluid Telegram-inspired chat UX, multi-session agent tabs, real-time voice rephrasing via OpenRouter AI, Tailscale private node connectivity, and actionable system notifications with inline direct reply.
- Tabbed Agent Workspace: Spawn, switch, and manage independent agent sessions (Orchestrator, Research Specialist, Coding Agent, DevOps & Infra).
- Agent Header & Status Rings: Live visual indicator of agent lifecycle state (
Online,Thinking,Executing Tool,Streaming). - Markdown & Code Rendering: Monospace syntax highlighting with 1-tap code copy.
- Android SpeechRecognizer Integration: Real-time microphone capture with live audio amplitude (
rmsDb) visualizer. - OpenRouter AI Auto-Rephrase: Automatically removes verbal fillers ("um", "uh", "you know") and transforms spontaneous speech into crisp, structured agent prompts.
- Side-by-Side Comparison Modal: Review original spoken transcript vs AI-polished prompt before sending.
- Dynamic Model Fetching: Fetches live models directly from the OpenRouter API.
- Search & Filter Dropdown: Live filtering across model IDs, provider tags (
Gemini,DeepSeek,Llama,Claude,Mistral,Qwen), context lengths, andFREEbadges. - Persistent Storage: API keys and model preferences are stored securely in local
SharedPreferenceswith 1-tap clipboard copy/paste.
- Zero-Config Tailnet Connection: Connect directly to your remote Herdr server or agent daemon over private WireGuard Tailscale IPs (
100.x.y.z) or MagicDNS (ws://macbook.ts.net:8080/herdr/ws). - Live VPN & Interface Detection: In-app indicator showing active Tailscale connection status.
- 1-Tap App Switcher: Automatically opens the Tailscale Android app or Play Store page if not yet installed.
- Task Completion Alerts: System notifications when an agent finishes thinking or executing tasks.
- Inline Direct Reply (
RemoteInput): Reply back to any session directly from the Android notification shade. - Permission Confirmation Actions: Elevated commands (e.g. bash execution, deployment) generate notifications with
β Allowandβ Denyquick actions. - Multi-Choice Smart Replies: Dynamic suggestion chips and multi-choice action buttons.
- Image & PDF Attachments: Built-in photo picker, document picker, and sample spec presets.
- Expandable Reasoning Traces: Collapsible thought / reasoning blocks (
AgentThoughtCard) and tool execution telemetry (ToolExecutionCard).
- UI Toolkit: Jetpack Compose with Material Design 3 (Dark Theme First, HSL tailored accents).
- Language: Kotlin 2.0.21.
- Networking: OkHttp 4.12.0 (WebSocket + REST client), Coil 2.7.0 (Image loading).
- Data & State: Kotlin Coroutines,
StateFlow,SharedFlow, Android Architecture Components (ViewModel). - Storage: Android
SharedPreferencesfor user preferences and API credentials. - Speech: Android
SpeechRecognizerwith permission handling.
- Android Studio Ladybug (or newer) / JDK 17+
- Android SDK 35 (minSdk 26)
- Android device or emulator running Android 8.0+
# Clone the repository
git clone https://github.com/ch8n/herdr-remote-android.git
cd herdr-remote-android
# Build Debug APK
./gradlew assembleDebug
# Install on connected device / emulator
adb install -r app/build/outputs/apk/debug/app-debug.apkHerdr Remote connects the Android app directly to your desktop Herdr autonomous coding agent sessions and terminal panes in real-time over local Wi-Fi, LAN, or Tailscale WireGuard VPN.
βββββββββββββββββββββββββββββ ββββββββββββββββββββββββββββββββ βββββββββββββββββββββββββββββββββββ
β Android Phone (App) β Wi-Fi β herdr-bridge.py (Daemon) β Local β Herdr Desktop / Agents β
β (100.122.158.96:42689) β ββββββ> β (0.0.0.0:8765) β ββββββ> β (~/.config/herdr/herdr.sock) β
β WebSocket Client β Tailnet β WebSocket β Socket Bridge β Unix β Terminal Panes & Shells β
βββββββββββββββββββββββββββββ ββββββββββββββββββββββββββββββββ Socket βββββββββββββββββββββββββββββββββββ
The repository includes a management CLI (scripts/herdr-remote) and Python daemon (herdr-bridge.py).
- Python 3.9+ with
websocketslibrary:pip3 install websockets
- Herdr CLI installed and running:
herdr session list
Run the management script from the project root:
# Start bridge daemon in the background (binds to ws://0.0.0.0:8765)
./scripts/herdr-remote start
# Check status & connected socket
./scripts/herdr-remote status
# View live streaming terminal logs
./scripts/herdr-remote logs| Command | Description |
|---|---|
./scripts/herdr-remote start |
Starts the WebSocket daemon in background |
./scripts/herdr-remote stop |
Stops the running daemon |
./scripts/herdr-remote restart |
Restarts the bridge daemon |
./scripts/herdr-remote status |
Checks port 8765 and Unix socket connectivity |
./scripts/herdr-remote logs |
Tails live bridge event logs |
./scripts/herdr-remote foreground |
Runs the bridge in interactive foreground mode |
./scripts/herdr-remote install-service |
Installs macOS LaunchAgent to auto-start on boot |
./scripts/herdr-remote uninstall-service |
Removes macOS LaunchAgent service |
To have the bridge start automatically on macOS login without running terminal commands:
./scripts/herdr-remote install-service- Open Settings (βοΈ top right in the Android app).
- Toggle Mock Mode to
OFF. - Set the WebSocket URL:
- Over Local Wi-Fi:
ws://<YOUR_MAC_LOCAL_IP>:8765(e.g.,ws://192.168.1.100:8765) - Over Tailscale VPN:
ws://<YOUR_MAC_TAILSCALE_IP>:8765(e.g.,ws://100.122.158.96:8765)
- Over Local Wi-Fi:
- Tap Save Preferences.
- The app will immediately establish a live connection:
- All active desktop tabs and agent names will appear in the top tab bar.
- Live stdout/stderr terminal streams and AI responses will stream in real time.
- Switching, opening, or closing tabs on the phone automatically mirrors on your desktop.
Tailscale creates a secure, encrypted WireGuard mesh VPN between your Mac and Android phone, allowing you to control your desktop agents from cellular data or outside networks with zero port forwarding.
- Install Tailscale:
brew install --cask tailscale # Or download from https://tailscale.com/download/mac - Open Tailscale, log in, and find your Mac's 100.x Tailscale IP:
tailscale ip -4 # Example output: 100.122.158.96
- Install Tailscale from the Google Play Store.
- Sign in with the same account used on your Mac and toggle the VPN switch to Active.
- Tap on your Mac's node in the list to verify connectivity.
- Open Herdr Remote on your phone.
- Tap Settings (βοΈ).
- Paste the WebSocket URL using your Mac's Tailscale IP or MagicDNS hostname:
ws://100.122.158.96:8765 - Tap Save Preferences. You are now securely connected anywhere in the world!
- All API keys and server connection URLs are stored locally on-device in Android
SharedPreferences. - No telemetry, analytics, or third-party tracking scripts are bundled.
- All Tailscale network traffic is end-to-end encrypted via WireGuard.
MIT License. See LICENSE for details.