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

At a glance

How it runs
Self-hosted serviceLibrary / SDKMCP server
Works with
Universal · cross-platformClaude.ai · OpenAI API
Cost
Free, no paid service needed
Setup effort
High · needs real infrastructure
You'll need
Android device running 6.0+ (root or Shizuku/non-root)Python 3.6+ client libraryOpenAI-compatible API key (optional, for agent mode)Shell / CLINetwork accessLocal filesystemMCP Server
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)

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.

  1. 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.
  2. 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.
  3. Someone who wants auto-reply or data collection running in the background while the phone stays usable, isolated on a virtual display.
  4. Games or custom-drawn apps with no usable view tree, where OCR and on-device SIFT image matching replace selectors.
  5. Device farm or cloud-phone operators wiring remote handsets into one entry point with StarLink Hub, frp forwarding or an OpenVPN mesh over P2P.
  6. 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)

Local shell command execution

Can run terminal commands; pair with approval gates or container/OS sandboxing.

Local filesystem read/write

Modifies local files; work on a clean Git branch or dedicated worktree.

Outbound network access

Makes outbound requests; verify telemetry settings and model data routing on private repos.

External MCP tool bridge

Inherits capabilities of connected MCP servers; audit third-party servers before enabling.

What are this agent's strengths and limitations?

Pros
  • 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.
Limitations
  • 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?

FollowAgents source review · FARS-2.1
Major gaps
56/ 100 5-point scale 2.8 / 5
This review covers the source as of Sep 10, 2026. The project has shipped 3 stable release(s) since, which have not been re-reviewed. The score and verdict describe the reviewed version only. Recent releases ↓
Trust 13/29
Reliability 6/14
Adaptability 15/18
Convention 9/18
Effectiveness 10/13
Verifiability 3/8
Why each dimension lost points
Trust13 / 29 · 2.2/5

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.

Reliability6 / 14 · 2.1/5

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.

Adaptability15 / 18 · 4.2/5

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+).

Convention9 / 18 · 2.5/5

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.

Effectiveness10 / 13 · 3.8/5

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.

Verifiability3 / 8 · 1.9/5

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.

Risks and how to mitigate them
  • 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.
Evidence confidence: Low Reviewed Sep 10, 2026 Reviewed revision fd675997269f New commits since this review; the score may not cover them
Review evidence README.mdLICENSESECURITY.md
See the full review method →
Maintain this project? Add the FARS badge to your README

The badge shows the current review score and verdict and links back to this page. It refreshes about once an hour after a re-review.

FARS

[![FARS review](https://followagents.com/badge/lamda.svg)](https://followagents.com/en/agents/lamda)
<a href="https://followagents.com/en/agents/lamda"><img src="https://followagents.com/badge/lamda.svg" alt="FARS review"></a>

Recent releases

Latest entries from the project's GitHub Releases. Notes are quoted from upstream as written, not rewritten or tested by FollowAgents.

  1. v10.14
    Release notes excerpt
    See https://device-farm.com/news for release details.
    View on GitHub ↗
  2. v10.12
    Release notes excerpt
    See https://device-farm.com/news for release details.
    View on GitHub ↗
  3. v10.9
    Release notes excerpt
    See https://device-farm.com/news for release details.
    View on GitHub ↗

FAQ

Is root mandatory?
No. The README states both root and non-root modes are supported, deployed via the one-click APP (root or Shizuku) or a Magisk module. Some system-level actions such as writing ro.* properties, SELinux policy work and system CA installation need higher privileges, and the README does not itemize the exact boundary.
Which devices and Android versions are supported?
Android 6.0 and above, with builds for arm64, armeabi-v7a, x86 and x86_64, running on real devices, emulators such as LDPlayer and Nox, Redroid, WSA, AVD and cloud phones.
Is the AI part required, and does it incur model costs?
No. Core remote desktop, automation, capture, Frida and proxy features do not use an LLM. The agent command and vision mode need your own OpenAI-compatible API key, billed by that provider per usage.
Can I use it when the PC and device are on different networks?
Yes, through StarLink Hub plus hub-bridge P2P access, the built-in frp client via fwd.*, an OpenVPN mesh, or mDNS at {device_id}.local; the first options require a self-hosted server or the subscription service. Capture also works when PC and device share only a single FIRERPA port.
Can I embed the remote desktop in my own product?
Yes. Remote desktop capabilities can be embedded over WebSocket (video, touch, terminal, keys) with allow_origin for cross-origin integration, and both the service and remote desktop support end-to-end TLS with certificate-based access control plus optional WebUI login passwords.
Was this page helpful?
View on GitHub ↗ Install ↓

Compare agents like this one

The same FARS review applied across the shortlist this agent qualifies for.

Related concepts