Check my levelCoursesProgramsFor teamsPricing
UKSign inSign up
Check my levelCoursesProgramsFor teamsPricingClaude quizPromptsBlogFAQSearchSign upUK
AcademlCoursesPrompt Engineering Guide
Get started free

Online course, Prompting

Prompt Engineering Guide Course: 9 Prompting Techniques in Practice

9 lessons, about 4 hours: each technique with examples, a task and a quiz.

Start: 7 days freePreview the first lesson, no sign-in

No card needed. The first two lessons are free after sign-up, all lessons come with Pro at $9 a month.

Two labelled examples and a third line waiting for an answerLesson 1, 25 minAnatomy of a Prompt
  • Beginnerlevel
  • 4 h 15 min9 lessons, 3 modules
  • At your own paceupdated Dec 2, 2026
  • Certificatewith a check code
What you will learnLessonsCertificateQuestionsStart the course

What you will learn

  • Build a prompt from four parts: role, context, instruction, constraints
  • Decide when one instruction is enough and when you need examples, and write few-shot examples in a consistent format
  • Ask the model to reason step by step (chain-of-thought) and compare several reasoning paths (self-consistency)
  • Run the ReAct loop of thought → action → observation, the basis of agentic systems
  • Set a role and persona in the system prompt and keep an assistant in scope
  • Get structured output: JSON mode, XML tags, function calling, output validation
  • Write prompts for rewriting, tone shifts, summaries and translation, and for code: explanations, tests, reviews
  • Recognize prompt injection and jailbreaks and build defenses into the system prompt

What the Prompt Engineering Guide course covers

Prompt engineering is the set of techniques that make a model reliably give the result you need. This Academl course teaches them from DAIR.AI's Prompt Engineering Guide: the four parts of a prompt, zero-shot and few-shot, chain-of-thought, ReAct, structured output, prompts for writing and code, and prompt injection defense. 9 lessons, about 4 hours; works with ChatGPT, Claude and Gemini.

Pricing and what's free →
09
Lesson on defending against attacks

Adversarial Prompting and Defending AI Systems

Prompt injection, indirect injection through documents and jailbreaks with examples, then the defenses: keep instructions apart from data, validate output before delivery, give agents least privilege. The task: build a system prompt with three layers of protection and test it with attacks. The lesson opens after sign-up: 7 days of full access, no card.

Open the lesson →

Lessons

Prompting fundamentals → advanced patterns → prompts at work. The first two lessons are free.

Module 1 · 3 lessons · 1 h 20 min

Prompting Fundamentals

What makes a prompt work, how zero-shot and few-shot requests differ, and how to make a model reason step by step.

1Anatomy of a Promptfree25 minThe four components of an effective prompt — role/persona, context, task instruction, and constraints. We break down weak vs. strong prompts with concrete examples.2Zero-Shot and Few-Shot Promptingfree25 minWhen a single instruction is enough, and when examples are needed. How to write effective few-shot examples and why format consistency matters.3Chain-of-Thought Prompting30 minHow to make a model reason step by step, why it works, and when chain-of-thought helps versus hurts.
Module 2 · 3 lessons · 1 h 25 min

Advanced Patterns

ReAct for agentic tasks, role prompts with system instructions, and structured output control.

4ReAct Pattern: Reasoning and Acting30 minHow the Thought → Action → Observation loop works, why it's needed for agentic systems, and a practical information-search example.5Role and Persona Prompting25 minHow system prompts and role instructions change model behaviour. Expert personas, consistency, and the risks of jailbreak personas.6

Who it is for

  • People who already use ChatGPT, Claude or Gemini and want to know the techniques by name and use them on purpose
  • Developers and analysts who need predictable JSON from a model and prompts for code
  • Writers and editors who rewrite, shorten and translate text with AI
  • Teams shipping an AI product who need to protect it from prompt injection

How the lessons work

  1. A 25–35 minute lessonThe technique shown through weak and strong prompts, with an explanation of why it works.
  2. A hands-on task in every lessonFor example: write a few-shot prompt that sorts support tickets into Return, Technical Support and General Question, or extract name, years of experience, skills and willingness to relocate from a résumé into JSON. Submit it and the AI reviews it (after sign-up).
  3. Ready-made prompt and common mistakesA template for the lesson's technique and the mistakes that stop it from working.
  4. 2-question quiz and AI tutorThe quiz checks the key points; the lesson's AI tutor answers questions on the topic.
  5. CertificateAfter all lessons you get a certificate with a unique verification code.

Certificate of completion

You get it when you finish every lesson. Each certificate has its own code, so an employer can check it on our site. You can add it to LinkedIn.

See how a certificate is checked
Sample

Sources behind the course

Academl adapted this course from DAIR.AI's open Prompt Engineering Guide (dair-ai/Prompt-Engineering-Guide, MIT license) and the original papers behind the techniques. Prompt injection is the first item on OWASP's list of risks for LLM applications.

  • Prompt Engineering Guide — DAIR.AI
  • dair-ai/Prompt-Engineering-Guide on GitHub (MIT)
  • Wei et al., 2022: Chain-of-Thought Prompting
  • Yao et al., 2022: ReAct
  • DAIR.AI — adversarial prompting
  • OWASP — LLM01: Prompt Injection

