← All projects
Project record1 mention
Originally shared on Hacker News

Mainplane

Mainplane is an agent control plane written in Go that runs as a server (e.g., on an old PC running Ubuntu); it holds API keys and sessions, makes the LLM calls, and routes each tool call to worker machines the user owns over a built-in private WireGuard network, keeping agent state as append-only session files on the server.

Last shared
01 / The problem

What it addresses

Local agents die with your laptop, and cloud agents can't reach your work that spans multiple machines and is not in git; Mainplane lets agents work on the user's own machines while keys and state stay on the server.

02 / Source history

Shared over time

Each entry reflects what was shared on that date. Details may have changed since then.

  1. Mainplane

    Mainplane is an agent control plane written in Go that runs as a server (e.g., on an old PC running Ubuntu); it holds API keys and sessions, makes the LLM calls, and routes each tool call to worker machines the user owns over a built-in private WireGuard network, keeping agent state as append-only session files on the server.

    Problem: Local agents die with your laptop, and cloud agents can't reach your work that spans multiple machines and is not in git; Mainplane lets agents work on the user's own machines while keys and state stay on the server.

    Posted by @Alexander9 · Original source ↗

    Story title · @Alexander9 · · Source ↗

    Show HN: Mainplane – Agent in Go that lives on your old PC, drives your laptop

    Submitted URL · @Alexander9 · · Source ↗

    https://github.com/mainplane-ai/mainplane

    Source text · @Alexander9 · · Source ↗

    How it works: it is a control plane architecture. The server runs the harness. It holds your API keys and every session, makes the LLM calls, and routes each tool call to a worker.

    Source text · @Alexander9 · · Source ↗

    The workers are your other machines, connected over a built-in private WireGuard network. A bash command runs in the worker's terminal, not on the server. Shared drives let projects move across machines.

    Source text · @Alexander9 · · Source ↗

    So I loaded Ubuntu on my old 2012 desktop and made it my Mainplane server. It has run for four weeks at a load average of 0.02, because the agents' tools run on other machines.

    Source text · @Alexander9 · · Source ↗

    The problem: local agents die with your laptop, and cloud agents can't reach your work. Many cloud platforms ask you to "select a repository", but my work is not that simple. I work across a desktop, a Mac mini and a laptop, and much of it is not in git.

    Source text · @Alexander9 · · Source ↗

    Mainplane works with a Claude or ChatGPT subscription on the regular usage limits, or any API key.

    Source text · @Alexander9 · · Source ↗

    Every session is one append-only file. This is the agent state, and it is easily readable. If something breaks, you can resume it from the file.