Clients Law practices, creative professionals Scope Private, offline AI Tools LM Studio, AnythingLLM, Promptfoo Format Field notes

Private AI that never leaves the office.

Lawyers hold privileged files. Writers, designers and other creatives hold unreleased work and the contracts that protect it. Both want what AI can do, and neither can paste their work into a cloud chatbot. These are the notes from setting up private AI on their own computers with LM Studio and AnythingLLM: how the setup works, what tends to go wrong, and what makes it last.

Offlineafter setup, the AI works with the Wi-Fi switched off
2 appsLM Studio runs the model, AnythingLLM is where people chat with it and their documents
No cloud AIno prompts, documents or answers are sent to an AI provider
No AI subscriptionboth apps are free to use and the open models have no per-question fee
The case study in 43 seconds
At a glance

Cloud chatbot or private AI.

AreaCloud chatbotPrivate AI on your computer
Where your files goTo the provider's servers, under the provider's termsNowhere. The model, the documents and the chat history stay on the machine
ConfidentialityA judgement call for every document, and often a policy that says "don't"Usable for the files that matter most, because nothing is shared
InternetRequired for every questionOnly needed to install and to update
CostA monthly fee per person, or a bill per questionThe computer you already own, or one bought once
QualityThe largest and newest modelsSmaller open models: strong at drafting, summarising and answering from your documents, weaker at the hardest reasoning
UpkeepThe provider handles itSomeone has to choose the model, test updates and keep backups. That is the part most setups skip
Who asks for this

Two professions, one worry.

A law practice wants to summarise a deposition, find the clause that matters in a stack of contracts, or draft a first letter from its own templates. The files are privileged. Bar guidance, such as the American Bar Association's Formal Opinion 512 on generative AI, asks lawyers to understand where client information goes before they use an AI tool. With a cloud service, that answer lives in someone else's terms of service.

A writer, designer or other creative professional wants a brainstorming partner, a reader for a draft, or help keeping notes, outlines and research in order. Their worry is different but just as real: unreleased work that should not end up on another company's servers, or in the next model's training data, and agreements with publishers or clients that forbid sharing it.

Both groups usually work alone or in small teams, without an IT department. The goal is the same: AI that is useful on day one, that a non-technical person can open and use, and that keeps working after the person who set it up has gone home.

How the setup works

Five pieces, in plain words.

  1. The computer

    A Mac with Apple Silicon is a good home for local AI, because its memory is shared between the processor and the graphics chip, so a large model fits in one machine with no special graphics card. Memory decides almost everything: which model fits, how long a document it can read at once, and whether the rest of the computer stays responsive while it thinks. Windows and Linux computers work too; the same two apps run on them.

  2. The engine: LM Studio

    LM Studio downloads open models and runs them on the computer. On a Mac it can use Apple's MLX format, which is built for Apple Silicon. It also offers a local server that speaks the same language as the OpenAI API, so other apps on the computer can use the model as if it were a cloud service, without anything leaving the machine. It is free for home and work use.

  3. The workspace: AnythingLLM

    AnythingLLM is an open-source app where people actually work. It connects to LM Studio, and adds what a plain chat window lacks: workspaces per matter or per project, a document library the AI can search, answers that cite the passage they came from, and agents that can carry out small tasks. The documents are turned into a searchable index on the computer itself, with its own built-in tools, so this step needs no cloud service either.

  4. The model

    Open-weight models are published by several labs and come in many sizes. The right one is the largest that fits comfortably in memory next to everything else, that follows instructions well, and, if the agents will be used, that is good at calling tools. Public benchmarks help to make a shortlist. The choice is made with evals: a set of questions with known answers, written from sample documents like the client's, run against every candidate model with Promptfoo, an open-source testing tool that talks to LM Studio's local server. Each answer is checked for the facts it must contain, the source it must cite, and an honest "I don't know" when the documents do not cover the question.

  5. The handover

    A short guide in plain language, a live training session where the client does the clicking, a written plan for updates, and a backup of the documents and the chat history. A private AI that only its installer can operate is not finished.

