Write
files.write
Your agent writes the code. It never overwrites a change you just made.
var n = 0
button("+1 tomato") {
n += 2
}
text(n)
It builds, runs, taps through and debugs iOS and Android apps.
On Linux. No Mac needed.
Coding agents write mobile apps, then can't see them run. With Tomacco they build, run, tap through and fix the app themselves.
$ 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,…}
$
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.
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.
A desktop app on the same running app. Watch your agent work, or take over.
Typed arguments, cooperative device reservations and durable action outcomes. Long builds keep going if the connection drops.
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.
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.
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.
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.
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.
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.
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.
Write, build, run, tap, fix. Your agent does all five on its own.
files.write
Your agent writes the code. It never overwrites a change you just made.
var n = 0
button("+1 tomato") {
n += 2
}
text(n)
project.execute
It builds the app and gets the errors back as data.
project.run
It installs the app on a phone, an emulator or the virtual iOS device.
0
+1 tomato
runtime.input
It taps through the screens and sees what you'd see.
024
+1
device.logs
It reads the logs, finds the bug and goes again.
button("+1 tomato") {
n += 2 n += 1
}
0123
+1 tomato
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.
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.
Devices, saved projects and build status in your Omarchy bar. The installer adds the phone button with --omarchy.
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.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 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 .
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.
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.
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.
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.
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.
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.
$ 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.