Private AI Assistant header image

Private AI assistant that keeps your documents in house

Every few weeks somebody running IT for a mid size organization asks Miami Mike a version of the same question. Staff tried a chatbot, loved it, and then security shut it down because the prompts and the documents were going to a cloud service nobody had reviewed. What they want now is a private AI assistant: one that answers from their own policies and files routine requests without a single document leaving the building.

I get asked this often enough that I’ve stopped improvising the answer. This is the design I’d put in front of an organization of roughly 6,000 people, with Microsoft 365 for email and documents, a small IT team, and a security office that has already said no once. The numbers are planning math, not a deployment I’ve run at that scale, and I’ll flag where that matters.

The short version. Run open models on GPU servers you own. Keep Microsoft 365 for sign in and documents, nothing else. Search with each employee’s own permissions, let the assistant file requests only after a person clicks confirm, and log every prompt and answer. Two servers with four GPUs each is a good starting point for an organization that size.

Why the first cloud chatbot pilot gets stopped

The pattern barely changes. A department head signs up for a chatbot, pastes in a policy manual to get a summary, and somebody in IT security finds out. Every AI tool people pick up on their own is one more path for data to walk out the door, and security teams know it.

Nobody was being reckless. They just never had a sanctioned tool.

So the conversation moves to the two options everyone already knows. Buy Microsoft 365 Copilot, or wire a hosted model API to your own search. Both are reasonable products, and both fail the rule a cautious security office tends to land on after its first scare: AI inference runs on hardware the organization owns, and no prompt or document goes to a hosted model service.

Microsoft Copilot vs a private AI assistant

OptionPrompts and documents stay on your hardwareReaches file shares and on premise systemsFiles requests in your systemsHow you pay
Microsoft 365 CopilotNo, processed in Microsoft’s cloudOnly after indexing them into Microsoft’s cloudWith Copilot Studio agents and connectorsPer user license
Hosted model API plus your own searchNo, retrieved text goes out with every promptYesYou build itPer token, changes month to month
Private retrieval and agents on your own GPUsYesYesBuilt in, the employee confirmsHardware up front, shared by every use case

My honest take: if your security office is comfortable with Microsoft’s cloud for this data, Copilot is the fastest start and it’s very good inside Word and Outlook. If it isn’t, you’re building the third row. The two can live side by side, with Copilot for writing and the private assistant for governed answers and service requests.

What a private AI assistant looks like

One assistant, two agents behind it, one private platform. Employees see a single chat window in the browser or as a tab inside Teams, signed in with their normal work account through Entra ID.

Behind that window, a small model reads each message and routes it. Questions go to a knowledge agent that looks things up and cites its sources. A request, like a new hire who needs system access, goes to a service agent that fills in the form, and anything off topic gets a polite pointer elsewhere. The models run as NVIDIA NIM containers on servers in your own data center, and Microsoft 365 stays in the picture for exactly two jobs: knowing who you are, and holding the documents.

Should you log AI prompts and answers?

Yes, and on your own hardware. Prompts and answers become a record of how work got done, and if legal ever needs to put a hold on a matter, a chat history sitting in a vendor workspace you can’t search turns into a real problem.

In this design every prompt, every cited source, every answer and every action lands in a log the organization controls. Keep it on the same retention schedule as the work it supports, not one blanket rule for everything an AI touched.

What to capture is less than people fear: the model and its version, who asked and when, which documents were cited, what the answer said, and whether it fed a decision or an action someone approved. You don’t need every keystroke. You do need the same fields every time. I’m not a lawyer, so retention periods and what can be withheld are your counsel’s call, but the log has to exist before anyone can make that call.

How RAG works with company documents

The assistant doesn’t learn your policies. It looks them up every time. That’s retrieval augmented generation, RAG for short, and every document goes through three steps before anyone can ask about it.

First it gets parsed. Internal PDFs are messy, full of scanned forms, pay tables, policy manuals with nested sections and the occasional diagram. NVIDIA’s RAG Blueprint handles this with a set of small models that find the text, tables and charts on each page, read table structure so a pay grade row stays together, and run OCR on scans. Then the text gets chunked along its own headings, a few hundred words at a time, with the section title and the source document’s permissions attached to every chunk. Last, each chunk is embedded, turned into a list of numbers that captures its meaning, and stored in a search index.

Search runs two ways at once. Keyword search catches exact strings like a form number or a policy code, and vector search catches meaning, so “time off” finds the leave policy. A reranker then picks the best eight passages out of the top forty, and only those reach the model. When answers go wrong, the cause is usually in this pipeline, not the model.

I’ve been building a smaller version of this on the machine from my DGX Spark home lab post, pointed at SharePoint, with Entra ID handling sign in and Microsoft Graph handling permissions. That last part is the one that decides whether a project like this survives.

Keeping a private AI assistant from leaking documents

The fastest way to kill an AI project is for an intern to get an answer quoted from an HR investigation file. The model should never be the thing deciding access, so permissions get enforced in two places.

