Why run NeMo Guardrails custom actions in a separate actions server
If your custom actions call internal systems such as ticketing, customer records or payment APIs, they need different credentials, network reach and capacity than the guardrails process that screens user input and model output. Running those actions in a separate process lets you isolate a failing or slow internal call from the guardrails path and scale action execution on its own schedule. In NVIDIA's documentation, the actions server is the component that runs custom actions outside the main NeMo Guardrails process, and the guardrails application calls it over HTTP. Before you design around it, confirm the request contract, action registration and authentication options in the NeMo Guardrails documentation, because those details change between releases.
Pin the runtime before you plan the action host. The current library release is 0.25.0, published on 19 November 2026 under the Apache-2.0 license, and it requires Python 3.11, 3.12 or 3.13. Build the actions host image on one of those versions and record it with the configuration. Do not confuse the actions server with the NeMo Guardrails microservice. NVIDIA's NGC catalog says the microservice was sunset as of October 1, 2026, with no new releases and no continued support. Anything you read about microservice packaging, licensing or support does not carry over to the open-source library's actions server unless NVIDIA says so. Ask your NVIDIA account team or check the release notes before you assume it does.
Split actions out when they hold secrets or reach networks that the guardrails process should not, when they need separate scaling or restart behavior, or when a different team owns the internal APIs they call. Keep actions that only compute or format text in the guardrails process if they have no such needs. For each action, write down which internal system it calls, which credential it uses, who owns that system and what happens to the user if the call fails. Those answers decide which actions move to the actions host and which network segment that host sits in. Treat the actions host as part of your production boundary and review its placement with your security team before go-live.
Which deployment layout fits your custom actions
This table compares running custom actions inside the guardrails application process with running them on a separate actions server. Read each row as a question to answer for your environment, and treat the last row as the checklist to close before you choose. Neither layout moves system actions off the guardrails application, so plan for that split in both.
| Decision point | Actions in the same process | Actions on a separate actions server |
|---|---|---|
| Isolation | A faulty or slow action shares memory and failure domain with the guardrails application and its configuration | Action code runs in its own process, so a crash or hang is contained to the actions server, subject to how you deploy it |
| Scaling | Action capacity grows only by scaling the whole guardrails application, including its model and rail processing | Actions server replicas can be scaled separately, but each replica and the calling application must be sized and tested together |
| Credential placement | API keys and internal service credentials for actions are loaded into the guardrails application environment | Credentials for internal APIs can sit on the actions server, away from the guardrails application host, if you design the placement that way |
| System actions | System actions such as guardrail checks and the LLM call stay in the guardrails application process | System actions still run locally in the guardrails application; only custom actions are routed to the server |
| Network exposure | No extra network hop or listening port is added for actions | Adds an internal HTTP path that needs network policy, authentication and TLS decisions in production |
| Operations and upgrades | One deployable unit to version, patch and monitor | Two units to version, patch, monitor and keep compatible with the same NeMo Guardrails release |
| Confirm before choosing | Check the current NeMo Guardrails documentation for which actions the actions server can host and how it is started | Check the documented endpoints, request format, authentication options and the supported Python and NeMo Guardrails versions |
How a request moves between the guardrails server and the actions server
A client request enters the guardrails server, where Colang flows decide whether a custom action is needed. System actions run inside the guardrails process, while custom actions leave it for a separate actions server that calls internal APIs. The trust boundaries mark where traffic crosses networks, so check each hand-off against the placement and credential rules you set for production.
Request path across the guardrails and actions servers, with trust boundaries.
How to start the actions server and connect it to your configuration
This sequence takes a team from an empty Python environment to a running actions server that a NeMo Guardrails configuration calls for custom actions. Each step ends with a check that confirms it worked before you move on.
Prepare a supported Python environment
Create an isolated virtual environment on Python 3.11, 3.12 or 3.13, the versions that NeMo Guardrails 0.25.0 requires. Use the same interpreter version in development and in the environment where the actions server will run, so that dependency behavior matches. Confirm the check by printing the interpreter version inside the activated environment and verifying it falls in that range.
Install the NeMo Guardrails library
Install the nemoguardrails package from PyPI into the environment, pinning the release your team has reviewed rather than whatever is newest. The package is licensed under Apache-2.0, so confirm that the license matches your open-source review process. Confirm the install by importing the package in Python and printing its installed version, which should match the release you pinned.
Define config.yml with Colang files and actions
Create a configuration folder containing a config.yml file, the Colang files that define your flows, and a Python file with the custom actions you want to isolate. Copy the exact configuration keys, file names and Colang syntax from the current NeMo Guardrails documentation, and do not rely on examples from memory or older blog posts. Confirm the check by loading the folder with the library's configuration loader and getting no parsing errors.
Start the actions server as documented
Launch the actions server using the command and options given in the current NeMo Guardrails documentation, pointing it at the module that holds your custom actions. Run it on a host and port that your network team has approved, and keep it in its own process so that action code runs separately from the guardrails runtime. Confirm the check by reading the startup log and then requesting the server's documented endpoint for listing registered actions, which should show your custom actions.
Point the guardrails configuration at the server
Add the address of the running actions server to your configuration as the documentation describes, so the guardrails runtime sends custom action calls to it instead of loading the action code locally. Keep system actions out of this step, since they stay in the guardrails process. Confirm the check by reloading the configuration and verifying in the logs that the runtime reports the remote actions server as its action endpoint.
Run a test request through a flow
Send a request that triggers a Colang flow which calls one of your isolated custom actions, using either the Python API or the guardrails server's HTTP API, depending on how your application integrates. Use a test input that you can predict the action result for, so that the expected output is clear. Confirm the check by verifying that the response contains the expected action result and that the actions server log records the call.
Confirm the server is reachable only from approved paths
Before treating the setup as ready, confirm with your network and security teams where the actions server sits, which callers can reach it, and whether its endpoints require authentication under your design. The documentation and your own environment define these controls, so confirm them rather than assuming defaults. Confirm the check by testing from an unapproved network location, which should fail, and from the approved guardrails host, which should succeed.
Which actions stay local and which move to the actions server
Not every part of a NeMo Guardrails setup can move to a separate actions process. Some components are tied to the guardrails runtime, while others hold logic or credentials that can run apart from it. Confirm each placement in the documentation for the exact version you deploy.
System actions stay local
System actions are built-in actions that the NeMo Guardrails runtime provides for its own control flow. The documentation for your version lists which ones are handled inside the guardrails process and which can be called elsewhere. Do not assume that a built-in action can be moved just because a custom action can. Before you split the deployment, list every system action your configuration triggers and confirm where the version in use executes it.
NeMo Guardrails docsCustom Python actions move out
Custom Python actions that call internal systems, look up records or apply business logic are the main candidates for the actions server. Moving them lets the process that talks to internal networks run apart from the process that screens model traffic. Confirm how the server discovers and registers action functions, how it passes arguments and results back, and what happens when an action raises an error in the version you run.
Colang flow logic stays
Colang flows decide which rail or action runs next and how a dialog branches. The guardrails process parses and executes these flows, so moving flow logic would split the control path across two processes. Colang 1.0 is the default and Colang 2.0 is also supported, and the two versions handle flows differently. Confirm which Colang version your project uses before you decide what the flows call remotely.
Configuration files stay put
The config.yml file, Colang files and prompt definitions are read when the guardrails configuration loads. Keep them with the guardrails service, and version them with the same release process as your code. Check whether the actions server needs its own copy of any file, such as a Python module that imports shared helpers. Confirm this in the documentation for your release, because the file layout required by the server can change between versions.
Internal API credentials move
Service credentials for internal APIs belong with the process that calls those APIs, not in the guardrails configuration or the model's context. Store them in your secrets manager and inject them into the actions server environment at startup. Confirm that no credential appears in config.yml, prompts, logs or action return values. Ask your security team to review which identity each action uses and whether it matches the least privilege the API requires.
Model-initiated calls route through rails
The model does not call the actions server directly. Its requests pass through the rails, which decide whether a named action may run and with which arguments. Confirm in the documentation for your version how tool calls from the model reach an action, and whether any path bypasses the rails. A design that lets the model reach the actions server without the rails in between removes the control that the isolation was meant to add.
Version documentationWhere the actions server belongs on your network in production
Place the actions server so that only the guardrails server can reach it, its outbound traffic can reach only the internal APIs its actions call, and no user, browser or public network path leads to it. The actions server runs code that calls your systems, so it holds the network reach and any credentials those calls need. Treat it as an internal service behind the guardrails server, never as an entry point. A practical check is to confirm that a host outside the guardrails server's network segment cannot open a connection to the actions server's port, and that the actions server reaches only the approved internal API addresses.
Co-locating the actions server on the same host or pod as the guardrails server is the simplest layout and keeps the call path short, but a compromise of either process then gives an attacker the network reach of both. A separate host or Kubernetes namespace lets you write network policies that admit traffic only from the guardrails server's workload, restrict egress to named API endpoints, and patch or scale the two processes independently. Choose separation when actions reach sensitive systems or when different teams own the two services. Co-location can suit a single internal assistant with low-risk, read-only actions, provided the decision is documented and reviewed.
Before relying on any authentication between the two processes, confirm in the NeMo Guardrails documentation what the actions server checks on incoming requests and how the guardrails server presents its credentials. Do not assume that a shared secret, mutual TLS or token check exists because the service is internal. Ask your implementation team to demonstrate, in your environment, that a request from an unlisted workload is refused and that any tokens or certificates are stored in your secrets manager and rotated on a schedule you set. Enforce network policy regardless of the answer, because it is the control you can verify directly.
Security and operating risks of a separate actions process
Moving custom actions into their own process adds a network hop, a second service to secure, and a second release to keep in step with the guardrails server. The cards below list the risks that follow from that split and what to verify in your own environment before production.
Authentication between the two processes
The actions server accepts calls that run code against your systems, so it must not accept anonymous requests. Confirm that only the guardrails server can reach the actions endpoints and that the connection is authenticated, using network controls, mutual TLS or a shared token issued from your secrets store. Test that a request from any other host, including a developer workstation, is refused. Document who rotates the credential and how often.
NeMo Guardrails docsCredential scope for internal APIs
Actions usually call internal APIs with service credentials, and those credentials are reachable by anyone who can invoke the actions server. Give each action its own least-privilege account, limit it to the endpoints and operations it needs, and keep secrets out of the guardrails configuration files. Verify this by listing every credential the actions server loads and confirming that each one maps to a single action or narrow group.
Logging action inputs and outputs
Action inputs often contain user text, personal data or account identifiers, and outputs can include records pulled from internal systems. Decide which fields are logged, mask or hash sensitive values before they reach log storage, and set a retention period that your privacy policy allows. Check the logs from a test run to confirm that no credentials or raw personal data appear in them.
Failure behavior when the actions server is down
If the actions server is unreachable, the guardrails server must decide whether to block the request, return a generic message or continue without the action. Failing open can let a request proceed without its intended check, so confirm the behavior your configuration produces in that state. Test it by stopping the actions server during a scripted conversation, and make sure the error returned to users does not reveal internal service names or addresses.
Scaling and health checks
The actions server becomes a shared dependency, so its latency and availability now limit every guarded conversation. Define a health endpoint that your orchestrator probes, set timeouts on the guardrails side, and load test with realistic action durations before choosing replica counts. Ask your platform team which probes and autoscaling signals your cluster supports and whether they match the server's startup time.
Upgrade coordination between processes
The guardrails server and the actions server share a contract: action names, parameters and return values. A version change on one side can break calls from the other, so release both processes together or keep the contract stable across a rollout. Before each upgrade, check the NeMo Guardrails release notes for changes to actions and the server, then run the test suite against both versions in a staging environment.
- Current release
- 0.25.0
What teams ask before running a NeMo Guardrails actions server
What drives the effort and cost of setting up a NeMo Guardrails actions server?
The cost follows the number and complexity of the custom actions, not the server itself. Each action needs its inputs and outputs defined, its calls to internal systems written and tested, and its error handling designed so the server fails safely. Costs also rise with the number of environments (development, test, production), the authentication model, logging requirements and the amount of network approval work. Ask any partner for a quote that lists these items separately: scoping and design, action development, deployment into your infrastructure, testing, and handover. Separate one-time build work from any recurring support or upgrade retainer.
How long does an actions server project usually take?
Duration depends on how many actions you isolate, how complex each one is, and how many internal systems each action must reach. A small set of read-only actions against one internal API is a very different job from dozens of write-capable actions across several systems with separate credentials. The longest steps are usually not coding but approvals: firewall changes, service account provisioning and security review of the network path. Ask for a timeline in the written scope that tracks each action and each approval as its own line, with the dependencies you must clear first.
What must our team provide before the work starts?
Plan to supply four categories of input:
- Documentation for each internal API the actions will call, including endpoints, authentication, rate limits and expected error responses
- Network approvals for the path from the NeMo Guardrails host to the actions server and from the actions server to each internal system
- Credentials for service accounts with the least privilege each action needs, delivered through your secrets management process
- Test data and staging environments that mirror production closely enough to validate each action
Missing any one of these usually moves the schedule more than the coding does.
Can an in-house team set up the actions server without a partner?
Yes, if the team already runs Python services and has someone who owns the internal APIs and the network path. The NeMo Guardrails library is open source, and its documentation describes running the actions server as a separate process. What an in-house team often lacks is capacity for the review-and-test cycle: writing negative tests for each action, confirming that failures do not leak internal details, and documenting the setup for auditors. Consider a partner for the parts you cannot staff, such as security testing of the new network path, and keep ownership of the actions and credentials in your team.
Does the Apache 2.0 license mean the actions server is free to run?
The NeMo Guardrails library is licensed under Apache 2.0, so you can use, modify and deploy it without a license fee for the library itself. The license does not cover your infrastructure, your engineering time, or any NVIDIA AI Enterprise subscription you may choose to buy. Confirm with your legal team what the Apache 2.0 terms require for your use, and check the NeMo Guardrails license file and release notes when you pin a version. Budget for hosting, staff time and any partner work separately from the license question.
How does the NeMo Guardrails microservice sunset affect our decision?
NVIDIA has retired the NeMo Guardrails microservice: its NGC catalog page says NeMo microservices has been sunset as of October 1, 2026, with no new releases and no support for the artifact. If your plan assumed that container, move to the open-source library and run the actions server from your own image. NVIDIA's archived documentation directs existing NeMo Microservices users to their account team for next steps. Ask your NVIDIA contact which path they recommend for your deployment, and confirm that any new platform you adopt is one you can operate inside your infrastructure.
What should a quote for the actions server include?
A useful quote lists the work as line items tied to the written scope. Ask for the inventory of actions with their inputs, outputs and target systems; the deployment topology, including host placement and network rules; the testing approach, including negative and failure-path tests; the documentation and handover deliverables; and any retest after fixes. Ask which items are one-time and which recur, such as upgrades to new NeMo Guardrails releases, which the 0.25.0 release on 19 November 2026 illustrates. Request the assumptions and the client-supplied inputs in writing so both sides can see what would change the price.
Limits to confirm before you rely on the actions server
The actions server moves custom actions into their own process, which adds a deployment surface you must pin down. The cards below list what to confirm in your target environment before you standardize on a version, copy endpoints into a runbook, or design network placement.
Library version and Python version
Pin the NeMo Guardrails release and the interpreter it runs on before writing any action code. The current release is 0.25.0, which requires Python 3.11, 3.12 or 3.13. Confirm that your base image, CI runners and security-approved Python builds all match, because the actions server and the client application must agree on the same library version.
PyPI package pageServer options and endpoints match your version
Check the startup options, HTTP endpoints and request formats against the documentation for the exact version you run, not a newer or older one. Action servers change between releases, so a client written against one endpoint shape can fail silently after an upgrade. Record the verified endpoints in your runbook and add a contract test that calls each one.
NeMo Guardrails docsActions the documentation keeps local
Some built-in system actions are designed to run inside the main guardrails process and are not meant to move to the actions server. Ask which actions your configuration calls, then confirm from the documentation whether each one can be served remotely. Actions that stay local keep their own dependencies and secrets in the main process, which affects your network and permission design.
Supported deployment packaging
Confirm which packaging NVIDIA supports for your version: the Python package, the Dockerfile that builds a guardrails server image, or another container build. Do not assume a published image exists for the actions server. Decide who builds, signs and patches the image, and whether your change process accepts a self-built image in your registry.
Colang 1.0 to 2.x migration coverage
Confirm whether the Colang 1.0 to 2.x migration notes cover how the actions server is called from flows, because converted configurations still need manual review. Colang 1.0 is the default, so a configuration that depends on the server may be written in either language. Test both paths with the same action calls before you cut over.
Colang 2 migration guideMicroservice sunset and licensing
The NeMo Guardrails microservice is sunset, but the open-source library remains under Apache 2.0, so the sunset does not change the library's license terms. It does mean that any container you took from the retired microservice catalog is no longer maintained. Confirm your own deployment choices, including who supports the server image and where security patches come from.
NGC guardrails containerHow DeployOpen scopes and delivers an isolated actions server
DeployOpen plans and builds the actions server as part of a written, fixed-scope engagement, separating custom actions from the guardrails process and placing the server inside your own network. Each step is documented so your security and platform teams can review the design, the network paths and the operating procedures before go-live.
How we scope
- We inventory which custom actions must run out of process and which system actions stay in the guardrails process.
- The written scope names the NeMo Guardrails version, Python runtime and the internal systems each action calls.
- Scope records network paths, credential locations and who owns each action so the boundary is agreed before build.
How we build
- We configure the actions server with its endpoints, action packages and the guardrails configuration that calls them.
- We place the server in the network zone you choose and restrict reachable paths to the guardrails process only.
- We test failure behavior, including how the guardrails layer responds when the actions server is unreachable or slow.
How we hand over
- You receive configuration files, network placement diagrams, firewall rule records and a runbook for starting and restarting the server.
- Test results and the fail-closed verification record are delivered with the design for your security review.
- Knowledge transfer sessions cover action changes, version upgrades and how to add a new action safely.
How we support
- Ongoing support, upgrades and continuous testing are available as a retainer after handover.
- Retainers can cover NeMo Guardrails version upgrades, which we plan against the published release notes.
- Confirm with us during scoping which support hours, response paths and change approvals your organization needs.