Why local AI is hard

The usual problems, and how to avoid them.

Installing the two apps takes an afternoon. Making the result useful, private and stable is where the work is. These are the problems that come up again and again.

ProblemWhat it looks likeWhat to do
The model does not fitThe chosen model loads, then the computer slows to a crawl, or the model fails with a long document. The model file was not the only thing that needed memoryBudget memory for the model, the length of text it reads at once, the document index and the other apps people use all day. Pick the model from that budget, not from a leaderboard
"Offline" that is notAn app checks for updates, downloads a missing piece, or sends anonymous usage statistics. AnythingLLM, for example, sends anonymous telemetry until it is switched offDownload every model during setup, switch off telemetry and automatic downloads in each app, then test the whole thing with the network disconnected
Confident wrong answersAsked about a document, the model answers from its general knowledge instead, and sounds just as sureUse AnythingLLM's query mode for document work, which only answers from the library, ask for the source on every answer, tell the assistant to say when the documents do not cover the question, and prove it with evals before handover
"It seemed fine"The model is picked after a few questions in a demo. Weeks later, a missing date or a wrong name in an answer is the first sign it was the wrong choiceWrite test questions with known answers, run them with Promptfoo against each model, and run them again after every model or app update
Documents that read badlyScanned PDFs with no text, tables that come out scrambled, a thousand files dropped in one workspace. Answers miss what is clearly in the filesCheck how each kind of document comes out before loading the library, run text recognition on scans, and keep one workspace per matter or project
Updates that break itOne app updates, the other does not, and the next morning nothing answersWrite down the versions that work together, update on purpose rather than automatically, test after every update, and never update before a deadline
Agents with too much powerAn agent that can browse, write files or run commands can do damage with one misunderstood requestGive agents the few tools the job needs and nothing else. No deleting, no internet, nothing that cannot be undone
Open doors on the computerBoth apps run small local servers. Left open on a shared network, another device can talk to themKeep the servers on the computer itself, set a password in AnythingLLM even for one user, and only share over the network on purpose
A tool nobody opensThe setup works, but it was explained once, in technical terms, and after a week people are back to the old wayTrain on the client's own kind of task, write the guide in their words, and make the assistant able to answer "how do I" questions about the setup itself
The hard part

Private is a setting. Useful is a process.

Anyone can install a local model in an afternoon, and the first answer feels like magic. The trouble starts in week two. The model that looked best in a benchmark turns out to be slow on a long contract. The answer to "what does clause 14 say" quotes a different contract. An update arrives on a Monday morning and the chat window stays empty.

The fix is less glamorous than the demo. Choose the model with evals: questions in the client's own words, about their own kind of documents, each with a known right answer, run with Promptfoo against every candidate. Keep the model that gets the facts right and says so when it does not know, and run the same tests again after every update. Check, document by document type, that the text the AI reads is the text on the page. Decide which versions work together and write it down. Test with the network unplugged. And measure success the simple way: is the tool still open on the desk a month later?

None of this is specific to one profession. A law practice and a novelist ask very different questions, but they need the same things from a private AI: that it stays private, that it tells the truth about its sources, and that it still works next month.

Where local AI is going

The AI moves to your desk, not the other way round.

For the last few years, using AI meant sending your work to it. Our view is that, for confidential work, this is turning around: the AI comes to where the work already is. Open models keep getting better at the same size, laptops ship with more memory every year, and computers and phones now come with AI chips and on-device models built in. What needed a server room a few years ago now runs on a desk.

