Module 2 · Beginner to Intermediate

Prompt Engineering & LLM APIs

Talking to a model is easy. Directing one with precision — reliably, repeatably, in production — is a craft. This module teaches you to speak to LLMs the way professionals do, and to build against real APIs from day one.

Hands writing code on a laptop
From Chat to Craft

The difference between using AI and engineering with it.

Anyone can type a question into a chatbot. An engineer designs prompts that behave the same way on the thousandth run as on the first, returns data a program can parse, and knows exactly what each API call costs.

You will write real code against the OpenAI and Anthropic Claude APIs, in a room with mentors, from your very first session in this module.

What You'll Cover

Prompting as an engineering discipline

1

Prompt Patterns

The core patterns behind reliable prompts: role and system prompts, delimiters, instruction ordering, and how to iterate on a prompt like you would on code.

2

Chain-of-Thought & Few-Shot

Getting models to reason step by step, and teaching them by example — when few-shot prompting helps, when it hurts, and how to measure the difference.

3

Structured & JSON Outputs

Turning free-form text into data your programs can trust: JSON mode, schemas, validation, and recovery strategies when a model goes off-script.

4

Tool & Function Calling

The bridge to agents: letting a model call your functions, defining tools well, and handling the full request-response loop safely.

5

OpenAI & Claude APIs

Hands-on work with both major APIs — messages, streaming, system prompts and model selection — so you are fluent on either side of the ecosystem.

6

Cost, Latency & Reliability

What professionals watch in production: token budgeting, caching, retries, timeouts and graceful degradation when an API has a bad day.

By the End

You will be able to…

Next module: prompts can only work with what a model knows — so next you give it real knowledge in RAG & Knowledge Systems.

Learn to Direct AI With Precision

Real APIs, real code, real engineering habits — taught free, offline, alongside mentors who ship AI for a living.