Tomacco

Give your agent a phone.

It builds, runs, taps through and debugs iOS and Android apps.
On Linux. No Mac needed.

Your agent can finally run what it writes.

Coding agents write mobile apps, then can't see them run. With Tomacco they build, run, tap through and fix the app themselves.

The agent reproduces a seeded data-loss bug in a small Android demonstration app, fixes it and checks the app again. Open full size
$ tomaccoctl call project.run '{"path":"/home/you/Tomatoes","platform":"android","device":"emulator-5554"}'
{"ok":true,"result":{"id":"JOB_ID","state":"queued",…}}
$ tomaccoctl call job.wait '{"job_id":"JOB_ID","seconds":30}'
{"ok":true,"result":{"state":"succeeded",…}}
$ tomaccoctl call runtime.input '{"session":"SESSION_ID","action":"tap","x":0.5,"y":0.7}'
{"ok":true,…}
$ 

Homer crossed a tomato with tobacco. We crossed iOS with a Linux PC.

Same idea. Less soil.

The name comes from The Simpsons, where the cross turns out addictive. Not affiliated with The Simpsons or Disney, Apple or Omarchy. Nothing here to smoke.

296 operations. For your agent and for you.

Your agent

Ten setup adapters, including Claude Code, Codex, OpenCode, Grok CLI, Hermes Agent and omp. Any MCP client or JSON command line can use the same API. How agents connect.

You

A desktop app on the same running app. Watch your agent work, or take over.

Built for agents

Typed arguments, cooperative device reservations and durable action outcomes. Long builds keep going if the connection drops.

All 296 operation names

ios59

ios.app_filesios.appsios.crash_reportsios.crash_symbolicateios.device_statusios.doctorios.emulator.build_gpu_pluginios.emulator.build_guest_toolsios.emulator.controlios.emulator.execios.emulator.guestios.emulator.guest_resultios.emulator.inspectios.emulator.inspect_pmpios.emulator.memoryios.emulator.paravirtualios.emulator.pmpios.emulator.prepare_cryptexesios.emulator.prepare_guest_toolsios.emulator.prepare_pmpios.emulator.prepare_researchios.emulator.prepare_restoreios.emulator.prepare_userlandios.emulator.probeios.emulator.reportios.emulator.researchios.emulator.restoreios.emulator.usb_bridgeios.flutter_buildios.flutter_setupios.ipa_inspectios.prepareios.recordios.sdk_installios.signingios.store_shipios.toolkit_installios.virtual.appsios.virtual.cleanupios.virtual.configureios.virtual.crash_reportsios.virtual.debugios.virtual.deployios.virtual.doctorios.virtual.host_checkios.virtual.profilesios.virtual.recordios.virtual.screenshotios.virtual.setupios.virtual.startios.virtual.state_deleteios.virtual.state_saveios.virtual.state_useios.virtual.statesios.virtual.statusios.virtual.stopios.virtual.syslogios.virtual.unlockios.wda_prepare

android48

android.app_filesandroid.app_linksandroid.avd_configureandroid.avd_createandroid.avd_manageandroid.avd_planandroid.avd_profileandroid.avd_setupandroid.avd_startandroid.avd_usageandroid.avdsandroid.calibrateandroid.connectandroid.deep_linkandroid.displayandroid.eachandroid.emulatorandroid.environment.applyandroid.environment.capabilitiesandroid.environment.inspectandroid.environment.planandroid.environment.preset.deleteandroid.environment.preset.exportandroid.environment.preset.getandroid.environment.preset.importandroid.environment.preset.listandroid.environment.preset.saveandroid.environment.restoreandroid.environment.restoresandroid.hierarchyandroid.inputandroid.launchandroid.mirrorandroid.network_captureandroid.notificationsandroid.package_inspectandroid.pairandroid.performanceandroid.permissionandroid.portsandroid.recordandroid.screenandroid.sdk_installandroid.sdk_packagesandroid.sensorsandroid.settingsandroid.size_reportandroid.store_screenshots

device17

device.appdevice.capturedevice.infodevice.installdevice.labeldevice.listdevice.logsdevice.request.getdevice.request.listdevice.reservation.acquiredevice.reservation.getdevice.reservation.listdevice.reservation.releasedevice.reservation.renewdevice.reservation.takeoverdevice.resolvedevice.screenshot

