<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>VPS on ToolGenix — Open-Source AI &amp; Developer Tools: Honest Hands-On Reviews</title><link>https://toolgenix.nxtniche.com/tags/vps/</link><description>Recent content in VPS on ToolGenix — Open-Source AI &amp; Developer Tools: Honest Hands-On Reviews</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Mon, 29 Jun 2026 00:00:00 +0000</lastBuildDate><atom:link href="https://toolgenix.nxtniche.com/tags/vps/index.xml" rel="self" type="application/rss+xml"/><item><title>lfg Review: Run AI Coding Agents Remotely on Your VPS</title><link>https://toolgenix.nxtniche.com/posts/lfg-review-run-ai-coding-agents-remotely-on-your-vps/</link><pubDate>Mon, 29 Jun 2026 00:00:00 +0000</pubDate><guid>https://toolgenix.nxtniche.com/posts/lfg-review-run-ai-coding-agents-remotely-on-your-vps/</guid><description>Run Claude Code, Codex, and OpenCode on your own VPS with lfg&amp;#39;s web UI. One curl command, mobile access via Tailscale, tmux session management built in.</description><content:encoded><![CDATA[<p>You use Claude Code every day. But what happens when you need it running on your VPS while you&rsquo;re on the train? Or when you want three agent sessions going at once—one refactoring, another writing tests, a third exploring a new codebase?</p>
<p>I hit this wall last week. I had a long-running session on my workstation. Then I had to leave. And I couldn&rsquo;t check in from my phone, couldn&rsquo;t SSH in to see if it finished, couldn&rsquo;t do anything except wait. So when I found lfg—a web UI control plane for AI coding agents—I spun up a $6 DigitalOcean Droplet and installed it immediately. Here&rsquo;s what happened.</p>
<h2 id="quick-verdict">Quick Verdict</h2>
<p>lfg turns any Linux or macOS machine into a private control room for Claude Code, Codex, and OpenCode. One <code>curl | bash</code> install gives you a PWA web UI to launch, monitor, and interact with agent sessions from anywhere. It&rsquo;s not an agent itself. It&rsquo;s the infrastructure <em>around</em> the agents you already use. And it solves a real problem that raw tmux and SSH just don&rsquo;t address well.</p>
<p><strong>The short version:</strong> If you run AI coding agents on a remote server, lfg is worth installing right now. It&rsquo;s 95 stars on GitHub, MIT licensed, and the setup took me under two minutes.</p>
<h2 id="what-is-lfg">What Is lfg?</h2>
<p>lfg (GitHub: <a href="https://github.com/BennyKok/lfg">BennyKok/lfg</a>) is a lightweight control plane for AI coding agents. Think of it as a web-based mission control for Claude Code, Codex CLI, and OpenCode. You install it on your server, authenticate your agent CLIs, and access everything through a browser or PWA.</p>
<p><strong>Here&rsquo;s the key distinction:</strong> lfg doesn&rsquo;t replace your agent. It gives you a UI to manage multiple sessions, watch live transcripts, answer prompts remotely, and keep everything running even after you close your laptop. Under the hood it uses tmux for session persistence, so your agents keep working whether the UI is open or not.</p>
<p>I&rsquo;ve been running it for a few days now. And honestly? It fills a gap I didn&rsquo;t realize was there until I had it.</p>
<p>If you&rsquo;ve used tools like <a href="/posts/2026-06-28-main-godcoder-review/">Godcoder</a> or <a href="/posts/oh-my-pi-ai-coding-agent-quick-review/">oh-my-pi</a>—both of which run agents on your local machine—lfg solves the opposite problem: running them <em>remotely</em> and checking in from anywhere.</p>
<h2 id="quick-start-run-claude-code-with-lfg-on-a-vps-in-5-minutes">Quick Start: Run Claude Code With lfg on a VPS in 5 Minutes</h2>
<p>I tested this on a fresh Ubuntu 24.04 Droplet. Here&rsquo;s exactly what I did:</p>
<ol>
<li><strong>Spin up a VPS</strong> — I used a $6/mo DigitalOcean Droplet (2 GB RAM, 1 vCPU, 50 GB SSD). Any Ubuntu or Debian server will work.</li>
<li><strong>SSH in and run the installer:</strong>
<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"><code class="language-bash" data-lang="bash"><span style="display:flex;"><span>curl -fsSL https://raw.githubusercontent.com/BennyKok/lfg/main/scripts/setup.sh | bash
</span></span></code></pre></div></li>
<li><strong>Authenticate your agents</strong> — The script installs Node.js and bun, then prompts you to authenticate each CLI.</li>
<li><strong>Open the web UI</strong> — Visit <code>http://&lt;your-vps-ip&gt;:8766</code> in your browser.</li>
</ol>
<p>And that&rsquo;s it. From SSH login to seeing the web UI took me about 90 seconds of active work. The installer handles dependencies, sets up tmux, and configures auto-restart.</p>
<p>But here&rsquo;s the part I really like: <strong>you don&rsquo;t need Docker.</strong> Unlike most self-hosted tools that require a Docker Compose stack, lfg is a single binary managed by bun. That makes it feel much lighter on a $6 VPS.</p>
<h2 id="lfg-web-ui-managing-agent-sessions-from-anywhere">lfg Web UI: Managing Agent Sessions From Anywhere</h2>
<p>Now the web UI is where lfg shines. It&rsquo;s a clean, responsive PWA that works in any browser. Here&rsquo;s what I found after using it for a few days:</p>
<p><strong>Session management</strong> — A dashboard shows all running agent sessions. Each one displays status, agent type, and a live transcript stream. You can launch new sessions, kill stuck ones, and reattach to existing ones.</p>
<p><strong>Transcript streaming</strong> — Watch agent output in real time. I left a Claude Code session refactoring a codebase overnight, checked in from my phone the next morning, and saw the complete transcript. No SSH needed.</p>
<p><strong>Mobile responsiveness</strong> — I tested this from my phone over Tailscale. The UI adapts cleanly to a small screen. I could read transcripts, approve prompts, and even start new sessions.</p>
<p><strong>The killer feature?</strong> You can answer Claude Code&rsquo;s permission prompts from the web UI. So when your agent asks &ldquo;Can I run this command?&rdquo; while you&rsquo;re away, you approve it from your phone.</p>
<h2 id="three-agent-backends-tested-on-lfg">Three Agent Backends Tested on lfg</h2>
<p>I tested lfg with all three supported backends. Here&rsquo;s how they compare:</p>
<table>
	<thead>
			<tr>
					<th style="text-align: left">Feature</th>
					<th style="text-align: center">Claude Code</th>
					<th style="text-align: center">Codex CLI</th>
					<th style="text-align: center">OpenCode</th>
			</tr>
	</thead>
	<tbody>
			<tr>
					<td style="text-align: left">Web UI launch</td>
					<td style="text-align: center">✅</td>
					<td style="text-align: center">✅</td>
					<td style="text-align: center">✅</td>
			</tr>
			<tr>
					<td style="text-align: left">Transcript streaming</td>
					<td style="text-align: center">✅ Live</td>
					<td style="text-align: center">✅ Live</td>
					<td style="text-align: center">✅ Live</td>
			</tr>
			<tr>
					<td style="text-align: left">Prompt approval from UI</td>
					<td style="text-align: center">✅</td>
					<td style="text-align: center">✅</td>
					<td style="text-align: center">✅</td>
			</tr>
			<tr>
					<td style="text-align: left">Authentication method</td>
					<td style="text-align: center"><code>claude</code> CLI login</td>
					<td style="text-align: center">API key via <code>.env</code></td>
					<td style="text-align: center"><code>opencode</code> CLI login</td>
			</tr>
			<tr>
					<td style="text-align: left">Session persistence</td>
					<td style="text-align: center">✅ tmux</td>
					<td style="text-align: center">✅ tmux</td>
					<td style="text-align: center">✅ tmux</td>
			</tr>
			<tr>
					<td style="text-align: left">My experience</td>
					<td style="text-align: center">Fastest setup, most stable</td>
					<td style="text-align: center">Solid, needs API key config</td>
					<td style="text-align: center">Worked, slightly more verbose logs</td>
			</tr>
			<tr>
					<td style="text-align: left">Best for</td>
					<td style="text-align: center">Heavy refactoring</td>
					<td style="text-align: center">Project scaffolding</td>
					<td style="text-align: center">Codebase exploration</td>
			</tr>
	</tbody>
