On-premise AI for your M‑Files vault

When documents may not leave the building, an AI assistant is still possible. CtrlScout runs inside your vault, and the AI model behind it can be one your organisation runs on its own servers. It works on every M‑Files edition, in M‑Files Cloud or on-premise.

A diagram of where the AI model behind CtrlScout can run. Inside your network, your M-Files server holds the vault with CtrlScout running inside it, and an arrow leads down to a model you run on your own servers as an OpenAI-compatible service. Outside your network, arrows lead to Scaleway Generative APIs, the preset, hosted in the EU, and to OpenAI. A note says that your administrator picks one for each vault, and that questions and the text CtrlScout reads go there.

Where the model runs decides the answer

Every question an AI assistant answers goes to a language model, together with the document text it needs. Whether an assistant can live with a rule that nothing leaves the building comes down to where that model runs.

CtrlScout itself runs inside your vault, so with M‑Files on your own servers, it runs on those servers. The model is a separate choice your administrator makes for each vault: a European service, OpenAI, or a model your organisation runs itself.

Three places the model can run

What each choice means for where your content goes, and for what your own IT department looks after.

Feature Scaleway, the presetOpenAIA model you run
Who runs the model Scaleway, hosted in the EUOpenAIYour organisation, on its own servers
Content is sent to Scaleway's Generative APIsOpenAI's own serviceYour own server
What you provide A key for the serviceA key for the serviceThe server, the model and their upkeep

The choice is made for each vault, and another OpenAI-compatible service can be chosen in the same way.

See CtrlScout at work inside M‑Files

The CtrlScout panel replying to What is this procedure related to? The reply counts eleven objects that point to the procedure, says it opened four and that one was out of the user's reach, and lists the documents it drew on, with linked objects nested beneath them.

Answers from your documents, with sources

People ask in plain words, in their own language, from a panel beside their documents in M‑Files. CtrlScout finds the objects, reads the documents and answers with the sources it used, each one a click away.

  • Summaries and comparisons — A long agreement summarised from start to finish, or two versions compared on what changed in the wording.
  • Counts and charts — The vault does the counting, and the answer shows what was counted.
  • The work that follows — A status email drafted from what was found, or a new object filled in for someone to approve.

Where the documents must stay in-house

Three situations in which the rules allow an assistant only with a model kept in-house.

A municipality's case files

Case files hold citizens' personal data, and the rule is that they stay in the municipality's own data centre. With a model running there, a caseworker can ask what has been decided on a case so far and read the answer with its sources.

Drawings under export control

A manufacturer's drawings and specifications fall under export control. An engineer asks which revision of a part's specification is approved and what changed from the one before, and the text goes to a model in the manufacturer's own server room.

Client files at a law firm

Each lawyer sees only the matters their M‑Files rights open, and CtrlScout reads the same way, so an answer draws only on matters the person asking may open. The vault of client files can use the firm's own model while another vault stays on the European service.

CtrlScout asking for approval before it moves delivery-acceptance documents to Effective. The card notes that the change runs under the user's own permissions, shows six documents changing state from In review or Draft to Effective, mentions one that will be skipped, and waits on Apply changes or Cancel.

Inside the permissions you already keep

Every search, every document CtrlScout reads and every change it makes runs as the person asking, under their own M‑Files permissions, wherever the model runs.

  • Changes wait for a yes — Where you allow changes, each one is shown first and made only when the person approves it, in their own name. A change can be undone.
  • Conversations kept in the vault — A conversation is stored in the vault, and only the person who had it can open it again.
  • Files from people's own computers — A file added to a question goes to the model with it. You decide whether to allow that.

What running your own model takes

Your organisation provides the model service itself: a model on a server you run, answering through the OpenAI-compatible interface that CtrlScout speaks. The model has to support function calling. That is how it asks CtrlScout to search and read, and CtrlScout checks every request against the vault before carrying it out.

Your M‑Files server needs to reach that service, and your administrator points CtrlScout at it in the vault's settings. Which model and which serving software to use is your organisation's choice. Running them is work for your own IT people: the server, the model, its updates and keeping it available.

Settle these before you choose

Our post on sovereign AI in document management lists the questions to put to any vendor. These are the ones to settle inside your organisation.

  1. Step 1: Which vaults hold what the rule protects

    The model is chosen for each vault, so the answer can differ from one vault to the next.

  2. Step 2: Who gets the panel

    Everyone in a vault, or only the user groups you name.

  3. Step 3: Whether people may add their own files

    A file someone adds to a question goes to the model along with it.

  4. Step 4: Whether it may change objects

    It can stay with reading and answering, or also change and create objects, each change approved first.

  5. Step 5: Whether to search by meaning

    That keeps an index of the passages you choose, which can sit in a store you run.

  6. Step 6: Who looks after the model

    Someone owns the server, the model's updates and any later decision to change model.

What it needs to run

  • Any M‑Files edition, in M‑Files Cloud or on-premise, with M‑Files 25.1 or later on the server and in the clients.
  • CtrlScout itself: one vault application, which brings its panel with it.
  • An AI service for CtrlScout to work with: Scaleway Generative APIs, OpenAI, or any other OpenAI-compatible service, a model on your own servers among them. The model must support function calling.
  • For suggested details on new documents, the optional CtrlScout Intelligence Service, which needs the vault's IML Core licence.

Bring the rules your documents fall under

We'll go through where CtrlScout would send content in your set-up, and show it answering questions in M‑Files.

Questions about AI on your own servers

Can CtrlScout use a model that runs on our own servers?
Yes. Besides Scaleway's Generative APIs and OpenAI, CtrlScout can be pointed at any other OpenAI-compatible service, and that includes a model your organisation runs on its own servers.
Which models can we run?
CtrlScout asks two things of the model service: an OpenAI-compatible interface, and a model that supports function calling. Which model and which serving software meet those is your organisation's choice.
What does CtrlScout send to the model?
The question, and the text of the documents and objects needed to answer it, read under the asking person's permissions. Documents that person may not open are not read, so their text does not reach the model. Figures are counted by the vault, and the model only puts them into words.
Where are conversations and indexes kept?
Conversations are stored in the vault, where only the person who had them can see them. Search by meaning, if you use it, keeps an index of the passages you pick, either in a store you run or in OpenAI's. Each passage is checked again against the asking person's permissions before the model sees it.
Can CtrlScout read more than the person asking?
No. Every search, every document it reads and every name it looks up runs under the asking person's own M‑Files permissions, so two colleagues can get different answers to the same question.
Can different vaults use different models?
Yes. The AI service is chosen for each vault, so a vault of sensitive files can use a model on your own servers while another uses the European preset.
Is there a trial?
Every CtrlDocs product comes with a 30-day trial, CtrlScout included. Tell us about your vault and the rules it falls under, and you will hear from us the same working day.