Online course, Engineering, Claude
8 lessons of 30 minutes based on Anthropic's open course: Python code, a task and a quiz in each.
No card needed. The first two lessons are free after sign-up, all lessons come with Pro at $9 a month.
Lesson 1, 35 minEvaluations 101: Why Measure PromptsAn eval is a set of test cases that scores a prompt with a number: each case has an input, a golden answer, the model's output and a score. Built on Anthropic's open course, it covers grading by hand in Playground and a spreadsheet, with code and with a model judge, then automates runs in promptfoo. 8 lessons, about 4 hours.
Manual evals after Workbench was retired: a trial run in Playground with code export, 1–5 scores in a spreadsheet, prompt versions in git and a side-by-side comparison in promptfoo. In the lesson, a <python_code> tag and a no-extra-text rule raise the code translation score from 3 to 5. The task: score two prompt versions on three cases and compare them in promptfoo view.
Evaluation fundamentals → code-graded evals → promptfoo → model-graded evals. The first two lessons are free.
What evals are, why they matter, and how they are structured.
1Evaluations 101: Why Measure Promptsfree35 minThe difference between benchmarks and customer evals. The four eval components: input, golden answer, output, score. Three grading approaches: human-based, code-based, model-based.2Workbench Evals: Rapid Prototypingfree30 minAnthropic Workbench for manual prompt testing. Running evals across multiple test cases. Comparing prompt versions (v1 vs v2). Human scoring on a 1-5 scale.Grading answers with code: fast, cheap and the same on every run.
3Code-Graded Eval: From Zero to Baseline30 minBuilding a code-graded eval from scratch. Animal leg-counting test. Prompt v1 vs v2 vs v3 (chain-of-thought). Extracting answers from <answer> tags.4Code-Graded Classification Evals35 minEvaluating a multi-category classification prompt. Set-based grading for multiple correct categories. Improved prompt with few-shot examples: from 85% to 100% accuracy.The promptfoo framework: CSV test cases, custom Python checks and a web report for every case.
5PromptFoo: Introduction and Basic ConfigurationYou 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 checkedAcademl built this course from Anthropic's open prompt_evaluations course (9 lessons in the anthropics/courses repository, archived since September 15, 2026).
The models in the original examples — Claude 3 Haiku, Claude 3.5 Sonnet, Claude 3 Opus — have been retired from the API, so put a current model from Anthropic's list into the code. Workbench was retired on August 17, 2026, and Playground (platform.claude.com/playground) replaced it on August 18. Playground stores no prompts, versions or evals, so the manual evals lesson now uses a spreadsheet and promptfoo.
promptfoo has belonged to OpenAI since March 2026 and remains open source under the MIT license.
The original custom LLM judge lesson got JSON through a <json> prefill with temperature=0. Since Claude 4.6, prefill returns a 400 error, and API version 2026-10-21 removed the temperature parameter, so in the Academl lesson the claude-sonnet-5-5 judge answers in a JSON Schema through structured outputs.
An eval is a set of test cases with golden answers that you run a prompt against, counting the share of correct answers or the average score. It shows whether a prompt got better after an edit and catches regressions when you switch models. Benchmarks like MMLU measure a model in general; your own eval measures your task.
If the answer has an exact reference — a number, a category, a JSON field — grade it with code: fast, cheap and repeatable. For tone, completeness and rule-following, use a model judge with a clear rubric. Anthropic's documentation recommends automating grading where you can and judging outputs with a different model from the one that produced them.
An open-source tool for prompt evals and red teaming: promptfooconfig.yaml defines model providers, prompts and tests with assertions, and results appear in a prompt × test case grid. It has built-in checks, custom Python checks and the llm-rubric judge. OpenAI has owned the project since March 2026, and it remains under the MIT license.
The lessons call a set of fewer than 20 cases unstable: results swing from run to run. Anthropic's documentation recommends more cases with automated grading over a few hand-graded ones. Start with 10–20 cases from real requests and add every case your prompt gets wrong.
This is an advanced course: you need Python, a Claude API key and experience writing prompts. If you are new to the API, take “Anthropic API Fundamentals” first, and for prompting, the Prompt Engineering Guide course.
The method and promptfoo work. Anthropic has retired the models from the original examples: Claude 3 Haiku in April 2026, Claude 3.5 Sonnet in October 2025 and Claude 3 Opus in January 2026. Replace the model ID with a current one from Anthropic's list. The Academl lessons on manual evals and the custom LLM judge are updated: Playground, a spreadsheet and promptfoo replace the retired Workbench, and the judge gets JSON through structured outputs with no prefill or temperature. Prefill returns a 400 error on Claude 4.6 and later, and API version 2026-10-21 removed temperature.
Advanced14 lessons for developers: chain-of-thought, self-consistency, Tree-of-Thoughts, ReAct, injection defense, LLM-as-judge, promptfoo, DSPy, prompts in production.
Certificate
Advanced, Gemini8 advanced Gemini API projects from Google: a ReAct agent, Google Search reports, Barista Bot, PDF to JSON, anomaly detection and embedding re-ranking.
Certificate
Intermediate, Claude7 lessons: how to give Claude design tasks, build a DESIGN.md with tokens and components, generate screens in Stitch and code from Figma over MCP.
Certificate
Intermediate, Claude10 lessons on Claude Code in real projects: CLAUDE.md, slash commands, task plans, git and PRs, test-first debugging, MCP servers, VS Code, JetBrains and CI.
CertificateThe 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 upLLM-as-judge: when code-graded falls short and subjective criteria are needed.
7Model-Graded Evals: LLM as Judge30 minWhen model-graded evals are needed. The built-in llm-rubric in PromptFoo. Evaluating a school assistant prompt: does it reject irrelevant questions? Grading for apologetic tone. Comparing three prompt versions.8Custom LLM Judge: Multi-Metric Scoring30 minA custom llm_eval() function scoring conciseness, accuracy and tone from 1 to 5 and answering strictly in a JSON Schema through structured outputs, wired in through get_assert(), and three summarization prompts compared. Stable scores come from a rubric and repeated runs without temperature.8 lessons of 30 minutes, about 4 hours in total, no schedule, and 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.