This course is currently under maintenance. We're updating content and labs. Enrollment is paused; check back soon.
AI Instructor Live Labs Included

AI Engineering Foundations with Claude

Learn what a large language model is, how the Claude model family differs, and how to call Claude from Python. First course in the Claude AI Engineer path.

Beginner
7h 1m
7 Lessons
CLD-AI-101
AI Engineering Foundations with Claude Badge

View badge details

About This Course

Modern software increasingly means calling large language models from your own code, and Claude is among the most capable in production today. In this beginner course you will learn what a large language model actually is, how the Claude model family (Haiku, Sonnet, Opus, and Fable) differs in cost, speed, and capability, and how to make your first calls to Claude from Python. By the end you will be able to call Claude from a Python program, read a token and cost bill, and choose the right model for a task.

Course Curriculum

7 Lessons
01
AI Lesson
AI Lesson

What is a large language model?

45m

By the end of this lesson you will understand what a large language model actually is under the hood — tokens, context windows, temperature and sampling, and why models sometimes fabricate confident-sounding but wrong answers. It is the foundation for every course in the Claude AI Engineer path; later lessons build directly on the mental model you form here. No prior LLM or AI experience is assumed.

02
AI Lesson
AI Lesson

The Claude Console, Playground, and Claude model family

30m

By the end of this lesson you will know your way around the Claude Console at platform.claude.com — where API keys are managed, where usage and cost are tracked, and where the Playground lets you test prompts interactively — and you will be able to pick the right Claude model tier for a given task from the current family (Haiku 4.5, Sonnet 5, Opus 5.5, Fable 5.1). This is the second teaching lesson in the Claude AI Engineer path; L3 immediately puts these choices into Python code.

03
Lab Exercise
Lab Exercise

Your first Claude API call from Python - Lab Exercises

1h 40m 5 Exercises

By the end of this hands-on lab you will have called Claude from a Python program using the official Anthropic SDK, read the response object, inspected token usage on the returned bill, and switched models with a one-line env-var change to feel the cost / latency delta between Haiku 4.5 and Sonnet 5 with your own eyes. No prior Anthropic account is required — the lab environment injects an API key via the Claude API proxy so you can focus on the code, not on setup.

04
AI Lesson
AI Lesson

Talking to Claude: system, user, and assistant messages

30m

By the end of this lesson you will know exactly how to shape a Claude request — where the system prompt goes (a top-level parameter, not a message with role="system"), how the messages array carries conversation state across turns, how to stream responses token-by-token, and what each stop_reason value tells you about how a call finished. This grounds the message shape you saw in L3 and prepares you for the multi-turn REPL in L5.

05
Lab Exercise
Lab Exercise

Building a multi-turn conversation with Claude - Lab Exercises

1h 24m 5 Exercises

By the end of this hands-on lab you will have built a small multi-turn REPL against Claude — a support-triage helper for Orion Analytics' on-call engineers — with a proper top-level system prompt, growing conversation history, and streaming responses that print token-by-token. You will also have hit a context-window limit deliberately and read the stop_reason to see how a truncation manifests. No prior Anthropic account required — the lab environment injects your API key.

06
AI Lesson
AI Lesson

Choosing the right Claude model for the job

40m

By the end of this lesson you will be able to compute the USD cost of any Claude request from token counts and per-model rates, understand how prompt caching and the newer tokenizer affect that cost, and factually position the Claude model family against GPT and Gemini for a working developer's decision. This is the last teaching lesson before the CLD-AI-101 capstone, where you turn model selection into a written recommendation backed by real benchmark numbers.

07
Lab Exercise
Lab Exercise

Same prompt, three models: measuring cost, latency, and quality - Lab Exercises

1h 32m 4 Exercises

The CLD-AI-101 capstone. You run the same three prompts against Haiku 4.5, Sonnet 5, and Opus 5.5; log token counts, wall-clock latency, and computed cost using current per-model rates; implement a small LLM-judge quality-rating loop; and produce a written recommendation for Orion Analytics' team lead defending your model choice with real numbers. No prior Anthropic account required — API key injected by the platform Claude proxy.

Under Maintenance

This course is currently being updated. Check back soon!

This course includes:

  • 24/7 AI Instructor Support
  • Live Lab Environments
  • 3 Hands-on Lessons
  • Completion Badge
AI Engineering Foundations with Claude Badge

Earn Your Badge

Complete all lessons to unlock the AI Engineering Foundations with Claude achievement badge.

Skill Level Beginner
Total Duration 7h 1m
AI Engineering Foundations with Claude Badge
Achievement Badge

AI Engineering Foundations with Claude

Awarded on completion of CLD-AI-101. The holder can call Claude from Python, read a token-and-cost bill, and pick the right model in the Claude family (Haiku, Sonnet, Opus, Fable) for a given task.

Course AI Engineering Foundations with Claude
Criteria Complete all lessons and hands-on labs in CLD-AI-101 "AI Engineering Foundations with Claude" and pass the embedded assessments.

Skills You'll Earn

Anthropic API basics Claude model family selection Token and cost accounting Python + Claude SDK LLM fundamentals (tokens, context, temperature, sampling) System / user / assistant message shape Multi-turn conversations Streaming responses

Complete all lessons in this course to earn this badge