Build a macOS app isolating agent workspaces per branch
A poster used Cursor to build an Electron macOS app that gives each coding agent an isolated workspace per git branch with its own local IP. ·
Done withCursorClaude Code
- What they did
- The poster built Galactic, an Electron macOS app for running multiple Cursor or Claude Code agents in parallel, each tied to its own git branch and isolated workspace. In the thread they say Cursor helped build the Electron shell and UI, and in a related showcase comment they add that Cursor wrote the entire Electron main process and an MCP server, while agent mode was used for the network-isolation logic that assigns each workspace a unique loopback IP.
- How it went
- The stated result was that parallel agent workspaces could run the same ports without conflicts and avoid context bleeding between branches. The thread gives no performance numbers or broader limitations beyond framing it as a fix for that specific multi-agent workflow problem.
- Worth knowing
- The source’s main catch is scope: it describes the app’s branch-per-workspace and unique-local-IP setup, but offers no concrete build time, cost, or benchmark details.
Try it yourself with Cursor
Help me build a [macOS/Electron] desktop app that gives each coding agent its own isolated workspace per git branch, with a separate [local IP or port] for each one. Start with a short plan of the architecture, then implement the main process, workspace creation from a branch, and the network isolation. You're done when I can launch two workspaces on different branches and confirm they run without interfering with each other. Ask me before deleting any files or running destructive git commands.
Want help getting this working? Join the Vibe Coding Academy ↗ Run by Alex Finn, who also runs this site.
1 more account of this
Source: Reddit · Apr 26, 2025
Related use cases
Turn tickets into merged pull requests
Pulls tasks from GitHub Issues or Linear, then runs Claude Code or Codex in isolated Kubernetes pods to carry each one through to a PR.
Playtest a Godot 4 game with a Cursor agent
A Cursor plugin and subagent lets an agent capture screenshots and click through UI flows of a Godot 4 game like a player.
Replace a Shopify reviews app with Claude Code
A store owner used Claude Code to investigate the Judge.me app and plan a replacement; a commenter built a wholesale shop linked to accounting with it.
Build a C compiler with a team of parallel agents
Anthropic's engineering write-up on tasking Opus 4.6 agent teams with building a C compiler.
Build a WordPress marketing site from Figma overnight
bnistordev connected Devin to a Figma file via MCP and had it build an entire WordPress marketing site overnight.
Patch and write software on old iMacs over SSH
A commenter has Claude SSH into 2007-era iMacs to patch issues and write bespoke software, upcycling old hardware.
Get 5 like this every morning
The best things people got an AI agent to do, each with the prompt to try it.