NeMo Guardrails for education

NeMo Guardrails for education keeps tutoring and campus assistants on subject, filters content for students and protects education records in infrastructure your institution controls.

On this page

Why NeMo Guardrails for education needs rails before students use the assistant

A university, college or school that wants a tutor or campus assistant needs input, dialog and output rails around the model before any student uses it. NeMo Guardrails for education adds those rails so the assistant stays on subject, filters unsafe content and handles student records under institutional control. NeMo Guardrails is an Apache 2.0 Python library and server. Its rails are set in a config.yml file, with optional Python actions and Colang files for dialog flows. The institution owns the configuration, so it also owns the job of testing it and producing the evidence that the rails work for its student population.

Use the library or server path for this build. NVIDIA has sunset the NeMo microservice as of October 1, 2026, and the NGC catalog says it will receive no new releases, so a new education deployment should not start on it. Confirm the current release and its Python requirements with NVIDIA before you lock a version, since the library changes between releases and Colang 1.0 is the default configuration language. Decide early whether the assistant runs as a Python application or as a guardrails server with an HTTP API, because that choice sets how your learning platform calls the rails and where logs are written.

Treat the rails as a control you must be able to explain to a registrar, a data protection officer or a parent. Decide who approves the rail configuration, who can change it, and how each change is tested before release. Ask your vendor or internal team to confirm which safety models and integrations run in your environment, and whether any of them send student text to an external service. Those answers determine whether the education guardrails can be reviewed under your institution's own data controls.

Which education rules shape the guardrail build

This table lists the education and data protection rules that bear on a tutoring or campus assistant built with NeMo Guardrails, with the source, what each requires of the assistant, and what that means for rails, hosting and logging. Read each row as a question to answer with your compliance team before the design is fixed, since the rules overlap and several apply at once.

RequirementWhat it requires of the assistantWhat it means for rails, hosting and logging
FERPA (34 CFR Part 99)Applies to institutions receiving Department of Education funds. A contractor may handle education records only as a school official under direct institutional control, with redisclosure limits and access limited to legitimate educational interests (34 CFR 99.31).Scope the assistant's retrieval and tools so each user sees only their own records. Host it under institutional control, and log each access or disclosure of student information with the parties and their interests (34 CFR 99.32).
COPPA (16 CFR Part 312, amended 22 April 2025)Operators collecting personal information from children under 13 need a written information security program, a designated coordinator, at least annual risk assessments, and a written retention policy with a deletion timeframe (16 CFR 312.8 and 312.10).Add input rails that detect and avoid collecting personal details from young learners. Keep prompt and transcript retention short and configurable, and document deletion jobs for logs and vector stores.
GLBA Safeguards Rule (16 CFR Part 314) for Title IV institutionsTitle IV institutions agree to comply in their Program Participation Agreements. The rule requires a written information security program and multi-factor authentication for anyone accessing any information system (16 CFR 314.4).Put operator and admin consoles for the guardrail configuration behind MFA. Keep rail configurations, Colang files and action code under version control so changes are traceable to a named approver.
ADA Title II web and mobile accessibility (28 CFR Part 35 Subpart H)Public institutions must make web and mobile content accessible under the Title II rule. The assistant's interface and its refusal or redirect messages are part of that content.Plan refusal and fallback messages as accessible text the front end can render. Test rail responses with assistive technology, since guardrail messages are otherwise easy to leave out of accessibility reviews.
GDPR (Regulation (EU) 2016/679)EU campuses processing student personal data need a lawful basis, data minimization, storage limits and the ability to honor access and erasure requests.Choose self-hosted safety models and self-hosted hosting in EU regions where possible. Avoid sending student prompts to third-party moderation APIs unless the data transfer terms have been reviewed.
NIS2 (Directive (EU) 2022/2555)Applies to covered entities in designated sectors, and some universities fall within it. It expects risk management, incident handling and security controls over the systems they run.Include the assistant in the institution's incident process. Log blocked requests, jailbreak attempts and rail failures in a form the security team can triage and report.

