Why an air-gapped Lakera Guard alternative needs more than a container
NeMo Guardrails and Guardrails AI can both run on a network with no route to external APIs, because both are Apache-2.0 libraries that you install from a package source you control and run as your own servers. The harder work is everything around them: the detection models, the validator packages, the updates and the evidence a security review will ask for. Lakera's air-gapped path is different in kind. It requires an Enterprise license and container exports from Check Point's registry, since Lakera Guard is now part of Check Point. Before comparing costs, ask the vendor for the exact export process, the update cadence for detection content, and what the license covers when the network has no connection to Check Point. Then compare that list with what your own team must build and maintain for an open-source option.
A container image is the smallest part of the job. NVIDIA has sunset the NeMo microservices, with the NGC guardrails container no longer supported as of October 1, 2026, so do not build your air-gapped baseline on that artifact. Start from the open library instead, which requires Python 3.11, 3.12 or 3.13, and build your own server image from the Dockerfile the project provides. Guardrails AI has a different dependency pattern: its validators come from Guardrails Hub and are installed separately after the core package. Every validator, its dependencies and any model weights it downloads at runtime must be mirrored into the enclave before cutover. Confirm during testing that nothing reaches outside the network at startup. Also answer the anonymous metrics prompt that guardrails configure displays, and record the decision.
Plan the update path as carefully as the first install. A new release, such as NeMo Guardrails 0.25.0 published on November 19, 2026, can deprecate APIs your rails depend on. That release deprecates the LLMRails class in favor of Guardrails, with removal planned no earlier than 0.27.0. Each package and model you carry across the boundary should be checked for integrity and authenticity, recorded in a software bill of materials and tied to a tested version. NERC CIP-013-2 is a useful model for this discipline, since it asks utilities to address verification of vendor software and patches in procurement. Keep a written record of each transfer, the tests that ran on it and who approved it. Ask the security reviewer early which of these artifacts they expect, because the evidence file is usually what determines how long the review takes.
What an air-gapped guardrail deployment must satisfy
An air-gapped guardrail service has to work with no outbound calls, accept only verified software, and keep its detection models current without reopening the network. The four requirements below connect those concerns and should be checked before any Lakera Guard replacement is scoped. The energy sector control examples apply only if your environment falls under those rules.
No runtime calls outside the boundary
A guardrail that calls a hosted API at inference time cannot run inside an isolated enclave. Confirm that the NeMo Guardrails or Guardrails AI process, its validators, any classifier models and telemetry hooks resolve only to addresses inside your network. Test this by blocking egress at the boundary and running recorded prompts. Also check whether validators download models or metrics on first use, and disable anonymous reporting where the tooling offers that choice.
Guardrails AI quickstartOffline installation and image integrity
Every Python package, container image, validator and model file must be fetched on a connected staging host, checked, then carried across the boundary. NERC CIP-013-2 is an example of a supply chain control that asks for verification of software integrity and authenticity for vendor software and patches. Record hashes and signatures for each artifact, keep a bill of materials, and confirm that the NeMo Guardrails release you pin, 0.25.0, runs on Python 3.11, 3.12 or 3.13 in your image.
CIP-013-2 textControlled vendor remote access
If a vendor or integrator connects into the enclave to deploy or tune guardrails, that access needs the same controls as any other interactive session. NERC CIP-005-7 is an example that requires remote sessions to pass through an intermediate system with encryption and multi-factor authentication, and requires the ability to detect and disable active vendor sessions. Ask your integrator to show the session path, the MFA method and the procedure for ending a session on demand.
CIP-005-7 textDetection model update path
Locally served detection models and rule sets age, so the offline network needs a defined way to receive updates. Plan a staged transfer: download from a connected host, verify integrity, test verdicts against a fixed regression set, then promote to production with a rollback copy. Confirm with each model publisher which formats, licenses and update cadence apply. Document who approves each update and keep the approval record as review evidence.
Evidence for the security review
Reviewers in regulated environments usually ask how the guardrail was built, what it can reach and how changes are approved. Keep a configuration baseline for the Colang or validator files, the image digests, the access logs for the guardrail server, and the results of egress tests. Map each artifact to the control it supports so the evidence can be assembled quickly. Confirm with your assessor which artifacts they accept.
Which open-source guardrail options work offline
This table compares three ways to run guardrails inside an enclave: NeMo Guardrails, Guardrails AI and locally served detection models. Read each row against your own air-gapped build process, since the packages, model weights and validators must all cross the boundary before anything runs.
| Option | Offline fit and trade-offs | What to confirm before you choose |
|---|---|---|
| NeMo Guardrails library | Apache-2.0 Python library, current release 0.25.0. Requires Python 3.11, 3.12 or 3.13. Provides input and output rails, jailbreak and injection detection, self-check moderation and NVIDIA content safety and topic safety models. Its guardrails server loads configurations from a folder and runs without a hosted service. | Whether the content safety and topic safety models are staged locally, the Python wheels and their dependencies are mirrored into the enclave, and the LLMRails deprecation path to Guardrails is planned. |
| NeMo microservice (retired) | NVIDIA's NGC guardrails container is sunset as of October 1, 2026, with no new releases and no support. NVIDIA's archive points existing users to their account team and to NeMo Platform. Do not build a new air-gapped deployment on the retired container. | Whether your NVIDIA account team has confirmed a supported path, and whether the NeMo Helix guardrail middleware (Apache-2.0) fits your inference gateway and the enclave's operational model. |
| Guardrails AI framework | Apache-2.0 library, latest release v0.11.0. Guards are built from validators on Guardrails Hub, such as regex matching and toxicity detection, chained together. Runs as a Flask REST service started with guardrails start, and can be called through the OpenAI SDK. | Validators are installed separately, so each validator package, its model dependencies and its Hub artifacts need a vetted path into the enclave. Disable anonymous metrics during guardrails configure. |
| Locally served detection models | Classifier or safety models served on vLLM or Ollama inside the enclave, with --enable-offline-docs available for vLLM. Gives you model choice and no outbound calls, but prompt-attack and injection coverage is your responsibility to test. | Model license terms, weight checksums, GPU or CPU sizing and whether the chosen model covers your languages and attack types. |
| Detection coverage gaps | No option covers every prompt attack, harmful content category or data leakage path out of the box. Hosted commercial guardrails often update detection centrally, while an offline setup updates only when you import new artifacts. | A red-team test set run against your own applications, with recorded verdicts for false positives and false negatives before the guardrail is trusted in production. |
| Model and rule updates | Updates arrive as new wheels, validator versions and model weights. Each must be scanned, hashed and imported, then tested in a staging enclave before promotion. Plan a recurring update cycle. | Your update procedure, who signs off on imports, and how you keep an audit trail of every artifact that entered the boundary. |
| Evidence for security reviews | Keep a bill of materials for packages and models, hash records, configuration files in version control, test results and change logs. These support control mapping such as CIP-013-2 supply chain verification where NERC rules apply. | Which evidence format your assessor expects and whether independent auditors will accept your control mapping. |
How to deploy guardrails in an isolated enclave
This sequence moves a guardrail service, its container images, its detection models and its rail configuration from a connected staging network into an isolated enclave, with pinned versions and a tested rollback path so the result can be reviewed and reproduced.
Build and pin the offline bundle
On a connected staging network, the platform team selects the exact NeMo Guardrails or Guardrails AI version, its Python dependencies and any validator packages, and records each version in a manifest. Pin the Python runtime to a supported version, for example NeMo Guardrails 0.25.0, which requires Python 3.11, 3.12 or 3.13. Download wheels, container images and model weights into one bundle. Done when the manifest lists every artifact with its version and checksum, and a rebuild from that manifest produces the same set.
Verify artifacts before they cross the boundary
A security engineer checks each item in the bundle against its published checksum and license record, and scans the packages and images for known vulnerabilities before transfer. Keep the verification output with the bundle so the change record shows what entered the enclave and who approved it. This is the control point that supports the software integrity and authenticity expectations in NERC CIP-013-2 if your organization is subject to it. Done when a signed verification report accompanies the manifest and the bundle is sealed for transfer.
Mirror images into a private registry
Inside the enclave, the platform team loads the approved images into an internal registry. For Kubernetes, run kubeadm config images list and kubeadm config images pull on the staging side to collect control plane images, then point kubeadm init at the internal registry with the --image-repository flag. Confirm that the cluster pulls every image from the internal registry and that no node reaches a public registry. Done when a test pod starts from the mirrored images with outbound internet access blocked.
Stage local detection models
Place the detection model weights on storage inside the enclave and serve them with vLLM or Ollama, following the offline options in the vLLM online serving documentation and Ollama's local model setup. Confirm which models your chosen rails call, since NeMo Guardrails ships self-check, content safety and jailbreak detection features that may depend on specific models. Ask the vendor or project which models are needed and their licenses before staging. Done when each model answers a test request from a node with no outbound route.
Install the guardrail server
Install the guardrail library into an internal Python index or from the sealed wheels, or build the server image that the NeMo Guardrails Dockerfile describes and push it to the internal registry. Start the guardrails server so it loads configurations from a folder and exposes its HTTP API. Confirm that the install resolves only from internal sources by checking the package index logs. Done when the health endpoint responds inside the enclave and the server log shows no external fetch attempts.
Configure rails from a versioned folder
Write the input, dialog, retrieval, execution and output rails in Colang for NeMo Guardrails, or define the validators and guard chain for Guardrails AI, and store the configuration in a version-controlled repository mirrored inside the enclave. Disable anonymous metrics reporting during setup, since Guardrails AI asks about it during configuration. Done when a test prompt triggers the expected rail and a clean prompt passes, and the configuration commit hash is recorded with the deployment.
Wire the application to the HTTP endpoint
Point the application at the internal guardrail endpoint, using the HTTP API or the OpenAI SDK where Guardrails AI is exposed as a REST service. Run a set of recorded and synthetic prompts through the path and compare verdicts with the previous control. Keep the old control available until the comparison is reviewed. Done when logs show each request passing through the guardrail and the verdict records are retained for the security review.
Pin upgrades and prepare the rollback path
Keep the previous bundle, manifest, images and configuration commit available inside the enclave so the team can revert within the same change window. Repeat steps one through three for each update, using the same verification gate, and check release notes for deprecations, such as the LLMRails class that NeMo Guardrails 0.25.0 deprecates in favor of Guardrails. Test the rollback once in a non-production environment and record the result. Done when a documented rollback reverts the server, rails and model versions together and the test restores the prior verdicts.
How the guardrail sits between the application and the model
Every prompt passes through the guardrail server before it reaches a model, and every verdict comes back through it. In an enclave design, the application sends the user prompt to a guardrail service running on hosts inside the boundary. That service applies its input rails first, which can include self-check moderation, jailbreak and injection detection, or Guardrails AI validators, depending on which framework you deploy. If the prompt passes, the guardrail calls the model endpoint, which is a locally served model such as one run with vLLM or Ollama, applies output rails to the response, and returns an allow, block or modified verdict to the application. The application never talks to the model directly, so the guardrail is the single place where enforcement and logging happen.
No traffic should leave the boundary in this path. The application, guardrail server, detection models and model server all need to resolve only internal addresses, and any package, model weight or rule update must enter through a controlled import process rather than a live connection. Logging also belongs on local storage: the guardrail's request and verdict logs, the model server's logs and any tracing backend should write to disks or internal object storage that your security team controls. Confirm this in your own environment rather than trusting defaults. For NeMo Guardrails, check whether any telemetry or model download is triggered at startup or on first use. For Guardrails AI, check the anonymous metrics prompt that its quickstart describes and disable it in the enclave. Test each component with outbound traffic blocked and record the result as security review evidence.
Trust boundary for an offline guardrail stack
The diagram starts in a staging network outside the isolated zone, where the team downloads and verifies every package, model file and container image before it is packaged for transfer. Approved bundles cross a single controlled transfer medium into the air-gapped network, where they are loaded into a private registry. From there the guardrail server (NeMo Guardrails), the local model server and the application pull only from the registry, and every guardrail decision is written to the audit log store. Check that nothing inside the boundary reaches out to the internet, and that the verification record for each bundle is kept with the audit logs.
Verified bundles cross one transfer point into the isolated network.
Keeping detection models current without internet access
An air-gapped guardrail stack stays useful only if its libraries, validators and detection models are refreshed on a schedule you control. The four decisions below form one path: review the release, stage the packages, verify the bundle, then retest before anything reaches production.
Review new releases before import
Track NeMo Guardrails and Guardrails AI releases on their GitHub release pages and PyPI. The current NeMo Guardrails release is 0.25.0, published on November 19, 2026, and Guardrails AI is at v0.11.0, published on August 14, 2026. Read the changelog for deprecations, since NeMo Guardrails 0.25.0 deprecates the LLMRails class in favor of Guardrails, with removal planned no earlier than 0.27.0. Record the decision to adopt, defer or skip each release.
NeMo Guardrails releasesStage packages outside the boundary
Pull Python wheels, Guardrails Hub validators and model weights on a connected staging host, then move them across on approved media. Pin exact versions and keep a manifest of every file with its hash. Guardrails AI validators are installed separately from the core package, so the manifest must list each validator, not only guardrails-ai. Confirm that NeMo Guardrails 0.25.0 runs on Python 3.11, 3.12 or 3.13 in your target image.
Verify signatures before import
Check every bundle against the manifest and your vendor-provided hashes or signatures before it enters the enclave. Your procurement and supply chain process should cover verification of software integrity and authenticity for vendor software and patches, which is the control NERC CIP-013-2 describes for isolated environments. Keep the verification log with the change record so an assessor can trace each artifact to its source.
Retest before promotion
Run the staged build against a fixed set of prompt injection, harmful content and false positive cases before it replaces the running version. Compare verdicts with the previous release on the same inputs, and promote only when the differences are reviewed and accepted. Keep the test set under version control so each retest is repeatable and the results can be attached to the change record.
Offline update media as a model
Security Onion and Wazuh both publish offline update patterns: Security Onion's soup tool updates from newer ISO media in airgap mode, and Wazuh can use an offline vulnerability repository in place of its online threat intelligence feed. Apply the same idea here: a dated, signed media set for guardrail packages and detection models, with a clear owner and a rollback copy of the prior set. Confirm with each vendor which artifacts they supply for offline use.
Air-gapped guardrail questions
What drives the cost of an air-gapped guardrail setup?
The main drivers are staging infrastructure, compute for local detection models, testing effort and the update workload. Open-source guardrails carry no license fee, so you pay for the infrastructure you provision, the engineers who build and operate it, and the outside work you buy, such as implementation or red-team testing of the rails. Compute is usually the largest recurring item: CPU is enough for some classifiers, while larger detection models need GPUs, and the cost moves with how much traffic you screen. One-time costs include the staging environment, the offline mirror and the initial test suite. Recurring costs include model and package updates, retesting after each change and tuning false positives. Ask any vendor or partner to split the quote by these components so you can see what changes when traffic or model size grows.
How long does an air-gapped guardrail deployment take?
No duration is fixed for this work, so confirm the timeline against a written scope before you plan around it. The length depends on how many applications call the guardrails, whether you already run Kubernetes or a container platform inside the enclave, how many rails you configure, and how much traffic you need to replay for testing. Transfer procedures across the isolation boundary often take longer than the software setup itself, because each package and model file must pass your review before it enters. DeployOpen plans most engagements as fixed scope, with deliverables and timelines agreed in writing before work starts, so the schedule comes from the scope you agree rather than from a generic estimate. Ask for the milestones, the acceptance tests and the dependencies on your change approval process.
Can our internal team run an air-gapped guardrail stack alone?
Some teams can, if they already operate Kubernetes, Python services and offline package mirrors, and if they have engineers who can write and maintain guardrail configurations. The harder part is ongoing: someone must track upstream releases, rebuild and re-verify each package, retest the rails after every change and tune detection thresholds using your own traffic. Teams without those skills usually split the work, keeping day-to-day operation in-house while a partner handles the initial build, the red-team tests or the first evidence package. Whichever model you choose, assign named owners for model updates, rail changes and incident response before go-live. Ask any partner to state in writing which tasks transfer to your team and which remain with them after handover.
What does Lakera's air-gapped deployment require in licensing?
Lakera's air-gapped option requires an Enterprise license and container images exported from Check Point's registry. The license terms, the export process and the update path for new container versions are set in your contract, so confirm each of them with Check Point before you compare costs. Ask whether the license covers every environment you plan to run, how many detection components it includes, and what happens to your deployment when the license term ends or changes. Also ask who delivers each image update into the isolated network and how long a new release takes to reach you. These answers decide whether the Lakera route is a recurring cost you can predict, and they should appear in the comparison alongside the infrastructure and staffing costs of an open-source stack.
Do Apache-2.0 guardrail tools include enterprise features?
The core libraries are Apache-2.0 licensed, and the core functions include input and output rails, jailbreak and injection detection, and Guardrails Hub validators for NeMo Guardrails and Guardrails AI. Confirm with each project whether any capability you need, such as SSO, audit logs, role-based access or a managed policy console, sits outside the open-source release or in a separate product. Note also that NVIDIA has sunset the NeMo Guardrails microservice, so do not build a new air-gapped deployment on that container. NVIDIA points existing users to its NeMo Platform work, and the NeMo Helix control plane is Apache-2.0 licensed. Check each component's license file before you ship it, because a single dependency under a different license can change your obligations.
How do we keep detection models and packages updated offline?
Updates arrive through a controlled transfer, so mirror every package, model file and container image into an internal repository and record what you imported. NeMo Guardrails 0.25.0 was published on November 19, 2026, after 0.24.1 on September 16, 2026, and it requires Python 3.11, 3.12 or 3.13, so pin those versions in your build. Guardrails AI validators install separately from Guardrails Hub, so each validator needs its own mirror entry. Before any artifact enters the enclave, check its integrity and authenticity against the vendor's published hashes or signatures. NERC CIP-013-2 is the example many utilities cite for this supply chain control, and your own standard may ask for similar evidence. Set a fixed update cadence and retest the rails after every change.
What does the work need from our security and platform teams?
Your platform team provides the cluster, the private image registry, the offline package mirror and the storage for model files. Kubernetes clusters can be built without internet access by pulling control plane images in advance and pointing the installer at a private registry, so confirm that your platform team has this workflow or plans to adopt it. Your security team owns the transfer procedure, the access model for the guardrail servers, logging of prompts and verdicts, and the evidence that compliance reviewers will request. If your environment falls under NERC CIP-005-7 or similar standards, confirm how remote access and any vendor sessions are handled before the stack joins the isolated network. Agree these responsibilities and named contacts in the written scope.
Does DeployOpen test the guardrails before go-live?
Yes. DeployOpen runs security testing that covers AI systems and agents, and it can test the guardrail configuration with prompt injection, jailbreak and data exposure cases before you rely on it. It also prepares systems, controls and evidence for compliance assessments, so your reviewers receive documentation of the configuration, test results and transfer records. DeployOpen does not issue audit reports, attestations or certifications, and independent auditors or certification bodies make those determinations. Testing scope, deliverables and the retest plan are agreed in writing before work starts, and a quote follows from that written scope. Ask for the test cases, the false positive review method and the format of the evidence pack.
Evidence a security review will ask for
An air-gapped guardrail deployment is reviewed on paper before it is trusted in production. The artifacts below show what was installed, where it came from, how it was configured and how it behaved under test. DeployOpen prepares this evidence, but auditors and certification bodies decide whether it is sufficient for your environment.
Software bill of materials and licenses
Inventory every package, model file and container image in each bundle that crosses the boundary, with its version and license. For NeMo Guardrails, that means the library release, its Python dependencies and any detection models, along with the Apache-2.0 license terms that apply to each. Ask whether your reviewers want the inventory in a standard SBOM format and whether it is generated from the exact artifacts you transferred, not from the upstream project page.
Hash and signature records for transfers
Record a cryptographic hash and, where the publisher provides one, a signature for every file that enters the isolated network, along with the staging host and the person who approved the transfer. Reviewers use these records to confirm that what runs inside the boundary matches what was checked outside it. This maps to the supply chain control on verifying software integrity and authenticity under NERC CIP-013-2, if your organization is in that sector.
Offline installation records
Keep a step-by-step record of how the cluster, container images and guardrail server were installed without internet access, including the private registry addresses and the image pull logs. Kubernetes supports this pattern through kubeadm config images list and a private --image-repository. Confirm with your platform team how the records capture configuration drift, and whether an offline update path is documented for future releases.
Rail configuration under version control
Store the NeMo Guardrails configuration folder, including its Colang files, model settings and input and output rail definitions, in a Git repository with signed commits and protected branches. Each change should link to a reviewed request and a test run. Reviewers want to see who changed a rail, why, and what the verdict on recorded traffic was before and after the change.
Red-team test results
Keep dated results from prompt injection, jailbreak and data leakage tests run against the guardrail in the isolated environment, with the test corpus, the tool version and the findings that were fixed or accepted. Tools such as promptfoo can produce repeatable reports. Ask reviewers whether they expect results per rail type and whether retests after each model update are required.
Access and audit logs
Retain logs of who accessed the guardrail server, who changed its configuration, who approved each offline transfer and which requests were blocked or allowed. Confirm where these logs are stored inside the boundary, how long they are retained under your policy, and whether they are exported to your existing SIEM. Reviewers commonly test whether the logs can be tied back to a named individual.
Where a DeployOpen engagement starts and stops
A DeployOpen engagement for an air-gapped guardrail stack is fixed-scope: the scope, deliverables and timeline are agreed in writing before work starts. The work usually runs in five phases: planning the target architecture and the rail types you need, building the offline bundle, deploying into your network, testing the rails against your own attack and content cases, and preparing the evidence your security review will ask for. Each phase has a named deliverable, so the boundary between phases is visible on paper rather than inferred during delivery. Ask for the written scope to list the exact components in the bundle, including the Python version, the guardrail package version and every detection model, since those are the items your change board will want to see.
The offline bundle build and the deployment are where most of the effort sits, and the scope should say who owns each part. For example, a bundle might include pinned Python wheels, container images, model weights and rule sets, each with a checksum recorded for the import review. DeployOpen can plan and implement those steps inside your network, but your team keeps approval of what crosses the boundary and of the production configuration. Testing covers the rails themselves: input and output behavior, false positives on your traffic, and how the server behaves when a detection model is unavailable. Evidence preparation produces documentation for your review, such as configuration records and test results. It does not produce an audit report or certification, which independent assessors issue.
Engagements end at the handover milestone defined in the scope. After that, upgrades, new model drops carried across the boundary, and continuous retesting are ongoing services delivered under a retainer, which is priced from the written scope and a stated frequency of work. DeployOpen does not publish a price list, so a quote follows from the scope you agree. When you request one, ask for the cost of each phase, which items are one-time and which recur, the assumptions about your environment and the process for changing scope. Confirm with your own security and compliance leads what evidence they need before the first meeting, because that answer shapes the evidence deliverable more than any other single input.
How DeployOpen deploys guardrails under an air-gap constraint
DeployOpen plans, builds, tests and documents self-hosted guardrail services inside the client's own air-gapped network, so detection, configuration and evidence all stay under the client's control. We agree the scope in writing first, then hand over a deployment the client's security and compliance teams can review.
How we scope
- We confirm which applications, prompts and tool calls the guardrails must cover inside the isolated network.
- We record which open-source guardrail components, detection models and hardware the written scope includes.
- We agree how model artifacts, package bundles and rule updates will cross the boundary before any work starts.
How we build
- We install NeMo Guardrails or Guardrails AI from verified offline packages, with the Python version the release requires.
- We configure input, output and execution rails, or validators, as a server reachable only from approved internal services.
- We add SSO, access control and audit logging so the guardrail layer can be reviewed like any other internal system.
How we hand over
- We deliver configuration files, deployment documentation, a software bill of materials and a record of every imported artifact.
- We run red-team tests against the rails and deliver a findings report with fixes and a retest.
- We document the offline update procedure so your own engineers can repeat it for future model and rule releases.
How we support
- Ongoing support, upgrades and continuous testing are available as a retainer that covers offline release cycles.
- We prepare the controls and evidence your compliance team needs for assessments, while independent auditors issue any formal opinion.
- We confirm with you which vendor license terms and support contracts apply to each component in your environment.

