Built-in · AI-powered · iOS & Android

Mobile QA that lives in your editor —
and runs on the simulator you already own.

AgentFoundry ships a built-in mobile test-automation suite: build, record, run, and let an agent write and fix device UI tests for iOS and Android — without leaving the IDE. No device farm. No per-parallel bill. This page is exactly what you get, how it works, and what you need on your laptop.

Download AgentFoundry See prerequisites

What you get

The running app, its tests, and the coding agent that fixes both — one surface.

📱 Device in your editor

The iOS Simulator / Android emulator streams inside AgentFoundry, next to your flows. Build & launch any branch or tag.

🌳 Test Explorer

Every flow in a tree with ✓/✗ badges, last-run time, Run All, and a failing-only filter.

✨ Author in plain English

Describe a test; the agent reads the live screen, writes the flow, runs it, shows you green.

● Record on device

Tap the live mirror; actions become steps, snapped to accessibility labels so flows survive layout changes.

🔍 Failure Inspector

Failing step + screenshot-at-failure vs last-known-good + the a11y tree. One click: Ask agent to fix.

🩹 Self-heal & 🔀 PR tests

The agent repairs drifted selectors as a diff, and generates tests for the screens a pull request changed.

🧠 Run triage

After a suite run, failures cluster into real-regression / flaky / drift, each with a likely cause.

⇢ One-click CI

Export a GitHub Actions workflow that runs the same flows on every PR — no translation.

🔓 Open engine, your models

MIT engine (YUKTI); flows are portable JSON in your repo. AI runs on AgentFoundry or your own key (BYOK).

How it works — the stack

We drive the real first-party simulators you already have. We do not use mobile-mcp, Maestro, Appium, or a third-party device runtime.

AgentFoundry (IDE) YUKTI engine (MIT) simctl · idb / adb · gradle Simulator / Emulator

iOS → Xcode

Apple's Xcode Simulator, controlled by xcrun simctl (boot / install / launch / screenshot) and driven by idb (Facebook's iOS Debug Bridge) for taps, typing, swipes, and the accessibility tree (idb ui describe-all).

Android → Android Studio

The Android Emulator (an AVD) from the Android SDK, driven by adb + uiautomator, built with Gradle (./gradlew). The direct counterpart to Xcode on the Apple side.

On top sits YUKTI — an open-source (MIT) engine: a dependency-light CLI + a stdlib-Python Studio server that AgentFoundry embeds. It shells out to simctl/idb/adb; it never reimplements device control. Your tests are deterministic, label-based JSON flows that live in your repo. The AI (author / heal / triage) runs on AgentFoundry's SMART-Code or your own API key.

What you need on your laptop

The in-app Doctor checks all of this and prints the exact fix command for anything missing. Here's the full list up front.

Platform support by laptop

Your laptopTest iOS appsTest Android apps
macOS (Apple Silicon or Intel)✅ Xcode Simulator✅ Android emulator
Windows❌ Not possible — Apple requires a Mac for iOS builds/simulators◐ Android SDK + emulator via WSL (validation ongoing)
Linux❌ Not possible (Apple restriction)◐ Android emulator (validation ongoing)
Honest note: iOS testing requires a Mac — that's Apple's rule, not ours. macOS is the fully-validated path today (iOS + Android). Windows/Linux Android support runs through the same engine and is being validated; if you're Windows-only and need iOS, you need access to a Mac (or a Mac CI runner).

Shared — every platform

AgentFoundry

The desktop app, v0.1.75+ (Mac / Windows / Linux). Auto-updates.

Node.js 22

node@22 — React Native / Metro pin to 22; newer Node breaks builds.

Git (+ GitHub CLI)

git, and gh for “generate tests from a PR”.

Python 3.8+

System python3 is fine — the Studio server is stdlib-only (no pip installs).

AI access

Sign in to AgentFoundry (SMART-Code credits) or bring your own key (Claude / OpenAI / Gemini) — BYOK is free.

A QA test account

A dedicated test login for your app (never a personal / real account, especially against prod).