Which NeMo Guardrails rails and settings matter for a tutor

A tutor needs more than a generic safety filter. Each rail type addresses a different way a student conversation can go wrong, from off-topic chat to answers that stray outside approved course material. The institution's job is to decide the policy each rail enforces before the configuration is written.

Input rails for age and injection checks

Input rails run before the model sees a student message, so they are the first place to screen for age-inappropriate requests and prompt injection attempts such as instructions to ignore the course rules. The institution must decide which age bands apply to the student population, since a campus assistant for graduate students and a tutor for primary pupils need different thresholds. Check which built-in jailbreak and injection detection the chosen version includes, and test it with messages students actually send, not only with textbook attacks.

NeMo Guardrails docs

Dialog rails and Colang flows

Dialog rails define how a multi-turn tutoring conversation should move, for example guiding a student toward a hint rather than a finished answer to a graded problem. Colang 1.0 is the default, and Colang 2.0 is also supported, so the team must pick one and plan the flows around it. Decide which subjects, course units and study behaviors the assistant handles, and write the off-topic redirect message the institution is willing to show students.

Output rails for unsafe or off-syllabus answers

Output rails check the model's reply before a student sees it, catching unsafe content and answers that go beyond the course scope. The institution must define what counts as off-syllabus for each course, such as whether a biology tutor may explain a chemistry concept. Test output rails against the answers a model gives to borderline study questions, since over-blocking can frustrate students as much as under-blocking can expose them to harm.

Retrieval rails for approved course materials

Retrieval rails govern which chunks from the knowledge base may inform an answer, so a tutor grounded in course notes does not draw on unvetted sources. The decision is which textbooks, lecture notes and past materials are approved, and who signs off on each version when a course changes. Confirm how the chosen version passes retrieved chunks through the rails and whether answers can cite the source they came from.

Execution rails for LMS and SIS actions

Execution rails control the custom actions a tutor can call, such as reading a learning management system grade or looking up a student record in the student information system. Each action is a path to personally identifiable information, so the institution must decide which roles and actions are allowed and whether the tutor may read or only write. Keep credentials for these actions in the institution's own secrets store, and log each call so the disclosure can be traced under the institution's FERPA recordkeeping.

34 CFR Part 99

How a student request moves through the guardrails

A student message starts in the campus app and passes through input rails for safety, prompt injection and topic checks before it reaches the model endpoint. The model's draft then goes through output rails, and retrieval rails ground answers in approved course content. An optional LMS action can run before the reply returns. The campus network is the trust boundary, and guardrail logs stay in the institution's own infrastructure. Check that each log entry is written inside that boundary and that the rails fail closed.

Request flow through input, model, output and retrieval rails inside the campus boundary.

Where the guardrail server can run for student data

The campus owns the cloud subscription, the identity tenant and the encryption keys, and runs the guardrail server as a container or Python process inside its own virtual network. Campus cloud administrators decide what runs there and who can reach it. Student conversations pass through the server only as far as the configuration sends them, so the log sinks, any transcript storage and the monitoring workspace each need a deliberate choice. The server can be built from the Dockerfile provided with NeMo Guardrails and deployed to a container service, or run through the Python API inside an application the campus already hosts. Version 0.25.0 requires Python 3.11, 3.12 or 3.13.

  • Key holder: The campus holds the account owner role and customer-managed keys for storage and logs, so it can revoke access without waiting on the provider.
  • Log and record location: Guardrail traces, blocked-request records and any stored transcripts sit in campus storage and logging workspaces, with a retention period the campus sets.
  • Administration: Campus cloud administrators and the platform team manage deployments. Staff who support students get read access only to logs that have been reviewed for personal data.
  • Provider terms: Confirm the provider's data processing terms, the regions where data is stored and processed, and which sub-processors can reach logs.
  • Build: Pin the Python version to 3.11, 3.12 or 3.13 and the NeMo Guardrails release inside the container image.

