Agentic coding & agent engineering

Policy-as-Code for AI Agents

Rules written only in prompts can be talked around. Learn to enforce agent policies in code, outside the model, where they are tested and audited.

Format
Training
Duration
2 days
Mode
Live online or on-site
Group size
4–12 participants
Level
Advanced
  • Workshops & trainings since 2014
  • Taught by AI Code Engineers
  • German or English

Policy-as-code training at a glance

Many agent rules live only in prompts: do not approve refunds above a limit, never send data outside the EU, ask before deleting records. Prompts can be misunderstood or manipulated, and nobody can prove which rule was in force last month. After this two-day training your engineers can move such rules into policy-as-code. You compare policy languages and engines, model agent permissions, limits and data rules as policies, place enforcement points at tool calls, retrieval and outputs, and design what happens on a denial, including escalation to a person. Policies get versioned, tested and reviewed like any other code.

Who the policy-as-code training is for

Platform engineers, security engineers and governance architects who want agent rules to be enforced consistently by systems rather than only written into prompts.

What you'll walk away with

After the policy-as-code training, you can:

  • Identify agent rules that must be enforced outside prompts
  • Model policies in a policy language and engine
  • Check planned actions against policies before execution
  • Return understandable denial reasons to agents and users
  • Test, version and review policies like code

Use cases for the policy-as-code training

  1. A refund agent's limit was written in its prompt and ignored under pressure. A policy at the refund tool now rejects any amount above the limit regardless of what the model decides.
  2. Data residency rules differ by customer. Policies evaluated at retrieval time keep EU-only customer data away from tools that run elsewhere.
  3. Auditors want to know which rules applied to an agent in March. Versioned policies in Git answer that with a commit history.

Run it with your team

Pick dates in the request form. We reply within one business day with a confirmed date and an agenda proposal.

Request dates

What the policy-as-code training covers

  1. Why policy-as-code

    Limits of prompt-based rules and where enforcement must happen.

  2. Policy languages and engines

    Open Policy Agent with Rego and Cedar compared, and how to choose.

  3. Modelling agent policies

    Actions, resources, context and attributes for typical business rules.

  4. Enforcement points

    Agent hooks, tool middleware and API gateways as places to evaluate policies.

  5. Denials and escalation

    Reason codes, approval requests and what the agent should do after a denial.

  6. Policy lifecycle

    Unit tests, review by compliance, versioning and decision logs.

Prerequisites

  • Programming experience and familiarity with APIs
  • Basic understanding of how agents call tools

Materials you keep

  • Policy library for typical agent rules
  • Enforcement middleware example
  • Policy test suite and review template

Related offers: AI governance and compliance

Request this course

Pick one or more dates that suit you. We confirm within one business day and send an agenda tailored to your team. Non-binding.

Proposed dates (about two weeks from now, times in CET/CEST)

Non-bindingReply within one business day

Request dates

How it works

  1. Request

    Send the form with your preferred dates or a period that suits you.

  2. Short call

    We talk briefly about your goals, your team's prior knowledge and your systems.

  3. Tailored agenda

    You receive an agenda tailored to your team and a confirmed date.

  4. Workshop and materials

    We run the session live online or on-site, and you keep the materials and templates.

Why train with us

Experience

We have offered workshops and trainings since 2014. The topics have moved with the technology; today our focus is agentic coding, AI coding tools and prompt engineering for responsible AI agents.

Hands-on, not slides

You work on realistic examples from your domain, or on your own code, prompts and processes if your security rules allow it.

Your format, your language

Live online, on-site at your location or hybrid, in German or English.

Certified through jocapps GmbH

kalAIDoCreate is a venture of jocapps GmbH, which is ISO 27001 and ISO 9001 certified.

Questions about the policy-as-code training

Do we need a policy engine for every agent?

Not for simple agents with few, low-risk tools. Once several agents share rules or actions have real impact, a central engine pays off.

Can compliance staff read the policies?

Policy languages are more readable than general code, and we show how to add plain-language descriptions and test cases that reviewers can follow.

Does this replace prompt instructions?

No. Instructions guide behaviour and reduce denials; policies guarantee limits. Both work best together.

Can the course run online or on-site, and in which language?

Both. We deliver it live online or on-site at your location, in German or English. For distributed teams a hybrid setup is possible as well.

Can you tailor the content to our organisation?

Yes. Every course starts with a short call about goals and prior knowledge. We adapt examples, exercises and depth to your processes, systems, approved tools and security rules, and we work on your real use cases if your data protection rules allow it.

Free intro call

Tell us which task an AI agent should take responsibility for. We show how our platform, AI Code Engineers and operations plug into your stack.

  • 30 minutes, no obligation
  • Honest feasibility check
  • Concrete next step
Rather talk now? 24/7 call support in English and German+49 761 519 751 50