Mobilecode is an open source fork of opencode, the terminal-first AI coding agent, adapted for people building iOS and Android apps. When it detects an iOS or Android project it runs a simulator or emulator preview server and renders the live device inside the app, next to your session , so a founder or mobile engineer can iterate on native code with an AI agent without alt-tabbing between Xcode, Android Studio, and a chat window.
Built by Rob Sandhu, the project wires together two existing tools to make this work: on iOS it detects Xcode projects and workspaces, CocoaPods, and Expo apps, then runs serve-sim and embeds the iOS Simulator stream, and on Android it detects Gradle projects and Expo apps, then runs serve-avd and embeds the Android Emulator stream . Sandhu wrote serve-avd himself, and serve-sim comes from Evan Bacon of the Expo team. Everything else opencode does still applies, including the terminal UI, desktop and web clients, any model provider, MCP, plugins, and skills.
The launch matters because AI coding agents have largely centered on web and backend workflows, leaving mobile developers to script their own build and preview loops. Mobilecode closes that gap with concrete plumbing: a titlebar run control that builds the native project, installs it on the running simulator or emulator, and launches it, using xcodebuild plus simctl on iOS and gradlew assembleDebug plus adb install on Android , along with an HTTP API for the same actions. It ships under MIT with an install script and a from-source path via bun, and it keeps opencode's existing configuration and credentials so current users can adopt it without reconfiguring their setup.
Comments (9)
Sign in to join the discussion.
P
Priya VatsSep 7, 2026
Embedded simulator next to the agent is the correct answer. Every mobile AI tool that makes me alt-tab to Xcode should be embarrassed.
H
Harsh AmbaniSep 7, 2026
ok wait the fact that this doesn't require xcode-select gymnastics is more compelling than the AI part honestly.
K
Kwame BoatengSep 7, 2026
hot take: opencode forks are becoming the new shadcn registries. everyone's got one, most are demos, this one actually solves the mobile gap.
L
Linh TranSep 7, 2026
The tweet buries the lede. Serve-avd running next to the agent is the actual unlock and it's mentioned like a footnote.
M
Matvei OrlovSep 7, 2026
Any agent demo without a failing build feels rehearsed. Show me the run where it hallucinates an Info.plist key and recovers.
M
Matvei OrlovSep 7, 2026
Follow up: emulator latency inside the agent panel is going to make or break the vibe. Nobody wants a 12 second tap.
O
Olamide K.Sep 7, 2026
genuinely curious how small the team is on this. serve-avd plus serve-sim plus a fork is a suspicious amount of surface area for a solo weekend.
F
farrah z.Sep 7, 2026
Rob, quick one for a piece I'm putting together, is this staying a personal fork or are you courting the opencode folks on upstreaming the mobile bits?
Y
Yuki NakamotoSep 7, 2026
Screenshots need dark mode on the emulator, that stark white iOS sim next to a dark terminal is doing violence to my retinas.
Work With Us
Book an intro call to explore our suite of services. We might have a waitlist.
Mobilecode
The open source AI coding agent for mobile apps.
The open source AI coding agent for mobile apps.
Tags
TLVC Rating
Community Rating
No ratings yet
to rate this launch.
Mobilecode is an open source fork of opencode, the terminal-first AI coding agent, adapted for people building iOS and Android apps. When it detects an iOS or Android project it runs a simulator or emulator preview server and renders the live device inside the app, next to your session , so a founder or mobile engineer can iterate on native code with an AI agent without alt-tabbing between Xcode, Android Studio, and a chat window. Built by Rob Sandhu, the project wires together two existing tools to make this work: on iOS it detects Xcode projects and workspaces, CocoaPods, and Expo apps, then runs serve-sim and embeds the iOS Simulator stream, and on Android it detects Gradle projects and Expo apps, then runs serve-avd and embeds the Android Emulator stream . Sandhu wrote serve-avd himself, and serve-sim comes from Evan Bacon of the Expo team. Everything else opencode does still applies, including the terminal UI, desktop and web clients, any model provider, MCP, plugins, and skills. The launch matters because AI coding agents have largely centered on web and backend workflows, leaving mobile developers to script their own build and preview loops. Mobilecode closes that gap with concrete plumbing: a titlebar run control that builds the native project, installs it on the running simulator or emulator, and launches it, using xcodebuild plus simctl on iOS and gradlew assembleDebug plus adb install on Android , along with an HTTP API for the same actions. It ships under MIT with an install script and a from-source path via bun, and it keeps opencode's existing configuration and credentials so current users can adopt it without reconfiguring their setup.
Comments (9)
Embedded simulator next to the agent is the correct answer. Every mobile AI tool that makes me alt-tab to Xcode should be embarrassed.
ok wait the fact that this doesn't require xcode-select gymnastics is more compelling than the AI part honestly.
hot take: opencode forks are becoming the new shadcn registries. everyone's got one, most are demos, this one actually solves the mobile gap.
The tweet buries the lede. Serve-avd running next to the agent is the actual unlock and it's mentioned like a footnote.
Any agent demo without a failing build feels rehearsed. Show me the run where it hallucinates an Info.plist key and recovers.
Follow up: emulator latency inside the agent panel is going to make or break the vibe. Nobody wants a 12 second tap.
genuinely curious how small the team is on this. serve-avd plus serve-sim plus a fork is a suspicious amount of surface area for a solo weekend.
Rob, quick one for a piece I'm putting together, is this staying a personal fork or are you courting the opencode folks on upstreaming the mobile bits?
Screenshots need dark mode on the emulator, that stark white iOS sim next to a dark terminal is doing violence to my retinas.