Confirm that every model and safety classifier endpoint the configuration calls is covered by the same processing terms and region commitments.

How a campus rollout of NeMo Guardrails proceeds

The sequence moves a campus assistant from scoped requirements to a monitored production service, with each stage producing evidence that instructors, privacy officers and IT can review before students depend on it.

  1. Scope age bands, courses and data flows

    Work with the academic team, the registrar's privacy contact and the students' representatives to define which age bands the assistant serves, which courses and topics it covers, and which student data it may see. Map each data flow from the student prompt through the model, any retrieval store, logs and backups. Confirm whether any student may be under 13, because that determines whether the COPPA Rule applies to the operator. The output is a signed scope document listing topics, bands, data categories and retention owners.

  2. Decide hosting and identity

    Choose where the NeMo Guardrails server and the model endpoints run, such as campus data centers or a cloud account the institution controls, and confirm how students and staff sign in. Record whether any external moderation or model API receives student text, since that becomes a disclosure to review under FERPA's school official conditions if a contractor operates the system. Confirm multi-factor authentication for administrative access, as the GLBA Safeguards Rule requires for information systems where the institution is a Title IV participant. The output is a hosting and identity decision record that the privacy office can approve.

  3. Build configuration in a non-production environment

    Create the config.yml, Colang files and any Python actions in a staging environment that mirrors the chosen hosting. NeMo Guardrails 0.25.0 requires Python 3.11, 3.12 or 3.13, so pin the runtime and record the version. Define input and output rails for age-appropriate content, on-subject dialog flows and refusals, and any custom actions that call course systems. If an existing configuration uses Colang 1.0, convert it with the nemoguardrails convert tool, but treat the converted output as a draft because NVIDIA says converted configurations still need manual review. The output is a versioned configuration in source control with a change log.

  4. Test against student misuse and course coverage

    Build a test set from the scope document covering off-topic requests, attempts to obtain answers to graded work, jailbreak and prompt injection attempts typed by students, and requests that reveal another student's records. Run each case against the staging server and record the rail that fired, the response and any data written to logs. Add course-coverage cases so instructors can confirm the assistant answers in-scope questions. Repeat the suite after every configuration change. The output is a test report with pass and fail results, and known gaps assigned to an owner.

  5. Run a limited pilot with a named group

    Enroll a named set of instructors and students in a pilot, with agreed courses, a point of contact and a feedback channel. Tell participants what the assistant logs and how long those logs are kept before they start. Review flagged interactions, refused answers and any reports of harmful or misleading output with the academic and safeguarding staff at a set interval agreed in advance. The output is a pilot review that lists changes to rails, topics and logging before wider release.

  6. Move to production with logging, retention and review

    Before broad release, confirm the log schema excludes data the scope did not justify, set retention periods in writing, and document the deletion process. Under the COPPA Rule, operators must keep a written data retention policy with a deletion timeframe and a written information security program, so align these documents with the institution's own records policy. Schedule recurring configuration reviews and repeat the test suite after each NeMo Guardrails upgrade. The output is a production runbook, a retention schedule and an evidence file that the privacy and security teams can inspect.

Which controls and evidence campus reviewers ask for

Campus privacy and security reviewers test a tutoring or campus assistant against specific federal and international duties, not against the guardrail library itself. The cards below connect each duty to what NeMo Guardrails configuration, logs and tests can show, and to what the institution still has to produce on its own.

FERPA access limits and disclosure records

FERPA requires institutions to limit school officials' access to education records to legitimate educational interests and to record each disclosure of personally identifiable information, with the parties and their interests. NeMo Guardrails can enforce topic and retrieval scope in the assistant and emit structured logs of blocked and allowed requests, which feed those records. The institution must still decide who holds access, keep the disclosure register and answer inspection requests within 45 days. Check whether guardrail logs capture the student identity and data source needed for that register.

