Roubao 2.0 for iPhone

An open-source iPhone agent that reads the screen, taps and types across apps to finish tasks on your own phone.

Source repo
Turbo1123/roubao
Stars
★ 2.4k
Last updated
25d ago
FARS reviewed
Dec 04, 2026
License
MIT
Primary language
Swift

At a glance

How it runs
Desktop appCLI
Works with
Platform-specificOpenAI API (Partial support)
Cost
Free software; you pay for model usage
Setup effort
High · needs real infrastructure
You'll need
iOS 26+ iPhonemacOS with full XcodeRust (aarch64-apple-ios target)Model API key (user-supplied)Shell / CLINetwork accessLocal filesystem
Typical use
Solo users with only an iPhone who want an agent to run cross-app errands, such as looking up three nearby coffee shops on Maps with distance and opening hours.
Not a fit if
  • Users who won't deal with Xcode signing, developer mode and pairing files
  • People with only an Android phone or a device older than iOS 26
Maintenance
Commits in the last 30 dayslast commit 2026-11-09

What does this agent do, and when should you use it?

Roubao 2.0 is an open-source iPhone agent whose source lives in ios/: a Swift app and extensions plus a Rust-built idevice component, driving the device through AgentRunKit → CoreDevice / RemoteXPC → idevice → a local loopback VPN, with no WebDriverAgent, Appium or XCTest runner involved. Given a goal, it screenshots the live page, plans, then launches apps, taps, long-presses, swipes, types Chinese/English/emoji and returns to the home screen, pausing on local notifications and question cards when it needs your choice or authorization. Tasks default to 100 steps with an offer to add 50 more, and checkpoints let a task resume later; results can be assembled into PDF reports with tables and screenshots, previewed in QuickLook and handed off through the iOS share sheet. You supply the model yourself by entering a compatible Base URL, key and model ID on the phone, with optional TypeSafe JEV acceleration and Doubao/Volcano Engine streaming ASR. Runtime needs no Wi-Fi, jailbreak, computer or extra hardware, but the first build, signing, install, developer mode and on-device pairing file all require a Mac plus USB, and free-team signatures usually expire in 7 days. The root directory still holds the Shizuku-based legacy Android app (Kotlin, MIT) while the iOS side stays under the upstream AGPL-3.0.

The loop is screenshot → plan → act → screenshot again: AgentRunKit reaches the device through CoreDevice / RemoteXPC, idevice and a local loopback VPN, captures the current screen, and lets a vision-language model choose the next action — launch an app, tap, long-press, swipe, type Chinese/English/emoji, or go home. When grounding stalls, local OCR narrows the target; after two failed or non-progressing attempts the main multimodal model is asked to re-locate it. Decisions come back as one question card at a time, editable before a single submission, with local notifications while it waits. Runs cap at 100 steps by default and ask whether to add 50, and checkpoints preserve progress so you can say "shrink that report to two pages" or "add one more platform" later. Output side, it produces PDF reports with tables and screenshots, exposes a file list, QuickLook preview and dismissal, and the iOS system share sheet, and reports stay editable. Optional Doubao/Volcano Engine streaming ASR gives live speech-to-text that you can edit before sending, and TypeSafe JEV can accelerate execution; with your authorization it can also drive the WeChat UI through generic screenshot, tap, type and the system share channel to send files (experimental). The README's first acceptance task is clearing the calculator, computing 23×17 and reading back 391.

  1. Solo users with only an iPhone who want an agent to run cross-app errands, such as looking up three nearby coffee shops on Maps with distance and opening hours.
  2. Shoppers gathering price evidence: compare the same model and storage across three named e-commerce platforms, record price conditions and screenshots, and generate a PDF.
  3. People away from a desk: run long tasks on cellular only and follow stage and step progress on the Dynamic Island, stopping at any time.
  4. Assistants who must hand over a document: turn a finished task into a PDF with tables and screenshots and deliver it via the iOS share sheet.
  5. Technical users with a Mac and a paid developer team: plug in their own Base URL, key and model ID, enable JEV, and run their own acceptance tasks.
  6. Agent researchers: run the offline harness and protocol tests with swift test, without an API key and without touching a phone.