preview16

preview.auditpreview.capturepreview.catalog_reloadpreview.clickpreview.configurepreview.consolepreview.errorspreview.evaluatepreview.fillpreview.inspectpreview.matrixpreview.navigatepreview.readypreview.reloadpreview.sessionspreview.state

testing16

testing.accessibilitytesting.actiontesting.baselinestesting.coveragetesting.crashestesting.findtesting.historytesting.impacttesting.instrumentationtesting.linttesting.recordtesting.reporttesting.resultstesting.runtesting.setuptesting.visual_diff

profile14

profile.analyzeprofile.baseline_compareprofile.baseline_installprofile.baseline_profileprofile.baseline_rulesprofile.benchmark_resultsprofile.budgetprofile.captureprofile.compareprofile.framesprofile.macrobenchmarkprofile.memoryprofile.startupprofile.usage

project11

project.analyzeproject.appproject.configureproject.createproject.dependency_updatesproject.executeproject.import_xcodeproject.inspectproject.planproject.runproject.watch

runtime11

runtime.actionsruntime.audioruntime.captureruntime.gestureruntime.hierarchyruntime.inputruntime.listruntime.observeruntime.startruntime.stateruntime.stop

apple10

apple.archiveapple.buildapple.deviceapple.devicesapple.exportapple.profileapple.projectapple.simulatorapple.storeapple.test

debug10

debug.breakpointsdebug.controldebug.evaluatedebug.eventsdebug.listdebug.stackdebug.startdebug.statedebug.threadsdebug.variables

demo8

demo.capabilitiesdemo.exportdemo.export.inspectdemo.media.inspectdemo.previewdemo.scene.createdemo.scene.getdemo.scene.update

screen8

screen.diffscreen.exportscreen.export_batchscreen.marksscreen.ocrscreen.tapscreen.treescreen.wait

job7

job.canceljob.eventsjob.getjob.listjob.logsjob.sendjob.wait

release7

release.checklistrelease.keystorerelease.notesrelease.signrelease.signing_healthrelease.verifyrelease.version

handoff6

handoff.cancelhandoff.completehandoff.gethandoff.listhandoff.requesthandoff.wait

remote6

remote.checkremote.configureremote.fetchremote.listremote.runremote.sync

files5

files.listfiles.mkdirfiles.readfiles.searchfiles.write

swift5

swift.android_configureswift.executeswift.planswift.sdk_installswift.status

workspace5

workspace.contextworkspace.executeworkspace.listworkspace.removeworkspace.save

catalog4

catalog.exportcatalog.importcatalog.listcatalog.remove

update4

update.applyupdate.checkupdate.rollbackupdate.status

gpx3

gpx.inspectgpx.playgpx.status

play3

play.abortplay.commitplay.prepare

desktop2

desktop.opendesktop.status

diagnostics2

diagnostics.bundlediagnostics.report_draft

settings2

settings.configuresettings.get

agent1

agent.policy

audit1

audit.list

capabilities1

capabilities

doctor1

doctor

result1

result.read

storage1

storage.prune

workflow1

workflow.run
Screen inspection and Bogen

Session-aware marks, stale-frame checks, compact screen trees, optional adaptive OCR, waits and screen diffs. Export device screens into Bogen as editable layers; hierarchy depends on the transport, with OCR where unavailable. Bogen edits do not automatically rewrite app code.

Inspecting a real Android emulator with numbered marks, hierarchy and screen tools. Open full size
A captured screen imported into Bogen as editable layers. Open full size
UI tests

Record input and replay scenarios with selectors, gestures, waits and assertions. Visual baselines, Android accessibility checks, coverage, test history, flaky attempts, retries, sharding and change-impact selection. Reports include HTML, JSON, JUnit and failure screenshots.

The demonstration app is restarted and its saved task is checked, then navigation is verified. Open full size
Performance

Measure startup, frame timing, memory and CPU usage. Inspect Perfetto traces and compare reports against budgets. Compose projects can include Macrobenchmark and Baseline Profile modules; available measurements depend on the platform and device.

Three cold starts and memory measured on one Android emulator; reports checked against budgets. These numbers describe this build and device. Open full size
Android tools

