Starship: The Home Mac Fleet
I run my agents on a fleet of Mac minis on 10GbE in my studio. A coordinator, two 64 GB workers, and a Mac Studio that joins in code mode. Here's how it works and why I built it.
4 min read
Starship is a fleet of Apple Silicon Macs on a shelf in my studio. It runs the agent team that ships code to every product in the 70x7 portfolio. The hardware is modest, the network is fast, and the whole system runs on models I own.
Here's what it is, how it works, and why I built it this way.
The fleet#
The hardware sits on 10GbE. That's faster than most home networks need, but it's what the agents need when they're passing context between machines.
- A coordinator. An M4 Mac mini with 24 GB of memory. It runs the job ledger, the model gateway, and the run engine. It deliberately serves no models. Its job is to route work, not to run inference.
- Two workers. M4 Pro Mac minis with 64 GB each. These carry the bulk of the coding work on a 35B mixture-of-experts Qwen model. They run Ollama and register their availability with the coordinator.
- A heavy runner. An M2 Ultra Mac Studio, also 64 GB. It's reserved for escalations and the hardest tasks, one slot at a time. When a task is too complex for the workers, it goes here.
The Mac Studio only joins the fleet in code mode. The rest of the time, it's my primary workstation.
How it works#
When a task lands, it goes into a queue. The coordinator assigns it to the least-loaded worker. The worker leases the job, runs the agent loop against the local model, applies the gates, and reports back through a webhook.
The agent gets a small toolset: list a directory, read a file, search, edit, write, run a command, and see the diff. Git publishing commands are blocked. The agent proposes a change. The worker decides whether that change becomes a PR.
The control plane is a web app. It plans work, stores tasks, and enqueues runs. It does not run the coding agent. That split is deliberate. A planning bug can't push code, and an agent bug can't rewrite the plan.
Why local beats cloud, and where it doesn't#
I run inference locally for a few reasons:
Cost. The hardware is sunk cost. Power is a few dollars a month. For the volume I run, cloud inference would be hundreds.
Control. When something goes wrong, I can see all of it. The context window, the memory limit, the idle timeout. Inference that runs on my hardware is a system I can fix, not a ticket I file.
Latency, once the network is fixed. Co-locating the model with the API removed the network from the hot path. Long generations used to hit a tunnel provider's edge timeout of around 100 seconds. Now they don't travel over the public internet at all.
Privacy. It's a smaller factor, but inference stays on hardware I own.
That said, local isn't always better. A hosted model stays in the registry as an off-by-default break-glass route. When a subtle security fix defeated the 35B model even with perfect context, it finally went green only after I fixed how the agent reads large files and handed it the scanner's own remediation guidance. Model capability is real. I'd rather admit that than fake it.
What the hardware taught me#
Most of what I learned wasn't about models. It was about the layer underneath them.
Defaults will sabotage you. The hard coding tasks kept looping. The agent would read a large file, decide it was truncated, and read it again. When I inspected one request, it carried 48 messages and roughly 60,000 tokens. The model had seen 4,806 of them. Ollama had silently cut the prompt down to its default context window and kept only the tail. The fix lived in the model definition itself: PARAMETER num_ctx 32768.
Memory is a policy decision. The 35B model evicted itself after about five idle minutes. Reloading 24 GB on the next request produced timeouts that looked like model failures. Now the model is pinned resident.
More endpoints is not more capacity. Ollama runs this model family with a single parallel slot, so "three in flight" was cosmetic. Matching concurrency to the real slot count took a 10-item batch from 983 seconds to 744. Spreading both workloads across every box made it worse, at 854 seconds, because large calls blocked small ones.
What 10GbE is for#
The network is fast because the agents pass context between machines. When a task needs files from another product, the worker fetches them from the coordinator. When a coder finishes and the reviewer starts, the reviewer reads the same files the coder saw.
That traffic adds up. On 1GbE, it was the bottleneck. On 10GbE, it's invisible.
The other reason is backups. The fleet snapshots its state every night to a NAS over the same network. 10GbE turns a 20-minute backup into a two-minute one. That doesn't matter for the agents, but it matters for the operation.
The takeaway#
Starship isn't about avoiding the cloud. It's about understanding the system well enough that it can run without me watching it. Every failure had a name I could find: a context window, a memory cap, an idle timer. I'd take that over a faster model I can't see inside.
The point was to own the inference layer so I could make it do exactly what I needed. That's hard to do when the inference layer is a black box.
Related
- Engineering
Why I Run My Own Model Fleet
Starship runs its coding and planning agents on a small fleet of Apple Silicon Macs I own. Here is when local models beat the cloud, what it cost me in operational lessons, and where I still reach for a hosted model.
AI · Agents · Architecture · Local LLMs6 min read
- Engineering
Skills, Standards and Context: What My Agents Know, and How Fresh It Is
A coding agent is only as good as what it's handed. Here is how Starship curates its skill library, enforces standards, and keeps the context it feeds models grounded and current, including where that loop was still open.
AI · Agents · Architecture · Local LLMs6 min read
- Engineering
Leaving GitHub Actions for Cloud Build
I moved CI from GitHub Actions to Google Cloud Build. The reason was simple: Actions billing. Here's how the migration worked and what improved.
Infrastructure · Delivery · Architecture4 min read