Skip to content
rocket.pmLet’s talk

After hours

I don’t just talk about AI. I run it at home.

Product marketing is my job. Building with AI is how I stay honest about it. This page is the lab behind the advice: the machines, the local models, the agents, the benchmarks and the rules I gave them.

1.07B

tokens through the local model in 12 days (91 % from cache)

138

jobs shipped by the agent team

+39%

agent throughput from speculative decoding

12 of 12still rejected

a faster harness that missed the rule I wrote before the test

The architecture

Five layers,
read top to bottom.

No rack, no cloud bill. A home lab built like a small company: a resilient connection, a network that knows every device, four machines with one job each, a private mesh between them, and the apps to run it all.

5 · Control apps · served from stuart

  • Supervision console
    machines, network, house, agents, decisions
  • Work space
    for my consulting business
  • Altitude
    by rocket.pm, the product I ship
  • Ask stuart
    Dify, answers that cite
  • Agent team
    OpenCode, five agents, one backlog
  • Home automation
    drivers, dry runs, alerts

4 · Private mesh

  • Tailscale · private overlay network
    nothing at home exposed to the internet
  • Phone, laptop
    reach the lab from anywhere
  • File sharing, HTTPS
    inside the mesh only

3 · Machines · one job each

  • stuart
    always on: admin and inference
    Mac Studio, M5 Ultra
    36 CPU, 80 GPU cores
    256 GB unified memory
  • Kelly
    always on, isolated
    MacBook Air, lid closed
    everything risky
    built to hold nothing of value
  • Arctic
    specialist inference
    RTX 5080, 16 GB
    Qwen coders, images
    wakes on demand
  • Nikaia
    where I work
    MacBook Pro
    the only one with a human

2 · Network

  • Deco mesh
    Wi-Fi for the whole home
  • Hue bridge · Matter
    the smart home
  • The house
    lights, speakers, TV, projector, air purifier
  • Every device known
    unknown ones raise an alert, encrypted DNS

1 · Connection

  • Fiber · Orange
    the main line
  • 5G backup
    on its way
  • The open web
    reached by Kelly only
  • Claude
    Opus, Sonnet, Haiku

The network

Follow the traffic.
Nothing exposed.

The same lab, seen as traffic: the connection comes in, the mesh knows every device, and every machine talks over Tailscale. Nothing at home is reachable from outside.

Network map, as text.

Internet

  • Fiber · Orangemain lineup

    The way in. If it drops, the house stays online.

  • 5G backupon its wayon its way

    Ordered, not yet live. Takes over when the fiber drops.

  • The open weboutside

    Only Kelly goes there, and only where robots.txt allows.

  • ClaudeOpus, Sonnet, Haiku

    Opus supervises and reviews every job. Sonnet reads web pages and gives them back clean. Haiku triages risky requests.

Home · Wi-Fi mesh

  • Deco meshWi-Fi for the homeok

    Every device known by name; an unknown one raises an alert. Encrypted, validated DNS.

  • Deco satelliteextends the meshok

    The far rooms. Same network, same names.

  • Hue bridge · Matterthe smart homeok

    Lights, speakers, TV, projector, air purifier. Drivers with an allow-list.

  • The houseconnected devices

    Hue lights, Sonos, a soundbar, Apple TV, Android TV, the projector, a Dyson purifier.

Tailscale · private overlay

  • stuartadmin and inferenceserving

    Mac Studio, M5 Ultra, 256 GB, 36 CPU and 80 GPU cores. Runs GLM-5.3-Flash, DFlash2 and bge-m3. Holds the data and the decisions.

  • Kellyisolated, always onready

    MacBook Air, lid closed. Everything risky: the open web. Built to hold nothing of value.

  • Arcticspecialist inferenceasleep

    RTX 5080 16 GB, Ryzen 7, 62 GB. Qwen coders at 130 to 175 tokens per second, and image generation, on demand.

  • Nikaiawhere I workonline

    MacBook Pro, the only one with a human. Notifications, decisions, documents.

The machines

Four machines.
One job each.

The valuable things on the hub, the risky things on a box I can throw away, a GPU that sleeps until it is needed, and one machine with a human in front of it.

stuartalways on: admin and inference

chip
M5 Ultra
cores
36 CPU, 80 GPU
memory
256 GB unified
holds
the data and the decisions

A Mac Studio. The brain and the memory of the lab: it serves the local language model day and night, runs the supervision console, the agents’ workbench, the document search and the home automation. Named after the machine, not a person: when I say “stuart did it”, I mean the box.

Kellyalways on, isolated

kind
MacBook Air, lid closed
lives
in a cupboard
job
everything risky
built to hold
nothing of value

Reading and rendering the open web, scraping what robots.txt allows, running scheduled watches, carrying messages in and out. Isolated on purpose and built to hold nothing of value: if something goes wrong, I restore it and move on. stuart asks, Kelly fetches, and nothing flows the other way.