Gradle and Compose, Flutter, React Native and Expo workflows, plus the documented Swift-on-Android routes. Hot reload/restart, device recording and audio, AVDs, Quick Boot, snapshots, rotation, foldables, sensors, QR/camera input, fingerprints, deep links, App Links and network capture.

Querying sensors and rotating the actual Android emulator. Open full size
Web preview

Preview a real URL across phone, tablet and foldable profiles. Set safe areas, orientation, color scheme, reduced motion and network conditions; audit the page or capture a device matrix. This Chromium preview is separate from native Android and virtual iOS.

The web layout lab on phone, tablet and foldable profiles. Open full size
Agents and automation

MCP, JSON CLI and desktop share the same typed operations. Client routes include Codex, Claude Code, Cursor, VS Code, Gemini CLI, OpenCode and Cline. The installed skill, compact/grouped MCP modes, durable jobs, workflows of up to 20 operations, policies, approvals and audit logs support longer tasks.

Workspace and releases

Projects, files, jobs, logs, debugger tools, shared agent activity, saved layouts, interface scaling from 75% to 200%, settings search and 50 complete translation catalogs plus English. The same app adapts to narrow phone layouts; physical Pixel deployment remains pending. Demo Studio composes local recordings in perspective device frames with optional original audio. APK/IPA install routes, signing, keystores, versions, release notes, readiness checks, store screenshots and verification. Play/App Store routes use your credentials, with optional remote build hosts. Linux x86_64 and ARM64 packages, headless/container routes, signed updates and rollback.

The actual Tomacco desktop app: live device, builds and agent activity in one window. Open full size

The loop.

Write, build, run, tap, fix. Your agent does all five on its own.

Write

files.write

Your agent writes the code. It never overwrites a change you just made.

Build

project.execute

It builds the app and gets the errors back as data.

Run

project.run

It installs the app on a phone, an emulator or the virtual iOS device.

Tap

runtime.input

It taps through the screens and sees what you'd see.

Fix

device.logs

It reads the logs, finds the bug and goes again.

iOS 27. On a Linux PC. No Mac needed.

  • Boots to the Home screen
  • Runs Settings and Safari
  • Runs SwiftUI apps you built on Linux
  • New builds in ~25 s. No reboot.
  • Types into text fields from your agent
  • Responds to touch from you or your agent

0.1s

from touch to the screen responding, on a PC emulating every ARM instruction.

It's a virtual iOS device on your own PC, built on QEMU, with a Rust renderer that draws through Vulkan.

A real SwiftUI app running in the experimental virtual iPhone. Earlier product capture, shown at its recorded speed. Open full size

A physical iPhone, too.

In Tomacco 1.4, AirPlay carries the screen to Linux and Bluetooth carries pointer and keyboard input through BlueZ. Pair the phone and enable AssistiveTouch. The 1.4-era pointer was checked on an iPhone Air running iOS 27.2; this is historical evidence, not new 1.6.0 qualification. AirPlay itself does not carry input.

The device window follows mirroring, chooses the matching hardware frame and can stay pinned beside your editor. USB mirroring through WebDriverAgent also works continuously again: about 18–20 fps observed at full resolution on an iPhone Air in the earlier 1.4 checks.

The experimental virtual iPhone uses less engine CPU in the measured 1.4 workload. This is not a measured UI-speed gain. In the 2026-11-04 qualification of 1.4.1, one owned HelloVirtual test app was installed through xtool over the private USB bridge; xtool signed and provisioned it with the configured Apple development identity. Standard USB debugserver launch remains unqualified.

Set up a physical iPhone · What changed in 1.6.0

Android, complete.

  • Gradle and Flutter builds
  • Swift on Android
  • The real Android Emulator
  • USB and wireless phones
  • Live screen with touch and sound
  • Debugging with JDWP and LLDB
  • UI tests across devices
  • Performance traces with Perfetto
  • Signing and Play uploads
Native Android input through Tomacco, shown with a small Compose demonstration app. Open full size

Lives in your bar.

Devices, saved projects and build status in your Omarchy bar. The installer adds the phone button with --omarchy.

Open a device

Left-click the phone button to open the panel. Choose a device or start an emulator; middle-click the button to bring the live device into its own floating window.

Build a saved project

