Why NeMo Guardrails fits a bank or insurer's assistant
NeMo Guardrails is an Apache 2.0 library that runs inside your own infrastructure, so the rails, logs and model endpoints stay under your institution's control. For a bank or insurer that wants a customer or staff assistant touching account data, that matters because the model risk, security and compliance reviewers will ask where guardrail decisions are made, where prompts and responses are stored, and who can change the rules. Because the library is self-hosted, you can answer those questions with your own deployment records instead of a vendor's description of its service. The work is not building a language model. It is configuring the rails placed around a model you already run or approve: input rails that screen what a customer or employee sends, dialog rails that keep multi-turn conversations on approved topics, retrieval rails that check content pulled from policy documents or account systems, execution rails that govern custom actions and tools, and output rails that check what the assistant returns.
The current release is 0.25.0, published on 19 November 2026, and it requires Python 3.11, 3.12 or 3.13. Pin the version and the interpreter in your build so that a review sign-off refers to a specific artifact. Confirm the release you choose against the NeMo Guardrails releases page and the 0.25 migration guide, because 0.25.0 deprecates the LLMRails class in favor of Guardrails. Before you approve the design, confirm the license terms with your legal team and confirm the support position for the library, since the separate NeMo microservice has been sunset and its container is no longer supported.
Ask three questions early: which rails will be on the critical path for account data, which configuration files (config.yml, Colang files and any Python actions) will be version-controlled and approved, and which team owns each rail's evidence. A service-level question also needs an answer. Any rail that calls an external model or moderation service sends data outside the boundary your model risk team has reviewed, so map every rail to a hosted or self-hosted component before the design is signed off. Your in-house team or a partner will spend the most effort on these decisions, not on the library installation itself.
Financial requirements and what they mean for the build
This table maps each financial requirement to the build decision it forces in a NeMo Guardrails assistant, such as where masking runs, where logs are kept and which models are approved. Read each row as a question to answer in the design phase, before configuration starts. The main takeaway is that most of these obligations land on where data flows and who can change the rails, not on the guardrail rules themselves.
| Requirement | What it asks for | Build decision in NeMo Guardrails |
|---|---|---|
| PCI DSS v4.0.1 cardholder data scope | Defines which systems store, process or transmit cardholder data or could affect that environment, and requires those systems to meet the standard. | Mask card numbers in input rails before any model or log sees them, and keep the guardrails server outside the cardholder data environment unless it must be inside it. |
| PCI DSS v4.0.1 logging and review | Expects audit logs for access to cardholder data and protection of log contents. | Decide whether prompts and responses are logged in full, masked or hashed, and confirm that log storage is in scope of your assessment. |
| DORA Article 28(3) register | Requires a register of information on all contractual arrangements for ICT services. | List each model endpoint, hosting provider and the NeMo Guardrails deployment itself as entries in the register, with the component each one supports. |
| DORA Article 28(8) exit strategy | Requires documented, tested exit strategies for ICT services that support critical or important functions. | Keep rail configurations, Colang files and custom actions in your own version control so the assistant can move to another runtime or framework. |
| DORA Article 30(2) contract terms | Requires contracts to state where services and data are processed, with advance notice of changes and data return on termination. | Choose self-hosted models and deployment locations that can be named in the contract, and confirm how a model provider's changes will reach your guardrail tests. |
| Swift CSCF controls for payment-connected assistants | Requires independent assessment of the controls for Swift users, with annual attestation in the KYC-SA application. | Restrict which assistants can reach payment messaging or account systems, and confirm with your assessor which controls apply to the assistant's network path. |
| FTC Safeguards Rule MFA | Requires multi-factor authentication for any individual accessing an information system, unless the Qualified Individual approves an equivalent control in writing. | Put guardrail administration, configuration editing and log access behind SSO with MFA, and record any written exception for service accounts. |
| SOX IT general control areas | SEC guidance names program development, program changes, computer operations and access to programs and data as relevant areas. | Require review and approval for changes to config.yml, Colang files and actions, and keep deployment history tied to each released rail set. |
Rails, settings and integrations that matter in banking and insurance
A financial services assistant is only as controlled as the rails around it. The cards below cover the input, dialog, retrieval, execution and output rails, the files that define them, and the server option for hosting, so a compliance or model risk reviewer can trace each control to a specific part of the configuration.
Input rails for card and account data
Input rails run before the model sees a message. Use them to mask primary account numbers, card expiry dates, account identifiers and national IDs, and to screen for injection payloads. Confirm which detectors your installed version ships and test them against card formats your customers actually type, including spaces and partial numbers. Record what is masked and where the original value is or is not stored.
NeMo Guardrails docsDialog rails for advice boundaries
Dialog rails steer multi-turn conversations, so a customer asking whether to buy a fund or how to structure a tax return gets a scoped refusal and a route to a licensed advisor. Define the approved topics and the refusal wording with compliance, then test follow-up questions that try to reach advice indirectly. Colang flows hold these definitions and should be reviewed as policy text, not only as code.
Retrieval rails for product documents
Retrieval rails filter the chunks a RAG pipeline passes to the model. Limit retrieval to the approved product disclosures, fee schedules and claims guidance that your product owners have signed off, and exclude internal pricing notes, underwriting guidelines and draft material. Ask who owns the document allowlist and how a withdrawn document is removed from the index.
Execution rails for account-access tools
Execution rails sit between the model and any tool that reads or changes an account. A balance lookup, a payment initiation or a claims status call should pass through a rail that checks the authenticated customer, the requested account and the action's limits before the call runs. Keep these checks in Python actions with their own tests. The model should never hold the credentials for the underlying system.
Output rails and the configuration files
Output rails check the final response for leaked account data, unapproved advice and unsupported statements before the customer sees it. Each rail is defined in config.yml, with Colang files for flows and optional Python action files for custom checks. Keep these files in version control, and record which version of each file ran for any given conversation so a model risk reviewer can reconstruct the decision.
Server option and Dockerfile
NeMo Guardrails can run as a Python library inside your application or as a guardrails server that loads configurations from a folder and exposes an HTTP API. The project provides a Dockerfile to build a server image. Confirm the Python version your image needs, since release 0.25.0 requires Python 3.11, 3.12 or 3.13, and decide where the image runs and how its configuration folder is promoted between environments.
- Supported Python versions
- 3.11 to 3.13
How to defend agents that can reach account systems
A balance and FAQ assistant that only reads data is the lower-risk case, but it is not free of risk. The main exposure is disclosure: a user who manipulates the prompt may try to get another customer's data, internal policy text or account details the system should not reveal. Input rails and output rails handle much of this by screening requests and responses before they reach the user, while retrieval rails can check which documents the assistant may draw from.
- Input screening: Check incoming messages for injection patterns and requests for data about other people or internal systems.
- Output masking: Mask card numbers, account numbers and other identifiers in responses before they are returned.
- Scoped retrieval: Limit which knowledge base content and account fields the assistant can retrieve for the authenticated customer.
- Refusal behavior: Define fixed refusals for requests outside the approved topics, such as account changes the assistant cannot perform.
- Logging: Record blocked and allowed exchanges so the team can review attempted disclosures.
Confirm with your security team that the read API itself returns only the fields this customer may see, because a guardrail cannot restore data the backend should never have sent.
An agent that can initiate a payment, change a contact email or open a product has a different risk profile. A prompt injection that succeeds here can cause a financial transaction or an account takeover, not just a bad answer. In NeMo Guardrails, execution rails wrap custom actions and tools, and tool-result checks inspect what comes back from those calls before the model reasons over it. These two points become the main control surface for the agent's side effects.
- Action allowlist: Define exactly which actions the agent may call, with fixed parameter schemas, and reject everything else in the execution rail.
- Confirmation gates: Require explicit customer confirmation, and a separate authorization step, before any money movement or change to contact details.
- Tool-result checks: Scan data returned by account APIs for embedded instructions before it enters the model context.
- Value and velocity limits: Enforce amount caps and rate limits in the execution path, not only in the prompt.
- Session binding: Tie every action to the authenticated customer so the agent cannot act on a different account.
Ask the vendor and your integration team which actions run in the guardrail layer and which must be enforced by the core banking or payment system.
The authorization decision belongs in the systems the agent calls, not in the guardrail configuration. A guardrail is a filter that can be bypassed, misconfigured or updated incorrectly, while the core banking, payments or CRM platform holds the account rules, limits and audit trail that auditors and model risk reviewers will ask about. The agent should hold a credential scoped to what it needs, and each downstream service should check that the calling identity may perform the requested operation for that customer.
- Service identities: Give the agent its own identity with narrow scopes, separate from staff and batch accounts.
- Backend checks: Require the payment or account service to re-check customer authorization and limits on every request.
- Secrets handling: Keep API credentials in a secrets store and out of Colang files and
config.yml. - Separate approval paths: Route high-value or irreversible actions to a human approver through the existing workflow.
- Revocation: Be able to disable the agent's credential quickly, without redeploying the assistant.
Confirm with your identity and payments teams that every write operation the agent can reach has a server-side authorization check that does not depend on the prompt.
The guardrail layer is one defense among several, and it should be tested as such. Testing needs to show that an injected instruction in a customer message, a document or an API response does not produce an unauthorized action, and that the backend refuses the action even if the guardrail fails. Treat each rail as a control with its own test cases, and include adversarial prompts written by a red team that does not know the configuration.
- Injection scenarios: Test instructions hidden in customer messages, retrieved documents and tool outputs that try to trigger transfers or contact changes.
- Bypass attempts: Try to reach actions outside the allowlist through paraphrase, multi-turn steering and tool chaining.
- Backend-only tests: Call the payment and account APIs directly with agent credentials to confirm they enforce limits without the guardrail.
- Regression runs: Repeat the suite after each model, Colang or dependency change, because the converted configurations need manual review.
- Evidence: Keep the test plan, results and retests so model risk and security reviewers can see what was tested and fixed.
Confirm whether your security testing provider will test the agent end to end, including the backend services, rather than only the prompt layer.
How a customer request moves through the rails
A customer message enters through the banking app or contact channel and passes first through input rails that mask card and account identifiers, screen for prompt injection and check the topic. Only then does the request reach the model or agent. When the agent needs account data, it calls execution rails that validate each tool call, and when it answers from policy or product documents, retrieval rails limit it to approved content. Every step, including the output rails that check the final reply, writes to an audit log store inside your boundary. Check that the masked values never reach logs and that the tool permissions match the agent's role.
Request flow through NeMo Guardrails rails with the audit store inside the institution boundary.
A rollout sequence for a regulated assistant
This sequence takes a banking or insurance assistant from agreed data and advice boundaries to a monitored production release, with each phase producing evidence that compliance, security and model risk reviewers can examine. It is written so that the configuration, the test results and the change record stay linked from the first decision onward.
Scope data and advice boundaries with compliance
Compliance, the business owner and the engineering lead agree in writing which card, account and personal data the assistant may see, which data must be masked before it reaches the model or appears in logs, and which topics count as advice the assistant must refuse. Where the assistant touches cardholder data, the team also confirms whether the environment falls within the scope described in PCI DSS and who decides that boundary. The step closes with a signed scope document that lists each data class, each refused topic and the owner of each decision.
Build rails and Colang flows
Engineers translate the scope into a config.yml file, input and output rails, optional Python actions and Colang files, choosing Colang 1.0 or 2.0 deliberately and recording that choice. Refusal messages, escalation paths and the handoff to a human agent are written as explicit flows rather than left to the base model's behavior. The step closes when the configuration loads in a development environment, every rail defined in the scope document has a corresponding file, and the configuration is committed to version control with a named reviewer.
Test masking and refusal behavior
The test team builds a fixed set of prompts covering card numbers, account identifiers, personal data in retrieved documents, requests for individual investment or insurance recommendations, and prompt injection attempts aimed at account tools. Each prompt is run against the configuration, and the expected outcome is compared with the actual output, including what reaches the logs. The step closes with a test report that lists every failed case, the fix applied and a rerun that passes, so that reviewers can see both the expected and observed behavior.
Review hosting and access
Platform and security engineers confirm where the guardrails server runs, which model endpoints and safety models it calls, and whether any prompt or response leaves the institution's network. They review who can edit configurations, who can read logs containing conversation content, and how single sign-on and role assignments are enforced for administrators. The step closes with a hosting record that names each component, its location, its network path and the people with access, which feeds the register of ICT arrangements where the institution is in scope of DORA.
Release in stages with monitoring
The assistant is released to a limited group of users first, with blocked requests, masked fields and escalations monitored against the thresholds agreed in the scope phase. The operations team reviews the first logs with compliance, looks for refusals that were too broad or masking that missed a value, and decides whether to widen access. The step closes when the release owner records the stage gates passed, the monitoring findings and the decision to proceed, and the monitoring setup is confirmed to still capture content for the audit trail.
Document the change process for model risk review
The institution's model risk function receives a description of the assistant, its configuration history, the test reports and the hosting record, along with a defined process for every later change to a rail, a model, a prompt or a flow. Each change request states what changed, what was retested and who approved it before deployment. The step closes when the model risk reviewer has accepted the documentation and the change procedure is in place, so that every production configuration can be traced back to an approved version and a passing test run.
Compliance considerations and the evidence each produces
Financial services assistants touch several regimes at once: card data rules, ICT third-party oversight, payment messaging controls, internal control testing and identity requirements for staff. Each card below names one area, the NeMo Guardrails setting that feeds it and the record a reviewer will ask for. DeployOpen prepares the controls and evidence, but auditors, assessors and regulators issue the reports and attestations.
PCI DSS scope through masking before logs
If card numbers reach the model, a prompt log, a trace or a vector store, those systems may fall into the cardholder data environment. Place masking rails on input and retrieval paths so the primary account number is removed before any prompt, response or log is written. Ask your QSA or internal assessor to confirm where the boundary sits, because the scope decision depends on what is stored and transmitted, not on the guardrail alone. The evidence is a masking test log plus a data flow diagram showing where unmasked data cannot go.
- Active PCI DSS version
- v4.0.1
DORA register and exit planning
For EU financial entities, DORA requires a register of information covering every ICT contract, and documented, tested exit strategies for services that support critical or important functions. A self-hosted NeMo Guardrails deployment, its model endpoints and its hosting components should each appear as a register entry if they are third-party ICT services. Contracts must also state where data is processed and cover data return on termination. Confirm with your legal and third-party risk teams which components count as ICT services in your entity.
- DORA applies from
- 17 January 2025
Swift CSCF control mapping
If the assistant touches payment messaging or any Swift-connected environment, the Customer Security Controls Framework applies to the connected infrastructure. Map the guardrail host, its admin access, logging and patching to the relevant mandatory and advisory controls, and record which controls are out of scope for the assistant. Attestation is made by the Swift user in the KYC-SA application after independent assessment, so DeployOpen's role is to supply the mapping and configuration evidence, not the attestation.
Swift CSP controlsSOX ITGC change and access evidence
For US public companies, guardrail configurations that affect financial reporting or customer-facing disclosures fall under IT general controls. Auditors typically look for program change control, access to programs and data, and computer operations records. Keep Colang and config.yml files in version control, require approval before a change reaches production, and export access reviews for the admin roles that can edit rails. Ask your external auditor which systems are in scope before you design the change process.
SEC Release 33-8810FTC MFA for staff tools
Under the FTC Safeguards Rule, non-bank financial institutions under FTC jurisdiction must require multi-factor authentication for anyone accessing an information system, unless the Qualified Individual approves an equivalent control in writing. Staff consoles for guardrail configuration, log viewers and the model gateway should sit behind your SSO with MFA enforced. Record the written approval for any exception and keep sign-in logs for the admin paths. Confirm the rule's applicability to your institution with counsel.
16 CFR Part 314Assessor-issued reports and attestations
The evidence described above is prepared by your team and DeployOpen, but it does not become a finding until an independent party reviews it. A Qualified Security Assessor issues a Report on Compliance, your organization or assessor completes the Attestation of Compliance, and auditors issue SOX or SOC opinions. Agree with each reviewer, before implementation starts, which artifacts they accept and in what format.
PCI SSC FAQ 1220Questions banks and insurers ask before hiring help
What drives the cost of a NeMo Guardrails project for a bank or insurer?
The cost follows the written scope, and the biggest levers are how many rails you need, how many channels they cover, how many tools or systems the assistant can reach, how deep the testing goes, and how much compliance evidence you need. A card-masking rail on one web chat channel is a smaller job than input, output, dialog and tool-call rails across a web app, a mobile app and a contact center integration. Each added channel, tool and integration adds configuration, test cases and review time. Ask any partner to price these items separately so you can see which choices move the total. DeployOpen does not publish a price list; a quote follows from the written scope.
Which parts of a NeMo Guardrails project are one-time and which recur?
Most of the initial work is one-time: scoping, writing the config.yml file and Colang flows, building any custom actions, integrating with your assistant, testing, and producing the first set of evidence. Recurring costs include hosting and compute for the guardrails server and any self-hosted safety models, monitoring, log storage, regular test runs, retesting after changes, and handling new releases. NeMo Guardrails is open-source under Apache 2.0, so the library itself carries no license fee. Ask the quote to show one-time and recurring lines separately, and confirm who pays for each hosting and storage component in your own environment.
Can our own engineering team build financial services guardrails without a partner?
Yes, a capable internal team can build it, provided it has Python engineers, people who can write and review Colang and configuration files, someone who owns the policy decisions on advice and card data, and staff who can run the tests and keep the evidence. The Apache 2.0 license allows internal use without a license fee. The questions to answer honestly are whether the team has time for a full build and retest cycle, whether it has done a model risk or PCI DSS scoping review before, and who will operate the system after launch. A partner is most useful where the scope is wide, the timeline is fixed, or the evidence must meet an external review.
How long does a NeMo Guardrails build take for a financial assistant?
Duration depends on the same drivers as cost: the number of rails, channels and tools, the amount of policy work needed before engineering starts, and how many review cycles your risk, compliance and security teams require. Policy decisions are often the slowest part, because someone must define what the assistant may say about products, fees and advice before any Colang is written. Platform readiness also matters: Python 3.11, 3.12 or 3.13 must be available, and the hosting environment and identity integration must be ready. Ask for a timeline tied to named milestones and a list of the approvals each one needs, rather than a single end date.
What does our staff need to provide during a guardrails engagement?
Expect to supply the people who make decisions and the people who know the systems. That usually means a product owner who signs off the topic limits on advice, a card and account data owner who confirms what must be masked and where it appears, an identity or access team for SSO and privileged tool permissions, an infrastructure team for hosting and networking, and a risk or compliance reviewer for the evidence pack. Access to test environments, sample conversations, existing logs and the list of tools the assistant can call are also needed early. Missing approvals are a common reason plans slip, so name these people in the written scope.
How much testing and compliance evidence should we budget for?
Test depth and evidence scope are set by your risk appetite and by the frameworks your assessors use. For card data, PCI DSS applies to entities that store, process or transmit cardholder data or could affect the cardholder data environment, so the scope of the assistant must be decided early, and the assessment itself is documented by a Qualified Security Assessor or a Self-Assessment Questionnaire with an Attestation of Compliance. Guardrails work supports that evidence but does not replace it. For operational resilience, DORA requires an information register of ICT contracts and documented, tested exit plans for critical functions. Ask the quote to list each test type, the evidence format and the people who will review it. DeployOpen prepares systems, controls and evidence for assessments but does not issue audit reports, attestations or certifications.
What should a written quote for NeMo Guardrails include?
A useful quote lists the scope in writing: the rails to build (input, dialog, retrieval, execution and output), the channels, the tools and systems the assistant can reach, the hosting environment and the versions of NeMo Guardrails and Python it targets. It should separate one-time build work from recurring support, state the testing and red teaming included and how many retest rounds follow, and name the evidence delivered. Ask for assumptions about client inputs, the approvals that must happen and their timing, and what changes would reopen the price. Confirm the release you are building on, since NeMo Guardrails 0.25.0 is the current release at the time of writing and its LLMRails class is deprecated in favor of Guardrails.
Does NeMo Guardrails need an NVIDIA license or subscription to run?
The NeMo Guardrails library is licensed under Apache 2.0, so you can use and modify it without paying NVIDIA a license fee for the library itself. Costs come from the infrastructure you run it on, any self-hosted models you choose, the engineering work and any partner support. Be careful with NVIDIA's microservice: NVIDIA's NGC notice says NeMo microservices were sunset as of October 1, 2026, with no new releases. Ask any partner to confirm which package and hosting path their quote assumes, and check the license terms of every model you add, since those are separate from the library license.
How DeployOpen scopes and delivers NeMo Guardrails for financial services
DeployOpen plans, builds, tests and documents NeMo Guardrails for banking and insurance assistants inside the client's own infrastructure. Engagements are fixed-scope, with scope, deliverables and timelines agreed in writing before work starts, and ongoing support is available as a retainer.
How we scope
- Written scope lists which assistants, data flows and account actions the guardrail configuration covers.
- Scope names the rails to build, such as masking, topic limits and injection checks, and the ones left out.
- Scope confirms hosting location, model endpoints and whether the setup must fit your model risk review.
How we build
- Configuration files, Colang flows and any custom actions are built against your own assistant and tool access.
- Card and account data masking is tested with realistic test records you supply in a non-production environment.
- Agent tool calls are tested for prompt injection and permission bypass before any account access is enabled.
How we hand over
- Handover includes the configuration, deployment artifacts, test results and a written record of each rail's behavior.
- Documentation maps controls to the evidence your model risk and compliance teams will ask to review.
- Your team receives a walkthrough of configuration changes, logging and how to retest after a version upgrade.
How we support
- Retainers cover ongoing support, upgrades when NeMo Guardrails releases change configuration or Python APIs, and continuous testing.
- Retesting follows any configuration change, new tool or model swap, so evidence stays current with the deployed setup.
- Support scope and response expectations are written into the retainer before work begins.

