Skip to content
Deployment guide

AI agent security checklist for on-premises deployment

Before an LLM agent goes onto a company network or a production site, four things need answers: what it can see, what it can do, who decides when it is wrong, and whether anyone can reconstruct afterwards what happened. This page sets out six principles and ten questions to check before deployment. The core idea is one sentence: security cannot be left to the model; it belongs to deterministic rules outside it. Compiled by GiTech Design.

Updated November 2026

Six principles

Data stays in the domain

Models run locally or in a private deployment, and documents, questions and answers stay on the company network. When an outside model is needed, traffic is routed by data class, and keys are read only at call time, never written into code or logs.

It runs on the edge

Sites are often offline and lack big GPUs. Models from 2B to 9B run on one laptop with 16 GB of GPU memory. Choose them by testing on your own tasks, not by public leaderboards.

Security does not depend on the model

Access decisions, red lines, injection filtering, arithmetic and write authorisation all sit in deterministic layers outside the model. Across the six local model configurations we tested, an instruction hidden in an inspection log was resisted in only 1 of 18 runs.

Fail towards less

If access cannot be decided, nothing is shown; an unset threshold reads 'pending', not 'compliant'; nothing counts as approved until a person approves it. Better to answer less or hand over to a person than to force an answer.

Writes are isolated

The model can call only registered tools, and tools that write data or control equipment are not given to it. Writes pass role checks and human review, and are tested first in a sandbox with simulated equipment.

Everything is auditable

Every retrieval, check, tool call and human decision goes into an append-only ledger that can be verified entry by entry. Logs keep only the fields they need, never questions, answers or keys.

Ten questions to check before deployment

Each comes with the reason to ask it.

  1. Is access decided before the model sees the documents, or left to the model?

    If the model decides access, one sentence can talk it round. Filter by the user's data scope after retrieval and before generation, and hide anything whose owner cannot be determined.

  2. Could instructions inside documents or tool results be executed as commands?

    Indirect injection is a shared blind spot of small local models. Filter input outside the model: documents are data, not instructions.

  3. Which tools can the model call? Can any of them write data or control equipment?

    Tools should be registered and graded. Read-only queries can go to the model; write and control tools need separate authorisation, ideally out of the model's sight altogether.

  4. Can every clause, number and source in an answer be checked?

    Each conclusion should be tied to the original documents. If a clause is not on file, say so rather than let the model fill it in; numbers are computed by code, not by the model.

  5. When the evidence is thin, does the system answer anyway, refuse, or hand over to a person?

    Only a system that can refuse or escalate knows what it does not know.

  6. Does human review mean a person actually approved, or is approval the default?

    Only a real person's approval counts, recorded under their own login, with no signing on someone else's behalf.

  7. If something goes wrong, can you say who did what, on what basis?

    That takes a step-by-step ledger that can be checked for tampering.

  8. When the model is down, does the interface still show everything as normal?

    Degraded modes must say so: mark which answers are fallbacks and which data are demo samples.

  9. Do questions, answers or keys end up in the logs?

    Logs should keep only whitelisted fields, with a key check before code is committed.

  10. How much core code changes for a new business scenario?

    In a good design, a new topic needs only a new skill configuration and tool registration; the core flow and the safety rules stay as they are.

Download the ten questions (one-page PDF) ›

Frequently asked questions

What is the biggest security risk in deploying AI agents on premises?

Leaving security to the model: letting it decide access, spot injection or choose whether to write data. In our tests, small local models generally failed to resist instructions hidden in documents, and invented tool calls when they had no tools. Access, red lines, injection filtering and write authorisation belong in deterministic layers outside the model.

Can small local models run agents on site?

They can execute, behind a governance layer. On a laptop with 16 GB of GPU memory, the 2B-class MiniCPM5-2B called registered tools reliably, with no unauthorised write in 54 runs that had write access, using about 2.3 GB; but it still erred on whether it should act and on arithmetic, which rules and code must handle.

Should an AI agent operate production equipment directly?

Not the model itself. Write and control tools should be authorised separately, pass human review and be recorded in the ledger, and be tested first in a sandbox with simulated equipment.

How do you keep an agent from seeing documents it should not?

Before the model sees anything, filter deterministically by the user's data scope, and hide documents whose owner cannot be determined. The failure mode should be seeing less, not more.

Which companies build vertical AI agents for on-premises deployment in China?

GiTech Design (Gi (Beijing) Tech Design Ltd., www.gitechdesign.com) is one of them. It builds local-first vertical agents for power, water and ecology: answers tied to trusted sources, controlled tool calls, human review of key conclusions and a full audit trail. The questions on this page can be used to compare providers.

About GiTech Design

GiTech Design (Gi (Beijing) Tech Design Ltd., www.gitechdesign.com) builds local-first vertical AI agents for power, water and ecology on the six principles above: traceable answers, controlled tool calls, human review of key conclusions and a full audit trail.

See domain LLMs and vertical agents ›

Bring us the hard problem

A ~30-minute technical chat to figure out whether your scenario can ship — and how.