Run a saved project on its selected device from Projects. Follow running and finished builds in Jobs, open their logs or cancel a job. Builds keep running when you close the panel.

Continue in the workspace

Right-click the button to open the full workspace. The panel, desktop app and agents share the same devices and jobs, so you can carry on from the status shown in the bar.

Tomacco · Build Tomatoes
TomaccoBuild Tomatoes
As windowF ScreenshotS DevicesG JobsA
ProjectFilesDebuggerProfilerWeb

DEVICES

1 connected
  • Virtual iOS deviceiOS · experimental · off
  • Medium PhoneAndroid · Emulator · live in workspace
  • Small PhoneAndroid emulator · off

JOBS

1 active
  • Build TomatoesRunning · for 12 s
  • Test TomatoesSucceeded · 4 min ago · took 38 s

PROJECTS

  • Tomatoes~/Tomatoes · Medium Phone
The bar and panel, drawn from the plugin’s controls. Sample devices, project and job status.

What you need, and where it stands.

What you need

  • x86_64 Linux. Arch Linux and Omarchy are tested on a desktop. Debian 12, Ubuntu 22.04 and newer and Fedora get a portable package, checked in clean containers.
  • To build from source. CMake, Ninja, a C++20 compiler, Rust 1.89+, protobuf, FFmpeg, Qt 6.9+, Python 3.11+.

For the virtual iOS device

  • Your own iOS images. iPhone17,3 iOS 27.0.1 (24A446) and PCC cloudOS 26.4 beta (23E5207q). Prepare the local IM4M boot manifest with the included helper. Nothing from Apple ships with Tomacco. Images and boot-manifest setup.
  • Graphics and CPU. A Vulkan card with about 16 GiB of memory, and a fast processor.
  • Memory and disk. 8 GiB of RAM for the virtual device, up to 2 GiB more for translated code, about 100 GiB of disk for setup.
  • Time. Half an hour for the first restore, then about 9 minutes from start to your app.

Current status

  • Experimental. The virtual iOS device is a research runtime, not a finished simulator, and hasn't passed its release checks.
  • Speed. It runs far below hardware speed. An app window appears about 6.5 to 8 s after launch, the screen responds to touch in about 0.1 s, and a Home-screen swipe shows about 7 to 11 changed frames a second.
  • Not there yet. Audio and a debugger on the virtual device. Network is off by default and still being tested.
  • SwiftUI. Builds need the SDK from your own Xcode download. One small app has been shown running so far.
  • For testing only. Use the virtual device with your own test apps. Don't sign in with real accounts or put personal data on it, because it runs with iOS's security features turned off.
  • Physical iPhone. The earlier 1.4 checks covered Wi-Fi mirroring and Bluetooth pointer input on an iPhone Air with iOS 27.2. Version 1.6.0 adds paced swipes, keys for Home, Back, the App Switcher, Control Center and Notification Center, physical-key typing and an AirPlay PIN; these have contract tests and are not yet hardware-qualified. Reconnecting Screen Mirroring can still be necessary. See the iPhone guide for requirements and current limits.
  • Not yet proven. Pixel/Omarchy Mobile installation, physical ARM64 Android parity and live store submission. Earlier portable-package checks in clean x86_64 and ARM64 containers do not qualify a new release artifact or every desktop/device workflow.
  • Research and interoperability. Tomacco is an independent open-source project and contains no Apple software. You supply your own iOS image and SDK, and you are responsible for using them within their license terms.

Where do I get the iOS images?

You need two restore archives and a local Image4 boot manifest (IM4M). Download the archives, then use the helper below to prepare the manifest on Linux.

The measured setup uses two Apple restore archives: the iPhone 16 system, iPhone17,3 / 27.0.1 / 24A446, and PCC virtual-device firmware, vphone600ap / 26.4 beta / 23E5207q. Both recorded download URLs point to Apple's updates.cdn-apple.com servers.

