Skip to content
gentic.news — AI News Intelligence Platform
Connecting to the Living Graph…

Listen to today's AI briefing

Daily podcast — 5 min, AI-narrated summary of top stories

A desk with five computer monitors arranged in a semi-circle, each displaying code or AI interfaces, with a sleeping…

How This Solo Builder Ships Features While Sleeping with a 5-Machine Local

Alex Finn's build-and-review loop with Claude Code and local models like OpenClaw automates feature shipping on 5 machines. Key takeaway: set up Tailscale and allocate tasks by model strength.

·6d ago·5 min read··11 views·AI-Generated·Report error
Share:
Source: lennysnewsletter.comvia lennys_newsletterCorroborated
How do I set up a local Claude Code build-and-review loop that ships features while I sleep?

Use Claude Code's build-and-review loop with Tailscale and local models like OpenClaw or Hermes to automate feature development 24/7 on your own hardware, eliminating cloud subscription costs.

TL;DR

Alex Finn's build-and-review loop lets Claude Code ship features autonomously using local models, cutting cloud costs to zero.

Key Takeaways

  • Alex Finn's build-and-review loop with Claude Code and local models like OpenClaw automates feature shipping on 5 machines.
  • Key takeaway: set up Tailscale and allocate tasks by model strength.

What Changed — The 24/7 Local Software Factory

Alex Finn, creator of Vibe Code Academy, runs a five-computer local AI setup that lets Claude Code ship features while he sleeps. His stack: three Mac Studio 512 GB machines, a DGX Spark, and a custom RTX 5090 build. All coordinated through a fleet dashboard he built himself.

The key insight? Unlimited local inference changes the economics. "Unlimited local inference changes the use-case math in a way a $20 cloud subscription never can," Finn says. Instead of paying per token or per request, you pay once for hardware and run as many agent loops as your machines can handle.

What It Means For You — The Build-and-Review Loop

Finn's core workflow is two Claude Code loops running in parallel:

  1. The Build Loop: Claude Code writes code, runs tests, and creates features autonomously. It's assigned to the most capable local model (like GLM 5.2 or Qwen 3.6) on the fastest machine.

  2. The Review Loop: A separate Claude Code instance reviews the build loop's output. It checks for bugs, style issues, and security vulnerabilities using a different local model (like Ornith 1.0 or Hermes).

This separation prevents the same agent from rubber-stamping its own work. The review loop can reject code and send it back to the build loop with detailed feedback—all without human intervention.

Finn allocates tasks by machine and model capability. "GLM 5.2 handles complex logic, Qwen 3.6 handles RAG and retrieval, and Ornith 1.0 handles security scanning," he explains. Each machine runs a dedicated agent with failover baked in—if one machine goes down, another picks up its tasks.

Try It Now — Setting Up Your Own Local Loop

Step 1: Install Tailscale

Tailscale is the glue. Even on a single machine, it lets one agent manage your entire hardware fleet. Install it on all machines:

# On each machine
curl -fsSL https://tailscale.com/install.sh | sh
sudo tailscale up

Step 2: Choose Your Local Models

Finn recommends:

  • OpenClaw (open-source): Best for autonomous agent loops. Runs on Mac Studio with 512 GB unified memory.
  • Hermes (Nous Research): Better at instruction following and structured output. Good for review loops.
  • GLM 5.2 (z.ai): Handles complex logic and multi-step reasoning.
  • Qwen 3.6 (Alibaba): Optimized for RAG and retrieval tasks.
  • Ornith 1.0: Specialized for security scanning.

Step 3: Create the CLAUDE.md Configuration

In your project root, create a CLAUDE.md file that defines your build and review agents:

# Build Agent
- Model: OpenClaw (via local endpoint)
- Tasks: Write code, run tests, create features
- Scope: src/ directory, tests/
- Constraints: Must pass existing tests before marking complete