34 CFR Part 99

Contractor as school official conditions

A vendor or implementation partner may receive education records as a school official only when it performs a service the institution would otherwise use staff for, stays under the institution's direct control, and observes redisclosure limits. Self-hosting NeMo Guardrails inside the campus or a campus-controlled cloud account keeps the assistant under that control. The institution must still hold the contract terms, the control evidence and the list of people with administrative access. Ask for those terms in writing before any student data reaches a test or production environment.

Written program and MFA for safeguards

Institutions that take part in Title IV federal student aid agree to the GLBA Safeguards Rule, which requires a written information security program and multi-factor authentication for anyone accessing an information system. NeMo Guardrails does not provide identity or MFA on its own, so access to the guardrail configuration, the server and the logs depends on the campus identity provider. The written program, risk decisions and MFA enforcement belong to the institution. DeployOpen can prepare configuration and access evidence for review, but the Department of Education examines compliance through its own audits.

16 CFR Part 314

COPPA retention and security obligations

Where an assistant collects personal information from children under 13, COPPA requires a written information security program with a designated coordinator, periodic risk assessments and a written retention policy with a deletion timeframe. Guardrail configurations can mask personal data before it is logged and can limit what the assistant collects in conversation. Log retention, deletion jobs and the risk assessment itself remain the operator's responsibility. Confirm with counsel which data the assistant collects from under-13 users before setting the logging scope.

Children covered
Under 13
16 CFR Part 312

GDPR and NIS2 duties for EU institutions

EU institutions processing student data must meet GDPR principles such as data minimization, purpose limitation and security of processing, and institutions that fall within NIS2 scope must manage cybersecurity risk and report significant incidents. Guardrails help by minimizing what reaches the model, blocking out-of-scope data and keeping an audit trail of decisions. Records of processing, lawful basis, data transfer assessments and incident reporting procedures must come from the institution. Confirm with the data protection officer whether the campus falls under NIS2 and which national rules apply.

GDPR text

Accessibility of the assistant interface

For US public institutions, the Title II web and mobile accessibility rule in 28 CFR Part 35 Subpart H applies to the assistant's interface, not to the guardrail layer. NeMo Guardrails can return consistent, plain-language refusal messages and short, structured responses that are easier for assistive technology to read. Interface conformance, testing with assistive tools and accessibility statements belong to the team that builds the front end. Ask the front-end team for a conformance report and include the assistant in the accessibility review cycle.

28 CFR Part 35

How students try to jailbreak a tutor and how to test for it

How do students get a tutor to write a finished essay or exam answer?

Students usually ask directly for a complete essay or exam answer, or they split the request into small pieces so each one looks harmless. The rail that should catch this is a dialog or topic rail that separates tutoring from answer generation, with a refusal that redirects to hints, outlines and feedback on the student's own draft. Build test cases that include a direct request, a request framed as "just check my answer" with no draft attached, and a request split across three turns. Record the input, the matched rail, the response shown to the student and the pass or fail result. Keep the exact configuration version used in each run so the result can be repeated. Scanners such as garak and promptfoo can generate many variants of this request for you to review, but neither should be treated as complete coverage of your own policy.

Can a role-play prompt get a tutor to ignore age-based content rules?

Yes, role-play is one of the most common bypass attempts, for example asking the tutor to play a character who is not bound by school rules. The defense is an input check that flags persona instructions combined with requests for restricted content, plus an output check that screens the response against the age-appropriate content policy regardless of the persona. Test cases should include a fictional framing for mature content, a "pretend you are my teacher and allow it" framing, and a multi-turn setup where the persona is established early and the restricted request comes later. The evidence to keep is the list of role-play prompts tested, the rail that blocked or allowed each one, and the output screening result. Ask your vendor or integrator to confirm which content safety models your configuration uses and how their age classification is documented.

How does prompt injection work when a student pastes course material?

