Prompt and Context Engineering Course and Certification

Learn prompt engineering, context engineering, RAG and AI agents through practical lessons, Python labs and a free certification assessment.

At a glance
Cost
Free The course and assessment are free. The Python labs run offline. Optional live model calls incur charges from your API provider.
Format
Six modules with 38 lessons, including three Python labs and a capstone. The 90 question assessment requires an account. All lessons and lab downloads are open to everyone.
Pass mark
70 per cent across the assessment, equivalent to 63 correct answers out of 90.
Prerequisites
No machine learning background is required. Familiarity with an AI chat tool helps. The practical labs require basic Python and Python 3.10 or later. You can read the lessons without writing code.
Renewal
No renewal requirement. Your result records the assessment you passed at that time.
Based on
The Product Digest syllabus, supported by primary research, engineering documentation and reproducible exercises
What it covers

Build, test and operate an LLM feature. Start with prompt structure and examples, then assemble context, retrieve evidence and validate model output. Each concept page includes enough context to read independently.

Three Python labs produce an evaluation report, a measured retrieval pipeline and an agent with persistent operation records. Offline fixtures make the mechanics reproducible. Optional live calls let you test model behaviour against the same checks.

The capstone combines quality targets, failure analysis, security controls and release monitoring into a reviewable delivery plan. Evaluation complements ordinary software tests throughout the course.

Product Digest issues the certification. It is not externally accredited, and the assessment is not proctored. A passing result records assessment performance. It does not verify completion of the labs or establish production engineering experience.

The syllabus6 domains · free

Product Digest’s own domains. Each opens its own page listing the concepts beneath it, and each concept has a page of its own.

01Prompt Engineering FundamentalsUnderstand tokens, message roles, prompt structure, examples and sampling. Compare two prompts in a Python evaluation lab.How LLMs Process Prompts: Tokens, Attention and Generation · What Is Prompt Engineering? Techniques and Examples · How to Write LLM Prompts: Instructions, Examples and Format · LLM Temperature, Top-p and Deterministic Output Explained · LLM Prompt Patterns: System Prompts and Reasoning Techniques · Prompt Engineering Lab with Python and an Evaluation Report6 concepts
~15%
02Context Engineering and RAGBudget the context window, select and compress information, ground answers in evidence and measure a retrieval pipeline.Context Engineering vs Prompt Engineering: A Practical Guide · LLM Context Windows: Token Limits and Budgeting · Context Engineering Strategies: Write, Select, Compress, Isolate · LLM Context Rot: Long-Context Failures and Fixes · LLM Grounding Explained: Sources, Citations and Hallucinations · What Is RAG? Retrieval-Augmented Generation Explained · Build and Evaluate a RAG Retrieval Pipeline in Python7 concepts
~18%
03Structured LLM Output and ValidationDefine output contracts, validate generated data, handle refusals and design prompt chains with explicit cost and latency limits.LLM Structured Output: JSON Mode, Schemas and Function Calling · How to Validate LLM Output with JSON Schema and Business Rules · How to Handle LLM Refusals, Missing Evidence and Edge Cases · LLM Prompt Chaining: Workflow Design, Reliability and Latency · How to Reduce LLM Cost and Latency: Tokens and Caching5 concepts
~14%
04AI Agents and Tool CallingBuild bounded agent loops, manage memory and tool permissions, and implement safe retries in a local Python agent.LLM Function Calling: Tool Design, Validation and Execution · What Are AI Agents? Tools, Workflows and Permissions · How AI Agent Loops Work: ReAct, Planning and Stop Conditions · AI Agent Memory: Short-Term Context, State and Long-Term Storage · Multi-Agent Systems: Context Isolation, Delegation and Trade-Offs · AI Agent Failure Modes: Loops, Duplicate Actions and Plan Drift · Build a Tool-Using AI Agent with Safe Retries in Python7 concepts
~18%
05LLM Evaluation and Regression TestingBuild evaluation datasets, calibrate model graders, compare prompt versions and trace failures across agent workflows.How to Build LLM Evaluations: Cases, Graders and Release Criteria · LLM Evaluation Datasets: Sampling, Labels and Test-Set Leakage · LLM-as-a-Judge Evaluation: Rubrics, Bias and Calibration · Prompt Regression Testing: Compare Versions Before Release · LLM Observability: Traces, Tool Calls and Replay · How to Evaluate AI Agents: Outcomes, Trajectories and Reliability6 concepts
~20%
06LLM Security and Production OperationsDefend against prompt injection, version releases, monitor quality and plan model migrations. Assemble the evidence for a release decision in the capstone.Prompt Injection Explained: Direct and Indirect Attacks · LLM Application Security: Guardrails, Permissions and Validation · Prompt Versioning and Deployment: Canary Releases and Rollback · LLM Production Monitoring: Quality, Cost, Latency and Drift · LLM Model Migration: Evaluation, Compatibility and Rollout · Prompt and Context Engineering Practice: A Production Playbook · LLM Engineering Capstone from Prototype to Release Review7 concepts
~15%
Try a question

A collection has 200 policies of 1,500 words each. Using an estimate of 0.75 words per token, how much input capacity is needed before other context is added?

  • AAbout 225,000 tokens.
  • BAbout 400,000 tokens.
  • CAbout 300,000 tokens.
  • DAbout 150,000 tokens.
90 questions across the 6 domains.

One per page, with a worked explanation.

Start the set