<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Royan Labs</title>
    <description>The latest articles on DEV Community by Royan Labs (@royanlabs).</description>
    <link>https://dev.to/royanlabs</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4217491%2Fae1daaea-5b8f-49f0-aca9-c1896a3a9dc0.png</url>
      <title>DEV Community: Royan Labs</title>
      <link>https://dev.to/royanlabs</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/royanlabs"/>
    <language>en</language>
    <item>
      <title>Building a Flutter client for Hermes Agent on a foldable</title>
      <dc:creator>Royan Labs</dc:creator>
      <pubDate>Thu, 05 Nov 2026 13:00:00 +0000</pubDate>
      <link>https://dev.to/royanlabs/building-a-flutter-client-for-hermes-agent-on-a-foldable-2ed3</link>
      <guid>https://dev.to/royanlabs/building-a-flutter-client-for-hermes-agent-on-a-foldable-2ed3</guid>
      <description>&lt;p&gt;One of us runs about a dozen &lt;a href="https://github.com/NousResearch/hermes-agent" rel="noopener noreferrer"&gt;Hermes Agent&lt;/a&gt; profiles on a home server: a researcher, a marketing bot, a health bot and more. Hermes can reach you through Telegram, Discord and other messaging gateways, and that works. We wanted something else on the phone: every bot in one list, the agent's approvals and questions as real controls, and a way to see what a bot is doing on its own desktop.&lt;/p&gt;

&lt;p&gt;So we built &lt;a href="https://github.com/ateymoori/pomelu" rel="noopener noreferrer"&gt;Pomelu&lt;/a&gt;, an open-source (Apache-2.0) Flutter app that connects to your own Hermes gateway. Each Hermes profile becomes a bot in a sidebar with one chat. This post covers the parts that took the most work. The main test device was a Galaxy Z Fold.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fjbbxlpaup94lialn595o.webp" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fjbbxlpaup94lialn595o.webp" alt="Pomelu on a Galaxy Z Fold: bots and chat side by side" width="800" height="704"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  The app is a thin client
&lt;/h2&gt;

&lt;p&gt;Pomelu has no agent logic and no server of its own. Hermes Agent ships a gateway (&lt;code&gt;hermes dashboard&lt;/code&gt;) with a WebSocket at &lt;code&gt;/api/ws&lt;/code&gt; that speaks JSON-RPC, plus REST routes for bots, skills and cron jobs. The app uses those and nothing else. There is no account, no analytics and no Pomelu backend; a message goes from the phone to your gateway and back.&lt;/p&gt;

