Who it's for
For people who already write prompts for ChatGPT, Claude or a model API and want to improve them with less guessing. Know the basics of prompting first. The first two lessons work in a web console or a chat window, though lesson 1 also offers a notebook where you edit a few lines. Lesson 3 has a no-code route and one that uses a terminal and a YAML file, and lesson 4 uses Python.
Lessons
- 1AI prompt generator: let a model write your first promptAn AI prompt generator writes a first prompt from your task. Run Anthropic's metaprompt or OpenAI's Generate meta-prompt, then check what it wrote.
- 2How to improve a prompt with AI: OpenAI's optimizer and Anthropic's improverHow to improve a prompt with AI: OpenAI's prompt optimizer and Anthropic's prompt improver, what changed in OpenAI's own example, and what to check.
- 3How to test prompts: compare versions on a small test set before you switchHow to test prompts: build a small test set, run two prompt versions on it in a spreadsheet, Anthropic's Console or promptfoo, then read the results.
- 4DSPy tutorial: let code and a metric optimize your promptsA DSPy tutorial for beginners: write a signature, pick a module, define a metric and let an optimizer such as MIPROv2 improve your prompt for you.
Frequently asked questions
Is this prompt optimization course free?
Yes. Every lesson is free to read. Some tools in the lessons, such as model APIs, may bill for their use, and each lesson says where.
What is prompt optimization?
It is improving a prompt on purpose. A model drafts it, an optimizer rewrites it or a search finds better versions against a score, and you test the result against the old one before you switch.
Do I need to code?
Not for the first two lessons, which work in a web console or a chat window. Lesson 1 also offers a notebook where you edit a few lines. Lesson 3 has a spreadsheet route and a terminal route, and lesson 4 is a Python tutorial that you can read for the idea if you do not write Python.
Does an AI-optimized prompt always beat the original?
No. OpenAI's optimizer guide says the optimized prompt can perform worse than your original on specific inputs. That is why lesson 3 tests versions before you switch.
What should I learn after this course?
The context engineering course is next. It widens the view from one prompt to everything an AI agent sees at each step.
