FIRERPA Android Control Platform
One on-device Android service plus a Python client for remote desktop, UI automation, MITM capture, Frida hooking and MCP/agent control.
- Source repo
- firerpa/lamda
- Stars
- ★ 8.8k
- Last updated
- 10d ago v10.14
- FARS reviewed
- Sep 10, 2026 +3 new
- License
- MIT
- Primary language
- Python
- FA score
- 56/100 · Major gaps
At a glance
- How it runs
- Works with
- Universal · cross-platformClaude.ai · OpenAI API
- Cost
- Free, no paid service needed
- Setup effort
- High · needs real infrastructure
- You'll need
- Typical use
- A mobile security engineer who needs capture, Frida hooks and UI driving on the same real device without shuffling between mitmproxy, frida-server and adb.
- Not a fit if
- Teams that need to control iOS devices
- Teams unwilling to install a system-level service or enable root/Shizuku on real hardware
- Lightweight users who only need a few tap-script lines; deployment cost is high
- Website
- device-farm.com ↗ set on GitHub
- Maintenance
- Commits in the last 30 dayslast commit 2026-11-22latest release v10.14 (2026-11-22)
- Source review
- 56/100 · Major gaps
What does this agent do, and when should you use it?
FIRERPA (repo slug lamda) is an all-in-one Android device control platform whose server runs directly on the phone or emulator with no extra runtime dependencies, supporting Android 6.0+ in both root and non-root modes. The on-device service exposes a browser remote desktop (MJPEG, H.264, WebRTC), selector-based UI automation, virtual displays, OCR and image matching, one-click MITM capture, bundled Frida, a built-in ADB/SSH terminal, proxy and VPN/frp/P2P networking, and an MCP server under /mcp/. A PC-side Python client library drives 160+ APIs and chains those capabilities into one pipeline. It targets multi-device clusters and long-running unattended production use, deployed via one-click APP, Magisk autostart, manual extraction or ROM integration. Its AI surface is the built-in agent command over any OpenAI-compatible API plus official MCP extensions, not a standalone model product.
Once the on-device service is running, it takes commands from the WebUI or the Python client and executes them on Android itself: locating widgets by text, resourceId, description or scrollable matchers with child/sibling chaining, then taking screenshots, waiting for appear/disappear, typing Unicode, swiping in steps or fling-scrolling. A UI Watcher listens for UI changes and fires clicks, key events or counters; a virtual display runs apps and automation in the background through the mirrored vd.xxx API without touching the main screen. For scenes without a view tree it calls paddleocr, easyocr or a custom HTTP OCR backend, plus on-device template matching and SIFT. On the network side it performs one-click MITM: installing the system root CA, setting the proxy, handling Android version differences and restoring the network on exit, with per-package capture, live request/response editing and shared mitmweb. For reverse engineering it bundles Frida so no frida-server is needed, supports persistent scripts that re-inject after crashes, maps Frida RPC to Python methods and HTTP/JSON-RPC 2.0, and ships script emit data to HTTP, Redis or RabbitMQ (MQTT). System-level APIs cover app operations, file I/O, command execution, setprop on ro.* properties, SELinux domains, binary patching, runtime metrics and on-device tflite-runtime inference, alongside a terminal with strace, tcpdump, frida-tools and sqlcipher support. The MCP endpoint at /mcp/ runs over streamable-http and serves tool calls, resource reads, prompts, progress notifications and logs.
- A mobile security engineer who needs capture, Frida hooks and UI driving on the same real device without shuffling between mitmproxy, frida-server and adb.
- A QA automation team running long unattended jobs across many real devices and emulators, scheduling from Python while the API exclusive lock prevents client contention.
- Someone who wants auto-reply or data collection running in the background while the phone stays usable, isolated on a virtual display.
- Games or custom-drawn apps with no usable view tree, where OCR and on-device SIFT image matching replace selectors.
- Device farm or cloud-phone operators wiring remote handsets into one entry point with StarLink Hub, frp forwarding or an OpenVPN mesh over P2P.
- Teams that want natural-language control of real hardware via the agent command against an OpenAI-compatible API, or by attaching /mcp/ to Claude, Cursor and other MCP clients.
How do you install or deploy this agent?
The README documents four deployment paths: a one-click APP (root or Shizuku), Magisk module autostart, manual extraction, and ROM integration. The APP can auto-generate service certificates, and Magisk zips can ship properties, lamda.pem and adb_keys. Service settings are centralized in an INI configuration covering port, WebUI, certificates, OpenVPN, gproxy, frp, tunnel2, cron, sshd, adb and mdns, editable visually, as raw text, or reloaded via Reload Service in the WebUI. The device must run Android 6.0+, with arm64, armeabi-v7a, x86 and x86_64 builds for real devices, emulators, Redroid, WSA and AVD.
What the README does not provide: a download URL for the APK or Magisk zip, a PyPI package name or pip command for the Python client, and default port values. Those live in the official documentation at https://device-farm.com/docs/en/ and https://device-farm.com/docs/zh/. The PC side requires Python 3.6+.
How do you use this agent?
Open the WebUI in a browser for the remote desktop: switch between MJPEG and H.264, tune frame rate (up to 60fps), resolution scale and bitrate, configure STUN/TURN for WebRTC, and use multi-user access, bidirectional clipboard, live audio on Android 10+, the integrated terminal and file browsing.
Then write automation with the Python client library: main-screen APIs are called as d.xxx and the virtual display exposes the mirrored vd.xxx form, with selectors, Watchers, OCR and image matching reachable from the same client.
For AI control, invoke the built-in agent command against any OpenAI-compatible API supporting tool calls and vision; the README does not show its argument syntax.
You can also point an MCP client at the endpoint the device service exposes:
http://<device>:<port>/mcp/It speaks streamable-http and offers tool calls, resource reads, prompts, progress notifications and logs; official MCP extensions live under ~/modules/extension.
Safety boundaries, hardening & integrations
Operational blast radius, source-verified safety controls, and first-run hardening steps before connecting this agent to real workspaces.
Declared capability surface (blast radius)
Can run terminal commands; pair with approval gates or container/OS sandboxing.
Modifies local files; work on a clean Git branch or dedicated worktree.
Makes outbound requests; verify telemetry settings and model data routing on private repos.
Inherits capabilities of connected MCP servers; audit third-party servers before enabling.
What are this agent's strengths and limitations?
- A single on-device service covers remote desktop, UI automation, capture, Frida, ADB/SSH and proxying — capture still works when PC and device share only one FIRERPA port.
- Virtual displays (vd.xxx) run apps and automation in the background without disturbing the main screen, and Watchers can be scoped to a virtual display — isolation that comparable stacks rarely offer.
- Bundled MCP server at /mcp/ over streamable-http plus an agent command means Claude, Cursor and other MCP clients or any OpenAI-compatible API can drive real hardware, optionally on a crontab.
- Works with and without root (Shizuku supported), across arm64/armeabi-v7a/x86/x86_64 and real devices, emulators, Redroid, WSA and AVD, with APP, Magisk autostart and ROM deployment paths.
- Ships its own ADB without enabling Developer Options, an SSH path, and a terminal toolchain (strace, tcpdump, frida-tools, sqlcipher), cutting tool shuttling between PC and device.
- Installation is not copy-pasteable: no APK/Magisk download link, no Python client package name, no default port in the README — onboarding leans on the external docs site.
- Typical use needs real hardware, often root or Shizuku/Magisk, certificates and INI configuration, so first-run cost is much higher than a single-command CLI tool.
- The natural-language agent mode depends on an external OpenAI-compatible API key and is optional rather than out of the box; its command syntax is not shown in the README.
- Several connectivity modes (frp forwarding, OpenVPN mesh, StarLink Hub) require self-hosted servers, and the README notes a networking subscription service since 7.50 — some setups may cost money.
- The surface area is huge (remote desktop, capture, reverse engineering, networking, system control, virtual Debian) and documentation lives mostly off-repo, so evaluation and learning take real effort.
How does this agent compare with similar options?
The README positions FIRERPA against stitching together Appium, mitmproxy, frida-server, adb, uiautomator2 and ad-hoc scripts, claiming one source of capabilities and a connected workflow. Against on-device script runners like AutoJS, its client/server model is presented as better for centralized scheduling, versioning and fleet control; it is described as lighter than Appium and more stable than uiautomator2 in multi-device scenarios. For capture, its system CA install/uninstall is stated to be compatible with mitmproxy, Fiddler and Charles.
Key facts side by side with the most closely related agents.
| Agent | Source review | Form / cost | Stars | Updated | Language | Full support on |
|---|---|---|---|---|---|---|
| FIRERPA Android Control Platform This agent | 56 · Major gaps | Self-hosted serviceFree | ★ 8.8k | 10d ago | Python | Claude.ai · OpenAI API |
| Open Claude in Chrome | 48 · Major gaps | MCP serverFree + model costs | ★ 300 | 2mo ago | HTML | Claude Code |
| ARTEX Autonomous Pentesting | 71 · Some gaps | Self-hosted serviceFree + model costs | ★ 2.9k | today | Go | OpenAI API · Claude API |
| REA Reverse Engineering Assistant | 54 · Major gaps | CLIFree + model costs | ★ 123 | 1mo ago | Rust | Claude Code |
How does FollowAgents rate this agent?
Why each dimension lost points
Evidence limited to README/LICENSE/SECURITY.md. Token auth, e2e TLS, service certificates, and a privacy policy (no contacts/SMS/location collection) give some data-flow transparency; but the tool fundamentally requires root/shell, silent adb_keys preinstall, system CA install, SELinux permissive mode, writing ro.* properties — least privilege is undercut by design; no user-confirmation mechanism evidenced for MITM/Hook/silent grants; rollback is a bare 'clean uninstall' mention; dependency security only asserts bundled 'latest Frida' with no manifest/SBOM. Deducted for high-privilege defaults and missing confirmation/rollback/dependency evidence.
Claims of 24/7 stability and superiority over uiautomator2 are self-asserted; 'no extra runtime dependencies' is contradicted by a required PC-side Python client; no source evidence for error messages or failure handling.
Strongest area: explicit audiences (security testing, device farms, cloud phones, RE), Android 6.0–16, root/non-root, four ABIs, emulator/cloud-phone matrix, and clear capability boundaries (audio Android 10+, accessibility coexistence 8.0+).
Clean MIT license; bilingual README, docs site, llms.txt show decent structure; but install notes are enumerations without steps in evidence; no CHANGELOG or versioned files; known limitations almost unstated (comparison copy instead); maintenance rests on an email and a 'six years' claim, with SECURITY.md supporting only a 10.x line.
Marginal value of consolidating Appium+mitmproxy+frida+adb+uiautomator2 is real and concretely described; output usability (APIs, JSON-RPC, Python client, MCP) is clear but unverified without code; cost/benefit is asserted, not measured.
Nearly everything is a README assertion not traceable to provided source; no third-party corroboration; marketing comparisons ('more stable than uiautomator2', 'functional superset') are not separated from factual statements. Deducted for weak traceability and fact/claim mixing.
- This is a static review based only on README/LICENSE/SECURITY.md; no source code or execution was verified.
- The platform by design requires very high privilege (root/shell, system CA, SELinux permissive, silent ADB authorization); assess abuse and over-privilege risk before deployment and avoid leaving it enabled on personal or unmanaged devices.
- Features such as Frida stealth patches, QUIC downgrade, and developer-mode-detection bypass can be used for adversarial purposes; confirm your compliance boundary before use.
- Version and maintenance claims are self-reported; SECURITY.md covers only a 10.x line — verify upgrade and vulnerability-response paths yourself.
- MIT license provides no warranty; validate in a small sandbox before production use.
Recent releases
Latest entries from the project's GitHub Releases. Notes are quoted from upstream as written, not rewritten or tested by FollowAgents.
FAQ
Is root mandatory?
Which devices and Android versions are supported?
Is the AI part required, and does it incur model costs?
Can I use it when the PC and device are on different networks?
Can I embed the remote desktop in my own product?
Thanks — we use this to improve the page.
Subscribe to the FollowAgents RSS feed, or save this agent to your browser shortlist to compare on your next visit.