AI Free course · Certificate included

Advanced Prompt Engineering

Context engineering, structured outputs, thinking controls, tool and agent prompts, caching, evals and optimisation for production

  • Advanced
  • 6 h 23 min
  • 17 lessons in 7 modules
  • 2 h 11 min of video lectures
  • Updated Sep 2026
Preview lesson 1
Earn the badgeCertified Advanced Prompt Engineer

About this course

This advanced course turns prompting into an engineering discipline for teams shipping AI features in 2026. You will design system prompts and practise context engineering: deciding exactly what the model sees, in what order, and what to leave out. You will build few-shot sets and schema-enforced structured outputs, decompose work into chains, and learn when reasoning models and extended or adaptive thinking pay off, with hands-on effort controls in the Claude, OpenAI and Gemini APIs. A dedicated module covers tool definitions and system prompts for agents, including long-running context management. You will reduce hallucinations, defend against prompt injection, build evaluation sets, calibrate LLM judges and use automated prompt optimisation safely. Finally, you will run prompts like production code: versioning, prompt caching, cost and latency. Every lesson includes copy-paste Python you can run today.

Tools you’ll use

  • Claude API
  • OpenAI API
  • Gemini API
  • Python
  • Pydantic
  • DSPy
  • Promptfoo

Skills

  • Context engineering
  • Structured outputs
  • Reasoning models
  • Agent and tool prompting
  • LLM evaluation
  • Prompt injection defence
  • Prompt caching
  • Prompt operations

What you’ll be able to do

  1. Design system prompts and curate context for accuracy, cost and latency
  2. Build few-shot sets and schema-enforced structured outputs with validation in code
  3. Choose when to use reasoning models and tune thinking effort with evidence
  4. Write tool definitions and agent system prompts that behave safely over long runs
  5. Reduce hallucinations and defend against direct and indirect prompt injection
  6. Build eval sets, calibrate LLM judges and run automated prompt optimisation safely
  7. Operate prompts in production with versioning, prompt caching and cost controls

Curriculum

Syllabus

Modules
7
Lessons
17
Reading time
3.5 h
Assessment questions
25
  1. Design system prompts that behave like a clear job brief, then decide exactly what information the model sees, in what order, and why.

    1. Designing system prompts and rolesVideo lecture, 9′Video · 12 min
    2. Context engineering: what the model sees, and in what orderVideo lecture, 8′13 min
  2. Final assessment25 questions · 40 minutes · pass mark 80%

Your certificate

Finish with a credential anyone can check

Earn the Certified Advanced Prompt Engineer badge: The holder can design production-grade prompts: precise system prompts, engineered context, few-shot examples and JSON schemas, prompt chains and verification loops. They can reduce hallucinations, defend against prompt injection, build evaluation sets with calibrated graders, and manage prompts with versioning and cost-latency trade-offs.

Completed all lessons and scored at least 80% on the final assessment.

  • A public verification page
  • A PDF certificate to download
  • An Open Badge you can share
  • One click to your LinkedIn profile

Final assessment

  • 25questions drawn from a larger pool
  • 40 mintime limit
  • 80%pass mark
  • 3attempts per 24 hours

Start learning today. It’s free.

Every lesson is free to read. A free account saves your progress, unlocks the final assessment and issues your certificate.