We don't expect the cloud to disappear. The largest models will stay ahead on the hardest problems, and some work is not confidential at all. We expect a split instead: private by default, on the computer, with the cloud as a deliberate choice for the tasks that need it and the files that can go there. The person decides what leaves the building, case by case, instead of a terms-of-service page deciding for them.

  1. Smaller models that do more

    Each new generation of open models does at a given size what used to need a bigger one, and designs that only use part of the model for each word make large models practical on one machine. The Mac that is "just enough" today will run a noticeably better assistant next year, with no new hardware.

  2. Assistants that act, not just answer

    Local assistants are starting to do work: file a document, fill a template, keep a matter's notes up to date. LM Studio and AnythingLLM already support MCP, an open standard for connecting AI to tools. The hard part will be the same as today: giving each assistant only the tools it should have.

  3. An office AI, not a personal one

    One well-equipped computer can already serve a whole small office. We expect more practices to run a private AI the way they run a shared printer or a file server: one machine, everyone's workspace, nothing outside.

  4. Testing as routine as backups

    Models will keep changing every few months. The practices that benefit will be the ones that can try a new model safely: run their evals, compare, and switch only when the answers are better. That is why every setup we do ships with its tests.

What we learned

Lessons from every setup.

The short version
Choose the model for the memory. Choose the setup for the person.

The hardware decides what is possible. The person using it every day decides whether it gets used. Both have to be designed for, and the second one is usually forgotten.

  1. Size for memory, not for benchmarks

    The best model is the one that fits next to everything else and stays fast on a long document. A slightly smaller model that answers in seconds beats a bigger one that freezes the computer.

  2. Every answer shows its source

    For professional work, an answer without a source is a guess. Answers that cite the passage, and an assistant allowed to say "the documents don't cover this", are what make lawyers and writers trust it.

  3. Test the answers, not the demo

    A model that impresses in a demo can still drop a date or quote the wrong document. Evals with Promptfoo check every candidate against questions with known answers, so the choice rests on what the model got right, and every update is checked the same way.

  4. Test offline, literally

    Unplug the network and use it for an hour. It is the only way to know that nothing still reaches out, and that nothing is missing.

  5. Updates are a decision, not an event

    Write down the versions that work, update on purpose, and test before going back to work. Local AI moves fast, and two apps that update separately will eventually disagree.

  6. Local means you own the backups

    The documents, the index and the chat history live on one computer. Back them up like any other important file, because no provider will do it for you.

Questions clients ask us

About private AI on your own computer.

Is it as good as ChatGPT or Claude?

Not at everything. The largest cloud models are still ahead on the hardest reasoning. For drafting, summarising, finding things in your own documents and brainstorming, a well chosen open model on a good computer is very capable, and it can be used on files you could never upload.

How do you know the answers are right?

We test them. Before handover, the model is checked with evals in Promptfoo, an open-source testing tool: questions with known answers, written from sample documents like yours, checked for the right facts, the right source, and an honest "I don't know" when the documents do not say. The same tests run again after every update.

Is my data really private?

The model, your documents and your conversations stay on the computer. We switch off telemetry and automatic downloads, keep the apps' servers closed to the network, and test the whole setup with the internet disconnected before handing it over.

Which computer do I need?

It depends on the documents and the questions. Memory matters most. A recent Mac with Apple Silicon and plenty of memory is the simplest choice, and Windows or Linux computers with a good graphics card work too. We recommend the machine after looking at your work, not before.

Can my whole team use it?

Yes. One computer can serve the model to the others in the office, and AnythingLLM has a version with separate users and permissions. It needs a little more care with the network, which is part of the setup.

What does it cost to run?

LM Studio and AnythingLLM are free to use, and open models have no fee per question. The costs are the computer, the electricity and the time to set it up and keep it updated.

What happens when something breaks or a new model comes out?

You get a written update plan and the list of versions that work together. Updating is a deliberate step, tested before you rely on it again, rather than something that happens on its own the night before a deadline.

Will you see my files during the setup?

Only if you want us to. The library can be built and tested with sample documents, and then filled by you after the handover.

Want AI that keeps your work on your desk?

Tell us what you work on. In a free 30-minute call you get a written plan, hire us or not.

Book a free strategy call
More work

Back to all case studies