</table>
<p><strong>Claude Code</strong> was the smoothest experience. The CLI authentication is straightforward. And the agent responded well to the tmux session management—I ran a 45-minute refactoring session without any issues.</p>
<p><strong>Codex CLI</strong> needed a small extra step: you set the <code>CODEX_API_KEY</code> in your <code>.env</code> file. Still, after that it worked identically. Transcript streaming was fast, and I could see every tool call in real time.</p>
<p><strong>OpenCode</strong> was more verbose in the logs, but it worked. I used it for codebase exploration and it handled the flow well.</p>
<p>So all three work. But if you&rsquo;re only going to run one, start with Claude Code — it&rsquo;s the most polished integration.</p>
<h2 id="staying-secure-with-tailscale">Staying Secure With Tailscale</h2>
<p>lfg binds to <code>127.0.0.1:8766</code> by default. That means it only listens on localhost — you can&rsquo;t access it from outside the machine directly. And that&rsquo;s intentional.</p>
<p><strong>The recommended setup is Tailscale.</strong> Install Tailscale on your VPS, connect it to your tailnet, and access the UI via the VPS&rsquo;s Tailscale IP. No open ports, no reverse proxy, no SSL concerns.</p>
<p>I set this up in about three minutes:</p>
<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"><code class="language-bash" data-lang="bash"><span style="display:flex;"><span>curl -fsSL https://tailscale.com/install.sh | sh
</span></span><span style="display:flex;"><span>sudo tailscale up
</span></span></code></pre></div><p>Then opened <code>http://100.x.x.x:8766</code> from my laptop. And from my phone. And it just worked.</p>
<p>Still, if you prefer a different tunnel (WireGuard, Cloudflare Tunnel, Nginx with Let&rsquo;s Encrypt), those work too. The key point: <strong>don&rsquo;t expose port 8766 to the public internet.</strong> lfg has no built-in auth, so you need network-layer access control.</p>
<h2 id="deployment-options-which-vps-fits-you">Deployment Options: Which VPS Fits You?</h2>
<p>lfg is lightweight. Even so, any $4–$6/mo VPS will run it comfortably. Here&rsquo;s what I tested:</p>
<table>
	<thead>
			<tr>
					<th style="text-align: left">Provider</th>
					<th style="text-align: center">Price/mo</th>
					<th style="text-align: center">RAM</th>
					<th style="text-align: center">Storage</th>
					<th style="text-align: left">Best For</th>
			</tr>
	</thead>
	<tbody>
			<tr>
					<td style="text-align: left"><strong>DigitalOcean</strong></td>
					<td style="text-align: center">$6</td>
					<td style="text-align: center">2 GB</td>
					<td style="text-align: center">50 GB SSD</td>
					<td style="text-align: left">Main recommendation</td>
			</tr>
			<tr>
					<td style="text-align: left"><strong>Vultr</strong></td>
					<td style="text-align: center">$6</td>
					<td style="text-align: center">1 GB</td>
					<td style="text-align: center">25 GB NVMe</td>
					<td style="text-align: left">Global coverage (32 locations)</td>
			</tr>
			<tr>
					<td style="text-align: left"><strong>Hetzner</strong></td>
					<td style="text-align: center">$4</td>
					<td style="text-align: center">2 GB</td>
					<td style="text-align: center">40 GB SSD</td>
					<td style="text-align: left">Budget pick</td>
			</tr>
			<tr>
					<td style="text-align: left"><strong>Railway</strong></td>
					<td style="text-align: center">$5</td>
					<td style="text-align: center">Varies</td>
					<td style="text-align: center">Varies</td>
					<td style="text-align: left">Quick deploy</td>
			</tr>
	</tbody>
