Contact
local_llm_company
Back to Work
design / ID_011

local_llm_company

A local-first team of small models that keeps private prompts on the machine.

Case study

Solo build

Problem

I did not want private prompts and data leaving the machine through API keys. I wanted to test whether a small group of local models could handle different kinds of requests without one general model trying to do everything.

Constraints

  • The system had to run locally on modest hardware.
  • Each specialist had to stay small enough to serve requests.
  • Routing had to be reliable; a wrong classification wasted the specialist model.
  • The setup should be understandable and maintainable by one person.

Approach

  1. 01Create roles, not one modelI split the work into specialist models for math, code, and general requests, with a receptionist model reading the intent first.
  2. 02Put a router between themAn n8n workflow sends requests to the right worker. Ollama handles inference locally with GPU offload.
  3. 03Keep the data localFiles and prompts stay on the machine. There is no cloud inference dependency in the normal path.

Tradeoffs

  • Local inference protects privacy, but small models are not ready for heavy everyday work.
  • Specialist routing is more capable than one small model, but it is only as reliable as the classifier.

What broke

  • The router kept sending requests into the general bucket instead of the math or code specialist.
  • The system prompts were not sticking in the models, so I had to rebuild the modelfiles.

What changed

The local company works and changes how I think about routing, specialization, and privacy in AI tools. The small models are still the main limitation.

Next

I would test larger local or self-hosted models and keep the receptionist layer separate from the specialist workers.

Mi/OS 7.0

A personal portfolio in two operating systems.