Skip to content
Workbench

Workbench / Local AI

What building a local AI system taught me

Lessons from a local AI build: retrieval before bigger models, honest data boundaries, shared GPU capacity and recovery tests.

I wanted one local AI system to support document search, creative work and routine assistance without making a cloud request the default for every task. The useful lessons came from choosing what to keep separate and how to check the results—not simply from getting a model to run.

Start with the job people need

For our work, finding product information in Icelandic and English was more useful than pursuing the largest possible chat model. We used retrieval so source documents could change without retraining the model. The technical walkthrough describes the corpus and the search pipeline.

That choice still needed testing. A reranker we tried made retrieval worse, particularly across languages, so we left it out. In short, more components did not mean better answers.

The GPU is shared, not unlimited

The workstation has 32 GB of GPU memory. Model weights are only part of that budget: context and other jobs need room too. We queue creative workloads rather than let them compete with language-model work without a plan.

Ollama is the language-model runner in the revised setup. We evaluated LM Studio earlier and removed it; the older description of two active runners no longer applies. Exact hardware and recorded model choices belong in the technical walkthrough.

Hardware diagram showing an RTX 5090 with 32 GB VRAM, Ryzen 9 9950X, 128 GB RAM, NVMe storage, archive HDD, and 1350 W power supply.
Hardware used for this build. Retrieval supplies source context at query time; it does not train the documents into the model.

Keep product knowledge apart from operating notes

Product documents and agent memory have different audiences and purposes. For example, one supplies source material for product questions; the other holds working context and decisions. A human-readable handbook records procedures that need to survive a new conversation.

Separate stores help organise that boundary; however, they do not enforce it by themselves. Access permissions must therefore match the audience, and secrets do not belong in a shared handbook.

Be precise about what stays local

Local retrieval and inference can keep an answer path on the workstation. If an agent uses a hosted model, any prompt or document excerpt sent with the request crosses that boundary. Private networking controls who can connect; however, it does not change where an external model processes data.

Recovery is part of the local AI system design

Windows, WSL, containers and private networking introduced more startup dependencies than a successful chat demo revealed. We documented those layers so we could investigate a problem in the right place.

Database restore tests provide evidence for that recovery path. However, they are not the same as proving recovery from losing the whole workstation. Monitoring also needs to check the route users depend on, ideally from outside the machine that can fail.

What remains a plan

A more explicit role-based operating model is a next step: named owners, limited data and tool access, approval points, retention rules and an audit trail. These are design requirements, not a claim that we have already implemented every control.

Proposed role boundaries

This table is a design proposal, not a list of controls we have already implemented.

Agent roleData boundaryAction boundaryManagement rule
ResearchApproved document collections and public sourcesRead and draft onlySources recorded; no external publishing
ContentBrand files, editorial archive, and assigned projectsCreate and edit draftsA person approves publication
OperationsSelected service status, logs, and runbooksRun allowlisted maintenance tasksRisky or destructive actions require approval
AdministrationMinimum configuration and identity data needed for the taskManage narrowly defined systemsShort-lived credentials, full audit trail, regular access review

The system is useful because it supports specific work and we can inspect it when something goes wrong. As a result, keeping it useful means reviewing the procedures and permissions as the work changes.