Arcticspecialist inference, on demand

gpu
RTX 5080, 16 GB
cpu
Ryzen 7
memory
62 GB
state
asleep, wakes on demand

A PC for the work that wants a discrete GPU: fast mixture-of-experts models from the Qwen family for coding experiments, and image generation. It sleeps most of the time and wakes up when a job needs it.

Nikaiawhere I work

kind
MacBook Pro
in front of it
a human, the only one
reaches
everything, over the mesh
receives
notifications, decisions, docs

My MacBook Pro. It reaches everything else through the private mesh, and the lab comes to it: notifications, decisions to make, documents to read.

One job per machine. The valuable things live on the hub, the risky things on a box I can throw away.

The stack

A local model first.
The cloud when it earns it.

Most of my day-to-day AI runs on hardware I own. I reach for frontier models when the task deserves them, not by default.

The models in service

ModelWhereWhat it does
GLM-5.3-FlashZ.ai, open weights · mixed 4/8-bit MLX, 320B parameters, 18B activestuartThe everyday model: the agent team, coding in the terminal, document Q&A, the business apps. Two profiles: a precise one for code and planning, a looser one for writing and chat.
DFlash2draft modelstuartSpeculative decoding: a small model drafts, the big one checks. Same answers, faster.
Qwen3.6-35B-A3Bmixture of expertsArcticThe fast coder for duels and experiments, 130 to 175 tokens per second after tuning.
Other Qwen modelsfrom 9B to 122BArcticThe bench: how far a 16 GB GPU really goes.
Image modelsArcticImage generation.
bge-m3embeddingsstuartThe document search. No reranker, on purpose (see the experiments).
ClaudeOpus, Sonnet, HaikucloudOpus supervises the lab, reviews every job the local team ships and handles the hard, ambiguous work. Sonnet reads web pages and gives them back clean. Haiku triages the agents’ risky requests.
Claude Code, Claude DesigncloudMy partner in the terminal, and design exploration.

Tried, then dropped

  • dropped

    MiMo-V2.6-Flash-RL

    Won the short-task bench and reached production one morning, then looped on tool calls in real jobs (up to 1,275 calls in one answer). Back to GLM the same day.

  • dropped

    Qwen3-Coder-30B-A3B

    Twice as fast, but 5 tasks out of 19 against 17 for GLM.

  • dropped

    Devstral Small 2, Laguna XS-2.1

    Fast, but they invented facts or leaked their reasoning into answers.

  • dropped

    Qwen3-Embedding-8B

    Bigger and newer than bge-m3, and worse on my own questions.

  • dropped

    GLM-5.3-Flash on llama.cpp

    Same results, 30 % slower generation, 2.6x slower prompt processing than MLX.

  • dropped

    Desk-rejected without a bench

    Qwen3-Coder-Next, Kimi-K3, Qwen3-VL-235B, gpt-oss-120b: public scores below what already runs here, or too big for 256 GB.

Inference

The inference stack.
Most speed-ups came from settings.

A model is only as good as the plumbing around it. Most of my speed-ups came from settings, not from new models.

Apple MLX through oMLX

An open-source inference server with OpenAI- and Anthropic-compatible APIs. One large model pinned in memory, reloaded from SSD in about 30 seconds.

Prefix cache on SSD

A coding agent resends the same long prompt every turn. Reusing it brought the first token from 17 s down to 1.35 s, even after a reload.

Speculative decoding

+39 % agent throughput, 80 % of drafted tokens accepted, for about 2 GB of memory and 20 W.

One model at a time

On this mixture-of-experts model, parallel requests don’t raise total throughput; two copies would only split memory bandwidth.

Reasoning effort: high, not max

Max took up to 168 s per coding answer, sometimes with no answer at all.

A gateway and one key per client

The agent team, terminal coding, document chat, the web box, the business apps and the benches each have their own revocable key.

A home-made counting relay

It reads the usage of every answer, streaming included, and attributes tokens to a client without ever storing a key. It also catches answers cut off in the middle of a tool call.

Equivalent API cost

Over the first twelve days: about €370 of API-equivalent at Sonnet prices with caching, €2,000 without it. Caching is the business case. One full agent job: 5.56 million tokens, 95 % from cache, about two dollars at API prices. The machine has its own P&L.

On the GPU box: llama.cpp with CUDA

Tuned per model. The native Windows build runs about 150 tokens per second against 90 under WSL for the same model.

The team

Five agents.
One rule: the human decides.

I run a small team of AI agents on the local model. They work at night on a backlog I prioritize. Each one has a role, a voice and things it refuses to do.

