Why Self-Host
I wanted AI that fits into everyday life: quick answers in the kitchen, a physical button for capturing a thought, help with documents, and agents that can carry context between tasks. Building the stack locally also gives me control over the models, storage, and integrations.
The project has grown from one GPU server into a small ecosystem. The useful part is how the pieces work together: a fast model for conversation, a larger model for agent work, and dedicated paths for speech and retrieval.
Chat, transcription, embeddings, and speech synthesis run on hardware I control. A cloud model subscription is not required for those paths.
OpenAI-compatible interfaces let different applications share the same inference services and make model changes easier.
A browser, a voice assistant, a recording button, and messaging agents each serve a different moment in the day.
Local hardware has purchase, power, and maintenance costs. Optional web search and messaging still depend on outside services.
Ecosystem Overview
The November build keeps the same two-machine approach, with longer context windows and a clearer split of the speech workload.
The Fast GPU Server
A desktop with an NVIDIA RTX 3090 Ti remains the responsive side of the build. Gemma handles conversational answers, summaries, task extraction, and document synthesis. A separate embedding model supports retrieval.
| Hardware | 16-core desktop CPU, 24GB NVIDIA GPU, 64GB system RAM, and NVMe storage |
| Inference | llama.cpp with GPU acceleration |
| Model | Gemma 4 26B-A4B, using a quantized mixture-of-experts model |
| Context | 262,144 tokens configured |
| Primary role | Fast chat, voice answers, summaries, and document work |
// Making room for longer conversations
Moving speech recognition off this GPU freed memory for a larger context window. Quantized caches and flash attention help the model and embeddings share the card. The longer configuration was checked with a synthetic prompt of about 250,000 input tokens.
A large context window is useful capacity, but it does not make long inputs free. Prompt processing takes time, and a model can still miss information. Retrieval and concise context remain useful even when a whole document fits.
The High-Memory AMD Workstation
The second machine trades the speed of a discrete GPU for a much larger shared memory pool. Its Ryzen AI Max+ platform makes it practical to run models that would not fit on the 24GB card.
| Hardware | AMD Ryzen AI Max+ 395 with Radeon graphics and 128GB unified memory |
| Inference | llama.cpp with AMD GPU acceleration |
| Model | Qwen3.8 Flash Next, quantized for local use |
| Context | 262,144 tokens configured |
| Other workload | GPU-accelerated Whisper speech recognition |
| Primary role | Agent tasks, structured output, and larger-context work |
Qwen Flash was selected after a small comparison with the previous Qwen model and another candidate. It was more consistent at the tested output requirements, while keeping a practical generation speed. Both messaging agents now use it; OpenClaw also has Gemma as an availability fallback.
// What the local comparisons showed
| Deployment | Observed strength | Tradeoff |
|---|---|---|
| Gemma on NVIDIA | Much faster short responses; passed the small coding and tool-use sets | Often added Markdown fences when plain JSON was requested |
| Qwen Flash on AMD | More consistent structured output and stronger overall results in this small task suite | Slower responses, especially when processing long prompts |
These were short synthetic tasks on different hardware, before the context expansion. They compare these deployments and do not establish a general model ranking.
Everyday Chat — Open WebUI
Open WebUI is my main interface for talking to the models. It brings model switching, saved conversations, document uploads, and optional web search into one browser interface.
- Choose a model per conversation according to the task and the response speed I need.
- Keep conversations and documents together with local storage and retrieval.
- Look up current information using Tavily search and page extraction when needed.
- Use reasoning selectively so a simple request does not pay the latency cost of a longer reasoning path.
Recent upgrades preserved existing chat and document data. Embeddings were regenerated after the embedding runtime changed so that stored document vectors remained consistent with new queries.
Voice Processing — From Audio to Useful Notes
A custom backend connects speech recognition, language models, and the recordings interface. The same components serve voice notes, uploaded recordings, and Helix.
Audio becomes a transcript, summary, and set of tasks. The results are available in a recordings dashboard.
A separate transcription path produces text without requiring a summary or an assistant response.
Simple intents use direct handlers; general questions go to Gemma, with current sources added when needed.
Bounded audio chunks keep transcription manageable and preserve segment timing across the combined result.
// Splitting speech and language workloads
Whisper large-v3-turbo runs on the AMD GPU. The backend sends its transcript to Gemma when summaries, tasks, or an answer are required. A CPU transcription fallback provides another path when the primary speech service is unavailable.
This split freed memory on the NVIDIA card without changing the recorder or assistant workflow. Synthetic checks covered the complete recording pipeline and assistant replies, including speech recognition during a model request. Real recordings still vary with length, background noise, and overlapping speakers.
Helix — The Kitchen Voice Assistant
Helix is a Raspberry Pi 4 with a USB speakerphone. A custom openWakeWord model listens locally for “Helix.” The heavier speech and language work runs on the other machines.
The detector runs on the Pi. Household tuning balances missed wake phrases against unwanted activations.
Whisper turns a recorded command into text. The assistant routes it to a direct handler or the language model.
Kokoro generates the main spoken response on a local CPU. Piper on the Pi remains a speech fallback.
// Everyday behavior matters
Timers stay on the Pi, so their scheduling and alarm behavior do not depend on a model completing a request. Multiple timers, spoken announcements, alarm dismissal, and interrupting playback are all part of the experience.
The most useful improvements have been small ones: more natural speech, enough time to begin a command, a wake detector tuned for the household, and alarms that can be dismissed reliably. A good voice assistant depends on those details as much as on the model behind it.
A Physical Button for Voice Notes
A second Raspberry Pi is a dedicated recorder with a USB microphone, a momentary button, and an indicator light. Hold the button to record; release it to send the audio for transcription and task extraction.
Press & record → release & upload → transcribe → summarize & extract tasks → review
Long recordings are handled in chunks, and recovery tools can retry uploads. The output is useful beyond the transcript: a short summary and explicit action items make a captured thought easier to revisit.
Documents, Retrieval & Current Information
Document retrieval is a separate capability from a model's context window. Local embeddings find relevant passages, and the language model uses those passages to answer a question.
Nomic embeddings and a LlamaIndex-based service support collections of documents. AnythingLLM remains available for workspace-oriented document tasks.
Open WebUI and Helix use Tavily to find current sources. Search and page retrieval are external services; the final language-model response is generated locally.
Open WebUI is mainly my model chat interface. The separate document tools remain useful for retrieval outside that interface and for future automation.
Agents & Automation
Supporting applications run separately from the main inference workloads. This keeps document tooling and automation from turning every change into a change to the model server.
A messaging assistant for practical tasks. Qwen Flash is the primary model, with Gemma available as an availability fallback.
A persistent-memory agent using Qwen Flash, with continuity across conversations and tasks.
AnythingLLM and the separate retrieval service support document workflows beyond everyday model chat.
Retained for predictable workflows that agents can trigger. Those workflows are still to be developed.
The recent cleanup removed superseded search and experimental agent services. Keeping the tools with a clear role makes the ecosystem easier to maintain. The next automation step is to connect a few well-defined flows to the agents.
Service Access
Standard APIs let the browser, voice devices, document tools, and agents share the inference layer. Model choice and application behavior can evolve independently.
Selected remote access uses HTTPS and an authenticated gateway. The protected LLM gateway requires a bearer token. Model availability and permission to access a model are separate decisions.
Privacy & Security
Self-hosting gives me responsibility for the data as well as control over it. The design priorities are authenticated access, limited permissions for integrations, careful handling of recordings and documents, and a clear understanding of which features contact outside services.
Credentials and operational configuration belong in private administration records. The public story is about the capabilities, the hardware choices, and what has been useful in practice.
Local models also need sensible boundaries around tools. Model output and retrieved pages are inputs to evaluate; actions that change files or services need their own controls.
Recovery Is Part of the Build
The irreplaceable pieces are the configuration, conversations, document collections, recordings, and custom assistant behavior. Downloadable model weights are easier to replace.
Upgrades are approached with rollback copies and data checks. Recent changes included preserving chat history during the WebUI upgrade, verifying document associations after rebuilding embeddings, and keeping earlier model configurations available for recovery.
A complete backup strategy also needs separate copies and restore testing. A successful recovery matters more than simply having an archive.
How the Pieces Fit Together
The simplest way to understand the build is to follow the task rather than the network.
Open WebUI → selected local model → response, with document context or web sources when requested.
Helix wake detection → Whisper transcription → direct handler or Gemma → Kokoro speech.
Physical recorder → transcription → Gemma summary and tasks → recordings interface.
Messaging interface → OpenClaw or Hermes → Qwen Flash, with tools and retained context as the task requires.
These are functional flows. Each application uses the services it needs; the models, retrieval layer, and speech components can be changed independently.
What I Have Learned
A fast answer and a strictly formatted tool response are different requirements. Local comparisons are more useful when they resemble the tasks an application performs.
256K is useful capacity, but large prompts take longer to process. Retrieval, summaries, and focused context help keep everyday tasks responsive.
Shifting transcription to the AMD GPU freed NVIDIA memory for longer context. Workload placement can matter as much as the model quantization.
A healthy process does not prove a useful workflow. Test the whole path: record audio, transcribe it, extract the expected task, and check the resulting experience.
Saved audio is useful for checking changes. Real voices, room acoustics, and ordinary interruptions determine whether the assistant works well at home.
Retain tools with a clear job, retire experiments that no longer serve one, and preserve a way back when changing shared components.