Mirage Academy · Prompt engineering

Prompt engineering course: test finished prompts with your own text while fixed rules check the answer

Prompt engineering is writing the instruction text for a model. You practice putting an instruction together on an example below. In an Academy live lab you get a finished prompt and test it with a text of your own: a model answers, and fixed rules check the answer. Then you explain what you saw to your AI coach by voice. You start free, with no payment details.

Start your first courseBrowse courses

Live lab

A live lab has four parts: a fixed prompt, your text, a model answer, a rule check

This is how an exercise with a real model runs. A course's page lists which labs it contains.

  1. 01

    The lab supplies the prompt

    The lab sets the prompt, and you do not write it in this exercise. You test it with a text of your own.

  2. 02

    You enter a text

    The input box takes at most 800 characters. The lab strips invisible characters first and rejects an empty box.

  3. 03

    A model answers

    The answer comes through Academy's model gateway. If your course's live answers are used up or the gateway is unavailable, you get a recorded example answer, and you can still finish the lab.

  4. 04Fixed rules check here

    Fixed rules check

    The check is program code, not a second model. It runs over the answer and shows you per rule whether it passed.

Four steps of a live lab exercise: the lab's fixed prompt, your text, the model's answer, the check by fixed rules.
  • If your text does not fit the task, the lab politely asks you to stay on the task. You do not get a substitute answer in that case.
  • According to the app, voice coaching and some labs use AI services from providers in the USA. The privacy policy names each one.

Check

Four rules can check an answer, and the app says in words what is missing

Each lab decides which of these rules it uses. For every rule the app shows “Passed” or “Not yet”.

  • Format

    Passed

    The app shows: “The answer has the expected format”. The check is whether the answer is a JSON object.

  • Required fields

    Passed

    The app shows: “The answer includes” followed by the field name. The check is whether each field has a value.

  • Source

    Passed

    The app shows: “The answer names its source”. The check is whether the list of sources is not empty.

  • Right document

    Not yet

    The app shows: “The answer points to the right document”. Retrieval labs have this one, and the document id has to match.

Example display: three rules passed, one not yet.

The four rules with the text the app shows for each, and the display Passed or Not yet.

Building blocks

An instruction has three building blocks: role, rules and output format

Academy's course material on context engineering lists role, rules and output format as the system instruction. Switch blocks on and off in the builder and see which checks the example answer passes.

Building kit: put an instruction together

Switch the blocks on and off. The answer and the checks below change with them.

  • Example instruction

    You read invoices for a small office. Use only details from the text. If a detail is missing, write null. Answer only as JSON with the fields amount and due.

    Text the instruction works on (made up)

    Invoice: 120 euros, due December 15.

  • Example answer

    {"amount": 120, "due": "December 15"}

    Written by hand, no model runs.

    Checks

    • The answer has the expected formatPassed
    • The answer contains amountPassed
    • The answer contains duePassed

  1. 01

    Role

    Example: “You read invoices for a small office.”

  2. 02

    Rules

    Example: “Use only details from the text. If a detail is missing, write null.”

  3. 03

    Output format

    Example: “Answer only as JSON with the fields amount and due.”

Three building blocks of an example instruction, each with one example sentence. The builder shows a hand-written example answer and the checks for every selection.
  • Mirage made up this example for the page, and it comes from no lab. The answers in the builder are written by hand, and no model runs.
  • The rule behind it is plain text here too: without an output format the example answer is not a JSON object, and the check “expected format” shows “Not yet”. With the output format, the builder then checks whether both fields have a value.

AI coach

An AI coach has you explain by voice what you learned

The coach is an AI. According to the app it asks one question at a time.

AI coachAIby voice
  1. Live voice conversations

    The app says: “Talk naturally with your AI coach …” You ask questions and work through difficult concepts.

  2. Knows your progress

    According to the app, every session is tied to your course and your saved notes.

  3. Asks follow-ups

    The app says the coach asks you to explain what you learned in your own words and asks again where your answer is thin.

Three traits of the AI coach as the app describes them: live voice conversations, knowing your progress, follow-up questions.
  • The coach does not decide whether you get a certificate. According to the page “Get certified”, your competency levels follow fixed rules from your assessed work, and the AI coach cannot tell you whether you will be certified.

Certificate

A certificate with a check code, and for some courses a confirmation of participation as well

You get a certificate as a PDF with a check code when you meet the rule. Courses that enable it add a confirmation of participation with its own check code.

What it shows
A certificate names the course, its type and the date. For a Masterclass course with a capstone, the competency levels you reached are added (Beginner, Intermediate, Advanced, Master), a scale of its own next to the course level. The PDF carries your name. A confirmation of participation shows no competency levels.
How others check it
Every document has a check code. The public check page shows course, type, date and, only for a Masterclass with a capstone, competency levels, but not your name.
What it is not
According to the page “Get certified”, it is not a state-recognized qualification but Mirage's own statement of what you achieved in a Mirage course.
Three facts about the certificate: what it shows, how others check it, what it is not.

All rules for the certificate →

Getting started

Three things before you start: level, code and language

The answers are the app's own.

Course level

  1. Beginner
  2. Advanced
  3. Masters
  1. 01

    Level

    Each course states its course level before you start. The competency levels on a certificate are a scale of their own.

  2. 02

    Code

    According to the app, many labs need no code. Where a lab uses code, it runs in your browser, so there is nothing to install.

  3. 03

    Language

    The site and the coach work in English and German. Most courses are in English today, and the first German ones are in preparation.

Level, code and language: three facts before you start.
  • Once prompts feel solid, the next topic is context: context engineering means choosing which tokens enter the context window on each call. Prompt engineering is the narrower part of it, writing the instruction text.

All courses in the catalog →Prompt and context engineering for professionals →

Price

The Free plan costs nothing

The pricing page shows every plan.

Mirage AcademyYou start without payment details. Before you pay for anything you see the full price, VAT included.

See prices
The pricing page shows every plan and the current amount.

Questions about the prompt engineering course

  • Do I need to know how to code?

    According to the app, no. Many labs need no code, and where a lab uses code it runs in your browser. There is nothing to install.

  • Do I write prompts myself in the lab?

    In a live lab the lab sets the prompt and you enter a text. A course's page lists what other exercises it contains.

  • How does the lab check the answer?

    Fixed rules in program code check it, not a second model. Depending on the lab they cover the format, required fields, a source and the right document. For each rule the app shows whether it passed.

  • What happens when the live answers are used up?

    You get a recorded example answer, and the app says so in one line. You can still finish the lab.

  • What does the AI coach do?

    You talk to it by voice. It asks you to explain what you learned in your own words and asks again where your answer is thin. It does not decide on a certificate.

  • Do I get a certificate, and is it recognized?

    You get a certificate as a PDF with a check code when you meet the rule. Courses that enable it add a confirmation of participation with its own check code. According to the page “Get certified” the certificate is not a state-recognized qualification.

  • Is the course available in English and German?

    The site and the coach work in English and German. Most courses are in English today, and the first German ones are in preparation. A course's page states its language.

  • How is it different from context engineering?

    Prompt engineering is writing the instruction text. Context engineering chooses which tokens enter the context window on each call, which also covers history, tools and retrieved text.