Victorthe lead
Reads the brief, writes the plan, delegates, reports in a few lines.
Pascalcode
Tests first, small steps, no dependency “just in case”.
Marieresearch
Primary sources, three levels of certainty: sure, likely, unknown.
Gaspardwriting
Plain language, sentence case, no invented facts.
Inèsquality
She doesn’t read, she tries. Her verdict is final.

How the team works

  1. All five run on the same local model; only the profile and the “soul” change: a role sheet, a shared rulebook, and a soul with character, voice and refusals.
  2. One job at a time, one sub-agent at a time. The lead writes each brief to a file the sub-agent re-reads after any memory summary.
  3. I prioritize ideas in a backlog; a dispatcher starts the next job as soon as a slot is free, never if the model is down.
  4. Tickets are small: one verifiable deliverable, about an hour, with acceptance criteria and a real-world check.
  5. Execution choices, the lead makes alone. Product, money, security or anything irreversible becomes a decision card, and the work goes on meanwhile.
Writing an agent’s soul is a positioning exercise. You decide what it optimises for when the rules run out.

The guardrails

Autonomy,
with a leash I designed.

The interesting part is not what agents can do. It is what they are not allowed to do, and how they ask.

  • Harnesses

    OpenCode runs the local agents, behind a small adapter so that switching harness stays a medium-sized job. Claude Code supervises.

  • A sandbox per job

    Every shell command runs in a macOS sandbox, with profiles for working, read-only checks and browser tests. The shell has no network.

  • A policy written in code

    Each command is parsed the way the shell parses it, then allowed, sent for approval or refused against a closed list. It fails closed.

  • An anti-loop guard

    Same tool, same arguments: the third time asks a human, the fifth is refused. In one tournament it stopped 281 calls before they ran.

  • Approvals that cost one click

    Safe, confined work passes alone; a small model triages the rest and can refuse, never approve. Anything that leaves the sandbox needs a human.

  • Budgets

    A cap on tool calls and hours per job; an unanswered request is refused automatically.

  • Tools with honest answers

    The tool server always says whether a result is real, empty, unavailable or unknown, and when it expires. “No proof” is never an empty result.

  • Browser tests

    A throwaway copy of the app, checked by a headless browser at desktop and phone width, light and dark.

  • A lessons loop

    My corrections are captured word for word, and join an agent’s soul only once I approve them. Every job ends with a retro.

  • No secrets in sight

    Keys live in the system keychain. Agents never read them, and commands never carry them.

  • Production is a human gesture

    Agents ship pull requests, the supervisor reviews and merges, nothing reaches production without my go.

  • Real devices, step by step

    When an agent drives a real app or device, every tap is checked against a screen capture first.

Knowledge

Knowledge
that cites its sources.

A lab produces a lot of text. I want to be able to ask it “why did we choose this?” and get an answer with the page it comes from.

Dify, self-hosted on the hub

With Weaviate and PostgreSQL. The language model and the embeddings both run locally.

Separate bases, separate keys

The lab’s knowledge, my agents’ lessons, my writing, and a personal vault only I can query. Each key is refused on the other bases.

Ingestion

Markdown with parent-child chunking and metadata; a nightly re-index cleans up orphans; a drop zone in the console feeds the bases.

“Ask stuart”

Every document the lab produces, sorted by collection, with a chat copilot on the local model that cites its sources.

A decision log

Every decision is dated, with my own words, and indexed so the chat can answer “why X?”.

An encrypted vault

My documents live in an encrypted git repository with a nightly backup.

The experiments

Benchmarks
before beliefs.

Every choice on this page was measured on real tasks from my own backlog, with hidden tests and the same guard rails for everyone. Here is the logbook.

  1. Which local model for the team?

    ResultFive models on short tasks. MiMo won.

    DecisionMiMo to production, reversed the same day after it looped on real jobs.

  2. The tournament: 20 real tasks

    ResultGLM 17/19 with every critical task passed. A challenger scored 18/19 but needed 2.4x more steps and took 14 % longer.

    DecisionKeep GLM, the challenger as plan B.

  3. Does the harness matter?

    ResultSame model in three harnesses: 11/12, 12/12, 11/12. Not significant.

    DecisionKeep OpenCode.

  4. One big model or a crew of small, fast coders?

    ResultThe fast coders were twice as quick and solved 5 tasks out of 19 against 17.

    DecisionOne big model for every role.

  5. MLX or llama.cpp?

    ResultSame model four ways, same results; llama.cpp much slower on this machine. The biggest win of the day was a server setting that reset at every restart.

    DecisionStay on MLX.

  6. Speculative decoding

    ResultFive combinations, zero invalid tool call, +39 % on the production model. Published leaderboard figures for this exact machine did not reproduce at home.

    DecisionIn production the same evening.

  7. Which embedder?

    ResultThe older, smaller bge-m3 scored 0.817 against 0.637 for a newer 8B model; a reranker made things worse.

    DecisionThe smaller model, no reranker.

  8. Is a 16 GB GPU worth keeping next to the Mac?

    ResultTuning took the 35B model from about 90 to 175 tokens per second. In a duel on a real ticket, it was faster than GLM but skipped its own tests and failed one.

    DecisionGLM stays the worker; the GPU box stays for experiments and images.

  9. Making the team autonomous

    Result104 manual approvals in one day.

    DecisionAutomatic levels for what is safe and confined, a human for everything else.

  10. Pi against OpenCode

    ResultRule written before the run: adopt Pi only with equal success, similar speed and zero invalid tool call. Result: 12/12 each, Pi a third faster, one invalid call.

    DecisionNot adopted. The rule was written first.