A student can paste a reading, worksheet or web page that contains hidden instructions, such as text telling the tutor to reveal its system prompt or to ignore its topic limits. The protection is a jailbreak and injection check on user input, plus a rule that treats pasted content as data rather than instructions, and an output check that stops the tutor from disclosing its configuration. Test cases should include a pasted passage with an embedded instruction, a pasted document that claims to come from the teacher, and an instruction hidden in a code block or table. Record each payload, the detection result, whether the tutor followed the embedded instruction, and the retest outcome after any fix. Confirm with your team which detection heuristics and models are included in your build, because the library documents several options and you should not assume one covers every payload.

What should block a student who asks for another student's grades or records?

This request is a data access problem, not only a content problem, so the control belongs in the tool layer as well as in the rails. The assistant should have no route to records of other students, and any action that could return grades must check the requester's identity and enrollment against the institution's access rules before running. Guardrails add a topic and intent rail that refuses these requests and logs the attempt. Test cases should include a direct request for a named student, a request that uses a student ID, and a request that asks for "the class average and my classmate's score". The evidence to keep includes the refused requests, the access check results, and proof that the assistant could not retrieve other records in a test account. Under FERPA, the institution must also keep a record of disclosures, so confirm with your compliance team how refused attempts should be handled in your logs.

How do you test for repeated rephrasing across many turns?

Students often rephrase the same blocked request over many turns, changing wording until one version gets through. Guardrails should evaluate each turn with the conversation history, and the dialog rules should track refusals so repeated attempts are handled consistently. Build a test that sends the same forbidden request in ten or more paraphrases within one session, and another that mixes harmless turns with a restricted request later. Record how many attempts were made, which turn first passed or failed, and whether the rail behavior stayed the same across turns. Keep the test scripts and the configuration version together so the run can be repeated after each update. Ask your integrator to explain how session state is stored and how long it is kept, since conversation history can contain student personal data that falls under your records policy.

What evidence should an institution keep after testing student jailbreak defenses?

Keep a test register that lists each tactic, each test case, the expected rail behavior, the actual result, the configuration version, the model versions and the date of the run. Also keep the scanner reports from garak or promptfoo if you use them, with a note on which probes were run and which were not, and the findings log with fixes and retests. This record helps you explain your testing to a reviewer without overstating what the tools cover. Store test transcripts in a location that follows the same access and retention rules as other student data, and remove sensitive content from test artifacts where possible. Ask whether your compliance function needs the register mapped to a specific framework, because the mapping is a compliance task that your team and independent assessors should own.

What campuses ask before hiring help with NeMo Guardrails

How much does a NeMo Guardrails education build cost?

DeployOpen does not publish a price list, and a quote follows from a written scope. The main cost drivers are the number of courses and tutoring subjects the assistant covers, the age bands it must treat differently, the number of systems it connects to such as the LMS, student information system and identity provider, where the models and guardrails are hosted, and how much testing is included, including jailbreak testing against students. Ask for the quote to separate one-time build work from recurring costs such as upgrades, model hosting and retesting. The NeMo Guardrails library itself is open source under the Apache 2.0 license, so the license is not usually the main cost. Ask any provider to show the hours or deliverables behind each line.

How long does a campus NeMo Guardrails implementation take?

The duration depends on scope, so no fixed timeline applies. The schedule is set by the number of course areas, the age bands in scope, the integrations with campus systems, and how many rounds of review and testing the institution requires before students use the assistant. Campus approvals, such as privacy office review and accessibility checks, often set the pace more than the engineering does. Ask for a timeline in the written scope with milestones for configuration, integration, testing and go-live, and confirm which of those milestones depend on decisions or access from your staff.

What must the institution provide before a build starts?

The institution provides the people and access that only it can supply. Typically this includes:

  • A named owner for the tutoring or campus assistant and a decision maker for scope and content policy
  • Approved course materials and subject boundaries that the assistant may answer from
  • Access to the hosting environment, identity provider and any LMS or student systems the assistant will connect to
  • Confirmation from the privacy office on which student data may reach the model and how long logs are kept
  • Test accounts and a student-representative test group for jailbreak and off-topic testing