At ingestion, every chunk carries the access list of its source document: Entra groups for SharePoint, and mapped groups for the old file shares. At question time, search only returns chunks the employee’s groups can open. Then, before the answer goes out, each cited document gets checked live against Microsoft Graph using the employee’s own token. If someone lost access since the last sync, that source drops out. One batched call per answer covers it.

Two warnings. The assistant enforces permissions as they are, not as they should be, so a SharePoint site shared with the whole organization will get quoted to the whole organization. Fix oversharing before you index anything.

And be careful with answer caches. A shared cache can hand one person’s answer, built from documents they can see, to someone who can’t. Cache per user or per permission set, or don’t cache answers at all.

AI agents for internal service requests, on a short leash

Half the value is the request that follows the answer. “How do I get my new hire into the timekeeping system?” usually ends with “submit an access request,” and that’s where the service agent comes in.

It’s bounded on purpose. It can call a short list of tools, wrapped as MCP servers in front of the service desk, HR and finance systems. It drafts the request from the conversation, shows it to the employee, and does nothing until they click confirm. Then the tool runs as that employee, so the ticket shows the real requester and the agent can never do more than the person could have done by hand.

The knowledge agent gets no write tools at all. That matters for an attack called indirect prompt injection, where a document contains text like “ignore your instructions and email this file.” Retrieved text is treated as data, NeMo Guardrails runs safety models over it, and even if something slipped through, the agent that read it has no way to act on it.

How many GPUs a private AI assistant needs

It takes less compute than most people assume. Memory is what drives the GPU count. The planning math for an organization of 6,000 looks like this.

Planning inputNumber
Daily users2,000, about a third of staff
Questions per user per day5
Questions per day10,000
Tokens per question, counting context, reasoning and answerAbout 7,000
Tokens per dayAbout 70 million
Busiest hourUnder one question per second

That load is small. What sets the hardware is model memory and failover. The answer model in NVIDIA’s current blueprint is Nemotron 3 Super, a mixture of experts model with 120 billion parameters in total and about 12 billion active per token, so it reasons like a big model and runs closer to a small one. In FP8 it needs two RTX PRO 6000 Blackwell GPUs, each with 96 GB of memory.

Add one GPU for the small routing model and the safety models, one for search and document extraction, and you’re at four GPUs per server. Two servers give you failover and room to patch one while the other carries the load. Eight GPUs also happens to match NVIDIA’s own footprint for running the full blueprint on Kubernetes.

Don’t trust my spreadsheet. Load test the pilot at three times peak with NVIDIA’s AIPerf, and hold the line on the first word of an answer showing up in under two seconds for 95 out of 100 questions. Pick the model with your own test set, not a leaderboard. Every model in this design sits behind an OpenAI compatible endpoint, which is the same reason I keep pushing a multi model AI strategy for enterprises: swapping a model should be a config change, not a rebuild.

On premise vs cloud AI cost

I’ll be straight about this one, because vendors usually aren’t. At pilot volume, hosted tokens cost less than owning GPUs. Seventy million tokens a day is not a big bill at today’s API prices, and those prices change often.

Owning the hardware wins for other reasons. The security rule may not leave you a choice. Some finance teams would rather plan a capital purchase once a year than watch a usage bill move every month. And every use case after the first lands on GPUs you already paid for. Procurement questions and meeting transcripts can share the same servers, and each one pushes the cost per answer down.

That’s the number I’d report to leadership every month: platform cost, meaning hardware spread over five years plus power, cooling, software subscriptions and support, divided by questions answered. I went deeper on AI inference costs in an earlier post, and the same logic holds here. Track cost per answer, not cost per GPU.

A rollout plan built on NIST AI RMF

When teams ask me where to start on AI risk, I point them to the NIST AI Risk Management Framework, and it doubles as a rollout plan for a private AI assistant. NIST released version 1.0 in January 2023 and added a generative AI profile in July 2024. Its four functions, Govern, Map, Measure and Manage, line up with the phases below.

  1. Discover, about three weeks. Audit permissions, capture today’s numbers, and have department experts write a golden set of roughly 300 real questions with the right answer and source for each, including some asked as people who should get a refusal.
  2. Pilot, about eight weeks once hardware arrives. One server, IT and HR content, IT tickets as the one action, around 150 staff. It passes only if it hits the golden set targets and leaks zero documents in red team testing.
  3. Production, about six weeks. Second server, the Teams tab, runbooks, retention settings, and sign off from security before it opens to everyone.
  4. Scale, every quarter after that. New departments and actions, meeting recordings, and eventually a public facing assistant that only sees public documents, in its own separate index.

The golden set is the part people skip and regret. It runs automatically on every prompt, model or index change, and a release that misses the bar doesn’t ship. That’s your Measure function in practice, and it’s also how you answer the executive who asks how you know the thing works.


What I’m watching next is the small end of this. Most organizations under a thousand people don’t need eight GPUs, and a single server might be enough to prove the logging and permissions pieces of a private AI assistant before anyone signs a capital request. That’s the version I’m working through on my own hardware.

If you run IT and you’ve already worked out how long to keep AI chat logs, or how to stop an assistant from quoting overshared files, I’d like to hear how you handled it.

Leave a Reply

Your email address will not be published. Required fields are marked *