For iOS (macOS only)

  • Full Xcode (not just Command Line Tools) + an iOS Simulator runtime
  • idbidb-companion (Homebrew) + fb-idb (pip)
  • CocoaPods (React Native iOS builds)
  • Watchman (React Native)

For Android (macOS / Linux · Windows via WSL)

  • Android Studio (or the Android SDK command-line tools)
  • SDK packages: platform-tools (adb), emulator, build-tools
  • A configured AVD (e.g. Pixel_7_API_34)
  • JDK 17 (Gradle) · ANDROID_HOME set

One-time setup (macOS)

# iOS toolchain sudo xcode-select -s /Applications/Xcode.app/Contents/Developer xcodebuild -downloadPlatform iOS # iOS simulator runtime brew install node@22 cocoapods watchman brew trust facebook/fb && brew install idb-companion /usr/bin/python3 -m pip install --user fb-idb # Android toolchain (Android Studio → SDK Manager for the packages) brew install node@22 # install: platform-tools, emulator, build-tools; create an AVD (Pixel 7 API 34) export ANDROID_HOME="$HOME/Library/Android/sdk" # Then: open your mobile repo in AgentFoundry → QA tab → Doctor → fix what's flagged.

FAQ

What exactly is the “simulator”? Are you using mobile-mcp, Maestro, or Claude Code's simulator pane?
None of those. iOS runs on Apple's Xcode Simulator (via simctl + idb); Android runs on the Android emulator (via adb/Gradle). Our open-source engine YUKTI orchestrates them and exposes them to the agent. We deliberately don't do blind “agent-drives-the-device over MCP” — the agent authors a reviewable, deterministic flow, then the engine executes it. The device mirror you see is a simctl/emulator screenshot streamed into the IDE.
Why can't I just use the Xcode Simulator directly?
You are — we run on it. The raw simulator only lets you tap by hand: no repeatable tests, assertions, history, recording, CI, or agent. AgentFoundry adds that layer on the same simulator — flows, Test Explorer, record-on-device, Failure Inspector, an agent that writes tests and fixes your app, generate-from-PR, triage, and one-click CI — plus the sim gotchas raw simctl won't handle (ad-hoc signing so Firebase/keychain works, arm64-sim slices, reliable char-by-char typing).
What's the Android equivalent of Xcode?
Android Studio + the Android SDK. Xcode gives you the iOS Simulator + simctl; Android Studio gives you the Android Emulator (AVDs) + the SDK tools: adb (platform-tools), the emulator, build-tools, and Gradle. YUKTI drives the emulator through adb, exactly as it drives the iOS Simulator through simctl/idb.
Why is this better than BrowserStack if I don't need all their device types?
That's the case where we win most — the real-device farm is what BrowserStack's price buys, so you'd be renting infrastructure you don't use. You get the same deterministic automation plus an in-editor agent loop (write tests in English, fix the app, Failure Inspector, generate-from-PR), on the sim already on your machine, with no per-parallel or per-seat bill and no upload round-trip. Honest caveat: if you do need real devices — OEM Android quirks, old OS versions, real GPS/camera/biometrics — a local simulator won't cover that. That's BrowserStack's genuine strength; keep a small plan for it, or wait for our hosted cloud runners (roadmap).
How does it save the ~$13k/year BrowserStack charges?
BrowserStack automation is priced per parallel session (~$129+/mo each) plus per-seat and add-ons — a ~$13.9k/yr median contract. With AgentFoundry the QA infrastructure cost goes to ~$0: the runner + device is your local simulator/emulator (you already own the Mac + Xcode), CI runs on GitHub's macOS runners (not BrowserStack minutes), and the engine is free/MIT. You pay only for the AI — metered in credits, or $0 with your own API key. Even a paid seat is ~$210–$410/yr vs $13k. (Same caveat: if real devices are a hard requirement, some of that spend legitimately stays.)
Do my test suites live in AgentFoundry's cloud?
No. Flows are plain JSON in your repo under .yukti/flows/. The engine is MIT open source. Nothing about your tests is locked into our platform — switch tools any day.

Open a mobile repo and let it test itself.

Free editor · free local test runs · pay only for the AI (or BYOK, free).

Download AgentFoundry Compare with BrowserStack