What's free and what it costs

  • The first two lessons, prompt anatomy and zero-shot / few-shot, are free after a free sign-up.
  • After sign-up you get 7 days of full access to all 9 lessons and the whole catalog, no card needed.
  • After that, Pro costs $9 a month or $79 a year. Online card payment is not connected yet: write to info@academl.com and we open access manually.
  • The free plan of ChatGPT, Claude or Gemini is enough for the tasks.

Prompt Engineering Guide course: questions

How is this different from the Prompt Engineering for Beginners course?+

Prompt Engineering for Beginners is a short start for everyday work in an AI chat assistant: emails, reports, tables. This course goes wider: nine techniques from DAIR.AI's Prompt Engineering Guide, including ReAct, structured output, prompts for code and prompt injection defense. Take it after the beginner course, or start here if you already write prompts every day.

What is the Prompt Engineering Guide?+

An open guide by the DAIR.AI research group at promptingguide.ai covering prompting techniques, risks and applications. Its source is in the dair-ai/Prompt-Engineering-Guide repository under the MIT license. The Academl course is built on its material and adds a task with AI review, a quiz and a breakdown of mistakes to every technique.

What is chain-of-thought prompting and when do I need it?+

Chain-of-thought asks the model to write out intermediate reasoning steps before the answer; Wei and co-authors described it in 2022. It helps with multi-step problems such as calculations, logic and weighing decisions. For simple questions and short facts it only makes the answer longer.

What is ReAct?+

ReAct (Yao and co-authors, 2022) alternates reasoning and acting: the model writes a thought, calls a tool such as search, a calculator or an API, gets an observation, and repeats until it can answer. Most AI agents are built on this loop. In the lesson you run the loop by hand to see every step.

What is adversarial prompting and how do I defend against it?+

Attacks through the prompt: prompt injection, where the input hides commands for the model, indirect injection through documents and emails, and jailbreaks. OWASP lists prompt injection first among risks for LLM applications. Defenses: keep instructions apart from data, validate output before delivery, log suspicious requests and give agents the least privilege they need.

The course in short

level
Beginner
For whom
AI basics
Task
Get started with AI
Format
Lessons, quizzes and tasks checked by AI
Lesson language
English

Is this course right for you?

Check your level in 3 minutes. We will show which course to start with.

Check my level

More courses on this topic

Full catalog
Beginner

Prompt Engineering from Scratch

Learn prompt engineering from scratch in 4 short lessons: the four-block prompt, few-shot examples, chain-of-thought and system prompts.

1 h 10 min, 4 lessonsCertificate
Beginner

AI Basics: How LLMs Work

A beginner AI course in 4 short lessons: what a large language model is, context and tokens, hallucinations and how to pick a model.

1 h 5 min, 4 lessonsCertificate
Beginner

Generative AI Fundamentals

Beginner course: how LLMs work, tokens and context, the four-part prompt, hallucinations and fact-checking, AI for writing and code.

3 h 45 min, 9 lessonsCertificate
Beginner, Claude

Prompt Engineering Interactive Tutorial: Based on Anthropic Materials

Anthropic's interactive prompt engineering tutorial in 10 lessons: prompt structure, roles, XML tags, step-by-step thinking, few-shot.

3 h 35 min, 10 lessonsCertificate

Keep going

Prompt engineering for beginners →Advanced prompt engineering →Prompt evaluations: measure whether a prompt got better →AI safety: prompt injection, data and ethics →Prompt engineering from scratch: a 4-week plan →Using AI safely at work: the track →

Start with prompt anatomy

The first two lessons are open after a free sign-up. Sign up with email or Google to get 7 days of full access to the whole course and catalog.

Sign up
CoursesLLM coursesFor teamsPricingFAQBlogAboutPrivacy
© 2026 AcademlDevelopment & promotion —MMIX — Marketing Mix
Structured Output Control
30 min
JSON mode, XML tags, function calling and validation patterns. How to get predictable structure from a language model.
Module 3 · 3 lessons · 1 h 30 min

Prompts at Work

Practical prompting for writing, coding, and protecting AI systems from attacks.

7Prompts for Writing and Editing25 minRewriting, tone shifts, summarisation, translation. How to tune a prompt for different audiences and content production tasks.8Prompts for Coding30 minExplaining code, writing tests, debugging, code review, and architecture questions. Patterns for each scenario.9Adversarial Prompting and Defending AI Systems35 minWhat prompt injection, jailbreaks, and indirect injection via documents are. How developers building AI products can protect their systems.
Certificate
Your name
for the course
Prompt Engineering Guide
ACADEML · VERIFIED · ACADEML · VERIFIED · SAMPLE
Do I need programming experience?+

For most lessons an account in ChatGPT, Claude or Gemini is enough. The structured output and coding lessons are most useful if you write code, but their tasks can be done without it. The course is designed for beginners.

How long is the course and what does it cost?+

9 lessons, about 4 hours in total, no schedule, progress is saved, and you get a certificate with a verification code at the end. The first two lessons are always free, signing up gives 7 days of full access with no card, and Pro costs $9 a month or $79 a year.