Key setup facts

Pulled from the install and usage notes below. The project README has the current values.

Environment variables
ROUBAO_BUNDLE_ID
Install notes cover
macOS

How do you install or deploy this agent?

You need an iOS 26+ iPhone, a Mac with the full Xcode that supports that OS, a Rust toolchain, and your own model API. Connect over USB, trust the computer, then enable Settings → Privacy & Security → Developer Mode and reboot to confirm.

git clone https://github.com/Turbo1123/roubao.git
cd roubao/ios
rustup target add aarch64-apple-ios
scripts/build-idevice.sh
open iPhoneUse.xcodeproj

In Xcode set your own team and a unique Bundle ID (ROUBAO_BUNDLE_ID renames the main app and both extensions at once). Paid teams with the Network Extension entitlement use the built-in VPN; a free Personal Team must set BUILTIN_VPN=NO and install and enable LocalDevVPN separately, and signatures usually last 7 days. After building and installing, generate and import the pairing file for that specific phone over USB (it contains private trust material and must not be shared), allow VPN and local network permissions, and wait for the first Developer Disk Image download and mount.

The offline test path needs no API key and does not drive a phone:

swift test --scratch-path .build/ModelTests

How do you use this agent?

Configure a model, then run the minimum check: have it clear the calculator, compute 23×17 and read the result, which should be 391. After that, state goals directly, for example:

Open the calculator, clear it, compute 23×17 and read the result.
Look up three nearby coffee shops on Maps and summarize distance and hours; do not order anything.
Compare the same phone model and storage on three named e-commerce platforms, record price conditions and screenshots, and generate a PDF.
Continue the previous report, flag which prices need a membership or coupon, and save a new version.
Share that PDF into my specified WeChat chat and let me confirm the recipient and file before sending.

For a cellular-only setup, first add the "[iPhone Use] Toggle Cellular" shortcut inside Roubao, then tap "assistant added, connect in one tap": it briefly disables cellular to establish the local channel and restores it, with no Wi-Fi required. Watch for local notifications and question cards when input or authorization is needed — one question at a time, editable before submission — and stay present for final send, order or payment actions; do not use real payments for first tests.

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.

FARS trust-control audit

Not found in source — apply before daily use
  • dependency security — Pin versions and run a dependency audit (npm audit, pip-audit) before installing; prefer running it in a container.

What are this agent's strengths and limitations?

Pros
  • The control path (AgentRunKit → CoreDevice / RemoteXPC → idevice → local loopback VPN) talks to the phone directly, so there is no WebDriverAgent, Appium or XCTest runner and no jailbreak, dev board or second phone.
  • True cellular-only operation: once configured, the Mac can be shut down and USB unplugged, and runtime needs no Wi-Fi.
  • Bring your own model: enter a compatible Base URL, key and model ID on the phone, with optional TypeSafe JEV acceleration and Doubao/Volcano Engine streaming ASR.
  • Long tasks are engineered, not hoped for: 100 steps by default with a +50 option, checkpoints that survive interruption, and Dynamic Island progress you can stop at any time.
  • Complete output path: PDF reports with tables and screenshots, QuickLook preview, the iOS share sheet, and reports that can be revised and re-saved.
  • A legacy Shizuku-based Android app (Kotlin, MIT) with a V1.4.2 APK remains in the repo, alongside structured iOS docs for install, usage, validation and architecture.
Limitations
  • Setup is heavy and explicitly a developer source preview: Mac, full Xcode, Rust, developer mode, a signing team, a device-specific pairing file and a local VPN.
  • Free Personal Team signatures usually expire in 7 days and force you off the built-in VPN onto LocalDevVPN; signature expiry, pairing loss, OS upgrades or app redesigns can all break a run.
  • It is not an offline model: orchestration is local but inference uses your networked API, so task text, screenshots and context leave the phone; enabling JEV or ASR sends data to those services too.
  • WeChat control is experimental — past tests produced duplicate sends and mis-taps, and after adding authorization and duplicate-action guards the full send flow has not been re-validated.
  • Documented limits apply: the phone must be unlocked, logins, captchas, payment checks and system permissions are not bypassed, and recovery does not guarantee an external action ran exactly once.
  • Platform and licence split: iOS 26+ only, Android frozen at V1.4.2 without 2.0 features, and iOS is AGPL-3.0 while Android is MIT, so capabilities cannot be assumed to match.

