<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Syntaxlabor]]></title><description><![CDATA[Syntaxlabor]]></description><link>https://syntaxlabor.hashnode.dev</link><generator>RSS for Node</generator><lastBuildDate>Sun, 01 Nov 2026 19:22:23 GMT</lastBuildDate><atom:link href="https://syntaxlabor.hashnode.dev/rss.xml" rel="self" type="application/rss+xml"/><language><![CDATA[en]]></language><ttl>60</ttl><item><title><![CDATA[Run a Coding Agent on Your Own VPS: Claude Code, Cursor CLI & Codex Without a Laptop (2026)]]></title><description><![CDATA[Originally published in German on syntaxlabor.de. As of October 27, 2026; commands checked against Anthropic, Cursor, and OpenAI docs. Contabo prices from…]]></description><link>https://syntaxlabor.hashnode.dev/run-a-coding-agent-on-your-own-vps-claude-code-cursor-cli-codex-without-a-laptop-2026</link><guid isPermaLink="true">https://syntaxlabor.hashnode.dev/run-a-coding-agent-on-your-own-vps-claude-code-cursor-cli-codex-without-a-laptop-2026</guid><category><![CDATA[AI]]></category><category><![CDATA[Devops]]></category><category><![CDATA[Productivity]]></category><category><![CDATA[tooling]]></category><dc:creator><![CDATA[Syntaxlabor]]></dc:creator><pubDate>Tue, 27 Oct 2026 18:24:13 GMT</pubDate><content:encoded><![CDATA[<p><em>Originally published in German on <a href="https://syntaxlabor.de/blog/ki-coding-agent-auf-vps">syntaxlabor.de</a>. As of October 27, 2026; commands checked against Anthropic, Cursor, and OpenAI docs. Contabo prices from contabo.com/de/vps (promo pricing for the first 24 months — confirm in checkout).</em></p>
<p>Long agent runs have a boring failure mode: you close the laptop and the session dies. Claude Code, the Cursor CLI, and the Codex CLI all run in a terminal, so you can start them on a small Linux VPS over SSH and reattach later.</p>
<h2>Why a server at all?</h2>
<ul>
<li><strong>The agent keeps going</strong> while your laptop sleeps or you are offline. Reattach over SSH.</li>
<li><strong>Isolation:</strong> shell access on the VPS instead of on a personal machine full of browser logins.</li>
<li><strong>Phone control:</strong> Claude Code supports Remote Control (paid plans; see below).</li>
</ul>
<p>A VPS does <strong>not</strong> change model costs. You still need a subscription or an API key. Use a cost calculator if you want monthly tool spend side by side.</p>
<h2>How much server do you need?</h2>
<p>Claude Code’s docs want Ubuntu 20.04+ / Debian 10+ / Alpine 3.19+, at least <strong>4 GB RAM</strong>, x64 or ARM64, and a network. The models run in the vendor cloud; RAM is mostly for <em>your</em> project (build, tests, DB, dev server).</p>
<p>Example entry-level Contabo VPS (site prices, retrieved 2026-10-27; promo for first 24 months):</p>
<table>
<thead>
<tr>
<th>Plan</th>
<th>vCPU</th>
<th>RAM</th>
<th>Storage</th>
<th>Listed price</th>
</tr>
</thead>
<tbody><tr>
<td>VPS 4</td>
<td>4</td>
<td>8 GB</td>
<td>100 GB SSD</td>
<td>from ~€4.40/mo</td>
</tr>
<tr>
<td>VPS 6</td>
<td>6</td>
<td>12 GB</td>
<td>200 GB SSD or 100 GB NVMe</td>
<td>from ~€6.00/mo</td>
</tr>
<tr>
<td>VPS 8</td>
<td>8</td>
<td>24 GB</td>
<td>300 GB SSD or 150 GB NVMe</td>
<td>from ~€11.20/mo</td>
</tr>
</tbody></table>
<p>Setup fees and post-promo prices: check the order flow. Source: <a href="https://contabo.com/de/vps/">contabo.com/de/vps</a> (no tracking link in this cross-post).</p>
<h2>Step 1: Prepare the box</h2>
<pre><code class="language-bash">sudo apt update &amp;&amp; sudo apt install -y git tmux
tmux new -s agent      # start
# … later …
tmux attach -t agent   # reattach
</code></pre>
<p><code>tmux</code> is the important bit: the session survives disconnects. Anthropic also recommends tmux/screen when you start Claude on a remote machine.</p>
<h2>Step 2: Claude Code — install &amp; login</h2>
<pre><code class="language-bash">curl -fsSL https://claude.ai/install.sh | bash
claude --version
claude doctor
</code></pre>
<ul>
<li>Interactive SSH: <code>claude</code> → press <code>c</code> to copy the login URL, open it locally, paste the code back.</li>
<li>Scripts: <code>claude setup-token</code> → year-long OAuth token as <code>CLAUDE_CODE_OAUTH_TOKEN</code> (or use <code>ANTHROPIC_API_KEY</code>).</li>
<li>Headless: <code>claude -p "…"</code>.</li>
<li><strong>Remote Control</strong> (phone): <code>claude remote-control</code> / <code>/remote-control</code> — Pro/Max/Team/Enterprise only; needs a normal <code>claude auth login</code>, not API key / setup-token. Outbound HTTPS only.</li>
</ul>
<p>Free plan does <strong>not</strong> include Claude Code.</p>
<h2>Step 3: Cursor CLI</h2>
<pre><code class="language-bash">curl https://cursor.com/install -fsS | bash
NO_OPEN_BROWSER=1 agent login   # prints the login URL
agent status
# headless / plan modes: agent -p … · --mode=plan|ask
# background → Cloud Agents: agent &amp;  then agent ls / agent resume
</code></pre>
<p><code>CURSOR_API_KEY</code> works for non-interactive use. Docs: cursor.com/docs/cli.</p>
<h2>Step 4: Codex CLI</h2>
<pre><code class="language-bash">curl -fsSL https://chatgpt.com/codex/install.sh | sh
codex login --device-auth   # device-code login (beta; enable in ChatGPT security settings)
# SSH tip: tunnel local port 1455 if the flow needs it
codex exec "…"
codex resume
codex login status
</code></pre>
<p>Treat <code>~/.codex/auth.json</code> like a password. OpenAI warns not to expose Codex execution in untrusted/public environments. API path: <code>--with-api-key</code> (API pricing).</p>
<h2>Security checklist</h2>
<ul>
<li>Separate non-root user; SSH keys only; no password auth if you can.</li>
<li>Secrets in env / secret store — not in the repo the agent can <code>cat</code>.</li>
<li>Firewall: only SSH (and what you deliberately open).</li>
<li>Don’t point an agent with broad shell access at production credentials.</li>
<li>Prefer <code>tmux</code> so a dropped SSH session does not orphan a half-finished run without a way back.</li>
</ul>
<h2>What does it cost overall?</h2>
<p>VPS (a few €/month) <strong>plus</strong> the tool plan or API spend. The VPS is usually the smaller line item; token/subscription cost dominates. Measure before stacking Ultra + Max “just in case”.</p>
<h2>Verdict</h2>
<p>A small Linux VPS, a dedicated user, <code>tmux</code>, and the right headless login path (<code>NO_OPEN_BROWSER=1</code>, device-auth, setup-token / OAuth) are enough to keep coding agents alive when the laptop is closed. Start with one tool you already pay for, confirm login over SSH once, then automate.</p>
<h2>Sources</h2>
<ul>
<li><a href="https://code.claude.com/docs/en/setup">Claude Code · Setup</a>, authentication / remote-control docs (retrieved 2026-10-27)</li>
<li><a href="https://cursor.com/docs/cli">Cursor CLI · Overview &amp; authentication</a></li>
<li><a href="https://learn.chatgpt.com/docs/codex/cli">Codex CLI · install &amp; auth</a></li>
<li><a href="https://contabo.com/de/vps/">Contabo VPS</a> (prices change — verify at checkout)</li>
</ul>
<hr />
<p><em>I write <a href="https://syntaxlabor.de/?ref=devto">Syntaxlabor</a>, a free <strong>German-language</strong> digest on AI coding tools (Cursor, Claude Code, agents) for indie devs, 3× a week. Archive without signup: <a href="https://syntaxlabor.de/digest?ref=devto">syntaxlabor.de/digest</a>.</em></p>
]]></content:encoded></item><item><title><![CDATA[Cursor vs Claude Code (2026): Which One Should Vibe Coders Pick?]]></title><description><![CDATA[Originally published in German on syntaxlabor.de. As of October 19, 2026; prices and features checked against the live pricing pages, USD excluding VAT…]]></description><link>https://syntaxlabor.hashnode.dev/cursor-vs-claude-code-2026-which-one-should-vibe-coders-pick</link><guid isPermaLink="true">https://syntaxlabor.hashnode.dev/cursor-vs-claude-code-2026-which-one-should-vibe-coders-pick</guid><category><![CDATA[AI]]></category><category><![CDATA[Productivity]]></category><category><![CDATA[webdev]]></category><category><![CDATA[tooling]]></category><dc:creator><![CDATA[Syntaxlabor]]></dc:creator><pubDate>Tue, 27 Oct 2026 18:21:57 GMT</pubDate><content:encoded><![CDATA[<p><em>Originally published in German on <a href="https://syntaxlabor.de/blog/cursor-vs-claude-code">syntaxlabor.de</a>. As of October 19, 2026; prices and features checked against the live pricing pages, USD excluding VAT.</em></p>
<p>Both tools promise the same thing: type less, ship more. The difference is the <strong>interface and the control model</strong>. Cursor is an AI-native IDE; Claude Code is a coding agent that grew up in the terminal.</p>
<p>Since Cursor's new pricing there is a second, often overlooked difference: <strong>where your Claude usage gets billed.</strong> A lot of older comparisons still assume "Cursor Pro $20 vs Claude Pro $20". That is no longer what the <a href="https://cursor.com/pricing">Cursor pricing page</a> says.</p>
<h2>TL;DR</h2>
<table>
<thead>
<tr>
<th>Question</th>
<th>Short answer</th>
</tr>
</thead>
<tbody><tr>
<td>Want to stay in the editor (Tab, inline diffs)?</td>
<td><strong>Cursor</strong></td>
</tr>
<tr>
<td>Want agents to run tasks in the repo (issue → PR)?</td>
<td><strong>Claude Code</strong></td>
</tr>
<tr>
<td>Want Claude models without a per-token bill?</td>
<td><strong>Claude Pro/Max</strong> (Claude Code included). In Cursor, Claude models start at Premium and are billed at API list price.</td>
</tr>
<tr>
<td>Want free choice of models (Grok, Claude, GPT…)?</td>
<td><strong>Cursor Premium+</strong> (third-party billed by usage). Plus is Grok-only.</td>
</tr>
<tr>
<td>Best setup for many indie devs?</td>
<td><strong>Hybrid</strong>: Cursor as editor, Claude Code (also available as an extension inside Cursor) for bigger agent jobs</td>
</tr>
</tbody></table>
<h2>What is what?</h2>
<h3>Cursor</h3>
<p>An AI-native IDE with Tab completion, Agent, Cloud Agents and its own CLI. Plans according to <a href="https://cursor.com/pricing">cursor.com/pricing</a>:</p>
<ul>
<li><strong>Free</strong> $0</li>
<li><strong>Plus</strong> $8: "Only Grok models are available on this plan"</li>
<li><strong>Premium</strong> $30: 4× the usage of Plus, Cloud Agents &amp; Automations, code hosting, AI code reviews via Bugbot, third-party models at API list price</li>
<li><strong>Super</strong> $100 (15×) and <strong>Ultra</strong> $200 (50×)</li>
</ul>
<p>The usage pool refills weekly. Cursor itself recommends Premium for new AI users and Plus for people with light AI usage.</p>
<h3>Claude Code</h3>
<p>Anthropic's coding agent. It runs in the terminal, as a native extension for VS Code (and, per the product page, inside Cursor) and JetBrains, on the web, in the desktop app, on iOS/Android and in Slack. According to <a href="https://claude.com/pricing">claude.com/pricing</a>, Claude Code is included in <strong>all paid plans</strong> (not the free plan) and shares the usage pool with chat. Alternatively you can use a Console account with pay-as-you-go API tokens.</p>
<h2>Head-to-head</h2>
<table>
<thead>
<tr>
<th>Category</th>
<th>Cursor</th>
<th>Claude Code</th>
</tr>
</thead>
<tbody><tr>
<td>Primary UI</td>
<td>GUI editor (+ CLI, Agents window)</td>
<td>Terminal / agent (+ IDE extensions, web, desktop, mobile)</td>
</tr>
<tr>
<td>Learning curve (our take)</td>
<td>Flat if you know VS Code</td>
<td>Steeper if you're not at home in a CLI</td>
</tr>
<tr>
<td>Models</td>
<td>Plus: Grok only · Premium+: third-party at API list price</td>
<td>Claude models (Sonnet, Opus from Pro; Haiku)</td>
</tr>
<tr>
<td>Paid entry</td>
<td>Plus $8 / Premium $30</td>
<td>Pro $20/mo or $17/mo yearly ($200 up front)</td>
</tr>
<tr>
<td>Power tier</td>
<td>Super $100 (15×) / Ultra $200 (50×)</td>
<td>Max from $100 (5× or 20× Pro usage) + $100–$200/mo API credits</td>
</tr>
<tr>
<td>Limits</td>
<td>Pool refreshes weekly; then top-ups or wait</td>
<td>5-hour windows + weekly limits; then usage credits at API prices</td>
</tr>
<tr>
<td>Parallel agents / worktrees</td>
<td>Worktrees in the Agents window, <code>/worktree</code> &amp; <code>/best-of-n</code> in the IDE, <code>--worktree</code> in the CLI</td>
<td><code>claude --worktree</code>, subagents, background agents</td>
</tr>
<tr>
<td>Cloud / async</td>
<td>Cloud Agents &amp; Automations (Premium+)</td>
<td>Web/cloud sessions, scheduled routines</td>
</tr>
<tr>
<td>Privacy</td>
<td>Privacy Mode: code isn't used for training</td>
<td>Training opt-out (Pro/Max); Team/Enterprise: no training by default</td>
</tr>
</tbody></table>
<p>Sources: <a href="https://cursor.com/pricing">Cursor Pricing</a>, <a href="https://cursor.com/docs/configuration/worktrees">Cursor Worktrees</a>, <a href="https://claude.com/pricing">Claude Pricing</a>, <a href="https://claude.com/product/claude-code">Claude Code</a>, <a href="https://code.claude.com/docs/en/common-workflows">Claude Code common workflows</a>. Prices change, so always check the live pages before you buy.</p>
<h2>When Cursor is the better choice</h2>
<ul>
<li>You want to work <strong>in the diff right away</strong>: Tab-accept, inline edits, review inside the editor.</li>
<li>You think in <strong>files and tabs</strong>, not shell sessions.</li>
<li>You're fine with Grok, in which case <strong>Plus ($8)</strong> is the cheapest entry in this comparison.</li>
<li>You want (from Premium) Cloud Agents, Bugbot reviews and models from several vendors in one tool, and you accept per-token cost for third-party models.</li>
</ul>
<p>Typical vibe flow: prompt → Cursor edits → you review the diff → commit.</p>
<h2>When Claude Code is the better choice</h2>
<ul>
<li>You let agents <strong>run longer</strong>, from issue to pull request, including tests.</li>
<li>You <strong>live in the terminal</strong> (git, tests, deploy scripts), or you want to wire Claude into scripts and CI via <code>claude -p</code>.</li>
<li>You use Claude models anyway: on Pro the usage comes out of your plan's pool instead of per-token in Cursor.</li>
<li>You want <strong>parallel sessions without collisions</strong>: <code>claude --worktree feature-x</code> gives each session its own checkout.</li>
</ul>
<p>Typical flow: describe the task → check the plan in plan mode → the agent implements and tests → you review commits/PRs. For side questions there's <code>/btw</code> (now also in the Cursor CLI, by the way).</p>
<h2>Costs, honestly calculated</h2>
<ul>
<li><strong>Cursor Plus only ($8):</strong> cheap, but Grok-only. If your workflow needs Claude, Plus won't do.</li>
<li><strong>Cursor Premium only ($30):</strong> Claude &amp; GPT in the editor, but <strong>on top, at API list price</strong>. On big refactors the token spend can overtake the plan price.</li>
<li><strong>Claude Pro only ($20, or $17 yearly):</strong> Claude Code included, usage from the plan pool. Strong for agent work, but not a full AI IDE.</li>
<li><strong>Hybrid:</strong> Cursor Plus + Claude Pro = <strong>$28/month</strong>; Cursor Premium + Claude Pro = <strong>$50/month</strong> (+ third-party tokens in Cursor if you use them). Only worth it if your output measurably goes up.</li>
<li><strong>The hybrid trick:</strong> according to Anthropic, Claude Code also runs as an extension inside Cursor. Use Cursor Plus ($8, Grok) as your editor and do the Claude work through Claude Code on Pro, and you pay <strong>no Cursor token money for Claude</strong>.</li>
</ul>
<h2>Practical recommendation: test for two weeks</h2>
<ol>
<li><strong>Week 1:</strong> Cursor Free or Plus. Does IDE-AI actually speed you up?</li>
<li><strong>Week 2:</strong> one month of Claude Pro ($20). Do one bigger refactor with Claude Code only.</li>
<li><strong>Decide:</strong> mostly UI and small diffs → keep Cursor; mostly agent/repo tasks → prioritize Claude Code; both daily → hybrid with a hard monthly budget.</li>
</ol>
<p>Whichever tool you pick: <strong>learn isolation with worktrees.</strong> Both tools now use separate checkouts instead of one agent working on <code>main</code>.</p>
<h2>Common mistakes</h2>
<ul>
<li>Upgrading a plan without checking the token spend of the last few weeks.</li>
<li>Using Claude inside Cursor Premium <strong>without a spending cap</strong>, then seeing the API bill.</li>
<li>Letting agents work directly on prod branches without review.</li>
<li>Forgetting Privacy Mode or the training opt-out on client code.</li>
<li>Two power-tier subscriptions (Ultra + Max) "out of FOMO". Measure first.</li>
</ul>
<h2>Verdict</h2>
<p>There's no universal winner. <strong>Cursor</strong> wins as the everyday IDE, <strong>Claude Code</strong> as the agentic teammate in your repo. The most important point in 2026, though, is money: <strong>Claude models are not covered by a Cursor subscription, but they are in Claude Pro.</strong> For many indie devs the best answer is therefore <em>editor + terminal agent</em> with a clear monthly budget.</p>
<h2>Sources</h2>
<ul>
<li><a href="https://cursor.com/pricing">Cursor · Pricing</a>, retrieved 2026-10-19</li>
<li><a href="https://cursor.com/docs/configuration/worktrees">Cursor Docs · Worktrees</a></li>
<li><a href="https://cursor.com/docs/cli/changelog">Cursor CLI Changelog</a></li>
<li><a href="https://claude.com/pricing">Claude · Pricing</a>, retrieved 2026-10-19</li>
<li><a href="https://claude.com/product/claude-code">Claude Code · Product page</a></li>
<li><a href="https://code.claude.com/docs/en/common-workflows">Claude Code Docs · Common workflows</a></li>
<li><a href="https://code.claude.com/docs/en/changelog">Claude Code Changelog</a></li>
</ul>
<hr />
<p><em>I write <a href="https://syntaxlabor.de/?ref=devto">Syntaxlabor</a>, a free <strong>German-language</strong> digest on AI coding tools (Cursor, Claude Code, agents) for indie devs, 3× a week. If you read German, the archive is open without signup: <a href="https://syntaxlabor.de/digest?ref=devto">syntaxlabor.de/digest</a>. No affiliate links in this post.</em></p>
]]></content:encoded></item></channel></rss>