← Back to all posts Local LLM brain architecture evolution from OpenClaw to Hermes with routing and memory layers

Local LLM Brain Architecture: From OpenClaw to Hermes

Jun 2026 · AI & Infrastructure

When I built a personal AI brain, getting a model to answer questions took the least work. Most of my time went into deciding what it should remember, where each request should go, what should stay on my own machines, what should run at night, and how to keep it from slowing down a laptop I'm using for something else.

My first setup was built around OpenClaw. It got me asking what a self-hosted assistant would look like if it lived next to my files, messages and machines. Over time the center of the project moved from the assistant app to the routing and memory underneath it, and that's when I made Hermes the live brain.

Quick answer: my local LLM setup uses several models on several machines: Hermes as the self-hosted AI assistant orchestrator, a router that sends work to the right machine, local memory and governance files, privacy gates for sensitive context, and consumer hardware assigned to specific model roles.

Local LLM brain architecture diagram A visual flow showing Hermes, the router, memory and policy layers, then specialist consumer hardware nodes for primary reasoning, heavy reasoning, vision, and fallback. Hermes orchestrator: chat, cron, tools Local Router route, pin, overflow, fail over Memory + Governance what changed, what is settled Privacy + Policy local first, cloud only when safe Legion primary host MaxClaw heavy reasoning M5 Air vision + mobile Reef fallback + batch
Hermes orchestrates, the router hands out work, and each machine has one narrow job.

What Job Each Model Does

Most local AI talk turns into a model debate about 7B, 12B or 35B and which quant. I got stuck there too, until I ran the system every day and started asking what job each model does.

So I gave each machine a job and put a router in front to send work to the right one.

Local LLM Setup: The Architecture That Stuck

The current version is simple at the top. Hermes runs the chats, the schedules and the orchestration. A router decides where each model call goes. Each machine behind it does one kind of work.

HermesOrchestrator
Owns the brain loopTelegram, web UI, scheduled jobs, source-of-truth notes, and tool behavior.
RouterTraffic controller
Chooses the right nodeDefault local route first, then overflow to idle machines, then fallback tiers only when needed.
LegionPrimary host
Main brain and router ownerAlways-on Windows GPU box. Handles the local default path and keeps the system coherent.
MaxClawHeavy reasoning
Fast overflow tierM1 Max node for larger text reasoning when it is awake, idle, and on power.
M5 AirVision and mobile
Image-aware specialistHandles vision and Apple Silicon inference so the primary box doesn't have to do every job.
ReefFallback
Always-on reserveSmaller GPU node for failover, batch work, and keeping the system responsive when the bigger nodes are unavailable.
The routing order: the local default first, then a better machine that's idle, then a reliable fallback. Cloud is a last resort I turn on by hand, and only for non-sensitive work.

Self-Hosted AI Assistant: What OpenClaw Taught Me

OpenClaw pushed the project past chatting with a local model and toward an assistant I could run my day from, with skills, chat channels, message flows, file context and scheduled jobs.

As the system grew, I wanted the assistant to be one user of the memory and routing setup, separate from the machines doing the compute. Hermes made that split possible, so it became the orchestrator. OpenClaw is still part of the project's history and how I think about it, but it doesn't run anything now.

OpenClaw vs Hermes: What Changed

Hermes made the setup easier to run and fix. It handles the everyday parts:

I care most about that last rule. If background AI jobs lag my laptop while I'm working or gaming, I'll end up turning them off.

Ollama, llama.cpp and MLX Are Just Runtimes

Which runtime serves the model depends on the machine. A Windows GPU box may do better with llama.cpp for long-context, OpenAI-compatible routing. Apple Silicon often works well with MLX. Smaller fallback machines can stay simple with Ollama. I don't need to pick one runtime forever. The router only needs to know three things about each machine: what job it's good at, whether it's healthy right now, and what kind of context it's allowed to see.

Routing

Choose a machine by role, health, and load, so requests don't all queue behind the default model.

Memory

Pick which decisions, preferences and current state get saved. Raw logs aren't useful memory.

Privacy

Keep personal and sensitive work local by default. Outside checks should be turned on by hand, limited to allowed topics, and easy to turn off.

Observability

Track which machine answered, whether it was healthy, and whether it gave an answer or just timed out.

The Brain Is a System of Checks

Most of what makes the setup work is paperwork and checks. I keep a decision log for model changes and a context file that says what's live right now. The router keeps ledgers, and there are fleet status checks. There are also rules against reopening a settled model debate just because a new model came out.

Before I had those, I had stale docs, routes I couldn't explain, fallbacks that kicked in without telling me, models swapped for the wrong reason, and machines that looked "reachable" but weren't giving useful answers.

I'll still swap models later. These are the rules I use when I do:

Memory Is What I'm Working on Next

The brain can already remember things. I haven't worked out which memories should stick around.

Saving raw chat logs or putting everything in a vector store isn't enough. A useful memory has to summarize, link related notes, let old notes expire, and question what it already has. It needs to tell apart a passing thought, a settled decision, a preference that keeps coming up, and a rule that protects privacy or quality.

Next I want it to save fewer things and pick them better. I expect that to look like the rest of the setup, a few tools with clear rules about what each one handles.

Related: Building a Multi-Machine Local AI Fleet and the free AI community where I share more of this build-out.

Get the build notes

My AI experiments: what worked, what didn’t, and how I set them up. Sent to your inbox.

No spam, unsubscribe anytime · Privacy

More in AI & Building →