&lt;p&gt;The code has four layers, and dependencies point down:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;presentation   widgets, screens, Riverpod notifiers   lib/features/*/presentation
domain         pure rules and models (no I/O)          lib/features/*/domain
data           stores, platform bridges, file work     lib/features/*/data
hermes SDK     transport, JSON-RPC, typed API, events  lib/hermes
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;code&gt;lib/hermes/&lt;/code&gt; is pure Dart with no Flutter import, so the protocol code is tested without a device. Interfaces exist only where something real is swapped: the WebSocket (&lt;code&gt;WsConnection&lt;/code&gt;, a fake socket in tests), key-value and secret storage, the share bridge, notifications, the screen's web view.&lt;/p&gt;

&lt;p&gt;Sign-in uses the dashboard's own password login. The gateway returns a short-lived access token and a refresh token. For the socket, the client asks for a single-use ticket right before every dial (it expires after 30 seconds), so a reconnect never reuses one. The credential is bound to the origin that issued it, and the app refuses &lt;code&gt;user:pass@&lt;/code&gt; URLs. If you point it at plain &lt;code&gt;http://&lt;/code&gt; on a public host, it shows "Not encrypted" and asks before a password goes out. Home users often reach their gateway by IP over http on the LAN or over Tailscale, so the app allows cleartext but says so.&lt;/p&gt;

&lt;h2&gt;
  
  
  A turn must never be sent twice
&lt;/h2&gt;

&lt;p&gt;A phone loses its connection all the time: lifts, tunnels, Wi-Fi to mobile data, the OS killing the app. For a chat app that means a resend button. For an agent that can run shell commands, sending a prompt twice can mean doing the work twice.&lt;/p&gt;

&lt;p&gt;So every message goes through an outbox that is stored on the device:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;code&gt;send&lt;/code&gt; writes an entry to the store and shows the row at once.&lt;/li&gt;
&lt;li&gt;Entries go out oldest first, one at a time, and only while no reply streams.&lt;/li&gt;
&lt;li&gt;Files are read and uploaded first; a restart at this point re-queues safely.&lt;/li&gt;
&lt;li&gt;The entry is marked &lt;code&gt;submitted&lt;/code&gt; before &lt;code&gt;prompt.submit&lt;/code&gt; is written to the socket.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;The interesting case is step 4. If the frame never left the phone, the error is a &lt;code&gt;NetworkFailure&lt;/code&gt; and the entry goes back in the queue (up to five tries). If the frame was written and then the socket dropped, the outcome is unknown: the gateway may have the prompt. That error has its own type, &lt;code&gt;OutcomeUnknownFailure&lt;/code&gt;, and a non-idempotent call is never resent blindly. After the next connect, the app compares the entry with the session history and the gateway's in-flight and queued user messages. Found means delivered. Not found means the row says "delivery unconfirmed" and waits for you. A failed turn also holds the queue, because order is part of a conversation.&lt;/p&gt;

&lt;p&gt;The queue survives process death. On start and on every reconnect, a small drainer wakes the chats that still have work, so a message you wrote in a tunnel goes out even if you closed that chat.&lt;/p&gt;

&lt;h2&gt;
  
  
  Streaming Markdown without re-laying out the whole reply
&lt;/h2&gt;

&lt;p&gt;Hermes streams &lt;code&gt;message.delta&lt;/code&gt; events while the model writes, plus tool events and the agent's &lt;code&gt;todo&lt;/code&gt; plan. Events flow from the socket through the JSON-RPC client (with sequence de-duplication and replay after a reconnect) into a pure reducer that builds the chat state.&lt;/p&gt;

&lt;p&gt;Long agent answers were the performance problem. Agents write long replies with tables and code, and re-parsing and re-laying out the whole reply on every delta gets slower as the reply grows. The fix: a reply longer than 800 characters is cut into several list rows at Markdown block boundaries. While the reply streams, only the last row rebuilds; the rows above it are finished blocks that never change. The list itself is a reversed lazy list, and large JSON payloads are decoded on another isolate.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fqy59o04akfwj25mfzs21.webp" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fqy59o04akfwj25mfzs21.webp" alt="Live streamed answer with code" width="660" height="1434"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Two smaller details: reply direction is read once from the prose, so a Persian or Arabic answer is laid out right to left as a whole while code blocks stay left to right. And while a turn runs with a plan, a row above the composer says "Plan · 2 of 5" with the step in progress; a tap shows every step.&lt;/p&gt;

&lt;p&gt;Questions from the agent (clarify, approval, sudo, secret input) are JSON-RPC requests from the server, not events. A router parks them per session and the chat shows the oldest one as a card above the composer. The router, not the chat state, is the source of truth, so a question survives a closed chat and comes back after a reconnect.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F62iq0k54acnxkocwxqqp.webp" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F62iq0k54acnxkocwxqqp.webp" alt="An approval card in the chat" width="660" height="1434"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  One layout for folded, unfolded and tablet
&lt;/h2&gt;

&lt;p&gt;We did not want a "foldable mode". The layout is chosen by the window's size alone:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Below 640 dp the chat is full screen and the bot list is a drawer.&lt;/li&gt;
&lt;li&gt;From 640 dp there are two panes: a sidebar (or a rail of avatars) next to the chat.&lt;/li&gt;
&lt;li&gt;From 1024 dp the sidebar gets wider; the chat column keeps a reading width and stays centred.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Hinges were the subtle part. Flutter exposes them in &lt;code&gt;MediaQuery.displayFeatures&lt;/code&gt;. Only an &lt;strong&gt;occluding vertical hinge&lt;/strong&gt; moves the split between the panes, so the hinge becomes dead space between sidebar and chat. A seamless fold, like the Z Fold's inner screen, is ignored; snapping to it would only make the sidebar too wide.&lt;/p&gt;

&lt;p&gt;Folding and unfolding must not cost you anything. On Android the activity declares &lt;code&gt;configChanges&lt;/code&gt; for fold, resize and density, so a posture change never recreates it. In Flutter, each chat has one &lt;code&gt;GlobalKey&lt;/code&gt;, so when the layout switches between drawer and two panes the same chat widget moves instead of being rebuilt: scroll position, the half-typed message and attached files stay.&lt;/p&gt;

&lt;p&gt;On iOS the iPhone Duo was a surprise: iOS gives Flutter no fold at all (&lt;code&gt;displayFeatures&lt;/code&gt; is empty), so width alone decides there, and its safe-area insets are not symmetric. We test at 360, 640 and 840 dp, at iPad and Android-tablet sizes, and on the Duo closed and open.&lt;/p&gt;

&lt;p&gt;With a hardware keyboard, Return sends, Ctrl+Tab steps through bots, Cmd or Ctrl with 1 to 9 opens a bot, and a right-click opens a message's actions at the pointer.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fes2km7xvdz1oxmgi1v7t.webp" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fes2km7xvdz1oxmgi1v7t.webp" alt="Pomelu on an Android tablet: a bot's skills, tools and scheduled jobs" width="799" height="450"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Notifications without a push server
&lt;/h2&gt;

&lt;p&gt;Push notifications normally need a server that holds device tokens. Pomelu has no server, and we did not want to add one, so every notification is local:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;With the app open or connected, the app listens for gateway signals (a reply landed, a background job finished, a question arrived) and shows a notification unless you are looking at that chat.&lt;/li&gt;
&lt;li&gt;On Android, an optional "Stay connected" foreground service keeps the socket alive. Without it, Android 15 and later cut the app's network a few seconds after it leaves the screen. After 10 minutes unreachable in the background, it stops redialling until the network changes or you open the app.&lt;/li&gt;
&lt;li&gt;A background check runs every 15 minutes (WorkManager on Android, background app refresh on iOS when iOS allows). It dials with the stored credential, compares each bot's message count with what it saw when the app left the screen, and rings once per bot with the newest message.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;On iOS this is best effort: the system suspends the app soon after it leaves the screen. That is the honest trade-off of having no push server.&lt;/p&gt;

&lt;h2&gt;
  
  
  A bot's desktop on a phone
&lt;/h2&gt;

&lt;p&gt;Hermes has a feature called &lt;a href="https://hermes-agent.nousresearch.com/docs/user-guide/features/bot-screen" rel="noopener noreferrer"&gt;Bot Screen&lt;/a&gt;: on a Linux gateway host, each bot gets its own Xfce desktop that its &lt;code&gt;computer_use&lt;/code&gt; and browser tools act on. When a bot hits a login, a 2FA prompt or a captcha, a person can take over, finish the step, and hand control back; the bot continues in the signed-in session.&lt;/p&gt;

&lt;p&gt;Pomelu shows that desktop in a web view. The page loads under the gateway's origin and runs noVNC 1.7.0, which dials the stream itself with a single-use display ticket. The app keeps the bot's status and the control lease from &lt;code&gt;display.status&lt;/code&gt; and &lt;code&gt;display.lease&lt;/code&gt; events, and ignores an older lease epoch.&lt;/p&gt;

&lt;p&gt;Making a remote desktop usable on a 6-inch screen took most of the effort:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;On a tall window (portrait, a folded cover screen) the desktop fills the height, and the view follows the regions noVNC redraws, which is where the bot is working. A pinch stops following; a double tap goes back.&lt;/li&gt;
&lt;li&gt;In control, one finger is the mouse and two fingers scroll. Drag and drop has its own mode: tap what to move, pan or zoom freely, tap where it goes, and the pointer moves there in steps before the release, because desktops only start a drag on motion.&lt;/li&gt;
&lt;li&gt;Typing goes through a hidden field with no autocorrect, and its changes become key presses. A key row adds Esc, Tab, Ctrl, Alt and arrows. Paste puts the phone's clipboard on the desktop's.&lt;/li&gt;
&lt;li&gt;Control goes back to the bot when you close the page. If you switch apps to copy a 2FA code, the app keeps control for a short while, then hands it back only if a fresh status shows it still holds it, never over someone who took over in the meantime.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F6c0kd0r337uy0fycy2cf.webp" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F6c0kd0r337uy0fycy2cf.webp" alt="Taking over a bot's desktop from the phone" width="800" height="563"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  What it needs, and what is missing
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Your own Hermes Agent 0.21.5 or newer, started with &lt;code&gt;hermes dashboard --host 0.0.0.0 --no-open&lt;/code&gt; and a dashboard username and password, reachable from the phone over the LAN, Tailscale or HTTPS.&lt;/li&gt;
&lt;li&gt;Bot Screen needs a Linux gateway host with TigerVNC and Xfce; macOS and Windows hosts do not offer it.&lt;/li&gt;
&lt;li&gt;On Android (10+) it is on Google Play, and a signed APK is on GitHub. The two builds have different signatures, so uninstall one before you install the other.&lt;/li&gt;
&lt;li&gt;The App Store build is coming soon; until then iPhone and iPad users can build from source.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Try it
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Google Play: &lt;a href="https://play.google.com/store/apps/details?id=se.royan.pomelu" rel="noopener noreferrer"&gt;play.google.com/store/apps/details?id=se.royan.pomelu&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Android APK (arm64-v8a or universal, with SHA-256 sums): &lt;a href="https://github.com/ateymoori/pomelu/releases/latest" rel="noopener noreferrer"&gt;github.com/ateymoori/pomelu/releases/latest&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Source, architecture and protocol notes: &lt;a href="https://github.com/ateymoori/pomelu" rel="noopener noreferrer"&gt;github.com/ateymoori/pomelu&lt;/a&gt; (&lt;code&gt;docs/ARCHITECTURE.md&lt;/code&gt;, &lt;code&gt;docs/PROTOCOL.md&lt;/code&gt;)&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Pomelu is a community project by Royan AB in Stockholm, not affiliated with Nous Research. Bug reports from phones other than a Samsung foldable are the most useful thing you can send us.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Written by the Royan Labs team with help from an AI assistant.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>flutter</category>
      <category>android</category>
      <category>opensource</category>
      <category>ai</category>
    </item>
    <item>
      <title>A native Mac panel for the Android Emulator, with an MCP server built in</title>
      <dc:creator>Royan Labs</dc:creator>
      <pubDate>Sat, 31 Oct 2026 09:35:04 +0000</pubDate>
      <link>https://dev.to/royanlabs/a-native-mac-panel-for-the-android-emulator-with-an-mcp-server-built-in-3hf8</link>
      <guid>https://dev.to/royanlabs/a-native-mac-panel-for-the-android-emulator-with-an-mcp-server-built-in-3hf8</guid>
      <description>&lt;p&gt;Most of our Android work happens on a Mac with the emulator open next to Android Studio. Over time we collected a pile of adb one-liners for the small checks we run all day. Switch to dark mode. Bump the font scale. Look at spacing in dp. Peek at what an app wrote to SharedPreferences.&lt;/p&gt;

&lt;p&gt;Oh My Android is what we built to stop retyping them. It is a native macOS app that docks next to the Android Emulator and puts those checks one click away. It also ships an MCP server, so a coding agent can see the emulator screen and act on it.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F61g6m7messq32z5x3fzb.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F61g6m7messq32z5x3fzb.gif" alt="Oh My Android docked next to the Android Emulator" width="720" height="779"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The code is on GitHub under the MIT license. The repo was created on September 24, 2026, and the latest release is v0.4.6 from October 19. That makes 8 releases so far.&lt;/p&gt;

&lt;h2&gt;
  
  
  Install
&lt;/h2&gt;

&lt;p&gt;You can install it from our own Homebrew tap:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;brew &lt;span class="nb"&gt;install&lt;/span&gt; &lt;span class="nt"&gt;--cask&lt;/span&gt; ateymoori/tap/oh-my-android
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This is our tap, not the official homebrew-cask repo. If you prefer, there is also a signed and notarized zip on the releases page.&lt;/p&gt;

&lt;p&gt;You need macOS 26 Tahoe or later on Apple silicon, plus the Android SDK. Android Studio gives you the SDK. If you don't want the IDE, the command line tools work too:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;brew &lt;span class="nb"&gt;install&lt;/span&gt; &lt;span class="nt"&gt;--cask&lt;/span&gt; android-commandlinetools
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  What the panel does
&lt;/h2&gt;

&lt;p&gt;The panel has 48 actions in 9 groups:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Appearance (5)&lt;/li&gt;
&lt;li&gt;App (9)&lt;/li&gt;
&lt;li&gt;Capture (4)&lt;/li&gt;
&lt;li&gt;Network (4)&lt;/li&gt;
&lt;li&gt;Layout and performance (8)&lt;/li&gt;
&lt;li&gt;Accessibility (3)&lt;/li&gt;
&lt;li&gt;Navigation and input (6)&lt;/li&gt;
&lt;li&gt;Simulate (7)&lt;/li&gt;
&lt;li&gt;Snapshots (2)&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Font size steps through 0.85, 1.0, 1.15, 1.3, 1.5, 1.8 and 2.0. That makes it quick to see where a layout breaks at large text sizes. Android Studio's Device UI shortcuts cover some of these toggles on API 33 and up. We wanted them in one place next to the emulator window, together with the rest of the checks below.&lt;/p&gt;

&lt;h2&gt;
  
  
  Layout Inspector
&lt;/h2&gt;

&lt;p&gt;The Layout Inspector works on any app, not only the ones you build. It reads the uiautomator tree and shows sizes and gaps in dp. You can lay an 8 dp grid over the screen and pick colors.&lt;/p&gt;

&lt;p&gt;There is also a Figma overlay. Drop in a frame at 1x, 2x, 3x or fit, then set the opacity. Difference mode shows where the build drifts from the design, so you don't have to compare two windows by eye.&lt;/p&gt;

&lt;h2&gt;
  
  
  TalkBack audit
&lt;/h2&gt;

&lt;p&gt;Press Shift-Cmd-A to run a TalkBack audit on the current screen. It numbers each stop in approximate TalkBack order. It also flags unlabeled buttons, images without a content description, and touch targets smaller than 48x48 dp.&lt;/p&gt;

&lt;p&gt;It is a fast first pass. It doesn't replace testing with TalkBack turned on, but it catches the common misses before a real screen reader session.&lt;/p&gt;

&lt;h2&gt;
  
  
  Data Inspector
&lt;/h2&gt;

&lt;p&gt;For debuggable apps, the Data Inspector shows SharedPreferences and SQLite databases. It goes through run-as and is read-only. For SQLite it loads the first 500 rows of a table. That is enough to check that a write landed without pulling files off the device.&lt;/p&gt;

&lt;h2&gt;
  
  
  The MCP server
&lt;/h2&gt;

&lt;p&gt;The app bundle includes an MCP server called &lt;code&gt;ohmyandroid-mcp&lt;/code&gt;. It speaks stdio, has no dependencies and makes no network calls. It exposes 18 tools and 3 prompts: &lt;code&gt;accessibility_review&lt;/code&gt;, &lt;code&gt;ui_matrix&lt;/code&gt; and &lt;code&gt;debug_crash&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;We kept the tool list small on purpose. The tools/list reply is 14,550 bytes, which is under 4k tokens. That is all the context an agent spends on the tool list before it does anything.&lt;/p&gt;

&lt;p&gt;Screenshots are scaled so 1 pixel equals 1 dp, using 160/dpi. When the agent measures something in a screenshot, the number it reads is already in dp. The UI tree comes back as one line per element:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;[23] Button "Sign in" #sign_in @16,700 379x48 tap
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;That line has an index, the role, the label, the resource id, the position, the size in dp and the action the agent can take. It is enough for an agent to find the Sign in button and tap it.&lt;/p&gt;

&lt;h3&gt;
  
  
  Access control
&lt;/h3&gt;

&lt;p&gt;The app has a switch for what agents may do: Off, Read only or Full control. The server reads that setting from the app's preferences on every call, so a change applies right away without restarting anything. Tools that can lose data are marked destructive, so the agent asks you before it runs them.&lt;/p&gt;

&lt;h3&gt;
  
  
  Connecting it to your agent
&lt;/h3&gt;

&lt;p&gt;There are setup commands for Claude Code, Codex and Gemini CLI, and install buttons for Cursor and VS Code. There is also a Claude Code plugin and a .mcpb extension for Claude Desktop. The server is listed in the MCP Registry as &lt;code&gt;io.github.ateymoori/oh-my-android&lt;/code&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  Privacy and updates
&lt;/h2&gt;

&lt;p&gt;There is no telemetry and no account. The app checks for updates once a day through Sparkle, and you can turn that off. An update only installs if it carries the project's EdDSA signature and the same Developer ID as the app you have.&lt;/p&gt;

&lt;h2&gt;
  
  
  Energy use
&lt;/h2&gt;

&lt;p&gt;A panel that sits open all day should not drain the battery, so the app does not poll. It listens to the &lt;code&gt;adb track-devices&lt;/code&gt; stream to see devices come and go. Each refresh is one batched &lt;code&gt;adb shell&lt;/code&gt; read. The only timer is a 1 Hz docking timer, and it runs only while an emulator is running and the panel is visible.&lt;/p&gt;

&lt;h2&gt;
  
  
  How it is built
&lt;/h2&gt;

&lt;p&gt;The app is built with SwiftUI and AppKit. It compiles under Swift 6 strict concurrency with warnings treated as errors. It is about 6,600 lines of Swift and has one dependency, Sparkle 2.10.0.&lt;/p&gt;

&lt;p&gt;Strict concurrency means the compiler checks how work moves between threads. With many adb calls running in the background, we wanted those mistakes to fail the build rather than show up later.&lt;/p&gt;

&lt;h2&gt;
  
  
  What it doesn't do
&lt;/h2&gt;

&lt;p&gt;To save you a download: it runs only on Apple silicon Macs with macOS 26 or later. There is no Intel, Windows or Linux build. It does not mirror a device screen, and it does not work with iOS simulators or devices.&lt;/p&gt;

&lt;p&gt;Android Weekly featured it in issue #747. If you try it and something breaks or feels missing, open an issue on GitHub.&lt;/p&gt;

&lt;p&gt;Oh My Android is built by &lt;a href="https://royan.se" rel="noopener noreferrer"&gt;Royan AB&lt;/a&gt;, and the code lives at &lt;a href="https://github.com/ateymoori/oh-my-android" rel="noopener noreferrer"&gt;github.com/ateymoori/oh-my-android&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;Written with help from an AI assistant.&lt;/p&gt;

</description>
      <category>android</category>
      <category>macos</category>
      <category>mcp</category>
      <category>swift</category>
    </item>
  </channel>
</rss>