How does this agent compare with similar options?

The README positions the project against two concrete alternatives: WebDriverAgent / Appium / XCTest-runner style frameworks, which it deliberately does not use in favour of idevice plus a local loopback VPN, and its own Shizuku-based Android implementation, whose Kotlin source and V1.4.2 APK are retained but not updated alongside 2.0. It also describes the product as bringing a "Doubao phone"-style AI operating experience to an existing iPhone, while stating there is no official affiliation with Doubao, ByteDance or Apple and no claim of feature parity. The iOS codebase extends the upstream iphone-use-app under its AGPL-3.0 licence.

Key facts side by side with the most closely related agents.

Agent Source review Form / cost Stars Updated Language Full support on
Roubao 2.0 for iPhone This agent 43 · Major gaps Desktop appFree + model costs ★ 2.4k 25d ago Swift —
FutureOS 66 · Some gaps CLIFreemium ★ 120 today Rust OpenAI API · Claude API
Everywhere Desktop Context Assistant 41 · Major gaps Desktop appFreemium ★ 6.4k today C# OpenAI API · Claude API
OpenHuman 57 · Major gaps Desktop appFreemium ★ 43k 3d ago Rust —

How does FollowAgents rate this agent?

FollowAgents source review · FARS-2.1
Major gaps
43/ 100 5-point scale 2.2 / 5
Trust 12/29
Reliability 3/14
Adaptability 10/18
Convention 9/18
Effectiveness 6/13
Verifiability 3/8
Why each dimension lost points
Trust12 / 29 · 2.1/5

The README states that keys are stored in the device keychain, data stays in the app sandbox, pairing files contain private trust information and must not be shared, and model/JEV/ASR services receive task text, screenshots and context. It also warns users to verify recipients and content before sending or purchasing, and admits duplicate-action protection has not been proven for all buttons. However, the packet contains no source code or dependency manifest to verify enforcement, no dependency audit evidence, and rollback is limited to checkpoints/resume without exactly-once external action recovery. Therefore least_privilege, user_confirmation, sensitive_data_handling and rollback score 1, dependency_security scores 0; data_flow_transparency and external_effects score 2 for concrete disclosure; source_attribution scores 2 for upstream and third-party credits.

Reliability3 / 14 · 1.1/5

The README provides build and offline test commands and lists iOS 26+, Rust, Xcode and LocalDevVPN dependencies, but the packet has no Package.swift, lockfile or dependency version evidence, so dependency availability and reproducibility cannot be judged. No failure-message or error-handling code is present. The root MIT license and iOS AGPL-3.0 metadata differ; the README explains the split, but it remains an inconsistency the reader must reconcile. Thus self_consistency and dependency_availability score 1, failure_messages scores 0.

Adaptability10 / 18 · 2.8/5

The README clearly identifies the target audience (existing iPhone users, no jailbreak, cellular-only runtime) and scenarios (price comparison, PDF reports, WeChat sharing, continued chat). It also states boundaries: not an offline LLM, does not bypass login/verification, WeChat control is experimental, and not every business flow is fully validated. Triggering is mainly natural-language task examples, with little detail on trigger precision, ambiguity handling or selection mechanics. Environment fit is documented (Mac + USB first-time setup, developer mode, VPN, signing expiry) but the barrier is high. Therefore audience_and_scenarios, capability_boundaries and environment_fit score 2, trigger_precision scores 1.

Convention9 / 18 · 2.5/5

