NeMo Guardrails IORails or LLMRails: which engine fits your application
IORails is the low-latency engine in NeMo Guardrails, and LLMRails is the engine that release 0.25.0 deprecates in favor of Guardrails, with removal planned no earlier than 0.27.0. Your choice depends on which rails and features your configuration needs today and on how long it must keep running unchanged. Teams that run several input and output checks on every turn feel added guardrail time directly in response latency, so the engine decision affects user experience and capacity planning as well as functionality. This section sets out the decision frame. The feature matrix itself must be confirmed against the documentation for the exact version you run, because support for individual rails and settings can change between releases.
If your team runs NeMo Guardrails 0.25.0, start with an inventory of the existing configuration. List every rail type the configuration uses (input, dialog, retrieval, execution and output), note whether it relies on Colang 1.0, which is the default, or Colang 2.0, and record whether LangChain integration is enabled through the NEMOGUARDRAILS_LLM_FRAMEWORK environment variable. Also record whether the application calls the Python API or a guardrails server that loads configurations from a folder. Then check each item against the documentation for 0.25.0 and mark it as supported, unsupported or unclear on each engine. Confirm your Python runtime is 3.11, 3.12 or 3.13, since 0.25.0 requires one of those versions. Any item marked unclear is a question to resolve with the vendor documentation before the engine is chosen.
Because the engine is new, verify early-release behavior before you rely on it. Run the same test set against both engines wherever both are supported, and record which decisions, block messages and latency measurements differ. Keep these results with the configuration so a later upgrade can be checked against them. Start with the release notes for 0.25.0 and for 0.24.1, which preceded it, to find known differences. The NeMo Guardrails releases page lists the changes for each version. Plan to repeat the comparison on every release, because the set of rails supported on IORails and the deprecation timeline for LLMRails can both move.
What IORails and LLMRails each support today
This table compares the NeMo Guardrails engine options by fit, feature coverage, streaming and parallel behavior, Colang support and migration effort. Treat each cell as a checklist item, since support can vary by release and should be confirmed in the NeMo Guardrails documentation for the version you pin. The main takeaway is that LLMRails is deprecated in release 0.25.0, so new configurations should be tested on the Guardrails facade first.
| Capability | IORails engine | LLMRails (deprecated class) |
|---|---|---|
| When it fits | Latency-sensitive assistants that can confirm their rails and configuration features run on this engine | Existing deployments that cannot change engine yet, during the deprecation window |
| Deprecation status | Confirm which entry point the Guardrails facade routes to for your release | Deprecated in 0.25.0 in favor of Guardrails, with removal planned no earlier than 0.27.0 |
| Rail and configuration coverage | Confirm each input, output, dialog, retrieval and execution rail you use, plus each config.yml option | Confirm coverage against the release notes for the version you pin, rail by rail |
| Streaming behavior | Confirm chunk_size, context_size and stream_first apply to this engine's streamed output | Confirm streaming options and the error raised when streaming is used without enabling it |
| Parallel rail execution | Confirm parallel input and output rails and short-circuit on block are supported | Confirm whether parallel rails are available and how they interact with transform rails |
| Admission control for non-streaming requests | Queues and rejects non-streaming requests, so clients must handle the 503 response | Confirm whether the same queueing and 503 behavior applies before relying on it |
| Colang version support | Confirm whether your flows use Colang 1.0 (the default) or 2.x on this engine | Confirm Colang version support per release, and plan any 2.x migration with manual review |
| Migration effort | Changing engine requires a test pass on both configurations and any Colang conversion | Moving off this class means switching to the Guardrails facade before removal |
How NeMo Guardrails routes a configuration through the Guardrails facade
The Guardrails facade is the entry point to build against going forward. NVIDIA deprecated the LLMRails class in 0.25.0 in favor of Guardrails, with removal planned no earlier than 0.27.0, so new code and new configurations should start there. A configuration directory holds a config.yml, optional Python actions and Colang files. The facade reads that folder and hands it to an engine. Before you rely on any engine-specific behavior, confirm which engine the facade selects for your configuration on the version you pin, using the 0.25.0 documentation and the NeMo Guardrails releases page for change notes. Record that answer in your configuration review, because latency and feature support depend on it.
Next, establish whether engine choice is automatic or set explicitly. If the facade chooses the engine from the contents of the configuration, an edit such as adding a flow or changing a Colang file could move the configuration to a different engine without a deliberate decision. If the choice is explicit, it should live in a file or code path your team reviews. Confirm which mechanism applies in the version you run. Then check the Colang version separately. Colang 1.0 is the default, Colang 2.0 is also supported, and you should confirm which Colang versions each engine accepts for the rails your application uses. Treat a mismatch as a deployment defect that testing must catch before production.
If your configurations use Colang 1.0 and you plan to move to Colang 2.x, NVIDIA's Colang 2 migration guide describes the path, and the nemoguardrails convert tool produces a starting point. NVIDIA states that converted configurations still need manual review, so plan that review as a named task in the migration. Check each converted flow against the original behavior, including blocked and allowed paths, and run the same test set against the old and new configurations. Keep the original and converted configurations under version control so every behavioral change appears in a reviewable diff.
Request flow from the application to the chosen engine
The flow starts at the application, which calls either the Python API or a guardrails server that reads a configuration folder. The Guardrails facade loads config.yml and any Colang files, then the engine selection step decides which engine runs the configuration. Input, dialog, retrieval, execution and output rails then wrap the model call. Confirm the engine decision and per-rail behavior for your exact release in the NeMo Guardrails documentation before you measure latency, because this selection step is where a configuration can route differently.
Application request passing through configuration, engine selection and rails to the model.
Setting up one configuration on both NeMo Guardrails engines
This sequence runs one NeMo Guardrails configuration through both the IORails and LLMRails paths on the same Python environment, so you can compare which rails execute and where outcomes differ. It ends with a recorded result for each path that engineering and security reviewers can check.
Confirm Python version and installed release
An engineer on the platform or application team creates a clean virtual environment and checks that the interpreter is Python 3.11, 3.12 or 3.13, the versions NeMo Guardrails 0.25.0 requires. They then install the nemoguardrails package from PyPI. The step is done when
python --versionreports a supported version andpip show nemoguardrailsreports 0.25.0.Pin the library version
The same engineer records the exact version in the project's requirements or lock file so that every environment, including CI and the server image, installs the same release. Pinning matters here because the 0.25.0 release deprecates the LLMRails class in favor of Guardrails, with removal planned no earlier than 0.27.0. The step is done when a fresh install from the lock file reports the same version and the team has read the 0.25 migration guide.
Build a baseline configuration
The engineer creates a configuration folder with a
config.ymlfile, the Colang files that define the rails, and any optional Python actions. Colang 1.0 is the default, so keep that unless the team has deliberately chosen Colang 2.x, in which case plan a conversion with thenemoguardrails converttool and budget for manual review of the output. The step is done when the configuration loads without errors in the Python API and the folder holds a fixed set of test prompts: a benign request, an input the rails should block, and an output the rails should catch (illustrative cases).Select the engine explicitly
The engineer sets the engine for each test path instead of relying on defaults, so that a later library change cannot silently switch the path under test. The exact setting for the 0.25.0 release is not covered on this page, so confirm it in the NeMo Guardrails documentation before writing it into the configuration. The step is done when a request logged or traced in each path shows which engine handled it.
Run the same test prompts on each path
The engineer runs the identical prompt set against the same model endpoint and the same configuration folder, first through the IORails path and then through the LLMRails path. Each response is saved with its path label, the prompt identifier and the configuration version. The step is done when every prompt has a recorded outcome per path and the team has listed each difference, such as a block on one path and an allowed answer on the other.
Check the server image or Python API call
If the configuration will run as a guardrails server, the engineer builds the server image from the Dockerfile provided with the library, starts a container and sends the same test prompts to its HTTP API with the engine selection used in the test. For a Python API deployment, they confirm the import path and call signature match the test harness. The step is done when the running container or service reports nemoguardrails 0.25.0 and produces the same outcomes as the local run.
Record which rails executed
For each request on each path, the engineer captures which rails ran, grouped by input, dialog, retrieval, execution and output rail types, and stores them with the engine, library version, configuration hash and run date. A reviewer can then compare the paths without rerunning them. The step is done when a results table lists each prompt, path, rails executed and outcome, and any mismatch between paths has been resolved or documented as a finding before the team chooses an engine.
Security and operational risks of changing engines
Moving a configuration between the IORails and LLMRails engines changes how rails run, what gets logged and how secrets are read. The cards below name five risks that follow from that change, the control to test for each and who should own the test before a production switch.
Rails behave differently per engine
A rail that blocks on LLMRails may pass, reorder or time out differently on IORails, so a configuration can look correct in one engine and leak in the other. Build a fixed set of blocked and allowed test prompts for every input, dialog, retrieval, execution and output rail, and run the same set on both engines with identical configuration files. Owner: the application security lead signs off on the expected outcome for each case.
NeMo Guardrails docsBlocked content leaking through streams
If output rails are reordered, or streaming is enabled on a path that was tested only with full responses, partial text can reach the user before a rail decides to block it. Test streamed responses with content that should be blocked at different positions in the answer, and confirm the client never receives the blocked fragment. Confirm the streaming settings with the engine documentation before any change to rail order. Owner: the platform engineer who owns the gateway and the security reviewer.
- Current library release
- 0.25.0
Secrets in configs and actions
Migration work often copies API keys, model endpoints and tokens into config.yml, Colang files or Python actions so both engines can read them during a transition. Keep credentials in your existing secrets store, scan the configuration folder for literal values before each run, and rotate any key that appeared in a shared branch or test file. Check that custom actions read credentials from the environment on both engine paths. Owner: the platform team, with the secrets manager owner.
Logging and audit differences
Log records, trace fields and the way a blocked request is recorded may not match between engines, which can break alerts, dashboards and any evidence you show an auditor. Before cutover, compare a sample of blocked and allowed requests from each engine, confirm which fields are written, and confirm where prompts and responses are stored and for how long. Do not assume the fields match without that comparison. Owner: the compliance lead with the monitoring team.
Running two engine paths
During a transition, some traffic may use IORails while other traffic uses LLMRails, and each path can drift as configurations change. Route by a documented rule, record which engine handled each request, and keep one configuration source so a rail fix is not applied to one path only. Set an end date for the second path and remove it once the testing evidence is complete. Owner: the engineering manager who approves the cutover plan.
Testing a NeMo Guardrails configuration on both engines
Start the parity test plan with a fixed prompt set that you keep under version control. Include benign prompts that your assistant must answer, adversarial prompts covering the attacks your rails are meant to stop (jailbreaks, injection payloads, off-topic requests, personal data in input), and edge cases such as long messages and multi-turn dialog. For each prompt, record the expected outcome before you run anything: allowed, blocked by a named rail, or rewritten by a transform rail. Run the same configuration through the engine you use today and the candidate engine, then compare each result against the expectation, not against each other alone. Confirm in your own environment which rail types and actions each engine executes for your configuration, because the supported feature set differs between IORails and LLMRails.
Measure timing on the same hardware, with the same model endpoints, the same concurrency and the same warm-up routine for both engines. Run the suite several times and report percentiles rather than single runs, since a single slow call can hide the difference you are trying to measure. Capture the output comparison too, including streamed responses: check that the streamed text, the chunk boundaries and the final message match what the non-streaming path returns, and that a blocked prompt never leaks partial content before the block takes effect. Keep every result set labeled with the exact NeMo Guardrails version, so that a later upgrade can be tested against the same baseline. The version history is in the NeMo Guardrails releases page.
Treat any difference in a blocked outcome as a finding to fix before cutover, even when the answer text looks acceptable. A prompt that one engine blocks and the other allows is a control gap until you show otherwise. Log each mismatch with the prompt, both outcomes, the rail responsible and the engine version, then decide whether the fix belongs in the Colang flow, the action code or the choice of engine. Do not sign off the cutover while mismatches remain open, and rerun the full suite after every fix, because a change to one rail can alter outcomes elsewhere. Keep the parity results with the configuration history so reviewers can see what was tested, on which version and with what outcome.
Early-release caveats and what to confirm in your environment
The engine choice depends on the version you run, the rails you need and the service route your organization is allowed to use. Each card below names one item to confirm and where to confirm it before you commit a configuration to either engine.
LLMRails deprecation timeline
Version 0.25.0 deprecates the LLMRails class in favor of Guardrails, and removal is planned no earlier than 0.27.0. Any configuration you build on LLMRails today will need a migration step before that release. Confirm the exact removal version in the release notes for the version you plan to pin, and read NVIDIA's 0.25 migration guide before you choose which class your application imports.
Release notesRail and feature support per engine
Support for each rail type, Colang version and integration can differ between IORails and LLMRails. Build a short matrix that lists the five rail types you need, the Colang version you use and any third-party model integration, then check each cell against the documentation for the exact version you run. Do not assume a feature present in one engine exists in the other.
NeMo Guardrails docsIORails behavior across releases
Ask whether IORails changes its request handling, queueing or output behavior in later releases. A configuration that passes today can return different blocks or timing after an upgrade. Review the release notes at each version bump, rerun your test set on both engines, and record which version produced each baseline result so you can compare later runs.
Release historyPython version range
NeMo Guardrails 0.25.0 requires Python 3.11, 3.12 or 3.13. Check that your application image, build pipeline and any base image in use fall inside that range, and confirm the requirement again when you upgrade the library. A mismatch usually shows up at install time, so test the install in the same image you will ship.
PyPI package pageMicroservice sunset and NeMo Helix route
The NeMo Guardrails microservice container has been sunset as of October 1, 2026, with no new releases or support. If you planned gateway use, NVIDIA's notice points to NeMo Platform, and the repository it links now resolves to NeMo Helix, which runs NeMo Guardrails as an inference gateway middleware plugin. Ask your NVIDIA account team how existing microservice users should move, and confirm the Helix license and support terms before you rely on it.
NeMo Helix repositoryLatency and reliability targets
Measure whether the chosen engine meets your own latency and availability targets on your hardware, model endpoints and traffic pattern. Published behavior from the project does not replace a load test in your environment. Record p95 latency with and without rails, the rate of rejected or failed requests under load, and the behavior when a safety model is unavailable. Set those targets before the test so the result answers a fixed question.
Documentation indexQuestions buyers ask before choosing an engine or hiring help
What drives the effort of an engine decision and migration?
The effort depends mostly on how many configurations you run, how much Colang you have written, and which rails and custom actions each one uses. A single config.yml with a few flows and no custom actions is a small change. A set of Colang 1.0 flows with Python actions, several rails per configuration, and an application that calls the Python API in many places is a much larger one. NeMo Guardrails supports both Colang 1.0 and 2.0. NVIDIA documents a conversion path with the nemoguardrails convert tool, but it states that converted configurations still need manual review, so budget review time for every flow, not only for the conversion run. Custom LLM backends, initialization code and the test coverage you already have also move the estimate. Ask any provider to break its quote down by configurations, flows, actions and test work.
How long does a parity test take for NeMo Guardrails?
No public figure is available for this, so treat any duration you hear as a question to ask. Parity test effort scales with two counts: the number of rails in each configuration, and the number of test cases that cover each rail's allowed and blocked behavior. Each rail adds its own inputs, expected outcomes and edge cases, and each test case has to run against both engines and compare the decision, the response and the logged trace. Plan for reruns, because every prompt change or model swap resets part of the comparison. Before agreeing a timeline, ask a partner to show the test matrix, the number of cases per rail and the environment where runs happen. A fixed scope should state that matrix explicitly.
What must our team provide for an engine migration?
Your team provides four groups of inputs, and the work moves faster when all four are ready at the start:
- The current configurations:
config.yml, Colang files and Python actions from the repository that runs in production, with the NeMo Guardrails version each one targets. - The prompts and any per-model prompt overrides, because they change behavior when the engine changes.
- A test environment that matches production, including a supported Python version (NeMo Guardrails 0.25.0 requires Python 3.11, 3.12 or 3.13) and access to the guardrail models your configurations call.
- Model endpoints with credentials, rate limits and network paths, plus representative anonymized traffic if your data policy allows it.
Confirm with your security team how test data is handled before any traffic leaves production systems.
Can our internal team migrate to Guardrails without a partner?
Many teams can, provided they already have people who know Colang, Python and their own test suite. The practical test is whether someone on the team can read a Colang flow, predict how the engine handles it, and write a test that proves the result. Internal teams usually struggle with the parity matrix because the work is repetitive and competes with feature delivery. The team also owns the evidence trail: if an auditor asks why a rail behaves differently after the move, someone must explain it with test results and a written record. A common split keeps configuration ownership and sign-off in-house while a partner builds the test matrix and performs an independent review. Decide the split before work starts, and write it into the scope.
What does a fixed-scope engagement for this cover?
DeployOpen's engagements are most often fixed-scope, with scope, deliverables and timelines agreed in writing before work starts. For an engine decision and migration, a written scope should list the configurations in scope, the rails and actions in each one, the target engine and version, the test matrix, the migration of configurations and actions, the differences found during parity testing, and the handover. Name what is excluded as well, such as custom LLM backends, server deployment, model hosting and monitoring. Ask for the deliverables list and the acceptance criteria for each one. DeployOpen does not publish a price list, so a quote follows from the written scope.
What recurs after 0.27.0 or future NeMo Guardrails releases?
NeMo Guardrails 0.25.0 deprecates the LLMRails class in favor of Guardrails, with removal planned no earlier than 0.27.0. Code that still imports LLMRails will need changes before that removal, and NVIDIA publishes a 0.25 migration guide to support the move. After the migration, recurring work includes reviewing each release's changelog, upgrading dependencies, rerunning the parity suite after every version bump, and acting on new deprecation notices. Model endpoints and safety models also need updates on their own schedule. DeployOpen offers retainers for ongoing support, upgrades and continuous testing. Ask for release-by-release handling and response expectations in writing, since those terms belong in the agreement.
Does the Apache 2.0 license cover the choice of engine?
NeMo Guardrails is licensed under Apache 2.0, and its LICENSE file, README and PyPI metadata all reflect that. The license applies to the library, so choosing one engine over another within the library does not change the license terms that apply to your use. The microservice question is separate. NVIDIA has retired the NeMo Guardrails microservice, and its container page states that NeMo microservices was sunset as of October 1, 2026, with no new releases. If any configuration still runs on that container, plan that move as its own project. Confirm the license and support position for each deployment target with your legal and procurement teams before the engine decision is final.
How DeployOpen scopes and tests a NeMo Guardrails engine decision
DeployOpen treats the IORails or LLMRails choice as a written decision tied to your rails, models and deployment target, not a default. We test each candidate configuration on both engines so the choice rests on observed behavior in your environment.
How we scope
- Inventory every rail, action and Colang version your configuration uses, and flag features the IORails engine may not support.
- Record which models, safety services and hosting targets the configuration calls, including any self-hosted NIM endpoints.
- Agree the scope in writing as a fixed-scope engagement, with deliverables and timelines confirmed before work starts.
How we build
- Run the same configuration on IORails and LLMRails in a test environment and record where behavior or output differs.
- Document the Guardrails facade routing rules for your deployment so each configuration resolves to the engine you intended.
- Confirm the NeMo Guardrails version pinned for each engine, including the 0.25.0 deprecation of LLMRails, before adopting either path.
How we hand over
- Deliver a written engine decision record covering supported features, gaps, early-release caveats and the reasons for the chosen engine.
- Provide test results for both engines, with the configuration files, versions and steps needed to repeat each run.
- Walk your engineering and security teams through the handover so they can rerun the comparison after future upgrades.
How we support
- Review the engine choice when NeMo Guardrails publishes a new release or when a feature moves from LLMRails to IORails.
- Available as a retainer for ongoing upgrades, regression testing of both engines and retesting after configuration changes.
- Re-verify routing and test results after any change to models, safety services or the deployment environment.