# Review Agent  
- Model: Hermes (via local endpoint)
- Tasks: Review build output, check for bugs, verify style
- Scope: All PRs from build agent
- Constraints: Must flag any security issues, reject if test coverage < 80%

# Failover
- If build agent machine goes down, fall back to review agent machine
- If both down, alert via webhook

Step 4: Run the Loop

Start both agents in separate terminal sessions or as background processes:

# Terminal 1: Build loop
claude code --agent build --model openclaw --task "Implement feature X"

# Terminal 2: Review loop
claude code --agent review --model hermes --task "Review last build output"

Finn uses a fleet dashboard he built to monitor both loops, but you can start with simple log files or even tmux sessions.

Step 5: Add Security Scanning

Use Ornith 1.0 as an always-on security scanner that feeds findings into Claude Code:

# Run security scan on every code change
claude code --agent security --model ornith --task "Scan src/ for vulnerabilities"

This runs in a third loop, continuously analyzing code for issues and creating tickets for the build agent to fix.

Why This Works

The local setup eliminates two bottlenecks:

Lenny's Newsletter

  1. Cost: No per-token charges. Run as many agent loops as you want.
  2. Latency: Models respond in milliseconds on local hardware. No API round trips.

Finn's five agents with failover means his software factory never stops. "The build loop and review loop in Claude Code ship features while he sleeps," the source notes.

Hardware Recommendations

If you're starting from scratch:

  • Mac Studio 512 GB: Best for running large models like GLM 5.2. Unified memory means you can load a 70B+ parameter model.
  • DGX Spark: Nvidia's workstation. Best for models that need CUDA acceleration.
  • RTX 5090 build: Best for inference speed on smaller models. Use for the review loop.

Finn runs three Mac Studios for the heavy lifting, one DGX Spark for CUDA-specific tasks, and one RTX 5090 for fast inference on the review loop.

The Bottom Line

You don't need five machines to start. A single Mac Studio or even a powerful PC with a good GPU can run both build and review loops. The key is separating the concerns—different models for different tasks, Tailscale for coordination, and CLAUDE.md for configuration.

As Finn puts it: "Unlimited local inference changes the use-case math." Your code ships 24/7. You just review the results in the morning.


Source: lennysnewsletter.com

Sources cited in this article

  1. Claude Code
Source: gentic.news · · author= · citation.json

AI-assisted reporting. Generated by gentic.news from 1 verified source, fact-checked against the Living Graph of 4,300+ entities. Edited by Ala SMITH.

Following this story?

Get a weekly digest with AI predictions, trends, and analysis — free.

AI Analysis

Claude Code users should immediately adopt the build-and-review loop pattern. The key insight is that separating code generation from code review prevents the same agent from rubber-stamping its own work. Start by creating a CLAUDE.md that defines two separate agents with different models—even if both run on the same machine. Use Tailscale to coordinate across machines as you scale. For those without local hardware, the same pattern works with cloud models. Use Claude Opus 4.6 for the build loop and Claude Sonnet 4.6 for the review loop. The separation of concerns matters more than the hardware. Set up the review loop to run on a schedule (every 30 minutes) or triggered by git commits from the build loop. The security scanning pattern is another immediate win. Even a simple always-on agent that runs `grep` for common vulnerabilities or uses a local model to analyze diffs can catch issues before they reach production. Add this as a third loop or integrate it into the review agent's checklist.
This story is part of
Claude Code's Campus Conquest Flips Anthropic's Talent Pipeline, Leaving Google's Academic Edge in Doubt
Viral adoption at MIT and Stanford transforms Claude Code from product into recruiting funnel, threatening Google's long-held research talent dominance
Compare side-by-side
Claude Code vs DGX Spark
Enjoyed this article?
Share:

AI Toolslive

Five one-click lenses on this article. Cached for 24h.

Pick a tool above to generate an instant lens on this article.

Related Articles

From the lab

The framework underneath this story

Every article on this site sits on top of one engine and one framework — both built by the lab.

More in Opinion & Analysis

View all