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
- FA score
- 43/100 · Major gaps
At a glance
- How it runs
- Works with
- Platform-specificOpenAI API (Partial support)
- Cost
- Free software; you pay for model usage
- Setup effort
- High · needs real infrastructure
- You'll need
- 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
- Source review
- 43/100 · Major gaps 1 safety controls not found
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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.xcodeprojIn 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/ModelTestsHow 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)
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.
FARS trust-control audit
- 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?
- 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.
- 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?
Why each dimension lost points
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.
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.
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.
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.
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.
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.
- 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.
FAQ
Does it really run without Wi-Fi or a computer?
Do I need a paid Apple developer account?
Is the model running on the phone? What data leaves the device?
How trustworthy is the WeChat send flow?
Can Android users get the 2.0 capabilities?
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.