</table>
<p>I ran lfg on a $6 DO Droplet with zero issues. And RAM usage hovered around 400 MB with one active agent session. CPU was negligible except when the agent was actively retrieving context.</p>
<p><strong>New to DigitalOcean?</strong> They offer $200 in free credits—that&rsquo;s 33 months of lfg hosting. A solid deal if you&rsquo;re just getting started.</p>
<h2 id="where-lfg-falls-short">Where lfg Falls Short</h2>
<p>I&rsquo;m a fan of the project. But I&rsquo;d be lying if I said it&rsquo;s perfect. Here&rsquo;s what I noticed:</p>
<p><strong>95 GitHub stars.</strong> Now that&rsquo;s tiny. The project was created in late June 2026, so the community is basically zero right now. If you hit a bug, you&rsquo;re on your own.</p>
<p><strong>Bun dependency.</strong> The runtime relies on bun. Bun is fast, but it&rsquo;s less battle-tested in server environments. Still, I didn&rsquo;t run into issues during my testing.</p>
<p><strong>No Docker Compose.</strong> There&rsquo;s a Dockerfile in the repo, but no official <code>docker-compose.yml</code>. For Docker-centric workflows, this adds friction. The developer says it&rsquo;s coming.</p>
<p><strong>No built-in auth.</strong> Security relies entirely on your network layer. Tailscale solves this, but it&rsquo;s one more thing to set up.</p>
<p><strong>Single-server architecture.</strong> lfg runs on one machine. If your VPS goes down, you lose all running sessions. No clustering or failover.</p>
<h2 id="the-bottom-line">The Bottom Line</h2>
<p>lfg is a tool I didn&rsquo;t know I needed until I tried it. And now I don&rsquo;t want to go back. The combination of <code>curl | bash</code> simplicity, a clean web UI, and support for all three major agents makes it the most practical way to run AI coding agents on a remote server.</p>
<p>It&rsquo;s not for everyone. If you&rsquo;re happy SSHing in and running <code>tmux attach</code>, you might not need it. But if you&rsquo;ve ever wished you could check on your agent from your phone, or manage multiple sessions without a terminal maze, lfg is worth your time.</p>
<p>I&rsquo;ll be keeping it running on my Droplet. And I&rsquo;ll be watching those star counts climb.</p>
<!-- BEGIN AFFILIATE LINKS (generated by ads-center 2026-06-29) -->
<div class="affiliate-block">
  <p><em>Some links below are affiliate links. If you sign up or purchase through them, I may earn a commission at no extra cost to you.</em></p>
  <ul>
    <li><a href="https://m.do.co/c/1dc18b5a8131" target="_blank" rel="nofollow sponsored noopener">DigitalOcean $200 free credit</a> — spin up a $6/month Droplet and run lfg with your AI coding agents for over two years. New accounts only.</li>
    <li><a href="https://www.vultr.com/?ref=9904970" target="_blank" rel="nofollow sponsored noopener">Vultr $100 free trial</a> — alternative VPS provider with 32 global locations. The $6/month plan handles lfg and one Claude Code session comfortably.</li>
    <li><a href="https://www.amazon.com/dp/1835462316?tag=toolgenix-20" target="_blank" rel="nofollow sponsored noopener">Building LLM Powered Applications</a> — learn how to create intelligent apps and agents with large language models. Perfect companion if you're running AI coding agents on your own infrastructure.</li>
  </ul>
</div>
<!-- END AFFILIATE LINKS -->
]]></content:encoded></item></channel></rss>