Confirm these items early, because missing access is a common cause of delay.

Can our internal team build NeMo Guardrails for education alone?

Often yes, if the team has Python engineering skills, has run LLM applications before, and can staff ongoing testing. The NeMo Guardrails library runs from a Python API or a guardrails server that loads configurations from a folder, and the configuration uses a config.yml file, optional Python actions and Colang files. The harder parts are the age-appropriate policy, the subject boundaries, the FERPA and COPPA reasoning behind data handling, and adversarial testing with students in mind. Many campuses keep policy decisions in-house and bring in outside help for build, hardening and testing. Be honest about who will maintain the rails after launch.

How does the NeMo microservice sunset affect a new build?

NVIDIA has retired the NeMo Guardrails microservice, and its NGC catalog page says NeMo microservices has been sunset as of October 1, 2026 with no new releases or support for the artifact. A new build should therefore use the open-source library, not the microservice container. The current library release is 0.25.0, published on 19 November 2026, and it requires Python 3.11, 3.12 or 3.13. NVIDIA's archived documentation directs existing microservice users to their account team, and the NeMo Platform repository now points to NVIDIA-NeMo/nemo-helix, which runs guardrails as gateway middleware. Ask any provider to state which deployment path they recommend and why, and to confirm how upgrades will be handled.

Who owns the compliance evidence for the assistant?

The institution owns its compliance obligations and the evidence that supports them. FERPA, COPPA where children under 13 are involved, and GLBA Safeguards Rule requirements for Title IV institutions each place duties on the institution or its service providers. DeployOpen prepares systems, controls and evidence for compliance assessments, such as configuration records, logs and test results, but it does not issue audit reports, attestations or certifications. Independent auditors and certification bodies do that work. Agree in writing which evidence is delivered, where it is stored, and who keeps it current after go-live.

What questions should we ask a provider before signing?

Start with a written scope that names the courses, age bands, integrations and hosting location. Then ask how the provider will test against students trying to jailbreak the assistant, how it will document the rails and logs, and what happens when Colang or library versions change. Ask whether the work is fixed scope with agreed deliverables and timelines, and what ongoing support or retesting is offered as a separate retainer. Ask for a list of what the institution must provide, and for the people who will do the work.

How DeployOpen scopes and delivers an education guardrail build

DeployOpen plans, implements, tests and documents NeMo Guardrails for education inside the institution's own infrastructure, so tutoring and campus assistants run where student data stays under the institution's control. Each engagement starts from a written scope that sets out the rails, hosting, testing and handover for the specific assistant.

How we scope

  • Map which student populations, age groups and data types the assistant will handle before choosing any rail.
  • Agree in writing which rails are in scope: age-appropriate safety, subject limits, student data handling and jailbreak testing.
  • Confirm hosting boundaries, identity sources and the records the institution's compliance team will need to review.

How we build

  • Configure a Colang and config.yml setup on the NeMo Guardrails version the institution has approved, with the Python version it requires.
  • Connect the rails to the institution's chosen model endpoints and single sign-on, keeping logs and configuration in its environment.
  • Test each rail against student-style prompts, including attempts to bypass topic limits, and fix gaps before handover.

How we hand over

  • Deliver configuration files, custom actions, test cases and a runbook that staff can read without DeployOpen involved.
  • Document which controls map to the institution's FERPA, COPPA or GLBA obligations, and where the institution must still make its own decisions.
  • Walk the institution's IT and compliance staff through the test results, known limits and the review steps for future changes.

How we support

  • Offer ongoing support, upgrades and continuous testing as a retainer when the institution wants them.
  • Plan version upgrades and Colang migration reviews, since converted configurations still need manual review.
  • Retest the assistant after rail changes, new model versions or new student-facing features, and report the results in writing.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.