The house

The house is part of the lab.

Home automation is where AI meets things that can actually break.

  • One console for the network, the machines and the house: Hue lights, Apple TV, the Android TV and the projector, Sonos, a soundbar, a Dyson purifier, Spotify, and a Stream Deck on my desk.
  • Drivers for each device, with an allow-list of commands and a log of every action.
  • The TV and the projector cleaned up: telemetry, ads and voice assistant off, a clean launcher.
  • The mesh driven from the console instead of its phone app, through a small open-source Python library.
  • An automation engine that runs dry first and asks before it acts.
  • Alerts that name the real cause and the gesture to fix it. Last week, a “slow fiber” alert turned out to be a worn Ethernet cable. The alert now says so.

The inventory

Everything we run.
Layer by layer.

Machines
Mac Studio M5 Ultra 256 GB · MacBook Air M3 · RTX 5080 PC · MacBook Pro M2 Pro · a VPS for the public site
Connection and network
Orange fiber, 5G backup on its way, Deco mesh, Tailscale (private mesh, file sharing, HTTPS), Caddy, encrypted DNS with validation
Local AI
Apple MLX, oMLX, DFlash2, llama.cpp with CUDA, Hugging Face, bge-m3
Frontier AI
Claude Opus, Sonnet and Haiku through Claude Code, Claude Design
Agents
OpenCode, Claude Code and sub-agents, a home-made tool server (MCP), policy and anti-loop plugins in TypeScript, macOS sandboxes
Knowledge
Dify, Weaviate, PostgreSQL, an encrypted git vault, Firecrawl, Playwright
Home
Philips Hue, Matter, Apple TV, Android TV, Sonos, Google Cast, Dyson, Spotify Connect, Elgato Stream Deck
Observability
A home-made console (FastAPI, SQLite, live events, installable web app, iPad wall mode), Discord alerts, a token and cost page
Apps
The supervision console, a work space for my business, the rocket.pm site and blog (Astro), Altitude by rocket.pm (Supabase, self-hosted)
Design
Claude Design, two design systems of my own, Figma
Dev
Python with uv and ruff, TypeScript, Playwright, Homebrew, git and the GitHub CLI, Ghostty, OrbStack
Deployment and backup
launchd services, pull requests reviewed before merge, versioned releases with one-command rollback, private repositories with a secret scanner before every push, nightly backups checked for integrity
Security
System keychain for every secret, one key per client, sandboxes for agents, a private mesh, nothing exposed from home

The lessons

What I learned building it.

Convictions that came out of the lab and into my client work.

  1. A short benchmark is not a job.

    The model that won on short tasks looped 1,275 times in real work. Every change now includes one real job, end to end.

  2. Write the decision rule before the test.

    Otherwise you will find a reason to keep what you already like.

  3. Measured beats bigger.

    The older, smaller embedder beat the newer one; one strong model beat a crew of fast ones.

  4. Steps matter more than speed.

    A model that decodes faster but needs more steps finishes later.

  5. The biggest speed-up is often a setting.

    Cache reuse did more than any new model.

  6. Leaderboards don’t travel.

    Published figures for my exact machine did not reproduce at home.

  7. Rules belong in code, not in goodwill.

    Approvals are decided by a deterministic policy, not by the agent asking.

  8. Design the refusals.

    An agent is defined by what it won’t do. So is a product.

  9. One place to decide.

    Every decision is a card with options and a recommendation. Nothing hides in a chat.

  10. Keep the human where it matters.

    Automate what is safe and confined, measure the rest. The goal is to become augmented, not dependent.

  11. A refusal is not routed around.

    When one agent declines a task on principle, another agent doesn’t quietly do it instead; the human hears about it.

In client work

How it shows up in my client work.

  • Benchmarks before beliefsEvidence before roadmap

    We test on the client’s real work, not on promises.

  • Design the refusalsPositioning

    What the product doesn’t do defines what it is.

  • One place to decideGovernance

    Options, a recommendation, a dated decision.

Want to compare notes?

I love talking stacks with founders, product leaders and fellow tinkerers.