Tech Stack / Workflows

Running coding agents from my phone

The setup

  • Every project gets its own workspace in one herdr session on my Mac, and each workspace runs multiple Claude Code agents.
  • At the desk I work in Moshi Desktop or Ghostty. Away from it, I open the same session from Moshi on my iPhone.
  • Tailscale puts the Mac and the phone on one private network, so nothing is open to the internet.
  • osewa keeps the phone's session alive on the Mac itself, not in the connection. Walking out of wifi range or locking the screen doesn't drop it, and reconnecting puts me right back where I was.

Why it works

  • Agents do long stretches of work on their own. Moshi tells me when one is waiting on me, so I can answer a question or approve a step from wherever I am.
  • I built a shortlink tool so agents send me links instead of file paths, so I can open and edit what they write from the phone this is everything from images and vide to markdown files.
  • Dev servers on the Mac are reachable over the private network, so I can check a build on the phone too.

An example: an agent writes a doc

  • I ask an agent for a plan. It saves the plan as a Markdown file in the project and replies with a short link, not a file path.
  • shortlinker, a small link service I wrote, points that link at the file on my Mac. It only answers inside my private network.
  • In Moshi I tap the link. The plan opens in SilverBullet, a Markdown wiki that runs on the Mac, and I edit it right there on the phone.
  • Back at the desk, the same link opens the same file in its default app.

What I learned

  • On a phone, one window per agent beats a grid of panes. I swipe between agents instead of squinting at four of them.
  • A file path is dead text on a phone. Every agent follows one rule for links, so any file it mentions opens with a tap on whichever device I'm using.
  • Keep the session on the machine, not in the connection. mosh handled network changes, but when its server died the phone kept retrying a session that was gone. osewa replaced it and fixed that.

More workflows

Back to Tech Stack

Page Turner

Turning to the first page…