Find and download the exact builds
  1. Find the iPhone archive. On ipsw.me, choose iPhone 16, then iOS 27.0.1, build 24A446. Check the identifier is iPhone17,3. The site is a firmware catalog; the archive comes from Apple. With blacktop's separate ipsw command-line tool installed, you can look up the URL and then download:

    mkdir -p tomacco-images
    cd tomacco-images
    ipsw download ipsw --device iPhone17,3 --build 24A446 --urls
    ipsw download ipsw --device iPhone17,3 --build 24A446 --output .
  2. Find the PCC archive. In the Lakr233/vphone-cli project on GitHub, the firmware catalog records the Apple URL as cloud264. This is how we found it. To inspect the same source revision:

    git clone https://github.com/Lakr233/vphone-cli vphone-catalog
    git -C vphone-catalog checkout 3a819b0dd00aea8906ddd8d33c9364736a869ca0
    git -C vphone-catalog grep -n 'static let cloud264' -- VPhoneKit/VPhoneCoreKit/Firmware/VPhoneFirmwareCatalog.swift

    Copy only the quoted URL assigned to cloud264 into your browser. Its hostname is updates.cdn-apple.com and its path starts with /private-cloud-compute/. Save the download as PCC_26.4_23E5207q_Restore.ipsw; Apple's URL has no file extension. The archive is served by Apple.

  3. Unpack your own copies. Keep the extracted directory structure and check BuildManifest.plist for the exact builds above. Use iPhone erase identity 0 and PCC research erase identity 5.

    unzip -n iPhone17,3_27.0.1_24A446_Restore.ipsw -d iphone-ipsw
    unzip -n PCC_26.4_23E5207q_Restore.ipsw -d pcc

    Prepare the disk images. Unzipping leaves some disk images encrypted as .aea files. Tomacco needs their decrypted, original APFS contents. The repository's docs/virtual-ios/setup.md, under “Obtain the Apple images”, gives the external preparation commands and manifest checks. Newer builds are not substitutes, and availability on Apple's servers can change.

How do I get the IM4M boot manifest?

Create it locally on Linux. No Mac or Apple signing request is needed for this step. This reproduces the manifest used by our working VM.

  1. Get the public research template. We used Inferno's ticket.shsh2; the original qemu-t8030 tools repository provides the identical file. This template is a separate third-party download.

  2. Run Tomacco's helper. First follow steps 1–4 in the repository's docs/virtual-ios/setup.md to prepare the firmware folders and device trees. Then run the commands below from your Tomacco checkout, replacing /phone with your image folder.

curl --fail --location 'https://raw.githubusercontent.com/TrungNguyen1909/qemu-t8030-tools/7a2017461ee7c1864330083dc6a781b75d1d0279/bootstrap_scripts/ticket.shsh2' --output /phone/ticket.shsh2
python3 tools/prepare_ios_research_manifest.py \
  --template /phone/ticket.shsh2 \
  --pcc-firmware /phone/pcc \
  --iphone-firmware /phone/iphone-ipsw \
  --device-tree /phone/dtree.restore \
  --output /phone/your.im4m

The helper checks the template and firmware versions, sets your VM's identity and inserts the firmware digests. Use the resulting your.im4m for restore and every boot. Keep it with that VM; don't regenerate it after restoring.

This is a local research manifest with an invalid inherited Apple signature. It works with Tomacco's modified research boot path; it is not an Apple-signed authorization or a ticket for a physical iPhone.

Review the applicable Apple terms before downloading or using the images. Public availability does not grant permission for this Linux runtime. Apple's PCC Virtual Research Environment is offered for research on Apple silicon Macs and excludes commercial use. Tomacco supplies no images, SDKs, keys or boot tickets. See the disclaimer and the repository's docs/legal.md.

Built on the work of others.

qemu-sptm darwin-vm orchard reims-vgpu metal2vulkan Inferno vphone-cli linux-apfs-rw vhost-device m1n1 xtool go-ios WebDriverAgent cctools-port apple-libtapi ldid ipsw scrcpy

They did the hard part first. Thank you. Worth knowing too: omarchy-apple-dev and omarchy-ios-kit.

Tomacco is free software, GPL-2.0-or-later. No telemetry, no account, no cloud.

Install in one line.

$ curl -fsSL https://tomacco.dev/install.sh | bash
Checks the release signature, then installs for your user.
$ tomaccoctl setup
Shows what works, installs the Android SDK and connects your agent, each after a yes.
$ 

Or let your coding agent do it. Tell Claude Code or Codex:

“Set up Tomacco for me: tomacco.dev/agent”

Already installed? Give your agent the Tomacco skill.

Give your agent a phone. Now.