Install & Build AgenMobi v0.2.11 on macOS
Open-source desktop software (MIT Non-Commercial License). Built-in Android Platform Tools (adb) and verified official scrcpy 3.3.3 server binaries are prepared automatically during setup.
1. Prerequisites & Open-Source Status
- Operating System: macOS (Apple Silicon / Intel)
- Node.js Runtime: 22.12+
- Bundled ADB & Smart Reuse: Packaged DMG bundles Android Platform Tools, while automatically preferring existing Android Studio / Homebrew adb to prevent two ADB servers from restarting each other. You can also override adb path in Settings.
- Repo Visibility Note: The source repository Jamailar/AgenMobi is public under the MIT Non-Commercial License. Default builds are for running on your own Mac; signed, notarized releases need your own Apple Developer ID.
2. Run from Source (3 Commands)
git clone https://github.com/Jamailar/AgenMobi.git
cd AgenMobi
npm ci
npm run prepare:assets
npm startnpm run prepare:assets verifies the official scrcpy 3.3.3 server checksum and stages macOS Android Platform Tools locally.
3. Package Local macOS App & DMG
npm run package:mac
# Outputs native macOS .app and .dmg inside releases/Double-click the generated DMG in releases/ and drag AgenMobi.app into Applications. To run automated tests before packaging, execute npm run typecheck && npm test.
4. Optional Setup for iPhone & AI Providers
- iPhone AirPlay: Install UxPlay compiled with -vrtp and GStreamer; AgenMobi auto-discovers ~/.local/bin/uxplay-p2p, ~/.local/bin/uxplay, Homebrew, or AGENMOBI_UXPLAY.
- iPhone iOS 27+ USB: Install pymobiledevice3 and enable Developer Mode on iPhone (override interpreter via AGENMOBI_PYTHON if needed).
- AI Models & MCP: Add OpenAI, Anthropic, Google Gemini, or compatible API keys in Settings -> AI Models, and copy the stdio MCP config or A2A Agent Card URL from Settings -> External Clients.
5. Verification Checklist & Environment Variables Reference
After launching AgenMobi on your Mac, verify your setup with the steps below. Android devices require no root or companion APK; simply enable Developer Options -> Wireless Debugging (Android 11+) or USB debugging on the same Wi-Fi network as your Mac.
| Variable / Command | Purpose |
|---|---|
npm run prepare:assets | Downloads and verifies official scrcpy 3.3.3 server checksums and stages macOS ADB binaries. |
npm run package:mac | Runs production build + asset prep and packages native macOS .app and .dmg inside releases/. |
AGENMOBI_ADB | Optional absolute path to a custom adb binary (or pick directly inside AgenMobi Settings). |
AGENMOBI_UXPLAY | Optional absolute path to a -vrtp compiled UxPlay binary for iPhone AirPlay mirroring. |
AGENMOBI_PYTHON | Optional Python interpreter path where pymobiledevice3 is installed for iOS 27+ USB CoreDevice. |
AGENMOBI_CALLBACK_SIGNING_KEY | Optional shared secret to sign outgoing HTTP workflow webhook callbacks with HMAC-SHA256. |