Skip to content

What stays local, and what does not

"Self-hosted" gets used as a synonym for "private". It is not one. On this install some parts are genuinely local, some leave the machine on every single turn, and the useful engineering is in knowing which is which.

Leaves the machine: the model call

Unless you run weights yourself, the reasoning happens in someone else's datacenter. Every message, plus whatever context the assistant assembled around it — retrieved memory, file excerpts, tool output — goes over the wire. Self-hosting the orchestration does not change that.

What it changes is how much goes out. A hosted product decides for you what to keep in context; a self-hosted one lets you decide. Here the retrieval step returns roughly ten kilobytes of selected material instead of an entire conversation history, so the provider sees a much narrower slice per request. That is a real difference, and it is not the same thing as privacy.

Stays local: the memory layer

This is the part that matters most and the part people underestimate. Long-term memory is the most personal data an assistant ever accumulates — what you are building, who you talk to, what you got wrong last spring. Here it is a single SQLite file: transcript chunks, facts with evidence pointers, lessons, and a small decaying state block.

That file never leaves the box. It can be backed up, grepped, migrated, or deleted with rm. On a rented assistant the equivalent data is subject to someone else's retention policy, someone else's deletion semantics, and someone else's jurisdiction. That asymmetry is the actual argument for self-hosting and it has nothing to do with cost.

Stays local: embeddings, voice, scheduling

Embeddings run on a local model — see the memory layer notes for why resilience mattered more than quality here. Speech synthesis and transcription run on the machine. Scheduled jobs run in-process against a table in the assistant's own database.

The rule underneath all three: anything that does not need a network round trip should not have one, because every dependency is a thing that can be down at 03:00.

The uncomfortable middle: tools

The honest gap. The moment an assistant can read your calendar, search your mail, or drive a browser, "local" becomes a question about each individual integration rather than about the assistant. A local process calling a remote API is still shipping data out.

The only discipline I have found that holds is per-tool: know what each integration sends, keep the ones whose exposure you accept, delete the rest. Most of the tools I wired up in the first month got deleted anyway — not for privacy reasons, but because they never changed a decision.

What self-hosting actually buys

Three things, and I would not oversell a fourth:

  1. The database is a file you own.
  2. The memory layer keeps working when an external service does not.
  3. You decide what goes into each prompt instead of accepting a vendor default.

What it does not buy: the model call is still someone else's computer, unless you run weights yourself and accept the quality trade-off. Anyone selling self-hosting as total privacy is either running local weights or being careless with the word.

Longer write-ups of this build: avelina.ai/blog.