The README is well structured with a platform table, install steps, task examples, privacy boundaries and known limitations, and links to INSTALL/USAGE/VALIDATION/ARCHITECTURE. Licensing distinguishes iOS AGPL-3.0 from Android MIT and points to LICENSING.md. Deductions: naming still uses the iPhoneUse project/module, creating legacy naming mixing; there is no standalone changelog or version history beyond mentions of 2.0 and Android V1.4.2; maintenance responsibility is only 'Roubao Team' and publisher identity is unverified; examples exist but there is no FAQ. Thus information_architecture, install_notes, known_limitations and license score 2; naming_stability, examples_and_faq, versioning_changelog and maintenance_responsibility score 1.

Effectiveness6 / 13 · 2.3/5

The README shows practical output forms: native PDF, file list, QuickLook, system share sheet, editable reports, Dynamic Island progress and stop control. But the core capability is labeled a developer preview; WeChat sending previously had duplicate sends and mis-taps, and full sending acceptance was not re-run after fixes. Cost is high: Mac, Xcode, Rust, developer mode, VPN/Network Extension or LocalDevVPN, model API fees, and free signing expiring in about 7 days. Therefore output_usability scores 2, marginal_value and cost_benefit score 1.

Verifiability3 / 8 · 1.9/5

Many key claims point to VALIDATION.md, ARCHITECTURE.md and INSTALL.md, but those files are not in this packet, so they cannot be cross-checked. The packet contains only README and LICENSE, with no source, tests or dependency manifest, so cross_source_corroboration scores 0. On the positive side, the README distinguishes 'development-validated' from 'not guaranteed' and lists uncovered scenarios, so fact_inference_separation scores 2; claim_traceability scores 1 because referenced documents are not visible.

Risks and how to mitigate them
  • Not found in source: dependency securityPin versions and run a dependency audit (npm audit, pip-audit) before installing; prefer running it in a container.
  • First-time setup requires a Mac + USB, developer mode, signing and a local pairing file; free signing usually expires in 7 days, and signing or pairing failures require maintenance.
  • WeChat control is experimental; historical tests showed duplicate sends and mis-taps. Verify recipient and file manually before sending, and do not use it unattended for important actions.
  • Model services receive task text, screenshots and related context; enabling JEV/ASR sends data to those services too. Confirm privacy boundaries before use.
  • The packet contains no source code, dependency manifest or security audit evidence, so keychain, sandbox, least-privilege and dependency-security claims cannot be verified.
  • Licensing is split between root MIT and iOS AGPL-3.0; read LICENSING.md and confirm applicable terms before redistribution or derivative work.
Evidence confidence: Low Reviewed Dec 04, 2026 Reviewed revision fba7a07f6c18
Review evidence README.mdLICENSE
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/roubao.svg)](https://followagents.com/en/agents/roubao)
<a href="https://followagents.com/en/agents/roubao"><img src="https://followagents.com/badge/roubao.svg" alt="FARS review"></a>

FAQ

Does it really run without Wi-Fi or a computer?
The task loop and phone control run locally, so the Mac can be shut down and USB unplugged and it works on cellular data alone. The first build, signing, install, developer-mode enablement and the device pairing file do require a Mac plus USB, and cellular-only use needs the "[iPhone Use] Toggle Cellular" shortcut inside Roubao to briefly establish the local channel.
Do I need a paid Apple developer account?
Not strictly. A free Personal Team works if you set BUILTIN_VPN=NO and install and enable LocalDevVPN, but signatures typically expire in 7 days; a paid team with the Network Extension entitlement can use the built-in VPN and needs less frequent maintenance.
Is the model running on the phone? What data leaves the device?
No on-device LLM. The phone screenshots, plans and executes actions, while inference goes to the API you configure, which receives task text, screenshots and related context; enabling JEV or Doubao/Volcano Engine ASR sends those services their required data as well.
How trustworthy is the WeChat send flow?
It is a validated development demo at best: a generated PDF has been sent into a specified chat on a real device, but historical tests produced duplicate sends and mis-taps, and the full send flow has not been re-validated since guards were added. Confirm recipient, file and content before sending.
Can Android users get the 2.0 capabilities?
Not equivalently. The legacy Android app (Kotlin, Shizuku-granted permissions, MIT) and its V1.4.2 APK are kept in the repo but are not being updated; the Dynamic Island, CoreDevice and local VPN behaviour described here applies to the iOS build only.
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