Mobile Harness: Open-Source iOS and Android Control for AI Agents

X postNiels SchmidtAnnouncement

Niels Schmidt has introduced Mobile Harness, an open-source harness enabling coding agents such as Codex or Claude Code to drive real iOS and Android devices locally and in the cloud through a unified API.

Key points

  1. Mobile Harness uses the mobilerun-core Python library to provide a single control path across iOS and Android.
  2. The setup relies on a markdown-first architecture where AGENTS.md routes agents to platform guides, app cards, and recovery procedures.
  3. Supports both physical devices connected locally and remote cloud device fleets.
  4. Designed for agent runtimes with shell access via quickstart prompts that guide repository setup in a dedicated virtual environment.

Why it matters

Automating real mobile devices usually requires maintaining separate stacks across Android and iOS. Providing coding agents with a standardised interface and structured instructions lowers the barrier for automated mobile QA and autonomous device workflows.

Analysis

By partitioning documentation and routing tasks selectively, the project keeps LLM context usage small. While users highlight the utility for QA and mobile automation, community discussions also note potential security concerns if repository instruction files prompt agents to run package updates or shell commands without explicit user confirmation.

Original post

Niels Schmidt

@nielsmdt99 · 10 August 2026

Codex can now control real iOS and Android phones. 📱 Introducing t.co/xhPi0qMY1U, an open-source agent harness powered by mobilerun-core, giving agents one unified API and a consistent control path across local and cloud mobile devices. t.co/8xCgsY0QZT

1k likes31 replies1.3k bookmarks124.6k views

View on X
More posts in the thread (1)
  1. Check it out here: t.co/SZW7g0knk8
Selected replies (5)
  • @trozee_dev @nielsmdt99 You can also do that using @agent_device . More info below 👇 t.co/owVF46jCh7
  • @ashcyp @nielsmdt99 you can just use WDA for iOS.. and android? you don't even need anything, it natively controls it. Can't believe people didn't know it.
  • @KCG3D @nielsmdt99 This is cool. I’ve been using IPhone Mirroring and letting Codex drive. Will check it out!
  • @BenHadley @nielsmdt99 @BenjaminBadejo
  • @LarryVelez @nielsmdt99 @pathlessknown I finally have a way to organize my app icons! It took a whole AI revolution to accomplish this.

Links and tools from this entry

Summary generated by AI (Gemini 3.8 Flash, 27 September 2026). It may contain errors – the original source is authoritative.

Similar in content, found by the AI search.

  • Repository:droidrun/mobile-harness

    Mobile Harness: Control Skills for AI Agents on Android and iOS

    Mobile Harness provides portable operating instructions and interfaces enabling AI agents to control Android and iOS devices locally or in the cloud. Rather than acting as a standalone agent runtime, it functions as a compact Markdown harness powered by the mobilerun_core Python library.

    340stars

    AI & LLMs· Tool

  • Repository:ShawnPana/phone-harness

    Phone Harness: AI Agents Controlling Real Smartphones Without Companion Apps

    Phone Harness is an open-source tool that allows AI agents such as Claude Code or Codex to control physical smartphones. It bypasses jailbreaks, Xcode, and WebDriverAgent by relying on macOS Sequoia iPhone Mirroring for iOS and ADB for Android.

    2.3kstarsPython

    AI & LLMs· Tool

  • Link:mobilenext.ai

    Mobile Next: Programmable Mobile Runtime for AI Agents

    Mobile Next provides an infrastructure that allows AI agents to control real iOS and Android devices, simulators, and emulators via API and the Model Context Protocol (MCP). The stack comprises an MCP server, a CLI utility, the Playwright-inspired Mobilewright testing framework, and an on-demand cloud device farm.

    AI & LLMs· Tool

  • Repository:mobile-next/mobile-mcp

    Mobile Next: MCP Server for Cross-Platform Mobile Automation

    Mobile Next is an open-source Model Context Protocol (MCP) server that connects AI agents and LLMs to iOS and Android environments. It abstracts platform-specific quirks across simulators, emulators, and real physical devices.

    6.3kstarsTypeScript

    AI & LLMs· Tool

  • Link:kittylitter.app

    Litter: Open-Source AI Agent Client for iOS and Android

    Litter is a free, open-source mobile client designed to interface with AI agents including Claude, Codex, OpenCode, Pi, and Droid. It connects via local network auto-discovery, SSH, or a direct peer-to-peer protocol without requiring port forwarding.

    AI & LLMs· Tool

Let's talk about your project

Locations

  • Mattersburg
    Johann Nepomuk Bergerstraße 7/2/14
    7210 Mattersburg, Austria
  • Vienna
    Ungargasse 64-66/3/404
    1030 Wien, Austria

Parts of this content were created with the assistance of AI.