Prompt Engineering · Masterclass · Prompt methods & quality

Guardrails for AI Learning Services: A Masterclass on Protective Layers, Edge Cases and Evidence

Decide what your AI learning service may and may not do, implement those rules in several protective layers and show with tests that they work without needlessly holding learners back.

  • Workshops & trainings since 2014
  • jocapps GmbH · Freiburg, Germany
  • The team behind Mathe-VollLogo
Format
Masterclass
Duration
1 day (7.5 hours)
Delivery
Live online · On-site (in-house) · Hybrid
Group size
4–10 participants
Level
Advanced
Language
German or English

Tools: OpenAI API · Anthropic API · Llama Guard · promptfoo · JSON Schema

An AI learning service for teenagers has to do more than get the maths right: in practice mode it must not hand out finished solutions, it must not produce unsuitable content or ask for personal data, and it has to refer learners to people when there are signs of real distress. Guardrails for AI learning services implement such rules in layers, from the written policy through input checks and system prompt to output checks, moderation and human escalation. In the masterclass you design these layers for your product, test them against an edge-case catalogue and measure how often they are too strict or too lenient.

Who the guardrails masterclass is for

Product owners, AI developers and trust and safety and learning design teams at edtech companies, publishers and education providers who run or plan AI assistants for learners, often minors. Experience with system prompts and model APIs is assumed.

What you'll walk away with

  • Write a policy that sets out what your learning service may do, what it declines and when it hands over to people
  • Combine protective layers for inputs, system prompt, outputs and tool calls sensibly
  • Build checks specific to learning contexts, for example against revealed solutions and unsuitable content
  • Word refusals and redirections so that they stay friendly and still support learning
  • Use an edge-case catalogue to measure how often protective layers react too strictly or too leniently

Typical scenarios

  1. A practice app uses an output check to detect when the tutor writes out a complete solution in practice mode and replaces it with a tiered hint.
  2. A learning portal defines how the assistant responds to signs of overload or crisis and, in such cases, points to people who can help instead of carrying on with the maths.
  3. A product team finds that a moderation layer blocks harmless questions about probabilities in games of chance and adjusts the rules using the edge-case catalogue.

Does this fit your team?

Pick a few dates that suit you. The request is non-binding, and the agenda is tailored in a short call beforehand.

Request dates

What the guardrails masterclass covers

  1. Policy before technologyWhat the learning service may do, what it declines and when it hands over, agreed between product, pedagogy and legal.
  2. The layered modelInput checks, system prompt, output checks, moderation, tool permissions and human escalation working together.
  3. Checks for learning contextsDetecting revealed solutions, age-appropriate content, requests for personal data and mathematical plausibility.
  4. Declining helpfullyWording that sets limits and still moves learning forward instead of turning learners away.
  5. Edge-case catalogue and measurementTest cases for over- and under-blocking, automated scoring and the trade-off between protection and usability.
  6. Evidence and operationsDocumentation, proportionate logging, handling reports and placing regulatory requirements in context.

Before the guardrails masterclass: prerequisites

  • Experience with system prompts and at least one model API
  • An existing or planned AI learning service for which you want to develop rules
  • Ideally, anonymised examples of problematic dialogues from testing or production

Materials you keep

  • A draft policy and layered model for your learning service
  • An edge-case catalogue with test cases for over- and under-blocking
  • Templates for helpful refusals and for documenting your safeguards

How it works

  1. Request with preferred datesTick the date proposals that suit you or name a period of your own.
  2. Short callWe talk about your goals, prior knowledge and the tools your team already uses.
  3. Agenda for your teamYou receive a plan tailored to your group, with exercises that match your subject and material.
  4. Course and materialsThe course runs online, on-site or hybrid, and you keep the materials afterwards.

Why train with us

  • jocapps GmbH has offered workshops and trainings since 2014. The topics have moved with the technology; today the focus is on agentic coding and prompt engineering.
  • Hands-on rather than slides: you practise on realistic examples from maths and STEM, or on your own tasks, code or prompts if you wish.
  • Online, on-site or hybrid, held in German or English.
  • jocapps GmbH is certified to ISO 27001 (information security) and ISO 9001 (quality management).

Questions about the guardrails masterclass

Isn't the model provider's moderation service enough?

Moderation services are a sensible layer, but they do not know the rules of your learning service, such as not revealing solutions in practice mode. That is why we combine general moderation with checks tailored to learning contexts and test both together against your edge-case catalogue.

How does this masterclass differ from the prompt injection workshop?

The workshop focuses on attacks and how to fend them off. The masterclass looks at the entire rule set of a learning service: harmless but problematic situations too, helpful refusals, escalation to people and evidence that the protective layers work as planned.

Which legal requirements play a role?

Depending on the use, data protection, child protection and obligations under the EU AI Act are relevant, and certain applications in education face stricter requirements. We put these topics into context; the binding assessment is made by your legal department together with the data protection officer.

Is the masterclass held online or on-site, and in which language?

Both are possible: live online, at your premises (in-house) or hybrid. The course is held in German or English; you choose when you send the request.

Can the content be tailored to our team?

Yes. The agenda, examples and emphasis are agreed in the call beforehand, based on your team's prior knowledge, subjects and tools. On request we work with your own exercises, data or code.