<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Remote Agent Workflow on Armstrong Yan</title><link>https://yanqian.github.io/series/remote-agent-workflow/</link><description>Recent content in Remote Agent Workflow on Armstrong Yan</description><generator>Hugo</generator><language>en</language><lastBuildDate>Sun, 24 May 2026 16:12:12 +0800</lastBuildDate><atom:link href="https://yanqian.github.io/series/remote-agent-workflow/index.xml" rel="self" type="application/rss+xml"/><item><title>Remote Agent Workflow, Part 1: Remote Mac Terminal for Codex</title><link>https://yanqian.github.io/posts/publish/remote-mac-terminal-for-codex/</link><pubDate>Sun, 24 May 2026 16:12:12 +0800</pubDate><guid>https://yanqian.github.io/posts/publish/remote-mac-terminal-for-codex/</guid><description>&lt;p>This is Part 1 of the Remote Agent Workflow series.&lt;/p>
&lt;p>This guide explains how to control a Mac terminal from a phone and keep long-running agent tasks alive, such as Codex, automation scripts, or local development agents.&lt;/p>
&lt;p>The goal is not remote desktop access. The goal is a reliable remote terminal workflow:&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" class="chroma">&lt;code class="language-text" data-lang="text">&lt;span class="line">&lt;span class="cl">Phone -&amp;gt; SSH -&amp;gt; Mac -&amp;gt; tmux -&amp;gt; Codex / agent task
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;p>With this setup, your Mac becomes a lightweight remote execution node that you can access from anywhere.&lt;/p></description></item><item><title>Remote Agent Workflow, Part 2: From Remote Shell to Agent Control Plane</title><link>https://yanqian.github.io/posts/publish/from-remote-shell-to-agent-control-plane/</link><pubDate>Sun, 24 May 2026 16:12:12 +0800</pubDate><guid>https://yanqian.github.io/posts/publish/from-remote-shell-to-agent-control-plane/</guid><description>&lt;p>This is Part 2 of the Remote Agent Workflow series.&lt;/p>
&lt;p>In the previous article, I built a practical remote terminal workflow:&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" class="chroma">&lt;code class="language-text" data-lang="text">&lt;span class="line">&lt;span class="cl">Phone -&amp;gt; Tailscale -&amp;gt; SSH -&amp;gt; Mac -&amp;gt; tmux -&amp;gt; Codex
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;p>That setup solved the first problem: how to reach my Mac when I am away from my desk, and how to keep long-running local agent tasks alive after my phone disconnects.&lt;/p>
&lt;p>It was useful immediately.&lt;/p>
&lt;p>But after using it in practice, I found a second problem.&lt;/p></description></item><item><title>Remote Agent Workflow, Part 3: Turning Telegram into a Local Codex Control Plane</title><link>https://yanqian.github.io/posts/publish/turning-telegram-into-a-local-codex-control-plane/</link><pubDate>Sun, 24 May 2026 16:12:12 +0800</pubDate><guid>https://yanqian.github.io/posts/publish/turning-telegram-into-a-local-codex-control-plane/</guid><description>&lt;p>This is Part 3 of the Remote Agent Workflow series.&lt;/p>
&lt;p>In the previous articles, I started with a practical remote terminal setup:&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" class="chroma">&lt;code class="language-text" data-lang="text">&lt;span class="line">&lt;span class="cl">Phone -&amp;gt; Tailscale -&amp;gt; SSH -&amp;gt; Mac -&amp;gt; tmux -&amp;gt; Codex
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;p>That gave me a reliable way to reach my Mac from a phone.&lt;/p>
&lt;p>Then I hit the next limitation: a phone is not a good terminal.&lt;/p>
&lt;p>Mobile SSH is useful for emergencies, but it is not the interface I want for long-running AI development. I do not want to type shell commands, attach tmux sessions, scroll logs, and manually reconstruct state from a narrow phone screen.&lt;/p></description></item><item><title>Remote Agent Workflow, Part 4: In the Repository, Not in the Chat</title><link>https://yanqian.github.io/posts/publish/in-the-repository-not-in-the-chat/</link><pubDate>Sun, 24 May 2026 16:12:12 +0800</pubDate><guid>https://yanqian.github.io/posts/publish/in-the-repository-not-in-the-chat/</guid><description>&lt;p>This is Part 4 of the Remote Agent Workflow series.&lt;/p>
&lt;p>The first layer of my remote AI development setup was connectivity.&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" class="chroma">&lt;code class="language-text" data-lang="text">&lt;span class="line">&lt;span class="cl">Phone -&amp;gt; Tailscale -&amp;gt; SSH -&amp;gt; Mac -&amp;gt; tmux -&amp;gt; Codex
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;p>That let me reach my Mac from a phone and keep long-running local tasks alive.&lt;/p>
&lt;p>The second layer was control.&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" class="chroma">&lt;code class="language-text" data-lang="text">&lt;span class="line">&lt;span class="cl">Phone -&amp;gt; Telegram Bot -&amp;gt; local Codex runtime -&amp;gt; selected repository
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;p>That made the phone a control surface instead of a tiny terminal.&lt;/p></description></item><item><title>Remote Agent Workflow, Part 5: What Still Matters After Codex Mobile</title><link>https://yanqian.github.io/posts/publish/what-still-matters-after-codex-mobile/</link><pubDate>Sun, 24 May 2026 16:12:12 +0800</pubDate><guid>https://yanqian.github.io/posts/publish/what-still-matters-after-codex-mobile/</guid><description>&lt;p>This is Part 5 of the Remote Agent Workflow series.&lt;/p>
&lt;p>When I started this remote AI development setup, the problem was practical.&lt;/p>
&lt;p>I wanted to keep local Codex work moving when I was away from my Mac.&lt;/p>
&lt;p>That led to the first layer:&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" class="chroma">&lt;code class="language-text" data-lang="text">&lt;span class="line">&lt;span class="cl">Phone -&amp;gt; Tailscale -&amp;gt; SSH -&amp;gt; Mac -&amp;gt; tmux -&amp;gt; Codex
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;p>Then I realized mobile SSH was not the right daily interface, so I built a Telegram control plane:&lt;/p></description></item></channel></rss>